vCenter event for create/remove Virtual Machine is not reflected in vRealize Operations Manager 6.x or later
search cancel

vCenter event for create/remove Virtual Machine is not reflected in vRealize Operations Manager 6.x or later

book

Article ID: 311529

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
  • A Virtual Machine created in vCenter is not reflected via an event in the vRealize Operations Manager UI.
  • A Virtual Machine removed in vCenter is not reflected via an event in the vRealize Operations Manager UI.


Environment

VMware vRealize Operations Manager 6.7.x
VMware vRealize Operations Manager 7.0.x
VMware vRealize Operations Manager 6.6.x
VMware vRealize Operations Manager 7.5.x

Cause

vRealize Operations Manager 7.0 and lower do not include support for monitoring Virtual Machine created or removed events.

Resolution

Upgrade to vRealize Operations Manager 7.5 or later.

To receive Virtual Machine created or removed events in vRealize Operations Manager 7.5 or later, enable it from the vCenter adapter’s eventlist.txt file on the node the vCenter adapter resides on.
  1. Log into the desired node as root via SSH or console.
  2. Open /usr/lib/vmware-vcops/user/plugins/inbound/vmwarevi_adapter3/conf/eventlist.txt in a text editor.
  3. Find the vim.event.VmCreatedEvent and vim.event.VmRemovedEvent lines and uncomment them by removing the number sign proceeding it.
Example: vim.event.VmCreatedEvent
  1. Save and close the file.
  2. If done on a multi-node cluster, ensure steps 1-4 are repeated on the Primary node.
  3. Repeat steps 1-4 on all other desired nodes in the vRealize Operations Manager cluster.
Note: If the adapter runs on a Collector Group, it's recommended to repeat steps 1-5 on all nodes in the Collector Group.
  1. Restart the collector service on all nodes the eventlist.tx file was edited on:
service vmware-vcops restart collector

New Virtual Machine created and removed events will be visible on the Virtual Machine's parent host, cluster, and datacenter in the vRealize Operations Manager UI.