I am using EMC SMARTS (ESM, AM-PM, SAM) as our monitoring solution in VMware vSphere 5.1 enviornment. I have several managment Virtual Machines configured, which are monitored by adding and discovering respective Hosts and vCenters. All those VMs are listed under classes INCHARGE-ESM, AM-PM.
Now my test was to power off the VM, but I dont see any Alerts reported in Global Console. What could be causing this? I have all other Alerts reporting from switches, storage, Host power state etc.. I checked and cleared few filters created, but still I dont see the Alert when the VM is down. Any idea? BTW what is attribute (true v/s false) that I should look for Virtual Machine Power under ESM? Thanks much in advance.
I checked the VM attribute for DisableEvent and that is set as false, and for all the VMs I have. The problem appears to occur on multiple VMs in different Hosts and vCenters, and none of Virtual machine Power state events are reported. I am not sure if I am missing anything here. I have all the VMs configured with FQDN, does that matter? Anything further I could check to pin down the problem?
I tried a fresh deployed system and still face the same issues. Few questions - is the VirtualMachine::PoweredOff event transalation enabled by default?
I see the VM power events are generated in vCenter tasks and Events. How do I check the transalation is happening correctly?
Firstly, to troubleshoot this issue, we can subscribe to the ESM domain to see if events are being generated for these VM PowerOffs. Use the following command to subscribe to all events from your ESM domain :
If we do see the events in the alarms.log file, it means that ESM is sending these events, but SAM is ignoring them.
The DXA configuration file between SAM and ESM decides the interesting events SAM will listen for. To see the DXA file used, go to the Global Manager Administration Console. Drill into ICS Configuration -> IC Domain Configuration -> Domains -> Click on the ESM Domain. On the right side, tick the checkbox for Show Type Details. The DXA configuration file will be listed.
Thanks much Paul. I got this now working, after restarting the ESM services. Looks like something got changed in the system causing the issue, and I am monitoring if this occurs again or not. I have another question which I will post a different thread.
PaulORourke
170 Posts
772
2
Posted February 28th, 2013 08:00
Hi vtrack,
The VirtualMachine::PoweredOff event in EISM is translated from the VMware vCenter VmPoweredOffEvent event.
The VMware vCenter VmPoweredOnEvent clears the EISM VirtualMachine::PoweredOff event.
The VmPoweredOffEvent and VmPoweredOnEvent vCenter events are picked up and translated by EISM regardless of the polling interval.
Can you please check the setting for the following VM attribute: DisableEvents.
Use the following dmctl command:
./dmctl -s get VirtualMachine:: ::DisableEvents
If True, notifications will not be generated for this VM.
To change to false, use:
./dmctl -s put VirtualMachine:: ::DisableEvents FALSE
Kind Regards,
Paul O'Rourke