[mrtg] if-filter commands
Ismaël BALLO
Ismael.BALLO at cern.ch
Thu Nov 22 16:11:54 MET 2001
I use this command to evaluate VLAN interfaces but it always give me the
default cfg file from cfgmaker.
It doesn't take in account the if-filter command.
Platform : w2K
version : 2.9.17
cfgmaker community_string at router '--if-filter=($default && ($if_type==53
or $if_type==136 or $if_type==138))' --output gp18.cfg
Here's an example of ethernet interfaces (6 in the ifType)...It should
not be appear.
I don't understand !!
Any help appreciated
### Interface 1 >> Descr: 'Physical port: et.2.1' | Name: 'et.2.1' | Ip:
'' | Eth: '' ###
Target[router_1]: 1:community_string at router:
SetEnv[router_1]: MRTG_INT_IP="" MRTG_INT_DESCR="Physical port: et.2.1"
MaxBytes[router_1]: 12500000
Title[router_1]: Traffic Analysis for 1 -- router
PageTop[router_1]: <H1>Traffic Analysis for 1 -- router</H1>
<TABLE>
<TR><TD>System:</TD> <TD>router in CERN</TD></TR>
<TR><TD>Description:</TD><TD>Physical port: et.2.1 </TD></TR>
<TR><TD>ifType:</TD> <TD>ethernetCsmacd (6)</TD></TR>
<TR><TD>ifName:</TD> <TD>et.2.1</TD></TR>
<TR><TD>Max Speed:</TD> <TD>12.5 MBytes/s</TD></TR>
</TABLE>
etc...
--
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