Discovery VMware - no IP address , no OS and no host name of a VM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2019 06:58 AM
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
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2019 11:08 PM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2019 01:15 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2021 01:54 AM
Did you find any solution for the issue?