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!
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
Thank you @Sachchidanand this will be much appreciated. Have a Good day!
![]()
![]()
