Server Management - Systems Insight Manager
1833324 Members
3284 Online
110051 Solutions
New Discussion

User's Defined subject

 
Sven selander, Jr._1
Occasional Contributor

User's Defined subject

Is it possible to use a template for the User's Defined subject?

The boss would like to see the description from the email body appear on the subject line instead of a generic text message.

I realize the default is Device Name: Short Description from Alert: User's Defined subject

Example:
As it appears now:
test-server: Rising Threshold Passed (10005): HP-SIM detected Critical System Alert

As he would like it to appear:
test-server: Rising Threshold Passed (10005):
C:New Volume [NTFS] disk space Severity Level: warning Current Value: 74 Threshold Top: 74 Threshold Owner: Insight Web Agent

----------------------------------
Email message:

Event Name: Rising Threshold Passed (10005)
URL: https://test-server:2381/
Event originator: test-server
Event Severity: Critical
Event received: 08-Aug-2007, 10:32:59

Event description: Rising Threshold passed. An alarm entry has crossed its rising threshold. The instances of those objects contained within the variable list are those of the alarm entry which generated this trap.

Description: E:New Volume [NTFS] disk space Severity Level: warning Current Value: 74 Threshold Top: 74 Threshold Owner: Insight Web Agent


1 REPLY 1
Rob Buxton
Honored Contributor

Re: User's Defined subject

I don't know a way of configuring the standard e-mail gateway, but you could do it via a Custom Command.

You'd need some scripting tool (I use perl) to pick up the parameters and then format the message and subject as you want.

The script could then call a utility like blat to send the message.

I use this approach to reformat some messages that we automatically post to our infra call logging system.