mirror of
https://github.com/stylersnico/prtg-opnsense-temperature.git
synced 2026-06-04 16:08:36 +02:00
1.2 KiB
1.2 KiB
Temperature monitoring for OPNSense and PRTG
Monitor temperatures on OPNSense without any external tools
Tested on
- OPNsense 26.1.8 / FreeBSD 14.3
- Should work on other BSD os if you have Python3 installed
Setup
Create a HTTP Push Data Advanced sensor in your PRTG and grab the Identification Token.
Download the files and restart configd service:
mkdir /var/script
curl -O https://raw.githubusercontent.com/stylersnico/prtg-opnsense-temperature/refs/heads/main/prtg_temps_sensor.py > /var/script/prtg_temps_sensor.py
curl -O https://raw.githubusercontent.com/stylersnico/prtg-opnsense-temperature/refs/heads/main/actions_push-prtg-temp.conf > /usr/local/opnsense/service/conf/actions.d/actions_push-prtg-temp.conf
service configd restart
Edit it to put your PRTG IP and Identification token at the beginning of /var/script/prtg_temps_sensor.py
Create a scheduled task that send the data every minute from GUI: