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

Jan Wagner waja at cyconet.org
Wed Sep 7 12:06:28 UTC 2011


Hi there,

On Saturday 14 May 2011 16:09:57 Jan Wagner wrote:
> 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 '127.0.0.1' -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] 127.0.0.1:161
> host.hrSystem.hrSystemProcesses
> 
> 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 '127.0.0.1' -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] 127.0.0.1:161
> host.hrSystem.hrSystemProcesses.0
> 
> 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?

if your problem is still ontopic, please provide us the requested 
informations. If we don't get input in a reasonable time, we will close this 
bug.

Thanks and with kind regards, Jan.
-- 
Never write mail to <waja at spamfalle.info>, you have been warned!
-----BEGIN GEEK CODE BLOCK-----
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++++ 
------END GEEK CODE BLOCK------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
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/20110907/d6a947ea/attachment.pgp>


More information about the Pkg-nagios-devel mailing list