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 .184.108.40.206.4.1.246220.127.116.11.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?