[rrd-users] if-filter commands

Ismaël BALLO Ismael.BALLO at cern.ch
Thu Nov 22 17:32:29 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
MRTG 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>
   <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>


BALLO Ismaël
CSN until 2002/2 - CERN
Office 31R-030
IT/CS Division
European Org. for Nuclear Research
Geneva 23 - CH 1211 Switzerland
Tel + 41 22 76(75027)
Fax + 41 22 76(77155)
Mailbox G22810

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the rrd-users mailing list