[mrtg] target name = alias ?

Erwan PERROTIN eperrotin at contentia.fr
Fri Apr 18 15:06:00 CEST 2008


Hello,
 
(Sorry for my English)
 
I would like use the alias of my port in target name with cfgmaker.
 
Example:
Perl cfgmaker --ifdesc=alias public at 192.xx.xx.xx
 
The alias of port 1 is PORTNAMEEXAMPLE
 
Target[PORTNAMEEXAMPLE]: 1:public at 192.xx.xx.xx:
….
Title[PORTNAMEEXAMPLE]: 1 PORTNAMEEXAMPLE -- NAMEOFSWITCH
…
 
How to define automatically the target_name in Target, SetEnv, MaxBytes, Title… ?
 
With templates perhaps?
 
Thanks
 
Erwan.
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20080418/f8f3910c/attachment.html 


More information about the mrtg mailing list