Hypervisor monitoring - How to (help)

Started by lhpaladin, September 19, 2019, 07:04:21 AM

Previous topic - Next topic

lhpaladin

I would like to receive parameters from ESXi hosts. From the parameters given in the NetXMS documentation I thought it was possible to receive this data from an agent installed on another machine, so I did it as follows:
1 - I installed libvirt on netxms server with ESX driver support
2 - I installed the netxms-agent-vmgr subagent
3 - I set up with the correct sections in agent [vmgr],
SubAgent = vmgr.nsm
[vmgr]
host = myhost
[vmgr: myhost]
Url = esx: // some_user @ ip_server /?no_verify = 1
User = some_user
Password = somepassword
4 - I can access esx host from netxms server from virsh tool.
5 - The agent shows no errors and successfully loads the configuration.

The problem is: When I create a DCI with some of the VMGR.xxxxxx metrics, the result is always an error.
Example: VMGR.Host.FreeMemory (myhost) always returns <<ERROR>>

Thank you for your help,

lhpaladin

#1
The issue was resolved by simply updating the configuration pool.
New Issue:
On an ESXi host via esx, the agent can connect and collect data. On a host VCenter, connection through Active Directory user credentials with connection type VPX fails.
The same parameters entered work with the virsh tool.

Thank you for your help,