Ad Widget

Collapse

Use value of key in Trigger Description

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tkr65536
    Junior Member
    • Nov 2018
    • 5

    #1

    Use value of key in Trigger Description

    I have a trigger that gets tripped when a binary SNMP Check item goes from 0 to 1. This trigger is defined in a template

    That item is monitoring one of two exciters, whichever one is active.

    I would like for the description to inform me which exciter was active when the alarm was tripped. That value is available in a separate item.


    I have tried using the below macros, none of them work:

    Active Exciter: Exciter {HOST.activeExciter}
    Active Exciter: Exciter {{HOST.NAME}:activeExciter}
    Active Exciter: Exciter {{HOST}.activeExciter}

    Their output is:
    Description: Active Exciter: Exciter {HOST.activeExciter}
    Active Exciter: Exciter {Transmitter:activeExciter}
    Active Exciter: Exciter {{HOST}.activeExciter}

    The value of activeExciter is:
    "a"

    Is there any way I can get the value of the activeExciter item in the description of the trigger so that it gets emailed?

    (The key for the field is "activeExciter")

    Thank you very much
  • tkr65536
    Junior Member
    • Nov 2018
    • 5

    #2
    I just wanted to follow up and see if anyone knows how to get the value of the activeExciter item in the description of the trigger so that it gets emailed.

    Comment

    Working...