VMware Cloud Community
ram_kottari
Contributor
Contributor

Script for Vcenter Helath check

Hi,

Can anyone please help me with script  to get vcenter health status with following reports.

1. Datastores - <20%: details of datastore with free space less than 20%

2. Snapshot: details of existing datastores.

3. Disk consolidation : details of vms with required disk consolidation.

4.VM - Powered off :details of powered off vm's

5. Zombie Files : details of zombie files

6. VMWare Tools: details of vm's with vmtools not running or out of date or not installed.

7. Inconsistent folder name: Details of VM's with Inconsistent folder name.

We can get these details from rvtools, but i need powercli script or script to extract to these details from rvtools excel file.

0 Kudos
7 Replies
LucD
Leadership
Leadership

Did you already check out vCheck, it does most, if not all, of what you are asking for.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
LucD
Leadership
Leadership

Really?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
ram_kottari
Contributor
Contributor

Hi,

I have checked vCheck, but i need a script with above details only.Can you please help with that.

0 Kudos
LucD
Leadership
Leadership

Then select only the plugins that you need.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
vijayrana968
Virtuoso
Virtuoso

Did I say something funny ! :smileylaugh: I guess it takes a second to understand with timestamp, your post might not visible to others if they are also writing at same time to same post because page isn't refreshed. obviously someone won't write same thing in just next comment.

0 Kudos
ram_kottari
Contributor
Contributor

ok..thanks

0 Kudos