Discovery VMware - no IP address , no OS and no host name of a VM

skhan
Tera Contributor

Hello,

I am trying to figure out a way to get IP address, Operating system and Host name of a Virtual Instance in discovery. Currently these three items are not included in discovery of virtual instance. 

 

I tried the following process but was not successful. We have London patch 6 version.

Orchestration vmware support plugin - IP address

I added the following in VCenterSensor which is under System Definition > Script Include > line 456

'guest.ipAddress',
'guest.os',
'guest.hostname',

I added the following in VMWarevCenterProbe which is under MID Server > Script Include > line 252

'guest.ipAddress' : 'ip_address',
'guest.os' : 'os',
'guest.hostname' : 'hostname',

 

I would really appreciate if someone can help me.

 

 

Thank You

 

7 REPLIES 7

valarmathi_kann
ServiceNow Employee
ServiceNow Employee

Hi skhan,

You should update the 'fixupVM' method in the VMsSensor. 

vm.<attribute name of ip_address from cmdb_ci_vmware_instance> = vm.<value from probe>

Check if you the attributes that you need to populate exists in your table 'cmdb_ci_vmware_instance' / cmdb_ci_vm_instance

 

Please check and let me know. Hope this helps?

Thanks Valarmathi,

 

I tried updating it but it didnt do anything. I ended submitting enhancement request for this to Service now. Waiting on it. Hopefully it can be added quickly, since it is really important.

Did you find any solution for the issue?