Ad Widget

Collapse

How to link templates to create a new trigger from items in each template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • greavette
    Member
    • Jul 2015
    • 82

    #1

    How to link templates to create a new trigger from items in each template

    Hello Forum,

    I have a usecase where I want to check ICMP for a host server as well as Zabbix Agent availability. These would be from two different templates so I believe I would need to Link two templates together.

    My goal is to create a new trigger with an expression that takes into account both items from each template:

    Check Ping
    and
    Check Zabbix agent availability
    and
    if both of the above items fail a critical alert will be created.


    I'm hoping this forum can help me with how to link two templates together and how to create the proper expression in the trigger. I know I'll receive a high alert for ping and a high alert for the Zabbix agent not running. But I'd like to combine these item checks into a new trigger to give me a disaster alert. In this way I can be more sure that the host is really down and not just that the agent isn't running.

    I tried the following expression:

    last(/Linux by Zabbix agent/zabbix[host,agent,available])=0 and last(/ICMP Ping/icmpping)=0

    But I received an error that said "Trigger "Ping and Agent Not Responding" belong to templates with different linkages.​"

    Thank you.​
Working...