[mrtg] graphing cisco virtual interface/PPPoE users

Jan Ferré Jan.Ferre at uni-c.dk
Wed Feb 3 18:02:17 CET 2010


Hi Patrice

Imho the problem is not to trick Mrtg into gathering information based
on an Alias

The real problem lies in how to handle different countervalues as I
don't expect the user to be connected to a reserved virtual interface.

Besides I can't see how mrtg should be able to obtain ifnumber based on
ifDescr or ifAlias other than listing the interfaces. And you don't need
to list (snmpwalk) more than the right table.

Jan


Patrice Blot - FCNET wrote:
>
> 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.
>
>  
>
> Patrice
>
>  
>
> *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)…
>
>  
>
> Steve
>
>  
>
>  
>


-- 
Jan Ferré - UNI-C Netdrift - DTU Bygning 304, DK-2800 Lyngby
tlf. +45 3587 8935, cell. +45 2160 8012, fax. +45 3587 8990
EAN-no.: 5798000555198



More information about the mrtg mailing list