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 <w...@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------

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to