Hi,
Has anyone tried to create an alarm in vCenter where you would get notified when a specific VM is vmotioned?
I know there are some rules related to migration, but I could not get them to work.
I want to use these alarms as a way to keep track of a specific set of virtual machines (Nexus VSM modules). (i will configure the alarm to send me an email). Ideally i'm hoping to the email would contain the new location for the VM.
Thanks,
ionut
Click in TOP vcenter > Alarms > Definitions > New Alarm
ALARM TYPE
Monitor: Virtual Machines
Monitor for specific event occuring on this object, for example, VM Power On
In Triggers
Event = DRS VM migrated
Status Normal
ACTIONS
Add Actions > Send a notification email
Test it. and post a result here
Good Luck
Click in TOP vcenter > Alarms > Definitions > New Alarm
ALARM TYPE
Monitor: Virtual Machines
Monitor for specific event occuring on this object, for example, VM Power On
In Triggers
Event = DRS VM migrated
Status Normal
ACTIONS
Add Actions > Send a notification email
Test it. and post a result here
Good Luck
Yep, it works, I tested it with VM Migrated condition, DRS may not always migrate the VM.
Also tested if this condition covers DRS case (put host in maintenance mode), and it...does not trigger.
So you have to put 2 triggers, one for manual vmotion, other one for DRS.
thanks for the help.