I am trying to run this "get_hdd_temp.sh" script from FreeNAS to monitor the temperature on drivers.
But when creating the folder /var/prtg/scripts/ and putting the file in there I cannot seem to choose it when adding a SSH Script sensor. Rebooting the FreeNAS deletes the /prtg/scripts folder. So not sure why that happens.
Anyone that can help with how to fix this, and get this working?
Hi there,
When the directory is being deleted, then I am afraid there is no way around to execute the script.
The only thing that would come to mind is to execute the script via Cron and sending the results via "CURL" to a HTTP Push Data Sensor:
https://www.paessler.com/manuals/prtg/http_push_data_sensor
Best regards.
Jun, 2018 - Permalink