check_snmp: SNMP problem - No data recieved from host
Subhendu Ghosh
sghosh at sghosh.org
Fri Feb 21 04:57:16 CET 2003
On Thu, 20 Feb 2003, Rick Sheffield wrote:
>
> Folks,
>
> Using "check_snmp" on the command line isn't working for me but
> "snmpget" on the command line works fine.
>
> If I type this at the command line:
>
> check_snmp -H sys-a -C public -o .1.3.6.1.2.1.2.2.1.10.2
>
> I get this output:
>
> SNMP problem - No data recieved from host
> CMD: /usr/local/bin/snmpget -m ALL -v 1 -c public sys-a:161 .1.3.6.1.2.1.2.2.1.10.2
>
>
>
> If I then type this at the command line:
>
> /usr/local/bin/snmpget -m ALL -v 1 -c public sys-a:161 .1.3.6.1.2.1.2.2.1.10.2
>
> I get expected output:
>
> RFC1213-MIB::ifInOctets.2 = Counter32: 2952344668
>
>
>
> I'm using Solaris 8 with a fresh CVS copy of the Nagios plugins which
> seemed to compile and install just fine. The rest of Nagios is running
> great.
>
> Any help would be greatly appreciated,
>
>
It may be timing out. Do you have a large number of mibs?
Try running it by not loading all the mibs.
check_snmp -H sys-a -C public -m \" \" -o .1.3.6.1.2.1.2.2.1.10.2
-sg
--
-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list