I'm trying to configure Icinga to query the SMART status of the hard drives loaded into a storage array I'm configuring.
The issue I've run into is the response from the array when querying the OID of a drive is text, and not a number.
./check_snmp -H 10.0.10.17 -P 2c -C public -o .126.96.36.199.4.1.246188.8.131.52.1.7.1 SNMP OK - "GOOD" |
I'm used to working with numbers rather than strings when dealing with output of check_snmp. Does anyone know how I can create a critical or warning notification when anything other than the output
GOOD is returned?