Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collect more information by VMware/ESXi Task #166

Open
alexmicontini opened this issue Jul 4, 2022 · 6 comments
Open

Collect more information by VMware/ESXi Task #166

alexmicontini opened this issue Jul 4, 2022 · 6 comments
Labels
enhancement New feature or request

Comments

@alexmicontini
Copy link

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

image

GLPI
image

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

@alexmicontini alexmicontini added the enhancement New feature or request label Jul 4, 2022
@g-bougard
Copy link
Member

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.

@alexmicontini
Copy link
Author

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.

@alexmicontini
Copy link
Author

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

@575544685
Copy link

Virtrual mechines' Hostname, IP address, Space total/usage, CPU total/usase, memory total/usage, OS, NICs etc., Thoese information are useful.

@575544685
Copy link

It looks much better to show similar information as inventory VM directly after clicking the virtual machines' name.

@smurdza
Copy link

smurdza commented Nov 22, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants