Customizing the notification event text
You can customize the notification event text for email events to provide additional details about the monitor instances, attributes, device names, etc. with the event generated. Use the out-of-the-box variables to customize the notification email text.
You can customize notification text at:
- Server-level: All notification rules associated with an Infrastructure Management server
- Rule-level: A specific notification rule
To customize a notification event text
You can customize a notification event text at server-level or rule-level:
Customize the event text at server-level
Do the following to customize an event text for all notification rules associated with an Infrastructure Management server:
- Log in to the TrueSight console, and go to Configuration > Notification Rules.
- Click the action menu
next to Notification Rules.
- Click Customize Event Text.
On the Customize Event Text dialog box, based on the email message format (Full Page ASCII format, One-line Summary ASCII, Full Page HTML/GIF), set the subject line and body of the email message as per your requirement:
For example:Subject: $STATUS, $FULL_PATH, $SEV:$DESCR
Email message body:
Device: $DEVICE
Monitor Type: $MO_TYPE
Instance: $INSTANCE_NAME
Severity: $SEV
Status: $STATUS
Message: $MSG has been received from host $DEVICE with severity $SEVERITY- Select Include More Information in the Email Body if you want to include additional details.
Customize the event text at rule-level
Do the following to customize an event text for a specific notification rule:
- Log in to the TrueSight console, and go to Configuration > Notification Rules.
- Do one of the following:
- To customize the event text while creating the notification rule, do the following:
- Click the action menu next to Notification Rules.
- Click Create Notification Rule.
- Specify the name, description, Infrastructure Management server, rule type, schedule, group filter, monitor type and attributes, event severity and status.
- Go to Notification Details, and click Customize Event Text.
- (Optional) Click View Global settings to view the default settings. Click Back to return to the Customize Event Text edit page.
On the Customize Event Text page, based on the email message format (Full Page ASCII format, One-line Summary ASCII, Full Page HTML/GIF), set the subject line and body of the email message as per your requirement, and click Apply:
For example:Subject: $STATUS, $FULL_PATH, $SEV:$DESCR
Email message body:
Device: $DEVICE
Monitor Type: $MO_TYPE
Instance: $INSTANCE_NAME
Severity: $SEV
Status: $STATUS
Message: $MSG has been received from host $DEVICE with severity $SEVERITY
- To customize the event text while editing the notification rule, do the following:
- On the Configuration > Notification Rules page, from the notification rule action menu, select Edit.
- To customize the event text while creating the notification rule, do the following:
- Go to Notification Details, and click Customize Event Text.
On the Customize Event Text dialog box, based on the email message format (Full Page ASCII format, One-line Summary ASCII, Full Page HTML/GIF), set the subject line and body of the email message as per your requirement:
For example:Subject: $STATUS, $FULL_PATH, $SEV:$DESCR
Email message body:
Device: $DEVICE
Monitor Type: $MO_TYPE
Instance: $INSTANCE_NAME
Severity: $SEV
Status: $STATUS
Message: $MSG has been received from host $DEVICE with severity $SEVERITY
- Click Apply.