Ad Widget

Collapse

TAG specific interface triggers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • quackduck
    Member
    • Feb 2025
    • 36

    #1

    TAG specific interface triggers

    Hello.

    I would like to TAG, rename or in any shape or form mark specific discovered interfaces on individual hosts. These are interfaces that I want notifications on.

    So far, I've only found the following options and they aren't any good. They all involve cloning stuff, which isn't good att all when you have multiple hosts with a lot of interfaces.

    1. Clone template for each host and apply "override" with rules matching certain interfaces, to tag them.
    2. Clone discovered triggers (and disable the original) and tag the clones.
    3. Clone discovery rules, give clone new key and name, disable original.
    4. Make a ton of action triggers and/or action trigger conditions (even if there are patterns)

    Might be forced to rename interfaces and then base action triggers on that... this isn't ideal.

    How can this be solved?
  • kyus
    Senior Member
    • Feb 2024
    • 172

    #2
    You are probably looking for overrides as you mentioned.


    You didn't say which template you are using, but let's say it is "Network Generic Device by SNMP".

    First, go to the discovery rules and click on the discovery rule "Network interfaces discovery", go to the "Overrides" tab.
    Add a condition, like {#IFNAME} matches interface.*
    Add an operation with the following configuration:
    1. Object: Item prototype
    2. Condition: equals/contains/matches the name of the item protorype you want to tag
    3. Click on the checkbox in Tags and define a tag as you like

    Comment

    Working...