So I've written a small utility here:
Basically, it uses the VMPerl API to connect to VC and then iterate through all your VMs and find ones with snapshots. Then it (optionally) sends you an email with the results so you can schedule it and keep track of which VMs need to get the snapshots committed before they grow out of control.
What it doesn't do:
Tell you the size of the snapshot
Commit the snapshot for you
Tell you how old the snapshot it, or read the description.
As far as I can tell that functionality isn't exposed through the API, but if I figure out how to do any of that stuff I'll add it in a later release. As always, use at your own risk. Hopefully someone else finds this useful.
I'm going to bump this since I haven't received much feeback on it ( sad panda ).
I have tried running it with all kinds of options/arguments and always get
Odd number of elements in hash assignment at /usr/lib/perl5/5.8.8/VMware/VICommon.pm line 684.
Any ideas??
Thanks!
I'm getting the same error as lesf. I'm using the latest version of the Remote CLI from the vmware site as of the 11th of August '08. Might that have anything to do with it?
A.