Server Management - Systems Insight Manager
cancel
Showing results for 
Search instead for 
Did you mean: 

Email Alerts: Customize Subject Line

e o'rourke
Advisor

Email Alerts: Customize Subject Line

Guys,
Anyone know how to customize the subject line of an alert email? I though i could just change the value in the .cfg file (i.e. description) and then run mxmib -a but it doesn't seem to work.

What i'm trying to do is change cpqthrsh.mib to allow me to alert on disk space usage. What i have done is modify the settings for 10005/10007 traps and customized the description. However, the subject line of the email still reads:

(SNMP) Critical Rising Threshold Passed (10007):

From the help file, it should be:

If EmailPrefixUserSubject = false. The format of the subject line is Device Name: Short Description from Alert: User's Defined Subject.

EmailPrefixUserSubject = false is set in my globalproperties.cfg file. Any ideas???
3 REPLIES
Rob Buxton
Honored Contributor

Re: Email Alerts: Customize Subject Line

Not directly.
Indirectly you could use a Custom Script. SIM passes a number of variables through that you can use and do what you like with.
I've used this to specifically format e-mails.
There's a section in the tech Guide that covers the variables and what they contain.
e o'rourke
Advisor

Re: Email Alerts: Customize Subject Line

Hi Rob, thanks for the reply! Bummer. So where does SIM get the "Short Description from Alert" as aluded to in the tech guide "If EmailPrefixUserSubject = false. The format of the subject line is Device Name: Short Description from Alert: User's Defined Subject."

??? Thanks in advance.
e o'rourke
Advisor

Re: Email Alerts: Customize Subject Line

Well what do you know, after customizing the .cfg files and reloading them with mxmib-a AND restarting SIM, the subject line is now customized!