Email Notification Modification
I've OMW 9.x installed.
we are using email notification method to send alert via email.
following is the subect line to Email we are reciving from OMW.
Critical : MINFNLPRDDBS1 : A CPU bottleneck symptom has been detected based on several CPU related performance metrics includi...
what we want is to incorporate IPaddress at the place of node name in the subject line of Email.
Kindly suggest if we can alter this in the FwdMsgAsEmail.vbs script.
As i know, it is possible to modify the subject line in the email that is forwarded by the FwdMsgAsEmail policy. This can be done with the following steps:
- Edit the automatic action in the FwdMsgAsEmail policy so that it has following
cscript.exe "%OvInstallDir%\bin\FwdMsgAsEMail.vbs" -MsgId <$WBEM:TargetInstance.Id> -to "Recipient@RecipientDomain.com" -from "Sender@SenderDomain.com" -mailsrv "fqdn of SMTP server" -name "HP OpenView Operations" -subject "<CUSTOM TEXT FOR SUBJECT>"
In the above replace the value to the flags with correct data - including the flag "-subject". Save the policy.
- Deploy the updated policy to the OMW server (this policy can only be deployed to the OMW server). After this change, all emails that are generated by this automatic action will have the subject line that is specified here.Hope this can help !- HAZARD -