[mrtg] Ignoring certain types of interfaces

Steve Shipway s.shipway at auckland.ac.nz
Mon Oct 20 23:22:43 CEST 2008

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


From: Patrick Topping [mailto:ptopping at pobox.com]
Sent: Tuesday, 21 October 2008 03:34
To: Steve Shipway
Cc: 'mrtg at lists.oetiker.ch'
Subject: Re: [mrtg] Ignoring certain types of interfaces


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?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20081021/2c032938/attachment-0001.html 

More information about the mrtg mailing list