snmp not working

Subhendu Ghosh sghosh at sghosh.org
Wed Nov 16 23:45:37 CET 2005


On Wed, 16 Nov 2005, Andreas Ericsson wrote:

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

just to close the thread - he as running v 1.4
after upgrade to current - works fine.


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

-- 



-------------------------------------------------------
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