[Nagiosplug-help] check_snmp strange result .. again ?
Jean-Francois Levesque
jfl at groupeiweb.com
Thu Jun 19 08:37:46 CEST 2003
Subhendu Ghosh wrote:
> On Thu, 19 Jun 2003, jean-claude beylot wrote:
>
>
>>hello
>>
>>i try to use check_snmp to mintor cpu load on cisco router
>>
>>Check_snmp always displays a warnig state even the return value is under the
>>range :
>>
>>usr/local/nagios2/libexec/check_snmp -t 9 -v 2c -C zzzz -H
>>10.1.2.3 -o 1.3.6.1.4.1.9.9.109.1.1.1.1.5.1 -w '50:55' -c '56:99' -l
>>'usage cpu'
>>/usr/bin/snmpget -t 1 -r 8 -m ALL -v 1 -c zzzzzz 10.1.2.3:161
>>1.3.6.1.4.1.9.9.109.1.1.1.1.5.1
>>CISCO-PROCESS-MIB::cpmCPUTotal5min.1 = Gauge32: 39
>>
>>usage cpu WARNING - *39*
>>
>
Well, your -w anc -c values are not ok. -w is the range which will NOT
result in warning state.
-w, --warning=INTEGER_RANGE(s)
Range(s) which will not result in a WARNING status
-c, --critical=INTEGER_RANGE(s)
Range(s) which will not result in a CRITICAL status
JF
More information about the Help
mailing list