Open alexmicontini opened 2 years ago
Hi @alexmicontini
this should probably be possible.
Would you care to share privately with me the result of some debug output so I can check what is possible ? I'll only have time for that on august anyway.
Hi @g-bougard
At the beginning of next week I share the log as a result of running the ESX task.
Thank you very much for your help.
Hi @g-bougard ,
The log file of the GLPI agent that executes the ESX task shows the virtual machines and the information it collects in json format. I give you an example of 2 VMs:
"virtualmachines": [ { "comment": "comentarios", "mac": "XX:XX:XX:XX:0X:6X", "memory": 8192, "name": "LiferayDXP", "status": "running", "uuid": "4XXXX27d-d8XX-c7XX-9497-XX97Xf7ed54a", "vcpu": 4, "vmtype": "vmware" }, { "comment": "", "mac": "0X:XX:XX:8X:XX:cX", "memory": 3072, "name": "srv_PRE", "status": "running", "uuid": "XXX701a6-4XXc-4Xc4-4247-c6XX5XX0cXXX", "vcpu": 2, "vmtype": "vmware" },
Would it also be possible, when you have time, to collect more information, such as the IP, space used, networks, etc., which can be seen from the VCenter itself?
Thank you
Virtrual mechines' Hostname, IP address, Space total/usage, CPU total/usase, memory total/usage, OS, NICs etc., Thoese information are useful.
It looks much better to show similar information as inventory VM directly after clicking the virtual machines' name.
Hi, Its i briliant idea. I think very important is add vswitch inventory, because now connections between phisical and virtuals connection aren't avilable.
API ESX have that information:
https://code.vmware.com/apis/358/vsphere/doc/vim.host.VirtualSwitch.html#field_detail
Documentation
Yes, I read it
Professional support
No response
Is your feature request related to a problem?
The information collected by the VMware/ESX task does not collect much of the data that VCenter provides, such as IP address.
VCenter
GLPI
Expected behavior
I would like if it were possible to incorporate the information that the VCenter has for the inventory of the virtual machines.
Alternatives you've considered
That the GLPI agent can incorporate the information that the VCenter has for the inventory of the virtual machines.
Additional context
GLPI Agent 1.4 GLPI 10.0.2