Find the missing VMs and Hosts - VMWare

Find the missing VMs and Hosts - VMWare


After the vcenter discovery if the VMs and Hosts are missing, query the below table and check

select * from vwentitymomapping where entity_type = 'VirtualMachine';

select * from vwentitymomapping where entity_type = 'HostSystem';

When the MOID is -4, check whether their DNS resolves, if not update it from vsphere client > host property

When the MOID is -5, that's marked as "deleted by user" so opmanager won't be mapping it.

We have run this update query manually and restart opmanager service.

update vwentitymomapping set moid = -4 where moid = -5;

Now automatic discovery will initiate during every restart.  


                  New to ADSelfService Plus?

                    • Related Articles

                    • Find the missing VMs and Hosts - HyperV and Xen

                      After the HyperV discovery if the VMs are missing, query the below table and check select * from hyperventitymomap where entity_type = 'HyperV-VM'; select * from hyperventitymomap where entity_type = 'HyperV-Host'; When the MOID is -4, check whether ...
                    • How to configuring Thresholds for VMware ESX and VMs

                      To configure the threshold value and apply the template Go to Settings → Configuration → Device Templates. You can find the ESX Server and VMware Virtual Machine templates for the hosts and VMs respectively. Click on the required template. Click on ...
                    • How to discover 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 ...
                    • How to configuring Thresholds for Hyper-V Host and VMs

                      To configure the threshold values and apply the template, Go to Settings → Configuration → Device templates. You can find the HyperV Server and HyperV Virtual Machine templates for the hosts and VMs respectively. Click on the required template. Click ...
                    • How to add monitor VmWare Events ?