[mrtg] Ignoring certain types of interfaces
Patrick Topping
ptopping at pobox.com
Tue Oct 21 17:23:06 CEST 2008
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' ubaVcj8PYF at fsigt-002-eqla3.stk:::::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: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
>
>
>
> 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
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20081021/cbec9d1a/attachment.html
More information about the mrtg
mailing list