[Nagiosplug-help] Output trashed when using multiple values with upper boundaries with check_snmpp / snmppd

Michael Markstaller mm at elabnet.de
Mon Apr 7 03:48:04 CEST 2003


Hi, 

I'm using snmppd as it speeds things up significantly with many snmp-checks and it works fine so far, but when specifying upper boundaries (in this case Cisco CPU) with more than one value polled, the returned output-values get trashed somehow. Although it still reports the correct status, it's just a bit annoying as I cannot see the polled values in Nagios anymore.. 
any hints ?

./check_snmpp -t 5 -H XXX -o .1.3.6.1.4.1.9.2.1.57.0,.1.3.6.1.4.1.9.2.1.58.0 -C XXX -w :90,:75 -c :95,:90 
SNMP OK -£#@£#@
./check_snmpp -t 5 -H XXX -o .1.3.6.1.4.1.9.2.1.57.0,.1.3.6.1.4.1.9.2.1.58.0 -C XXX -w :13
SNMP OK -17 17
./check_snmpp -t 5 -H XXX -o .1.3.6.1.4.1.9.2.1.57.0,.1.3.6.1.4.1.9.2.1.58.0 -C XXX -w ,:13
SNMP WARNING - 14 *17*
./check_snmpp -t 5 -H XXX -o .1.3.6.1.4.1.9.2.1.57.0,.1.3.6.1.4.1.9.2.1.58.0 -C XXX -w :13,:13
SNMP WARNING -£#@£#@

the original check_snmp works this way:
./check_snmp -t 5 -H XXX -o .1.3.6.1.4.1.9.2.1.57.0,.1.3.6.1.4.1.9.2.1.58.0 -C XXX -w :90,:75 -c :95,:90 -l 'CPU usage 1min/5min' -D ' / '
CPU usage 1min/5min OK - 12 / 15

regards

Michael Markstaller




More information about the Help mailing list