[mrtg] Ignoring certain types of interfaces

McDonald, Dan Dan.McDonald at austinenergy.com
Wed Oct 22 13:58:15 CEST 2008


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

-- 
Daniel J McDonald, CCIE #2495, CISSP #78281, CNX
Austin Energy
http://www.austinenergy.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.oetiker.ch/pipermail/mrtg/attachments/20081022/b3f94440/attachment.bin 


More information about the mrtg mailing list