What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

FreeNAS Script Monitoring

Votes:

0

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?

folder freenas gone reboot script temperature

Created on Jun 23, 2018 10:44:16 AM



1 Reply

Votes:

0

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.

Created on Jun 25, 2018 2:56:33 PM by  Dariusz Gorka [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.