How to disable discovery of all VMs when using vmware probe?
search cancel

How to disable discovery of all VMs when using vmware probe?

book

Article ID: 12278

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM) CA Unified Infrastructure Management On-Premise (Nimsoft / UIM) CA Unified Infrastructure Management SaaS (Nimsoft / UIM)

Issue/Introduction

Is there an option to disable the discovery of the VM’s when using vmware probe if I wish to monitor only the vCenter, ESX hosts, and Datastores and not the VM's? 

Environment

  • Release: 8.4 or higher
  • Component: vmware probe

Cause

  • Configuration guidance

Resolution

The ‘show_vms' raw configure key will control whether the vmware probe publishes guests to discovery_server. 

Add the key to the 'setup' section with 'false' or 'no' as the value.

After setting the key, if you create a profile in vmware configuration page in AC you will not see VM’s discovered in the configuration.

If you still see the VM in OC, you may need to delete the VM by using the discovery_server probe utility.

First, you need to query the cm_computer_system table to get the cs_key value of VM

   select cs_key from cm_computer_system where name = <vm_name>;

Then, on your primary hub server you need to perform the following steps.

  1. Select the discovery_server probe press Ctrl-P from your keyboard

  2. On the probe command set select 'remove_master_devices_by_cskeys'

  3. On the bottom of the probe utility (PU) GUI you will see the csKeys input box, on this input box place each affected robot's 'cskey' separated by comma's, for example-> 26a1,25b6,257c

  4. Press the green play button on the PU and it will execute the command.

  5. Restart the wasp and the discovery_server afterwards and log back into OC and the VM should be removed from the OC view.

Attachments

1558694511930000012278_sktwi1f5rjvs16hs2.png get_app