Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
vCenter discovery not not populating fields "VM Instance ID" "Location" "IP Address" - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • vCenter discovery not not populating fields "VM Instance ID" "Location" "IP Address"
KB0753537

vCenter discovery not not populating fields "VM Instance ID" "Location" "IP Address"


2132 Views Last updated : Apr 7, 2024 public Copy Permalink
KB Summary by Now Assist

Issue

Symptoms

The Vcenter discovery executes successfully and populates the VM information to "cmdb_ci_vm_instance", but fails to populate the "VM Instance ID", "Location" and "IP Address" fields.

Release

London P*  Madrid P *

Steps to Reproduce

  • Log in to the instance 
  • Navigator >> Service Accounts >> Choose the Vcenter Account and execute Discovery 
  • Wait for the Successful completion of the Discovery
  • Notice the Pattern "list_vminstances" is completed successfully.
  • Navigator >> cmdb_ci_vm_instance_list.do 
  • Verify the "Location" VM Instance ID" and "Location" are not populated for Vcenter VMs

Cause

  • VM Instance ID: 

    • For vCenter Discovery we do not use the "VM Instance ID" and we don't populate. But instead, we use the "VM Instance UUID" to identify. Instead, this might be used for the Cloud related discovery AWS and/or Azure.
      • Schemas of Cloud Management tables

  •  IP Address & Location 

    • We see that OOB till New York release we do not populate the IP Address and Location for the "VMware Virtual Machine Instances". Please see below:
      • Please look for the section "VMware Virtual Machine Instance [cmdb_ci_vmware_instance]"  Data collected for VMware vCenter Server

Resolution

  • "IP Address"

    • Servicenow discovery is providing OOB functionality to populate the IP Address from Newyork release, for Madrid P* and London P* instances have a workaround as below.
      • Download and import the XML Fix for IP Address 

  • "VM Instance ID" 

    • 1) Modify the Script include  "VMWarevCenterVMsProbe" add below line at 192 (Under function fixupVM(vm))

vm.vm_instance_uuid = config.vm_instance_uuid;



    • 2) Modify the Scriptinclude "VCenterVMsSensor" add below line at 163 (Under function fixupVM(vm))

vm.vm_inst_id = vm.vm_instace_uuid;



  • "Location"

    • Servicenow discovery is providing OOB functionality to populate the IP Address from Newyork release, no Workaround yet.

 


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

Attachments

Attachments

  • ecc_agent_script_include_e6dfb0ef93c31200c2fe705bb47ffbae (3).xml
  • Pasted image.png
  • Pasted image.png

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.