check_snmp problem...

scott_yem at agilent.com scott_yem at agilent.com
Wed Jan 5 01:49:11 CET 2005


I found the same problem.  I found the answer by running check_snmp and
snmpget from the command line.  It appears the response has changed some
and you will want to add something like "INTEGER: " in front of your
expected response.

 

Scott Yem

Research Computing Services

Agilent Laboratories

 

  _____  

From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jorge
Frater
Sent: Monday, January 03, 2005 5:02 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] check_snmp problem...

 

Dear list:

 

I've been using Nagios for over 2 years now on a server running Mandrake
9.0, last week I upgraded it to mandrake 10.1

 

Since then the check_snmp won't work

 

Now snmpget does work and gives the correct reading: "37" which is the
temperature of this APC UPS but the response is always "SNMP problem -
No data received from host"

 

 

 

# /usr/local/nagios/libexec/check_snmp -H 192.168.1.10 -o
1.3.6.1.4.1.318.1.1.1.2.2.2.0 -v

/usr/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.1.10:161
1.3.6.1.4.1.318.1.1.1.2.2.2.0

SNMPv2-SMI::enterprises.318.1.1.1.2.2.2.0 37

 

SNMP problem - No data received from host

CMD: /usr/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.1.10:161
1.3.6.1.4.1.318.1.1.1.2.2.2.0

 

 

 

Thanks.

 

 

 

Jorge Frater B.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050104/c32fd70d/attachment.html>


More information about the Users mailing list