05-02-2003 11:09 PM - edited 03-02-2019 07:05 AM
Good Day!
I have a 6509 with GE and FE ports. I need to know how to gather traffic statistics through MRTG/SNMP for the said ports. please help.
cheers,
-ian
05-03-2003 09:52 PM
This is probably a better topic for the Network Management forum, but basically you'll need to ascertain the OID for each port you want to monitor (each port has its own OID), then configure MRTG to monitor these OIDs.
05-06-2003 01:30 PM
The newer versions of MRTG allow you to use port names. I recommend using this over the trying to define the OID instance. This has two advantages: it is easier to see in the MRTG.CFG file, and if the OID instance changes (which I've seen this happen on routers when upgrading IOSs) your graphs are mapped to the port name, and will continue graphing the correct port.
I am running MRTG 2.9.21 on an NT 4.0 system, but it should be the same for *NIX systems.
You'll have to determine what the port name is called via SNMP get. Here's a sanitized MRTG example from one of my routers for a FastEthernet port. You MUST have the backslash in front of the port name or it won't work.
#---------------------------------------------------------------
#
Target[7206.fe00]: \FastEthernet0/0:public@10.1.1.1
MaxBytes[7206.fe00]: 12500000
Title[7206.fe00]: 7206 FE0/0
PageTop[7206.fe00]:
System: | 7206 |
Maintainer: | Your Truly |
Interface: | FE0/0 (Connection to ...) |
IP: | 10.1.1.1 (255.255.255.252) |
Max Speed: | 100 mbps (Fast Ethernet) |
#---------------------------------------------------------------
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide