[mrtg] Re: cfgmaker for 1 interface? (newbie)

Sascha E. Pollok sp at iphh.de
Sun Aug 27 20:41:33 MEST 2000


>I have routers with a lot of interfaces, but I am only interested in the
>perfromance of one.
>Can I do someting like:
>cfgmaker public at router Serial0 >mrtg.cfg ?

That wouldn't work for you. What I suggest is to do a normal
cfgmaker community at router > mrtg.cfg

and then edit the mrtg.cfg. Add the line "WorkDir:", which is
always needed and then locate the interface you need.
You'll find every interface separated by a


line. Delete the rest so that you only have the WorkDir: line and
your interface lines left.

The interface-lines should look similar to this one:

 Target[xxx]: 2:community at xxx.xxx.xxx.xxx
 MaxBytes[xxx]: 12500000
 Title[xxx]: hamburg1.iphh.de (): FastEthernet0/1
 PageTop[xxx]: <H1>Traffic Analysis for FastEthernet0/1
    <TR><TD>Interface:</TD><TD>FastEthernet0/1 (2)</TD></TR>
    <TR><TD>IP:</TD><TD> ()</TD></TR>
    <TR><TD>Max Speed:</TD>
        <TD>12.5 MBytes/s (ethernetCsmacd)</TD></TR>

That's all. Have fun!


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