Does anyone know of any scripts that can be run to gather information about an ESX host?
I'm looking to create a report on my host servers for things like memory, storage allocated to the host server and how much is in use, how many processors etc...
I can manually grab the information from the VI Client but it's just too time consuming.
Does VMware have anythat that can do this???
You can use the HostHardwareInfo class http://www.vmware.com/support/developer/vc-sdk/visdk25pubs/ReferenceGuide/vim.host.HardwareInfo.html This class can be obtained from teh dynamic property of the host. Once you have the HostHardwareInfo you can use getMemorySize() or getCpuInfo() for all the parameters you need. Let me know if this worked for you.
You can use the HostHardwareInfo class http://www.vmware.com/support/developer/vc-sdk/visdk25pubs/ReferenceGuide/vim.host.HardwareInfo.html This class can be obtained from teh dynamic property of the host. Once you have the HostHardwareInfo you can use getMemorySize() or getCpuInfo() for all the parameters you need. Let me know if this worked for you.
Thanks