DELL-Thomas B

updated

13 years ago

0

198011

June 18th, 2013 15:00

VM Creation Dates (Birthdays)

I've been working on a little dashboard that you can use to find VMs that were created given a specific date range.  It takes all the VMs, finds the ones between a set of dates and shows on a table.  It looks at everything right now, but I'm curious if others would want to filter that down still by vCenter/Cluster etc...

Thoughts?

vmCreationDate.png

  • 966

    0

    Posted June 18th, 2013 16:00

  • 966

    0

    Posted June 18th, 2013 15:00

    It's going to definitely be off of a service, just curious if other objects would be beneficial.  I can add a total count at the bottom and also maybe a little view that just sums them up seperately as well.

  • MtnDewKing

    32 Posts

    966

    1

    Posted June 18th, 2013 15:00

    That's looking good.  Can it also have a summary of total created for the period?  Also, its probably a lot to ask, but rather than filter on cluster, I'd like to filter on something like a service (example, a service created based on VM attributes like "BusinessUnit") so that the list can be tied to specific BUs.

    Good stuff!

  • 966

    1

    Posted June 18th, 2013 15:00

    Added the sum count and added a view driven from a service.  I will probabaly have a cartridge for this later today/this week.

    vmCreationDate2.png

  • MtnDewKing

    32 Posts

    966

    0

    Posted June 18th, 2013 16:00

    If you were looking for other useful items, besides the sum of the total created, the basic resources given to the total created would be good to have as well.  That would give a rough idea to the report viewer the amount of capacity delivered to these new VMs and help forcast new host/disk needs.  My thought would be total vCPUs, total Memory, total Disk from the VM's specs.

  • 966

    0

    Posted June 18th, 2013 18:00

    I can add those to the same dashboard and just hide them.  I'll look to add them.  Also any additional feedback we can move into the document page as well :-)

  • 967

    0

    Posted June 19th, 2013 14:00

    So, how do I use the cartridge? I added it, but how do I use it? I added a new Dashboard with the VM Creation Date, but the Creation Dates are not correct? It shows these VMs as being created on 6/14/13, when they are older VMs created long before that period.

    Thanks

  • 967

    0

    Posted June 19th, 2013 22:00

    Once installed you can create a custom dashboard and drag out a service and select it as a view, or you can grab the view that has all VMs birthdays.

  • 967

    0

    Posted June 20th, 2013 11:00

    I'm not sure this is working right, or I'm not using it right? I tried the "Views" tab, and grabbed the "Summary: VM Creation Date" onto the Dashboard, but it says we had 56 VMs built this week. The creation date is still not pulling the correct date for the VMs? We I go to a VM and check the Creation date, it is different.

  • 403

    0

    Posted June 20th, 2013 11:00

    Hmm it should pull the first version of when we saw them.  Since there isn't a real birth date stored in vCenter (only an event tells us the real date if it still exists) and we don't pull that so I go off when I see them added in.  I might have to make a debug script to see what is going on.