Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 179681

Query around a) VM created date b) VM last-turned-on date

$
0
0

 

Folks,

 

 

 

 

First off, may I thank you chaps (and ladies) for many of the interesting posts that I'm seeing on this particular forum. I frequently come here looking for the answer to one problem, and leave with solutions to 3 other things that I didn't know were causing me problems. Great stuff indeed.

 

 

Anyhow, on to the main event... similar to Mr. pfuhli here (http://communities.vmware.com/thread/135962), I like the idea of weekly/monthly reporting for my overlords. In part this is motivated by showing how clever I am, but more technically it's to do with capacity planning and such like. It would be great to have a weekly mail that stated something like:

 

 

a) x new VMs have been created in the last week (followed by list of names)

 

 

b) This adds to y VMs that have been created in the past 4 weeks (or calendar month, or whatever, obvsiouly same mechanism as "a)")

 

 

c) z VMs have not been turned on for over 12 weeks, and decommissioing should be considered.

 

 

Now, while a snapshot seems to have a .created property, I can't see the same thing for a VM. Does it exist? If not, can we do something clever around the age of a .vmx file, or parse logs/VC events for a relevant entry around VM creation? Option c) may require ingenuity too, since we're essentially looking for something that's absent, or non-present...

 

 

Suggestions welcome.

 

 

Many thanks,

 

 

piglet


Viewing all articles
Browse latest Browse all 179681

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>