[mrtg] Routing table

Presciliano dos Santos Neto psneto at telepar.com.br
Mon Jun 24 22:57:58 MEST 2002


Hi, 

I'd like to tweak cfgmaker to include the routes related to a interface,
like this:

...
PageTop[my router]: <H1>My router</H1>
 <TABLE>
   <TR><TD>Description:</TD><TD>FastEthernet2/0/0  </TD></TR>
   <TR><TD>Interface type:</TD><TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>Speed:</TD><TD>100.0 Mbits/s</TD></TR>
   <TR><TD>Ip address:</TD><TD>200.x.x.1 mask 255.255.255.252</TD></TR>
   <TR><TD>Associated route(s):</TD><TD>ip route 200.y.y.y 255.255.255.0
200.x.x.2</TD></TR>
 </TABLE>
...

I have so litle experience in Perl to do this, can someone point me in the
right direction ?

TIA,

Presciliano

--
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