New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


FreeNAS Script Monitoring

Votes:

0

Your Vote:

Up

Down

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 by  U5 (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

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]



Please log in or register to enter your reply.


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.