VMware Cloud Community
rstoker13
VMware Employee
VMware Employee

Can the ITSM plugin gather more detail from the vRA VM instance to place into the CMDB?

I am being asked to provide more detail into the CMDB from the vRA plugin. I see there are ~90 fields available to the VMware Virtual Machine Instance CI object. I was hoping that more details of the VM would be included beyond the CPU/Mem/Disk information. We really need the FQDN and IP address at a minimum. I would also like to use vRA properties to populate items such as a billing number. I can do most or all of these populations after the VM has been deployed, but would rather use the plugin if possible.

0 Kudos
6 Replies
kbhushan05
Enthusiast
Enthusiast

True,  Presently only CPU/Mem/Disk are mapped.  We will look into this issue and figure out what need to be done to make these changes.

0 Kudos
rstoker13
VMware Employee
VMware Employee

Thank you again for your prompt response. I look forward to your findings.

0 Kudos
rstoker13
VMware Employee
VMware Employee

Any news on this front? I have considered an event that uses the SNOW API to update the CI after provisioning, but this would only apply to newly deployed machines. Whereas the scheduled import should be performing a true-up of all managed machines. Thanks again for your assistance!

0 Kudos
kbhushan05
Enthusiast
Enthusiast

This requirement is added on our tracker and it is tracked for its progress. There is no final decision about its release. We will updated this topic thread based on final decision.

0 Kudos
draymond10
Enthusiast
Enthusiast

Any updates on extra fields being passed into CMDB such as IP address, Storage info, Datastores, Cluster?


Dave

0 Kudos
kbhushan05
Enthusiast
Enthusiast

I have came across workaround to display IP address in CMDB view. It requires some mapping modification and change in script include. Anyone with admin right and servicenow dev background will be able to do that. We will take it further to discuss with team and based on team decision add into next release.

1. In SNOW Tables , search for label 'Resource Mappings'.

2. In 'Related Link' section , click on Show List.

3. In 'vRealize Automation Resource Type' click on rows with 'Infrastructure.Virtual' and 'Infrastructure.Cloud'.

4. In 'Payload' section , add following lines as displayed in image. (payload is JSON, reverify it for JSON syntax).

          "resourceData.entries[5].key":"ip_address",

          "ip_address" : "ip_address_$",

          "ip_address_$":"value.value"

pastedImage_0.png

5. Search Script Include 'VRASNImportCMDB'. And make changes as describe in image, Please see line number for code modification. code changes are (highlighted )

codeStr =  "ciRecord."+parsedCMDBMap.resourceData[j1].replace(/_\$/g,'') +"=resourceDataKey."+parsedCMDBMap.resourceData[j2];

pastedImage_1.png

Results are

pastedImage_2.png