Server Management - Systems Insight Manager
1833589 Members
4712 Online
110061 Solutions
New Discussion

Re: Email Notification Event Detail

 
Erik Botha
New Member

Email Notification Event Detail

Hi

I need to have both the system name and IP address to appear in the event detail that gets emailed to me. Can I modify the standard email form, or is there another way to accomplish this?
2 REPLIES 2
Rob Buxton
Honored Contributor

Re: Email Notification Event Detail

You can use a custom command.
I use perl and the blat software to send the e-mail.
A number of variables are passed through to the custom command - you can see the detail in the User Guide.

A basic perl script would look like;

use Env;

open MAILTMP, '>mail.tmp';
print MAILTMP "$NOTICEPLAINTEXT";
close MAILTMP;

system "blat mail.tmp -to \"Me\" -subject \"HPSIM - Event \" \n";

unlink 'mail.tmp';
close MAILDIST;

Obviously you could tailor the e-mail to include what ever information you wanted.
I use this approach where we format an e-mail for passing on to our Incident Reporting software.
Erik Botha
New Member

Re: Email Notification Event Detail

Thanks Rob, appreciate the help.