snmp -s option

Gupta, Prabhakar Prabhakar.Gupta at turner.com
Sat Aug 29 00:17:08 CEST 2015


Hi,
I was trying to use -s options to flag alarm depending on string values.
In my case, normally I should get "No failures" string. The string changes to others when there is an error like fan failure. I tried to get CRITICAL warning when the string is other than 'No failures'. So, I used following command line:
check_snmp  -H <ip_address  -C public -o <OID> -s "No failures"

However, I always get SNMP OK  and the alert status doesn't change at all- no matter what the value is.
Any suggestion?

Thank you.
Prabhakar Gupta
212 275 7819
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20150828/a31a71da/attachment.html>


More information about the Help mailing list