A script that can be used as a PRTG SSH Advanced Sensor for Tailscale Client Metrics.
The sensor is only supported on Linux platforms with the following channels available:
- Traffic total (Mbps)
- Traffic in (Mbps)
- Traffic out (Mbps)
- Advertised routes
- Approved routes
- Tailscale v1.78.0+
- Python 3.7+
On the monitored system, create the PRTG script directory and copy tailscale.py
file there.
# mkdir -p /var/prtg/scriptsxml
# cd /var/prtg/scriptsxml
# wget https://raw.githubusercontent.com/Fluent-networks/tailscale-prtg/refs/heads/main/tailscale.py
# chmod 755 tailscale.py
On your PRTG system create a Device using the host IP address and specify the SSH credentials under Credentials for Linux/Solaris/macOS (SSH/WBEM) Systems.
Add a SSH Script Advanced Sensor. In the Sensor Settings choose tailscale.py as the script. Set the required Scanning Interval as needed.