I'm fairly new to Openview and was wondering how I could generate e-mail notifications for specific alarms? I've looked at Telamon's TelAlert product, but it's cost and complicated setup doesn't suit our environment.<br><br>Thx
I'm new to OpenView myself. I've been playing with a vbscript (which I really don't know too much about either), running on NT. It uses a freebie product called "mailto". I don't know where to find it on the web, you'll have to look around. The guy who dumped OpenView on me installed it and left no notes. Here's the script I'm playing around with, you might get it to work with other mail packages. It is still something I'm toying with, but I do think it can be made to work better, with a few bells and whistles, by testing the parameters passed to it.
' VBSCRIPT TO SEND MAIL FROM HP OPENVIEW
'
' SET DEFAULTS AND OTHER VARIABLES
exec="D:\openview\contrib\custom_utils\mailto\mailto.exe"
from=" -U OpenView"
host=" -H tfsgate.company.com"
subj=" -S HP_OpenView_Alert"
who=" -D jpapa@company.com"
'
' GET COMMAND LINE ARGUMENTS
Set objArgs = Wscript.Arguments
if WScript.Arguments.Count > 0 then
msg=" -M " & objArgs.Item(0)
msg1=objArgs.Item(0)
else
msg=" -M UNKNOWN_ERROR"
end if
'
'
Dim MyObj
Set MyObj=CreateObject("WScript.Shell"
'
' SET UP MAILING ADDRESSES
if msg1 = "ARGUMENT1" then
who=who &";beeperjp@company.com"
end if
'
' TEST IF "MAILTO" PROGRAM EXISTS
Dim fso
Set fso = CreateObject("Scripting.FileSystemObject"
If (fso.FileExists(exec)) Then
StrMailProg=exec & from & who & host & subj & msg
MyObj.Run(StrMailProg)
Else
Wscript.Echo subj & msg
Wscript.Echo who
End If
Can anyone point me to a URL to get a copy of the mailto.exe file? I have spent an entire day looking for it but I cannot find this command-line mailer.
If you look in the /opt/OV/contrib directory (on UNIX systems, on NT search for the "contrib" directory). In it you will find a script you can run as an automatic action to send e-mails for events.
I have the NT version of HPOV6.2 In the /contrib directory, I have been unable to locate the automatic action you refer to in order to send automatic emails for events.
I am new for the HP OpenView as well. I use the HP Openveiw to monitor the network node and it is the Network Node Manager version 6.1 then I would like to know that when alarm comes out, has it any sounds? Please tell me and if it is, how I can set it to have loud sound. For another one, how can I send the alarm to the e-mail address and pager to notify someone to look at the alarm suddenly? Please help me. I have no idea about those things. Thank you very much.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.