VMware Cloud Community
FanVMware30
Contributor
Contributor

Generate an alert if an individual deletes a VM?

Is there a way to generate an alert if the Virtual Machine is deleted in vSphere or vROPs?

0 Kudos
6 Replies
dbalcaraz
Expert
Expert

Yes, you can.

If I am not mistaken when you create the alert, there is an event called "VM removed".

Just create an alarm that triggers that event.

-------------------------------------------------------- "I greet each challenge with expectation"
0 Kudos
FanVMware30
Contributor
Contributor

Am I viewing the wrong data from the screenshots below.

The same triggers appear in our ESXi 6.5 environment and the VM deleted or VM removed options doesn't appear.

Monitor for specific conditions or state, for example, CPU usage, power state

pastedImage_0.png

Monitor for specific events occurring object, for example, VM powered On.

pastedImage_1.png

pastedImage_3.png

0 Kudos
dbalcaraz
Expert
Expert

Hi,

I also checked in the vSphere Web Client and it doesn't appear.

I remember that existed before but maybe it was deleted in newer releases.

I tested another called 'VM disconnected' but it doesn't trigger when you Delete the VM from Disk.

I will check it later in my lab.

-------------------------------------------------------- "I greet each challenge with expectation"
0 Kudos
JVidanez
Contributor
Contributor

I know this is a long shot... but did you find any solution for this?

0 Kudos
manoharsherke
Contributor
Contributor

Do we have an alarm definition of VM delete or remove alarm in 6.7 vCenter.

0 Kudos
Sam0054
Enthusiast
Enthusiast

@FanVMware30 

 

Have you try using VMware vRealize Log Insights? If not try deploy that, it will sure helps you to generate alerts and pinpoints who actually initiate that event.

https://customerconnect.vmware.com/downloads/info/slug/infrastructure_operations_management/vmware_v... 

 

Regards,

Sam

0 Kudos