Server Management - Systems Insight Manager
1827612 Members
2981 Online
109966 Solutions
New Discussion

Re: WBEM Polling is working, but No Events/alerts are being created/emailed on monitored VM Host

 
LGentile
Trusted Contributor

Re: WBEM Polling is working, but No Events/alerts are being created/emailed on monitored VM Host

I have a small update..

 

I am setting up SIM 7.3 and also IRS for agentless monitoring.  I was also trying to work around the firewall issue with ESXi 5.1 and WBEM agents.  What I found is this:

 

- Agentless monitoring enabled on the iLO

- SNMP trap destinations and communities set up in the iLO

- Discoveries through the iLO using SNMP credentials (no host discoveries, only the iLO)

- AMS service/daemon running on the ESXi host

- Gen8 systems only

 

I now see events forwarded from the ESXi host, through the iLO. I did NOT add WBEM credentials or set up WBEM subscriptions, so I know no WBEM events are being forwarded.  What I end up seeing in the server record is a "major" event status for test events (in both the server events and the iLO events page) and also "critical" events for any actual alert.  I have a few hosts that had issues and after discovery, I am seeing HBA events and one server has a failed disk drive.  If i look at the server's health status, I only see SNMP as a protocol, and the failing component.

 

Now, I do have the full agent bundles on the servers, i have not tested this with AMS ONLY.  However, this "fixes" the issue for me, for now.  I am going to see about removing the complete bundles from Update Manager for new ESXi builds to see if this is still working this way.  We don't want to continue using the complete bundles anyhow since it's redudant.  I just want AMS + the utilities.

 

I hope this helps..  if anyone can verify that this works with just AMS, that would be great.  I'll try to test on my own as well.

 

I have also not tested this on SIM 7.2.2, but I assume it works the same way since it avoids WBEM traps completely.

MichaelHayes
Occasional Advisor

Re: WBEM Polling is working, but No Events/alerts are being created/emailed on monitored VM Host

1. I have enabled the following ports:

nc -z 10.1.214.89 5989 (WBEM Service) HTTPS

nc -z 10.1.214.89 5988 (WBEM Service) HTTP

nc -z 10.1.214.89 50005 (WBEM Events) WBEM

nc -z 10.1.214.89 50004 (WBEM event receiver) HTTPS/HTTP

 

2. Sent test event and never was recieved by HP SIM server.

/opt/hp/tools/./hptestevent

 

But if I disable the firewall all together and sent test event it works.

esxcli network firewall set --enabled false (turn firewall off)

 

Is anyone aware of any other ports that need to be opened?

MichaelHayes
Occasional Advisor

Re: WBEM Polling is working, but No Events/alerts are being created/emailed on monitored VM Host

I am going to create a custom firewall rule and let you know if this resolves the issue.

I believe it is not as simple as running the commands. Stay tuned.

MichaelHayes
Occasional Advisor

Re: WBEM Polling is working, but No Events/alerts are being created/emailed on monitored VM Host

OK everyone I have the answer to receive WBEM events from ESXi 5.1 hosts to HP CIM 7.0.2

 

You need to edit the /etc/vmware/firewall/serivces.xml file and add an entry for customized ports in the firewall.

 

Scroll to bottom of file and add the entry in the attachment but then you need to make it persistent as it will disappear after reboots.

 

 

Use this test command from ESXi for host to send event from HP SIM.

 

/opt/hp/tools/./hptestevent

 

 

 

;-)

MichaelHayes
Occasional Advisor

Re: WBEM Polling is working, but No Events/alerts are being created/emailed on monitored VM Host

Update in order to be peristent you must install a VIB but there are concerns with going this route:
I am waiting for an alternative from VMware.

 

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2007381

MichaelHayes
Occasional Advisor

Re: WBEM Polling is working, but No Events/alerts are being created/emailed on monitored VM Host

Ok I have tested this out and figured out that my plan works like a charm.

If anyone needs me to elaborate more just reach out to me.

 

Thanks,

 

Michael