snmp not working

Andreas Ericsson ae at op5.se
Wed Nov 16 21:30:57 CET 2005


Subhendu Ghosh wrote:
> On Wed, 16 Nov 2005, HP Geeza wrote:
> 
>> Hi Subhendu,
>>
>> Appologies for the silly question but what do you mean add a -m?
>>
> 
> Add a "-m:"
> The colon after the -m option indicates an empty miblist.  You don't 
> need a miblist if you are providing a numeric OID.

This isn't required with 1.4.2, since check_snmp figures out for itself 
if the OID is numeric or not.

> 
> Also please post the result of the following:
> snmpget -v 1 -c public 10.30.129.30 .1.3.6.1.4.1.2012.1.1.1.4.2.0
> 

Or, preferrably
	check_snmp -vvv <more arguments>

> If you see data other than
> SNMPv2-SMI::enterprises.2012.1.1.1.4.2.0 = INTEGER: 69
> 
> then you may have some local mib files that don't have the correct syntax.
> 
> The WARNING is then the result of output seen on STDERR where it was not 
> expected.
> 

Which should show up when run with -vvv.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
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