[Nagiosplug-devel] [ nagiosplug-Bugs-3109810 ] check_snmp not processing command line flags correctly

SourceForge.net noreply at sourceforge.net
Mon Nov 15 23:18:16 CET 2010


Bugs item #3109810, was opened at 2010-11-15 14:18
Message generated for change (Tracker Item Submitted) made by cforsythe
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3109810&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Argument proccessing
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Carl Forsythe (cforsythe)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_snmp not processing command line flags correctly

Initial Comment:
Output of current plugin:
./check_snmp -V: check_snmp v1.4.15 (nagios-plugins 1.4.15) 

OS: CentOS 5.5 x86_64
Kernel: 2.6.18-194.11.4.el5

The check being run:
./check_snmp -H 192.168.100.204 -vvvv -P 2c -C ########## -o NS-ROOT-MIB::serverState.5.119.119.119.49.49 -R up

/usr/bin/snmpget -t 1 -r 5 -m ALL -v 2c [authpriv] 192.168.100.204:161 NS-ROOT-MIB::serverState.5.119.119.119.49.49
NS-ROOT-MIB::serverState."www11" = INTEGER: outOfService(4)
Processing oid 1 (line 1)
  oidname: NS-ROOT-MIB::serverState."www11"
  response:  = INTEGER: outOfService(4)
SNMP OK - 4 | NS-ROOT-MIB::serverState."www11"=4 

It doesn't matter what I put after the -R, if I put up, down, left, right, green, blue etc. it always returns ok.

Version:  check_snmp v1859 (nagios-plugins 1.4.11)
Works as expected, it was only after an update to the nagios plugins that the check_snmp plugin stopped working. 

Net-SNMP did not change.








----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3109810&group_id=29880




More information about the Devel mailing list