Ad Widget

Collapse

Filter set in discovery doesn't seem to work

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NicoE
    Junior Member
    • Mar 2025
    • 7

    #1

    Filter set in discovery doesn't seem to work

    I have edit the filter set in the "Network Generic Device by SNMP" and added "^Loopback*$|^AUX$|^Vlan-interface*$".

    Click image for larger version

Name:	1111.png
Views:	129
Size:	18.2 KB
ID:	500689

    Those macros are set inside the template.
    That template has a discovery with following filters:

    Click image for larger version

Name:	222222.png
Views:	79
Size:	57.5 KB
ID:	500690

    And this template has item prototypes like `Interface {#IFNAME}({#IFALIAS}): Operational status`.

    Given those informations I would guess that those filter are applying to the discovery.

    But when I clear the data from a host and wait for them to appear again, interfaces that should be filtered out will still be displayed:

    Click image for larger version

Name:	33333.png
Views:	80
Size:	13.7 KB
ID:	500691

    What could be the reason that this filter isn't working? The regex is fine when checking them with regex101...
Working...