I know this has probably been answered before but I can't find it. Any help is appreciated.
I am looking to connect to a vcenter server and query 3 different clusters, Clus1/2/3.
I want to pull a list of all vms and gather performance metrics over the past 30 days.
I am looking for a script that will create a table similar to this:
vmname | Cluster | Allocated Mem | Max Mem Usage | Avg Mem Usage | Allocated Storage (mb) | Storage Used | CPU Avg | CPU Max | Network Usage (max) | Network Usage (Avg)
Thank you greatly in advance.
This would either be a PowerCLI script or if you have vROps then a view and report. If you have vROps that's probably the way to go.
That's what I'm looking for....a PowerCli script to do this.
I dont have a script to hand, however, below is a great article written about retrieving stats using powercli;
PowerCLI & vSphere statistics - Part 1 - The basics - LucD notes