[mrtg] graphing cisco virtual interface/PPPoE users

Patrice Blot - FCNET blot at fcnet.fr
Wed Feb 3 17:39:47 CET 2010

Hello Steve and Jan,


Thanks for your 2 answers.

I'm afraid I was right L


I could change mrtg.cfg before each run but I would like do something more "clean" and if possible limit as much as possible big snmpwalk on our ciscos which have sometimes 400 or 500 virt interface.


So to my mind it should be a very small development to make MRTG uses "IF-MIB::ifAlias" to reference a target like "IF-MIB::ifDescr" is already used.

If Tobi has stopped further development I will have a look if I can patch mrtg.




De : Steve Shipway [mailto:s.shipway at auckland.ac.nz] 
Envoyé : mardi 2 février 2010 22:09
À : Patrice Blot - FCNET
Cc : mrtg at lists.oetiker.ch
Objet : RE: graphing cisco virtual interface/PPPoE users


If the only way to uniquely identify a particular interface on your device is via the ifAlias then MRTG cannot do this - as you say, the Target syntax allows name, description, MAC, IP, type and number but not the Alias.  The cfgmaker utility (which can be used to build MRTG configs) can use ifAlias for descriptions but that's it.


The only way to do this I can think of is to write a custom data collection plugin for MRTG that can do this; then you can make it identify the required username and select the correct interface counters.  Of course this will require some coding to create the plugin...


It would be a good new feature to request for the next version of MRTG to have it able to use the ifAlias and Cisco description to identify an interface, but Tobi has indicated that he has stopped further development of MRTG (other than bug fixes)...





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20100203/e2ec2a10/attachment.htm 

More information about the mrtg mailing list