Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Monitoring certain Statistics on a Router via SNMP

Status
Not open for further replies.

Redfox1

MIS
May 29, 2002
73
US
I'm interested in monitoring (graphing) certain stats of a router (specifically an Cabletron-2000.)

I'm already using MRTG to graph basic traffic of each port on the router.

1. How do I find out what specific OIDs to give to MRTG?
2. How to I GET information out of the Router?

I am somewhat familiar with SNMP, MIB, MIB-II, snmpwalk but appearantly not well enough to figure this one out...

I thought I had the right OIDs, but when I query it I get nogthing back.

I am using the right community strings... since I'm getting port based traffic from the SSR already.

I'm open to other examples not just specific ones to the SSR>
 
how do i connect to a router using snmp.
i want a sample code for that using C.
i am doing the programing in borland c++
 
Hi,

I am new to this programming on linux platform and hv some work to do using snmp protocol to monitor a switch or a network device some what similar to 1 of the posting made earlier.
I am interested in monitoring(graphing)certain stats of router and switch (cisco). I am already using MRTG but wannna write my own code (for a switch)can anybody help and guide me thru it .
eagerly awaiting reply.

Lalit
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top