VMware Cloud Community
jvtambrosio
Contributor
Contributor

Ansible & ESXI - Get monitoring data is possible to vcenter 6.7?

Hello everyone, I'm trying to retrieve monitoring data from ESXi hosts managed by vCenter 6.7 using Ansible on a daily basis. I want to gather information like CPU usage, memory utilization, and disk space. Could someone guide how to achieve this using Ansible modules or scripts? Any sample code or steps would be greatly appreciated. Thank you!

5 Replies
Sachchidanand
Expert
Expert

Here is link for the module which can be used for getting ESXi info:

https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware_host_facts_module.html

Regards,

Sachchidanand

jvtambrosio
Contributor
Contributor

Thank you @Sachchidanand this will be much appreciated. Have a Good day!

ValManoos
Contributor
Contributor

👍

ValManoos
Contributor
Contributor

👍

Reply
0 Kudos
ValManoos
Contributor
Contributor

thanks

Reply
0 Kudos