vCenter event collector
The vCenter event collector is a MID Server extension that listens for vCenter-related events and updates the CMDB accordingly.
![]() |
The event collector allows the CMDB to be updated with changes to virtual machines (VMs), in addition to the updates detected by Discovery. A change to a VM is sent as an event from the vCenter server to the vCenter event collector. When an event is received, the CMDB is updated accordingly. Full vCenter Discovery does not need to rerun. For some events, such as powered on and powered off events, Discovery does not need to run again at all. For most events, Discovery runs only on the necessary vCenter resource.
VmPoweredOffEvent. The vCenter event collector receives and processes the
event and the CMDB is updated to reflect that the state of the corresponding VM is set to
off.With this extension, Discovery can only modify the state of a VM which exists in the CMDB. When an event with "CreatedEvent" occurs in its name, such as VmCreatedEvent, Discovery scans that VM and then creates the CI using the data it collects. When a new event occurs involving that CI, Discovery can update the existing record without launching another scan.
vCenter event collector supports domain separation by inheriting the domain of the specified Mid Server in the event collector context. However, it does not support multi-domain Mid Server configuration.
See Discovery for VMware vCenter for supported versions of vCenter.
How vCenter events are processed
- Name: Name of the system event created from the vCenter event. This value is always automation.vcenter.
- Parm1: vCenter event that was returned. This event must be associated with an event collector record.
- Parm2: Event data provided by vCenter, in JSON format.
Supported vCenter events
| Event name | Description | Launches probe |
|---|---|---|
| VM events | ||
| VmPoweredOnEvent | The VM has been powered on from the powered off state or resumed from the suspended state. This event is sent when the VM is powered on. It does not account for the time it may take to boot the host operating system. | None |
| DrsVmPoweredOnEvent | The VM has been powered on by a distributed resource schedule (DRS), which balances workload between available resources. | None |
| VmRestartedOnAlternateHostEvent | The VM was restarted on another host because the original host failed. | None |
| VmPoweredOffEvent | The VM has been powered off. If the host OS is shut down, this event is sent after the host OS shuts down and the VM enters the powered off state. | None |
| VmPowerOffOnIsolationEvent | The VM has been powered off on an isolated host in an HA cluster. | None |
| VmShutdownOnIsolationEvent | The VM has been shut down on an isolated host in an HA cluster. | None |
| VmSuspendedEvent | The VM is suspended. This event is sent after the VM suspension is complete. | None |
| VmRelocatedEvent | The VM has been relocated while offline (either suspended or powered off). A VM migration of the VM to a different host, or the migration of any storage used by the VM triggers the event. Moves relationships. | None |
| VmMigratedEvent | One or both of the following occurs:
Only Updates relationship and Deep Discovery. |
None |
| DrsVmMigratedEvent | Migration of a VM recommended by a DRS. Moves relationships. | None |
| VmRemovedEvent | The VM instance has been deleted from vCenter. | None |
| VmClonedEvent | The VM was cloned successfully. Creates new records and performs Quick Discovery. |
VMWare - vCenter VMs |
| VmCreatedEvent | The VM was successfully created. Creates new records and performs Quick Discovery. |
VMWare - vCenter VMs |
| VmDeployedEvent | The VM was deployed successfully. Creates new records and performs Quick Discovery. |
VMWare - vCenter VMs |
| VmDiscoveredEvent | The vCenter successfully discovers the VM. Creates new records and performs Quick Discovery. |
VMWare - vCenter VMs |
| VmRegisteredEvent | The VM was successfully registered. Creates new records and performs Quick Discovery. |
VMWare - vCenter VMs |
| VmReconfiguredEvent | The VM was reconfigured. Creates new records and performs Quick Discovery. |
VMWare - vCenter VMs |
| VmInstanceUuidAssignedEvent | A new instance UUID was assigned to the VM. Updates VM instance UUID. | None |
| VmRenamedEvent | The VM was successfully renamed. Changes the name. | None |
| VmUuidAssignedEvent | A new BIOS UUID was assigned to the VM. Adds the UUID of the VM. | None |
| VmMacAssignedEvent | A new MAC address was assigned to the VM. Assigns MAC address to event and triggers VMware-VM nics probe. | VMWare - vCenter VM NICs |
| VmMacChangedEvent | The MAC address of a VM was changed. Assigns MAC address to event and triggers VMware-VM nics probe. | VMWare - vCenter VM NICs |
| VmGuestShutdownEvent* | The guest VM shut-down. | None |
| VmStoppingEvent | The VM stopped. | None |
| VmResettingEvent | The VM reset. | None |
| Cluster events | ||
| ClusterCreatedEvent | A cluster was created. | VMWare - vCenter Clusters |
| ClusterReconfiguredEvent | A cluster was reconfigured. | VMWare - vCenter Clusters |
| ClusterDestroyedEvent | A cluster was destroyed. | None |
| Datastore events | ||
| DatastoreRenamedEvent | A datastore was renamed. | None |
| VMFSDatastoreCreatedEvent | A VM File System (VMFS) datastore was created. | VMWare - vCenter Datastores |
| DatastoreDiscoveredEvent | A host was added to VirtualCenter and datastores were discovered. | VMWare - vCenter Datastores |
| NASDatastoreCreatedEvent | An Network Attached Storage (NAS) datastore was created. | VMWare - vCenter Datastores |
| LocalDatastoreCreatedEvent | A local datastore was created. | VMWare - vCenter Datastores |
| VMFSDatastoreExpandedEvent | A datastore was expanded. | VMWare - vCenter Datastores |
| DatastoreDestroyedEvent | A datastore was removed from VirtualCenter. | None |
| Network events | ||
| DVPortgroupCreatedEvent | A port group was created. | VMWare - vCenter Networks |
| DVPortgroupRenamedEvent | A port group was renamed. | None |
| DVPortgroupDestroyedEvent | A port group was destroyed. | None |
| Resourcepool events | ||
| ResourcePoolDestroyedEvent | A resource pool was destroyed. | None |
| ResourcePoolCreatedEvent | A resource pool was created. | VMWare - vCenter Clusters |
| ResourcePoolMovedEvent | A resource pool was moved. | VMWare - vCenter Clusters |
| ResourcePoolReconfiguredEvent | A resource pool was reconfigured. | VMWare - vCenter Clusters |
| DVS events | ||
| DvsCreatedEvent | A distributed virtual switch was created. | VMWare - vCenter Networks |
| DvsRenamedEvent | A distributed virtual switch was renamed. | None |
| DvsDestroyedEvent | A distributed virtual switch was destroyed. | None |
| Datacenter events | ||
| DatacenterCreatedEvent | A datacenter was created. | VMWare - vCenter Datacenters |
| DatacenterRenamedEvent | A datacenter was renamed. | None |
Configure and run the vCenter event collector extension
Configure the vCenter event collector extension in the MID Server module, and then add or remove supported events.
始める前に
- Deploy and start a MID Server.
- Ensure that the MID Server has access to the vCenter.
- Run discovery on the vCenter.
Role required: agent_admin, admin
このタスクについて
To configure the vCenter event processor extension:
