[mrtg] target_lines and template

Andrew Werbowy Andrew_Werbowy at cbc.ca
Thu Jan 9 21:54:47 MET 2003


I am trying to monitor broadcast and multicast IN & OUT on Cisco 6513 switch. Switch has over 200 ports Gi ports I would just hate to go and manually cut and paste ODIs.
When I run MRTG I would like to create the cfg file with this target line:
Target[$target_name]: .1.3.6.1.2.1.2.2.1.12.$if_ref&.1.3.6.1.2.1.2.2.1.18.$if_ref:$router_connect
 
Also, I know that I can use --if-template template-file switch (Perl script). I just need little help with this Perl scrip.
 
Did anybody tried this?
 
Andrew (who needs to learn Perl scripting)


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list