VMware Cloud Community
TheVMinator
Expert
Expert

Simple vROPs PowerCLI VM performance script

I'm looking for a simple, basic vROps performance script to take a list of VMs from a csv, then get historical metrics on storage, memory and cpu on them, then write the results back to a csv.

For example, how can I get a list of VMs,  take a metric like the one below

"virtualDisk:Aggregate of all instances|commandsAveraged_average"

combine it with other cpu and ram metrics over a 30 day period, then export the results for each VM back to csv?

I'm not finding any examples of this.  I realize its a bit more challenging in vROps than in vCenter but surely one of our PowerCLI community heroes like LucD or Mattboren or someone must have done it?

Thanks!

0 Kudos
2 Replies
lucgomess
VMware Employee
VMware Employee

Hi,

You can do it in a custom view and then add it in a Report and schedule this report as you want. You can enable network share and configure vRops to deliver the Report in CSV format in that Network Shared Folder.

Hope it helps !

TheVMinator
Expert
Expert

Thanks for the input.  Unfortunately I need to integrate my data collection in the context of other PowerCLI / powershell scripts so moving from powerCLI to the GUI isn't an option for me.  Anyone PowerCLI gurus out there want to tackle this one?

Thanks!

0 Kudos