[mrtg] Ignoring certain types of interfaces

Patrick Topping ptopping at pobox.com
Wed Oct 22 16:54:55 CEST 2008


Dan,

That was it...  I added my filter before the host and now all my VE 
interfaces are gone from the CFG file.  Thank you for your help with 
this....

-Patrick

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

McDonald, Dan wrote:
> On Tue, 2008-10-21 at 08:23 -0700, Patrick Topping wrote:
>   
>> 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.
>>     
>
> The filter option must be specified before the host, not after.
>
> That allows more than one host to be polled at a time, with different
> options.  I don't know of anyone using that syntax, but that's why it is
> there.
>
>
>   
>> -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)'
>>     
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> mrtg mailing list
> mrtg at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20081022/0993f418/attachment.html 


More information about the mrtg mailing list