Ad Widget

Collapse

disable an interface in trigger from template SNMP Interface

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • amazigh76
    Junior Member
    • Sep 2016
    • 12

    #1

    disable an interface in trigger from template SNMP Interface

    hello
    i used the template SNMP interfaces to check interfaces status,
    the trigger is like this

    {Template SNMP Interfaces - TEST:ifOperStatus[{#SNMPVALUE}].last()}<>1

    how can i disable the checking of the interface Eth1 which is not used by my servers ( Hosts )??? what will be the new trigger ?

    thanks
    Last edited by amazigh76; 30-09-2016, 10:31.
  • amazigh76
    Junior Member
    • Sep 2016
    • 12

    #2
    i had this expression in RED in the trigger

    {Template SNMP Interfaces - TEST:ifOperStatus[{#SNMPVALUE}].last()}<>1 [COLOR="black"][COLOR="black"][COLOR="black"]and {Template ENCODERS SNMP Interfaces - TEST:ifDescr[{#SNMPVALUE}].last()}<>eth1

    but i have this error impossible to update trigger
    "Incorrect trigger expression. Check expression part starting from ">eth1"."

    i tried to add "eth1" 'eth1' but nothing change somebody have an idea please??

    Comment

    Working...