VMware provides default alarm actions you can associate with an alarm. When the alarm triggers, the action occurs.

Default vSphere Alarm Actions lists the default vSphere alarm actions.

Default vSphere Alarm Actions

Action

Description

Alarm Object

Send a notification email

SMTP sends an email message. The SMTP must be ready when the email message is sent. You can set SMTP through vCenter Server or through Microsoft Outlook Express.

datacenter, datastore, cluster, host, resource pool, virtual machine, network, vNetwork distributed switch, dvPort group

Send a notification trap

SNMP sends a notification trap. An SNMP trap viewer is required to view a sent trap. The default hardware health alarms are configured to send SNMP traps.

datacenter, datastore, cluster, host, resource pool, virtual machine

Run a command

Performs the operation defined in the script you specify. It runs as separate process and does not block vCenter Server processes.

datacenter, datastore, cluster, host, resource pool, virtual machine, network, vNetwork distributed switch, dvPort group

Enter or exit maintenance mode

Puts the host in and out of maintenance mode. Maintenance mode restricts virtual machine operations on the host. You put a host in maintenance mode when you need to move or service it.

host

Enter or exit standby

Suspends or resumes the guest operating system on the virtual machine.

host

Reboot or shut down host

Reboots or shuts down the host.

host

Suspend the virtual machine

Suspends the virtual machine when the alarm triggers. You can use the suspend feature to make resources available on a short-term basis or for other situations in which you want to put a virtual machine on hold without powering it down.

virtual machine

Power on or power off the virtual machine

Power on starts the virtual machine and boots the guest operating system if the guest operating system is installed.

Power off is analogous to pulling the power cable on a physical machine. It is not a graceful shutdown of the guest operating system, but is used when a shut down might not succeed. For example, a shut down will not work if the guest operating system is not responding.

virtual machine

Reset the virtual machine

Pauses activity on the virtual machine. Transactions are frozen until you issue a Resume command.

virtual machine

Migrate the virtual machine

Powers off the virtual machine and migrates it according to the settings you define when you created the alarm action.

virtual machine

Reboot or shutdown the guest

Reboot shuts down and restarts the guest operating system without powering off the virtual machine.

Shutdown shuts down the guest operating system gracefully.

virtual machine