Page 1 of 1

Alerting when something EQUALS a value instead of NOT EQUALS

Posted: Fri Jan 31, 2014 2:13 pm
by dervari
We have a NAS that has flaky SNMP code. It's supposed to return OK when a drive is running without problems, but sometimes returns random garbage. Hence, setting an alert when it's NOT EQUAL to "OK" doesn't work. Is there an easy way to alert when the value returned EQUALS a certain string, such as "DEAD" or "RESYNC"?

Thanks

Re: Alerting when something EQUALS a value instead of NOT EQ

Posted: Fri Jan 31, 2014 2:37 pm
by sreinhardt
That really depends on what plugin you are using to monitor this device and its drive status. Could you post a link or give us the name of it, and possibly an example how the command is being run?