[mrtg] cfgmaker --if-filter='vlan'

Pavel Ruzicka pavouk at pavouk.org
Wed Sep 8 17:24:29 CEST 2010


Hi,

> I have tried cfgmaker --if-filter='vlan' but it says: ERROR: with if-filter
> vlan: Bareword "vlan" not allowed while "strict subs" in use at (eval 6)
> line 1. does anyone have an example of how to do this handy?

You can use these commands:
--if-filter='$default && $if_type!=53'
This filter out interfaces with ifType:	propVirtual (53)

--if-filter='$default && !$if_is_ciscovlan'
This filter out all VLANs from Cisco boxes.

Best regards,

Pavel



More information about the mrtg mailing list