Ad Widget

Collapse

How to print TRIGGER description in message

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • acasari
    Junior Member
    • Jan 2014
    • 11

    #1

    How to print TRIGGER description in message

    I would like to include a trigger description (I filled the description attribute in the trigger definition) in a message.

    How do I refer to it in a Condition? I only found {TRIGGER.NAME}, is there any sort of {TRIGGER.DESCRIPTION} ?

    Thanks in advance.
  • thomphi
    Member
    • Feb 2014
    • 74

    #2
    Hello,

    I think "TRIGGER.COMMENT" works.

    Comment

    • jan.garaj
      Senior Member
      Zabbix Certified Specialist
      • Jan 2010
      • 506

      #3

      {TRIGGER.DESCRIPTION}
      Code:
      Trigger description. Supported since 2.0.4.
      Starting with 2.2.0, all macros supported in a trigger description will be expanded if {TRIGGER.DESCRIPTION} is used in notification text.
      {TRIGGER.COMMENT} is deprecated.
      Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.
      My DevOps stack: Docker / Kubernetes / Mesos / ECS / Terraform / Elasticsearch / Zabbix / Grafana / Puppet / Ansible / Vagrant

      Comment

      • acasari
        Junior Member
        • Jan 2014
        • 11

        #4
        Thanks for the help!

        Comment

        Working...