Configure snmp for router interfaces

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
epoduzao
Posts: 1
Joined: Mon Dec 18, 2006 5:41 am

Configure snmp for router interfaces

Post by epoduzao »

I have some routers and I would like to know the status (up or down) for each interfaces, I can t find it in the snmp, someone could help me or tell if hostmonitor do it.

Thanks.
JuergenF
Posts: 331
Joined: Sun Jan 26, 2003 6:00 pm
Location: Germany, North Rhine-Westphalia

Post by JuergenF »

Use method SNMP Get
http://www.ks-soft.net/hostmon.eng/tests.htm#chkSNMP

Here you may find a tool for finding out about what MIBs to use

http://www.wtcs.org/snmp4tpc/getif.htm
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

What exact routers do you want to monitor?

Juergen is right. Try to find MIB file, that should be supplied with your router, load it into MIB Browser ( http://www.ks-soft.net/hostmon.eng/mibbrowser/index.htm ) and use SNMP Get test method. http://www.ks-soft.net/hostmon.eng/mfra ... tm#chkSNMP)

You just should find appropriate OID in the MIB file.


Regards,
Max
Last edited by KS-Soft Europe on Mon Dec 18, 2006 6:34 am, edited 1 time in total.
JuergenF
Posts: 331
Joined: Sun Jan 26, 2003 6:00 pm
Location: Germany, North Rhine-Westphalia

Post by JuergenF »

KS-Soft Europe wrote:... load it into MIB Browser (http://www.ks-soft.net/hostmon.eng/mibbrowser/index.htm)
:oops: oh yeh, there is a MIB-Browser included ...
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Use OID 1.3.6.1.2.1.2.2.1.8.<index>
- the current operational state of the interface (iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifOperStatus.<index>)
Where <index> == index of the interface

Regards
Alex
Post Reply