Ad Widget

Collapse

How to Include Host Tags in Notification Messages in Zabbix 7.2?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • polupochnik
    Junior Member
    • Jan 2025
    • 3

    #1

    How to Include Host Tags in Notification Messages in Zabbix 7.2?

    Hello,




    I’m currently working on a Zabbix 7.2 setup and need to configure notifications that include the value of a specific tag assigned to hosts. For example, I have a tag on my hosts:

    Tag Name: organisation

    Value: Company1




    My goal is to have this tag value dynamically included in notifications when a trigger fires. I want the subject and body of the notification to look something like this:

    Subject: Problem detected: {TRIGGER.NAME} - Company1

    Body:
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    {EVENT.TAGS.<tag name>}

    Subject: Problem detected: {TRIGGER.NAME} - {EVENT.TAGS.organisation}

    Comment

    Working...