Operating System - HP-UX
1835078 Members
2369 Online
110073 Solutions
New Discussion

Changing the subject line for EMS email

 
SOLVED
Go to solution
Scott Hewes
Advisor

Changing the subject line for EMS email

I would like to change the subject line in the email messages sent from EMS. Currently it just has the hostname of the system having trouble followed by the statement "Event Monitor Notification." I would like to change the subject line to tell me the hostname and the summary of the problem. I want to do this so I can see the problem on my cell phone and not a bunch of superfluous mumbo-jumbo. My cell phone has a limited number of characters that it can receive through text based messages. Thanks in advance.
2 REPLIES 2
Sridhar Bhaskarla
Honored Contributor
Solution

Re: Changing the subject line for EMS email

I have not seen any configuration options that will allow you to modify the Subject line or content of an EMS message.

However, you can send the messages to a text log and have monitoring script continuosly running that will get the required information and page you. This involves quite a bit of scripting. Or if you have a monitoring software like VPO, that can do the job for you.
Look at the TEXTLOG option when you run "monconfig" script.

Another way is to configure a user to receive the notification messages. Have the user aliased to a script which will supress the junk and pass the critical information to you.


-Sri
You may be disappointed if you fail, but you are doomed if you don't try
S.K. Chan
Honored Contributor

Re: Changing the subject line for EMS email

I don't think there is a straightforward method for this. At one point in the past what we did were sent the events to /etc/opt/resmon/log/event.log and everytime we got paged (from EMS email), it'll trigger a script to extract the needed info from event.log and send the text out to the pagers. This is one method.