[Pkg-nagios-devel] Bug#620965: Bug#620965: nagios-plugins-standard: plugin config snmp_procs uses wrong MIB

Jan Wagner waja at cyconet.org
Sat May 14 14:09:57 UTC 2011

tag 620965 + moreinfo unreproducible

Hi root,

thanks for taking care and reporting this problem.

Unfortunately I can't reproduce your problem.

On Tuesday, 5. April 2011, root wrote:
> The snmp_procs command definition uses a wrong MIB for querying the total #
> of processes. With "host.hrSystem.hrSystemProcesses" the check_snmp call
> results in:
> /usr/lib/nagios/plugins/check_snmp -H 'voyager' -C 'public' -o
> host.hrSystem.hrSystemProcesses -w :'400' -c :'600' -l processes External
> command error: Bad operator (INTEGER): At line 73 in

On my host I get:

$ /usr/lib/nagios/plugins/check_snmp -vvv -H '' -P 2c -C 'foo' -o 
host.hrSystem.hrSystemProcesses -w :'400' -c :'600' -l processes
/usr/bin/snmpget -t 1 -r 5 -m ALL -v 2c [authpriv] 

And then happens nothing ... I need to interupt the command with ^C

> If substituted with "host.hrSystem.hrSystemProcesses.0" this works
> flawlessly:
> /usr/lib/nagios/plugins/check_snmp -H 'voyager' -C 'public' -o
> host.hrSystem.hrSystemProcesses.0 -w :'400' -c :'600' -l processes SNMP OK
> - processes 211 | processes=211

$ /usr/lib/nagios/plugins/check_snmp -vvv -H '' -P 2c -C 'foo' -o 
host.hrSystem.hrSystemProcesses.0 -w :'400' -c :'600' -l processes
/usr/bin/snmpget -t 1 -r 5 -m ALL -v 2c [authpriv] 

Same here.

Could you please test the problem again with "-v" in your commandline and tell 
me exactly, how to configure the snmpd on the remote side to get this 
"host.hrSystem.hrSystemProcesses.0" working?

Thanks and with kind regards, Jan.
Never write mail to <waja at spamfalle.info>, you have been warned!
Version: 3.12
GIT d-- s+: a C+++ UL++++ P+ L+++ E--- W+++ N+++ o++ K++ w--- O M V- PS PE Y++
PGP++ t-- 5 X R tv- b+ DI D+ G++ e++ h---- r+++ y++++ 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20110514/716eaf79/attachment.pgp>

More information about the Pkg-nagios-devel mailing list