SNMP problems checking switch

florian.beese at infoconsult.nu florian.beese at infoconsult.nu
Thu Nov 4 09:24:38 CET 2004


Sorry, i just missed the dod in the mail. In my command it isn't missing.

It works now. Thanks to Andreas tip to view snmpwalk. 
Btw... In my last mail I corrected you Andreas and right when I clicked
"send" I got your answer/correction to your mail. bad timing ;)

Ok, I will have a look for this tool. Guess I may help me in the future.

Btw... I wonder if everyone else in here is also having a lag of 50-100
Minutes (depending on the time of day). I normaly have 90 minutes. This is
sometimes realy anoying and now I wonder if its because of the list or
because of our providers mailserver.

best regards
      Florian Beese

-----Ursprüngliche Nachricht-----
Von: SAHNOUN, Nadir [mailto:nsahnoun at refco.fr]
Gesendet: Mittwoch, 3. November 2004 14:32
An: nagios-users at lists.sourceforge.net
Betreff: RE: [Nagios-users] SNMP problems checking switch


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



____________
Virus checked by G DATA AntiVirusKit
Version: AVK 15.0.818 from 03.11.2004


____________
Virus checked by G DATA AntiVirusKit
Version: AVK 15.0.830 from 03.11.2004


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