-
Incident report
-
Resolution: Cannot Reproduce
-
Trivial
-
None
-
2.2.3
-
None
Configured an action with condition: Maintenance status not in maintenance AND (Application like SCP OR Application like RII) AND Trigger severity >= Warning
I have configured Default message and Recovery message. The operation is to execute a custom script that currently only logs the values received. It seems the scripts is executed for triggers with severity = Information and with message for recovery. Triggers that fire are configured with hysteresis logic.
The action script executed splits the 3rd input parameter by '\n'.
Action:
Default subject:
{TRIGGER.DESCRIPTION}Default message:{HOST.NAME} {ITEM.NAME1}
PROBLEM {DATE} {TIME} {TRIGGER.NAME} {TRIGGER.VALUE} {TRIGGER.NSEVERITY}
Recovery message: checked
Recovery subject: {TRIGGER.DESCRIPTION}
Recovery message:
{HOST.NAME} {ITEM.NAME1}RECOVERY
{DATE} {TIME} {TRIGGER.NAME} {TRIGGER.VALUE} {TRIGGER.NSEVERITY} {EVENT.ACK.STATUS} {EVENT.ACK.HISTORY}Action script log example:
========================
Notification type: EMAIL | SMS
Host: host1
Item: Function A call avg duration
Status: RECOVERY
Date: 2014.05.30 18:11:26
Trigger name: High Avg Duration for function A
Trigger value: 1
Trigger severity: 1
========================