`

Discovering VMware ESX / ESXi servers in OpManager

Discovering hosts and VMs in the vSphere environment requires providing the IP Address/DNS Name and vSphere credentials for the vCenter/Host. It is crucial that the vSphere user has at least Read access to all hosts and VMs for uninterrupted device monitoring. If the user intends to perform actions like powering on/off VMs, Administrator privileges are recommended. This documentation guides users through the essential steps for VMware discovery.

Discover vCenter: Use discover vCenter with the vCenter's VMware credentials, to discover all the hosts, VMs and datastores managed by that particular vCenter.

Discover ESX: Use discover ESX with the ESX's VMware credentials, to discover the host along with its datastore and VMs.

Configuring VMware credentials

Before proceeding, ensure that you have configured the VMware credentials for the vCenter/ ESX host and the SNMP and WMI credentials for the VMs in the credential library. 

VMware ESX/ ESXi servers discovery in OpManager: VMware discovery - Add credential

  1. Go to Settings → Discovery → Virtualization Discovery → VMware.
  2. Select the Discovery Type:
    • vCenter Discovery – Discovers all ESX/ESXi hosts and virtual machines managed by a vCenter server.
    • ESX Discovery – Discovers a standalone ESX/ESXi host.
  3. Enter the DNS name or IP address of the vCenter server or ESX/ESXi host.
  4. Select a VMware Credential from the drop-down list or click Add Credential.
    • Enter the vSphere Username and Password for the selected vCenter/Host.
    • Configure the connection settings by specifying the HTTPS Port (VMware web service port) and the Timeout interval.
    • Select Auto VM Discovery to automatically discover newly created virtual machines.
    • Click Save.
  5. Click Discover to fetch the VMware inventory. The Discovered Devices page displays all ESX/ESXi hosts and virtual machines associated with the selected vCenter or ESX host.
  6. All hosts will be discovered by default. Select or clear the checkboxes to choose the virtual machines that need to be monitored.
  7. For OS-level and performance monitoring, click Select Credentials and assign the required dependent credentials (SNMP, WMI, or CLI). If the required credentials are unavailable, add them from Settings → Discovery → Credentials.
  8. Click Discovery Settings to configure VMware discovery behavior:
    • Set Scan vCenter / ESX Interval (hrs) to automatically rediscover inventory changes.
    • Enable Sync entity name with display name to synchronize VMware entity names with device display names.
    • Enable Raise alerts for Physical NIC & Host Bus Adapter to receive alerts for NIC and HBA status changes.
    • Enable Rediscover existing to rediscover previously discovered VMs during manual inventory updates.
    • Enable UnManage the Orphaned VMs to automatically unmanage VMs removed or moved to an orphaned state.
  9. VMware ESX/ ESXi servers discovery in OpManager: vmware ip address configuration

  10. Click Save to apply the settings
  11. Click Discover to start the discovery process.

Once discovery is complete, navigate to Virtualization → VMware to view the discovered vCenter, hosts, and virtual machines.

If any of the VMs are already discovered or added, OpManager automatically maps them as virtual devices.

Configuring VM IP Address

OpManager, with the help of the installed VMware Tools, identifies the IP address of the VM and maps it to the host. If VMware Tools are not installed, OpManager discovers it using the VM's entity name. You can assign the IP address manually for such VMs in the host's snapshot page. (Navigate to Inventory -> Devices and then click on the device to open its snapshot page.)
If VM's are not discovered/ mapped to its vCenter/Host because of an unassigned IP address, you can assign an IP address in the vSphere environment. OpManager will automatically map that VM to its vCenter/Host. (or) You can manually assign an IP address to a VM by following the simple steps below.

  • Go to the vCenter/Host's snapshot page → Virtual Machines tab.
  • Click the start monitoring button in the Monitoring column for devices that are not monitored. 
  • This will open IP Mapping. Enter the VM's IP address/ DNS name and the corresponding credentials to rediscover and map the VM to its vCenter/Host.

You can now choose to monitor only the required VMs on a Host. If  you wish to stop monitoring a VM, you can do so by clicking on the Stop monitor button of the corresponding VM under Virtual Details tab in the vCenter/Hosts snapshot page. Select the relevant icon to stop monitoring the required VMs on the host. OpManager maintains this configuration when a HA, VMotion, or rediscovery happens.

To gain in-depth insights into OpManager's VMware monitoring practices, explore the following help documents.