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}
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}