Steve,

I have tried your filter expression listed below and I am still getting interface type 135 in my CFG files. Below is my cfgmaker command for your review to see if I am missing anything. Thanks.

-Patrick

----------------------------

cfgmaker --if-template=/etc/mrtg/Templates/routers2.tp --output=/etc/mrtg/fsigt-002-eqla3.stk.cfg --global "workdir: /var/www/mrtg/rrd" --ifref=descr --ifdesc=alias --global 'options[_]: growright,bits' [EMAIL PROTECTED]:::::2 --no-down --if-filter='($default or ($if_type==117)) and ($if_type!=135)'

---------------------------

Steve Shipway wrote:

If you want the default, plus type 117, but NOT type 135, then use:

--if-filter='($default or ($if_type==117)) and ($if_type!=135)'

Steve

------------------------------------------------------------------------

*From:* Patrick Topping [mailto:[EMAIL PROTECTED]
*Sent:* Tuesday, 21 October 2008 03:34
*To:* Steve Shipway
*Cc:* '[email protected]'
*Subject:* Re: [mrtg] Ignoring certain types of interfaces

Steve,



I have updated my cfgmaker with your filter suggestion and I am still getting 
the l2vlan interfaces in the CFG files.  The ifType shows the l2vlan as 135.  I 
wrote the filter to include $default and gigabitEthernet (117) but still no 
joy.  Any ideas?



-Patrick





_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to