Commander
Commander
284 views

Email Notification Modification

Hi,

 

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.

 

BR.

0 Likes
1 Reply
Absent Member.. Absent Member..
Absent Member..

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:

  1.  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.
  2. 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 -
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.