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