Ad Widget

Collapse

Low Level Discovery (LLD) Disable VNETx Devices

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • riaanp
    Junior Member
    • Mar 2019
    • 9

    #1

    Low Level Discovery (LLD) Disable VNETx Devices

    Good day,
    I am wondering if someone can point me in the right direction.

    I am aware that you can filter/remove certain devices from LLD, I am just not sure how that is done exactly. I am trying to remove all VNET devices from all my hosts since they report their speeds wrong and generate a massive amount of alerts.
    Anyone have proper steps to do this?
  • max.
    Member
    Zabbix Certified Specialist
    • Apr 2022
    • 40

    #2
    Hello, how are you?

    You can use the filter tab in the discovery object to match specific macro with value or regex.

    Regards

    Comment

    • riaanp
      Junior Member
      • Mar 2019
      • 9

      #3
      Hi, good thanks

      Originally posted by max.
      Hello, how are you?

      You can use the filter tab in the discovery object to match specific macro with value or regex.

      Regards
      Is this per host or global? Really looking for a global option

      And have documentation about the subject with a working how to possibly?

      Comment

      • riaanp
        Junior Member
        • Mar 2019
        • 9

        #4
        When I go here: Templates -> All templates -> Linux by Zabbix agent then i click macros and then i scroll down I see:

        Code:
        {$NET.IF.IFNAME.NOT_MATCHES}
        and the values are:

        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})
        Would it be the right approach to just add another regular expression there to exclude? For example:

        Code:
        (^Software Loopback Interface|^NULL[0-9.]*$|^[Ll]o[0-9.]*$|^[Ss]ystem$|^Nu[0-9.]*$|^veth[0-9A-z]+$|^vnet[0-9A-z]+$|docker[0-9]+|br-[a-z0-9]{12})

        Comment

        • max.
          Member
          Zabbix Certified Specialist
          • Apr 2022
          • 40

          #5
          Yes, that should work, it seems that the discovery already has a filter that matches the regex macro!

          Regards

          Comment

          Working...