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


Article Comments

Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.

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/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/en/topic/27553


Feb, 2013 - Permalink