Server Management - Systems Insight Manager
1753404 Members
7228 Online
108793 Solutions
New Discussion

Email format of Auto Event Handling -

 
SOLVED
Go to solution
Pber
Advisor

Email format of Auto Event Handling -

Since I'm restricted to 3 predefined formats when using the email for Auto Event Handling, I call a Custom CMS tool instead that is a script that formats email the way I require. 

 

I can pass variables to the Custom CMS tool such as host name or IP, but is there a way to pass the event trap description itself.

 

Thanks.

2 REPLIES 2
BPE
Esteemed Contributor
Solution

Re: Email format of Auto Event Handling -

Yes, it is possible to get some of the information but the parameter passing is quite tricky.

It is a long time a go that we used perl to analyze some of the events.

We used a custom task which was execute for some of the events.

The information is passed in two environment variables NOTICEPLAINTEXT

and NOTICERAWDATA. The tricky part was the split operation on the RAW data at this time.

You will find additional information searching for NOTICERAWDATA in the SIM online help.

 

Pber
Advisor

Re: Email format of Auto Event Handling -

I glossed over that information in the documentation and was going in the wrong direction.

 

Thanks for the information, I got it working.  Using %%NOTICERAWDATA%% as a command line parameter to my script.  From there I can parse it.  

 

Thanks again.