1833638 Members
3650 Online
110062 Solutions
New Discussion

ems emails

 
Romain Sutton
Occasional Contributor

ems emails

can anyone help me. I have all the EMS notifications from a number of systems being forwarded to my own email address.

Is there anyway to get the subject line of the emails to show the machine that sent the EMS message rather than opening it up and looking at the senders address.
2 REPLIES 2
Keith Johnson
Valued Contributor

Re: ems emails

If you can modify the scripts that generate the mail it is a piece of cake. Simply add `hostname` in the subject line.

For example:
mailx -s "`hostname` Error Report" < /input/file

HTH

KJ
No matter where you go...there you are.
Sridhar Bhaskarla
Honored Contributor

Re: ems emails

Hi,

The machine name will be attached to the subject line by default if you used 'monconfig' command to configure. For ex., the subject would be

everest: Event Monitor Notification.

where everest is my hostname.

I would create a group alias called 'ems' that points to my email id and root and configure EMS to send messages to ems. This way you will get a mail with a copy to the local root. The subject will remain the same that contains the hostname.


-Sri
You may be disappointed if you fail, but you are doomed if you don't try