Ad Widget

Collapse

Zabbix Template trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • axelbest
    Junior Member
    • Sep 2022
    • 1

    #1

    Zabbix Template trigger

    Hello

    I'm trying to create a new group with a template (I can call here Template Test) to monitor several services. The trigger I'm trying to create is:
    Code:
    {HOST.NAME:service.info[NTDS,state].min(#15)}<>0
    However I'm not sure what I have to use in place of HOST.NAME. If I set a host, the trigger is created only associated to the host. If I use the template name, I receive an error message
    ex: [CODE]
    Code:
    {Template Test:service.info[NTDS,state].min(#15)}<>0
    
    Cannot add trigger
    Incorrect item key "service.info[NTDS,state]" provided for trigger expression on "Template Test".
    What's the correct use of the expression in this case?

    The key is, have this trigger working for every host that is part of this group. I'm using Zabbix v3.2
    Thank you in advance.
    Last edited by axelbest; 29-09-2022, 22:51. Reason: Zabbix version added
Working...