Check_snmp problems

Barkell, Bill Bill.Barkell at mail.house.gov
Fri Oct 8 20:57:22 CEST 2004


I was unable to find a solution to this problem from a search of the list.

When using check_snmp to check cpu usage on a host, I get warnings even when
the retrieved value falls within an acceptable range. Assuming that my
syntax was wrong, I tried multiple variations, but the result is the same.

Does anyone have a solution to this problem?

Here is the session: Note the different values and syntax for the -w
(warning) and -c (critical) inputs.


monitor-server# ./check_snmp -v -H 192.168.123.156 -o
.1.3.6.1.2.1.25.3.3.1.2.1 -w 100: -c 90: -C public 
/usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.123.156:161
.1.3.6.1.2.1.25.3.3.1.2.1 
HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 1
SNMP CRITICAL - *1*

monitor-server# ./check_snmp -v -H 192.168.123.156 -o
.1.3.6.1.2.1.25.3.3.1.2.1 -w 100: -c :90 -C public 
/usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.123.156:161
.1.3.6.1.2.1.25.3.3.1.2.1 
HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 1
SNMP WARNING - *1*

monitor-server# ./check_snmp -v -H 192.168.123.156 -o
.1.3.6.1.2.1.25.3.3.1.2.1 -w :100 -c :90 -C public 
/usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.123.156:161
.1.3.6.1.2.1.25.3.3.1.2.1 
HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 2
SNMP WARNING - 2

monitor-server# ./check_snmp -v -H 192.168.123.156 -o
.1.3.6.1.2.1.25.3.3.1.2.1 -w 100:0 -c :90 -C public 
/usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.123.156:161
.1.3.6.1.2.1.25.3.3.1.2.1 
HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 1
SNMP WARNING - *1*

monitor-server# ./check_snmp -v -H 192.168.123.156 -o
.1.3.6.1.2.1.25.3.3.1.2.1 -w 0:100 -c :90 -C public 
/usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.123.156:161
.1.3.6.1.2.1.25.3.3.1.2.1 
HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 2
SNMP WARNING - 2

monitor-server# ./check_snmp -v -H 192.168.123.156 -o
.1.3.6.1.2.1.25.3.3.1.2.1 -w 0:70 -c :90 -C public 
/usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.123.156:161
.1.3.6.1.2.1.25.3.3.1.2.1 
HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 1
SNMP WARNING - 1

Bill Barkell











Bill Barkell

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20041008/ab8b4c08/attachment.html>


More information about the Users mailing list