Ad Widget

Collapse

Filtering out Network Interfaces (vnet, tap etc.)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • markeczzz
    Junior Member
    • Apr 2018
    • 1

    #1

    Filtering out Network Interfaces (vnet, tap etc.)

    Hi!

    I have few Linux hosts that are hypervisors and have a lot of vnet and tap interfaces that are constantly changing.
    Zabbix Agent 6.2 is installed on them on hosts and Zabbix Server is also using version 6.2. (latest)

    These hosts have a Linux by Zabbix agent template attached.
    I did try inserting this in Template macros:

    Macro:
    Code:
    {$NET.IF.IFNAME.NOT_MATCHES}
    Value:
    Code:
    (^Software Loopback Interface|^NULL[0-9.]*$|^[Ll]o[0-9.]*$|^[Ss]ystem$|^Nu[0-9.]*$|^veth[0-9A-z]+$|docker[0-9]+|br-[a-z0-9]{12}|^Interface tap.*$|^Interface vnet.*$|^Interface vnet0.*$)
    I did try to clean it from host and reattach template, but I still see notifications for this interfaces popping out.
    Code:
    Interface vnet3: High bandwidth usage (>90%)
    ​
    I used regex tester and
    Code:
    |^Interface vnet.*$
    should get a match for this..

    Also, I have same problems with Windows by Zabbix agent template where I have problems with service discovery.
    In template macro I added service that I do not want to be discovered
    Code:
    ^(?:RemoteRegistry|MMCSS|gupdate|SysmonLog|clr_optimization_v.+|sppsvc|gpsvc|Pml Driver HPZ12|Net Driver HPZ12|MapsBroker|IntelAudioService|Intel\(R\) TPM Provisioning Service|dbupdate|DoSvc|CDPUserSvc_.+|WpnUserService_.+|OneSyncSvc_.+|WbioSrvc|BITS|tiledatamodelsvc|GISvc|ShellHWDetection|TrustedInstaller|TabletInputService|CDPSvc|wuauserv|cbdhsvc.*|edgeupdate.*|)$
    But I can still see services discovered.

    I did try to modify these setting on host Macros page, but same thing.

    So I guess I am doing something wrong.. Any pointers how to trouleshoot?

    Regards,
Working...