Quantcast
Channel: VMware Communities : All Content - VMware vCenter™
Viewing all articles
Browse latest Browse all 24426

Alarm for custom Attribute

$
0
0

Hi!

 

I've been looking into making a script that assists with the following scenario:

 

I'm managing 400+ VMs and they're all part of a test enviroment, as such they are never intended to be permanent.

However the users that create these VMs do not Always remember to remove them once the tests are finished.

 

So my idea for this was to create a custom attribute, something along the lines of "End Date" which will be mandatory when creating new VMs and a script to check: IF todays date > end date = Send an e-mail notification with the VM name and

what user created it (We already have a script that adds the username to a custom attribute called "Creator")

 

So my question is; Can I make a Alarm that triggers on a custom event tied to a custom attribute (todays date > end date)?

If so, can anyone Point me in the right direction, where I can learn about this?

 

Edit: Oh, we're running vCenter 5.1.


Viewing all articles
Browse latest Browse all 24426

Trending Articles



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