RUG201110141
Enthusiast
Enthusiast

creating alarm for vm deletion

I would like to create an alarm definition for when a virtual machine is deleted from the inventory but can't seem to find the appropriate definition for this. Can somebody help me out with this? It isn't a Virtual Machine monitor with a trigger of VM - Removed because that isn't firing an alarm. Thanks for the help.

9 Replies
AWo
Immortal
Immortal

Click on the "Alarm" tab of the object you like to have the alarm activated on (Organization, Cluster, Guest...).

Click "Definitions"

Right click into the right field and choose "New Alarm".

Definition:

Monitor: Virtual Machine and choose to "Monitor specific events..."

On the trigger tab add an Event and choose "VM removed".

The rest is up to you, how and when and what to do if the event occurs.


AWo

VCP 3 & 4

Author @ vmwire.net

\[:o]===\[o:]

=Would you like to have this posting as a ringtone on your cell phone?=

=Send "Posting" to 911 for only $999999,99!=

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
0 Kudos
RUG201110141
Enthusiast
Enthusiast

I did just exactly that as stated in my inquiry but it does not work. I created the alarm at the root of the vCenter hierarchy.

0 Kudos
CloudRulez
Contributor
Contributor

I have the same need but there is no solutionf or it. 

0 Kudos
AWo
Immortal
Immortal

Interesting, I recently upgraded to vCenter 4.1 and this type of alarm isn't available, anymore. I can't find it.

AWo

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
MuhammadSaeedz
Contributor
Contributor

I am using vcenter 5.1,,  does any one know,, how to configure alarms for VM deletion in vcenter 5.1

0 Kudos

This KB should help http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=101802...

Please consider marking this answer "correct" or "helpful" if you found it useful.
MuhammadSaeedz
Contributor
Contributor

Thank You Mustafa for answering , but  I know how to create alarms,,I want to make an alarm for VM deletion

e:g if someone deletes any VM in VCenter it should trigger an alarm

What event i choose for VM deletion alarm

I am not able to find it yet

0 Kudos
jacktotom
Enthusiast
Enthusiast

this is not work on esxi 5.5 . any idea ?

0 Kudos
mcoliman89
Contributor
Contributor

you must generate the alarm through the web client not from the vsphere client.

0 Kudos