Quantcast
Viewing all articles
Browse latest Browse all 228332

How to create a alarm to trigger a script when a vm is deleted in a Specific Vcenter Server(4.1 / 5.1)?

I'd like to create an alarm that triggers a script which runs whenever a VM is deleted within  a specific vCenter server.  The trigger script is used to collect the "will be deleted Vm's detail info for backup" ,  I see in the API documentation that I could use the EventAlarmExpression->new (eventType=>'VmRemovedEvent') (or perhaps one of the other eventType's dealing with delete). The problem is that I don't see a way to be able to monitor all VM's delete event within a vCenter server, i can only monitor a specific vm's delete event , So what should i do? could you give me some tips? thanks in advance.


Viewing all articles
Browse latest Browse all 228332

Trending Articles



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