[mrtg] OID that MRTG is actually using when gathering bandwidth data - Cisco4506

Alex van den Bogaerdt alex at ergens.op.het.net
Wed Jun 6 11:50:17 CEST 2007

On Wed, Jun 06, 2007 at 10:56:00AM +0200, Thomas Olsen wrote:
> Hi All
> I was just wondering if it is possible to find which OID MRTG is actually using when gathering bandwidth data?
> For example on my Cisco 4506, I have a 2Gbit port-channel defined that I am currently monitoring with MRTG using the following line:
> Target[Cisco4506_Po10]: #Po10:public at Cisco4506:::::2
> Which OID is #Po10 referring to?

It doesn't.

OIDs used will be and
(ifInOctets and ifOutOctets).

If you walk the three at either OID, you probably see multiple
instances.  One of them should be the one related to your port-channel.

Sometimes these instances are renumbered, and that's why you would
want to use a name instead.  I never tried this, but I can see why
enabling debug mode would probably show you the instance being used.


More information about the mrtg mailing list