I'm running an Eval version of NNM ... (6.1) I just can't find the example of mail config on the online Help ! I swear i tried! I just want to send a mail on new alarm ( node down for ex! ) If anyone can give me a way to do it ...
I don't believe there is a native command in HP OV to send mail. I am assuming that you're using the NT version. This may not be what you really want to do, but what I ended up doing was downloading the free version of Telamon Telalert SE from www.telamon.com. This has both paging and SMTP e-mail capabilities and plays very well with HP NNM.
This is a little bulky to set up, but it works quite well once it's there.
Using any scripting language supported by Windows Management Instrumentation Standard (PERL, Vbasic etc.) create a a script that generates a text message in the following format: ========== begin example ============= x-sender: x-receiver: x-receiver: From: To: Subject:
================ end of example ======
Once the message file is created, move it to the PICKUP directory of the Windows SMTP mail service. Assuming the mail service is properly configured, it will be picked up and processed.
This works for sure. I implemented it about 2 weeks ago.
Use a freeware tool called "postie" avalable at http://www.infradig.com This is a command line e-mail tool which works well and efficiently.
Remember, any executable called as an alarm action either needs to be in the path or in the OpenViewbin directory. You'll need to put postie.exe there and if you choose to use the config file, postie.txt, that needs to be in that directory as well.
I am running NNM 6.10 on NT and a diferent machine running exchange server with no SNMP service running. I am using mapisend and it is working perfectly. Everything I did was change the ovactiond.lrf to use a valid NT user that have account in exchange server to send messages. Mapisend is a microsoft utility to send massages from the command line and must be executed with a valid domain user.