I have a question regarding SNMP. I have setup a number of services that use check_snmp to monitoring specific OID's on a QNAP device for things like HDD Temp, storage space, CPU usage, etc.
These services are working correctly, and are pulling the correct data.
Is there any way to specify what values would be considered "warning" or "critical", or does this type of service only report OK when the SNMP query is successful, and critical when the SNMP query fails?
SNMP Question
Re: SNMP Question
You can use these options:
You can view them all by running:
Code: Select all
-w, --warning=THRESHOLD(s)
Warning threshold range(s)
-c, --critical=THRESHOLD(s)
Critical threshold range(s)
-r, --ereg=REGEX
Return OK state (for that OID) if extended regular expression REGEX matches
-R, --eregi=REGEX
Return OK state (for that OID) if case-insensitive extended REGEX matches
--invert-search
Invert search result (CRITICAL if found)Code: Select all
/usr/local/nagios/libexec/check_snmp --help