Ad Widget

Collapse

Need help with trigger prototype on a discovery rule

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • csmall
    Member
    • Jun 2020
    • 70

    #1

    Need help with trigger prototype on a discovery rule

    I'm using a template from the share site for NetApp 9.5.

    The discovery rule finds all of the aggregates on the NetApp and creates items and triggers for each.

    One of the trigger prototypes creates triggers for aggregate size used.

    The expression is as follows:

    {Template SNMP NetApp cDot:dfPerCentKBytesCapacity[{#SNMPINDEX}].last()}>90

    My problem is I have a need to set aggregates with a particular name to have a slightly different trigger.

    I tried addressing this with a macro, but it impacts all items with this trigger on a host and I don't want to change all the items via the macro, just the ones with this name.

    {Template SNMP NetApp cDot:dfPerCentKBytesCapacity[{#SNMPINDEX}].last()}>{$AGGR.UTIL.CRIT}

    How can I create a new trigger prototype to apply only to the ones that contain a name and modify the existing one to not apply to the one that contains the name?
    Last edited by csmall; 23-07-2020, 22:54.
Working...