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

unix script

Votes:

0

I am trying to create a custom unix sensor, script returns a server name, want to compare it with an expected value and error if it is different

-bin-sh script unix

Created on Feb 12, 2013 8:29:17 PM



1 Reply

Votes:

0

You must do the comparison already inside the script and hand over the final result to PRTG!

See: Is there a shell script example for PRTG's SSH Script Sensor? https://www.paessler.com/knowledgebase/en/topic/39513-is-there-a-shell-script-example-for-prtg-s-ssh-script-sensor

Here is another sample of a script: https://www.paessler.com/knowledgebase/en/topic/27553

Created on Feb 13, 2013 3:31:38 PM by  Dirk Paessler [Founder Paessler AG] (11,025) 3 6

Last change on Feb 13, 2013 3:39:22 PM by  Dirk Paessler [Founder Paessler AG] (11,025) 3 6




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.