Ad Widget

Collapse

How to find in which template is a trigger or expression

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bern
    Junior Member
    • Nov 2016
    • 7

    #1

    How to find in which template is a trigger or expression

    I have two Juniper EX4300 switches for which I have to modify the trigger temperature. The default trigger value is at 60C and I would like to change to 65. I would like to create a user macro to modify this value for those two switches.

    I have spent a lot of time to try to find out in which template this trigger is configured without success.

    Is there a simple way to find in which template a trigger or expression is defined? Or maybe I am not looking for the right thing?

    I am way far to be an expert in Zabbix.

    Thanks
  • bern
    Junior Member
    • Nov 2016
    • 7

    #2
    Ok I found it.

    Specifically for my situation, I have a template for Juniper EX switches. Under this template there are 2 Discovery rules. The two discovery rules are "JunOS Hardware" and "JunOS Interfaces". I clicked on "JunOS Hardware" then "Trigger prototypes". In the list of triggers I found "{Hostname} {#SNMPVALUE} - Hight temperature", I clicked on it and then I could edit the expression and replace the 60 value by a user macro defined at the level of the template like:

    {Template Juniper EX:jnxOperatingTemp.[{#SNMPVALUE}].min(60)}>{$JUNIPER_EX_TEMP}

    Hope it can help some other newbies like me.

    Comment

    Working...