VMware Cloud Community
tdubb123
Expert
Expert

export VM cpu/mem % performance in csv

Is it possible to script export of a bunch of VMs from vrops (cpu% and memory % ) for x days in csv format? one file per vm?

0 Kudos
2 Replies
tdubb123
Expert
Expert

I am looking at the vrops export tool and I cannot find mem Demand pct

any idea how to get that in percentage?

0 Kudos
HassanAlKak88
Expert
Expert

Hello,

Using the export tool, the following will extract some basic virtual machine metrics, along with some metrics from the hosts they are running on :

./exporttool.sh -H https://vrops-01.lab.local -u admin -p topsecret -d ../samples/vmfields.yaml -o Export.csv -i

If my reply was helpful, I kindly ask you to like it and mark it as a solution

Regards,
Hassan Alkak
0 Kudos