SNMP problems checking switch

SAHNOUN, Nadir nsahnoun at refco.fr
Wed Nov 3 14:32:04 CET 2004


Hi,

Add "." before oid :
./check_snmp -H 1.1.1.1 -C public -o .1.3.6.1.2.1.2.1.0

The best is to use a tool as GETIF. It will help you to view the MIB and
provide you the oids for your hosts.

Best Regards
NS


-----Message d'origine-----
De : Florian Beese [mailto:florian.beese at infoconsult.nu]
Envoyé : mercredi 3 novembre 2004 11:55
À : nagios-users at lists.sourceforge.net
Objet : [Nagios-users] SNMP problems checking switch


Hi,

I got a problem using SNMP on a 3COM Super Stack II Switch.

I am using the MIB-2 (described in RFC 1213), which is supported for this 
switch.

Now, when I do the following:
./check_snmp -H 1.1.1.1 -C public -o 1.3.6.1.2.1.2.1.0
I get an "SNMP OK - 34" for the number of interfaces, which is a bit strange

(34? on 12-port), but seems ok so far.
When I don't put the 0 at the end it isn't working anymore. But on some
other 
machines we monitor with SNMP it works. I looked it up in the documentation
and 
with the 0 it should work properly... As long as I don't want to access any 
tables.

When I do the following:
./check_snmp -H 1.1.1.1 -C public -o 1.3.6.1.2.1.2.2.1.8.1
to check the status of the first interface on the switch I don't get a 
respone "SNMP problem - No data received from host".  With other switches it

works properly. I tried some other values of the table and of another table
and 
got no response, too.

Any idea, why this isn't working?

Thanks in advance!

regards
    Florian Beese

PS: Excuse my bad english.


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&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