[root@ ~ libexec]# snmpget -v1 -c <string read-only> <ip host> .1.3.6.1.4.1.664.3.1.1 Timeout: No Response from <ip host>. [root@ ~ libexec]#
I took an ethereal capture as well. After looking at it, it looks like the destination host may not be accepting SNMP traffic. Is UDP 161 default for SNMP? [root@ ~ libexec]# tethereal ip host <ip host> Running as user "root" and group "root". This could be dangerous. Capturing on eth0 0.000000 <source ip> -> <ip host> SNMP get-request SNMPv2-SMI::enterprises.664.3.1.1 0.049775 <ip host> -> <source ip> ICMP Destination unreachable (Port unreachable) 1.000719 <source ip> -> <ip host> SNMP get-request SNMPv2-SMI::enterprises.664.3.1.1 . . 12 packets captured [root@ ~ libexec]# Eric Chatham Broadvox MIS Department (216) 373-4683 echat...@broadvox.net -----Original Message----- From: Lee Azzarello [mailto:l...@dropio.com] Sent: Thursday, February 26, 2009 11:59 To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Problems with check_snmp add-on On Thu, Feb 26, 2009 at 11:02 AM, Eric Chatham <echat...@broadvox.net> wrote: > Hello, > > > > I am trying to run the check_snmp add-on to retrieve the product name of an > Adtran. I have the community string and the MIBs loaded. When I run the > following command, I get "No data received from host." What am I doing > wrong? Thank you for your assistance. > > > > [root@ ~ libexec]# snmptranslate -m +ADTRAN-MIB -IR -On adProdName > > .1.3.6.1.4.1.664.3.1.1 > [r...@~ libexec]# ./check_snmp -H <ip address> -C <string read-only> -o > .1.3.6.1.4.1.664.3.1.1 > > SNMP problem - No data received from host > > CMD: /usr/local/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] <ip address> > .1.3.6.1.4.1.664.3.1.1 What happens when you run snmpget manually? Does it return the value expected? -lee ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null