1838580 Members
3029 Online
110128 Solutions
New Discussion

EMS - mail - hpsim

 
Stijn V
Regular Advisor

EMS - mail - hpsim

I configured EMS to send an email and an snmp trap to our hpsim.

4) Send events generated by all monitors
with severity >= INFORMATION to EMAIL ems_mails
5) Send events generated by all monitors
with severity >= INFORMATION to SNMP

I executed the command :
/opt/resmon/bin/send_test_event dm_stape

But I don't receive any snmp trap in hpsim and I even don't receive a mail. Altghough the message is logged in /var/opt/resmon/log/event.log

Thanks for your help.
10 REPLIES 10
Stijn V
Regular Advisor

Re: EMS - mail - hpsim

The EMS mail function is already working, there was some delay ... sorry.

The snmp trap still doesn't work.
Rick Garland
Honored Contributor

Re: EMS - mail - hpsim

Have you configured the /etc/snmpd.conf file to define the community names and trap dests?

Once you do so, will need to recycle some processes related to snmp and EMS.

Check out Knowledge Base Doc ID KBRC00012590 and UXEMSKBRC00003120
Stijn V
Regular Advisor

Re: EMS - mail - hpsim

Yes that should be ok, I configured the
get-community-name:
set-community-name:
trap-dest:

The following is configured on the hpsim server:
SNMP read community string #get-community-name in snmpd.conf
SNMP write community string #get-community-name in snmpd.conf

Thanks.
Andrew Merritt_2
Honored Contributor

Re: EMS - mail - hpsim

Hi Stijn,
A couple of comments on what you're doing, which I hope are helpful.

If you're looking to integrate with HP-SIM, you might want to look at SysFaultMgmt rather than using the older EMS based monitors. This will happily work alongside the old monitors, but uses WBEM to communicate with HP-SIM.

http://www.hp.com/products1/unix/operating/SysFaultMgmt.html?jumpid=reg_R1002_USEN gives an overview, http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=
SysFaultMgmt is the download page.

I also suspect you are using an old version of the OnlineDiags since you mention dm_stape. That monitor is no longer supported, and is not included in the current releases. Tape device support is now via the Library and Tape Tools. You should plan to upgrade your OnlineDiags to a current version. http://www.docs.hp.com/hpux/onlinedocs/diag/stm/stm_upd.htm#table

Download from: http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B6191AAE

You can also go to http://www.software.hp.com and then type "B6191AAE" in the search box.

http://docs.hp.com/en/diag/stm/stm_ptch.htm shows the latest patches; you should install the latest patch for the version of OnlineDiasg you install.

Andrew

(If some of those links don't work, it's due to a bug in the ITRC; try cutting and pasting them, or looking at the URL in the address bar and removing the '%3CBR%3' in the middle of it.)
Andrew Merritt_2
Honored Contributor

Re: EMS - mail - hpsim

That second link got wrapped :-( should be:
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=SysFaultMgmt

Using SFM you will get much more detail in the events reported than using SNMP. See this thread for an example - http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1016242

Andrew
Andrew Merritt_2
Honored Contributor

Re: EMS - mail - hpsim

And here's the link to the HP StorageWorks Library and Tape Tools (L and TT):
http://www.hp.com/support/tapetools

Andrew
Andrew Merritt_2
Honored Contributor

Re: EMS - mail - hpsim

And one more :-) Appears I was wrong about dm_stape, it is present in the A.49.10 release (HWE0509) which is the current 11.11 version. It will not be present in the HWE0606 release which is available Real Soon Now; it's already absent from the current 11.23 OnlineDiags.

Andrew
Rick Garland
Honored Contributor

Re: EMS - mail - hpsim

ou don't mention you OS version.
SysFaultMgmt is only available on 11.23 for ia64 & PA-RISC systems.

For OS releases prior to 11.23, you are limited to EMS.

Stijn V
Regular Advisor

Re: EMS - mail - hpsim

Thanks Andrew. But indeed almost all the servers OS are 11.11. And I would like to use EMS (and integrate it in hpsim).

However I still didn't succeeded in receiving a test message in hpsim.

Thanks
Andrew Merritt_2
Honored Contributor

Re: EMS - mail - hpsim

SFM is indeed supported for 11.11 (there was a period of time when it was withdrawn, but it is now available again). Follow the link I gave and you can install it.

SFM does use the EMS HW monitors for monitoring the hardware, but you'll get the full event details in HP-SIM when you use it rather than just notification that an event occurred with no details which is what you'll get if you just use SNMP.

I'm afraid I can't help with debugging EMS/SNMP; the HW Monitors and SFM I can help with.

Andrew