Ad Widget

Collapse

Howto send an email with the list of actived alarms that fire the trigger?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Javier Velasco
    Junior Member
    • Jul 2021
    • 1

    #1

    Howto send an email with the list of actived alarms that fire the trigger?

    I have a trigger made up of 50 alarms that can be active at the same time.
    When the trigger is activated I want to send a message with the list of alarms that were active at the time of sending.
    How do I get the list of active alarms to send by email?

    Example of the email:

    Problem started at {EVENT.TIME} on {EVENT.DATE}
    Problem name: {TRIGGER.NAME}
    Host: {HOST.NAME}
    Serverity: {TRIGGER.SEVERITY}

    Original problem ID: {EVENT.ID}
    {TRIGGER.URL}

    LIST OF THE ACTIVED ALARMS
    Item1: {ITEM.NAME}; Key1: {ITEM.KEY}; Description1: {ITEM.DESCRIPTION}
    Item2: {ITEM.NAME}; Key2: {ITEM.KEY}; Description2: {ITEM.DESCRIPTION}
    Item3: {ITEM.NAME}; Key3: {ITEM.KEY}; Description3: {ITEM.DESCRIPTION}

    ItemN: {ITEM.NAME}; KeyN: {ITEM.KEY}; DescriptionN: {ITEM.DESCRIPTION}
Working...