cancel
Showing results for 
Search instead for 
Did you mean: 

Sendinf Email from a policy

Michael Morlock_3
Super Advisor

Sendinf Email from a policy

I have a particular policy that when its threshold is crossed and it alarms the OVOW console, I also want an email sent. When the email is sent I also want the message to auto acknowledge. For the email, would I select some smtp mechanism to run as an automated action to send the eamil? If so, is an SMTP executable included with OVOW? If not, should I use BLAT?
Any help would be greatly appreciated!
5 REPLIES
Steven E. Protter
Exalted Contributor

Re: Sendinf Email from a policy

In the script that sends the alarm you have a few options.

a line that says:

mailx -s "Policy breach" youraddress@your.net

Will get the alert out.

I'm attaching a script that can be called that will fire off an email with an attachment.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Michael Morlock_3
Super Advisor

Re: Sendinf Email from a policy

Is 'mailx' and executable or internal command in OVOW that functions like BLAT?
Michael Morlock_3
Super Advisor

Re: Sendinf Email from a policy

I see a mailx on my HP-UX NNM server, but not on the Windows 2000 OVOW 7.1 server.
Brian Crabtree
Honored Contributor

Re: Sendinf Email from a policy

If you look online, there are a number of freeware perl routines to send email from a windows server.

Brian
Michael Morlock_3
Super Advisor

Re: Sendinf Email from a policy

Without adding any freeware or third pary utilities, can I use ovepmail, or a vbscript reference by cscript to have an email sent basic on a specific policy?
The FwdMsgAsEmail.vbs that is included with OVOW in samples apparently only involves the sending of email based on more global criteria, such as send email for any message that has severity critical.