You can select and configure the events, states, or conditions that trigger the alarm from the Reset Rule page in the New Alarm Definition wizard.

You can set the Alarm Reset Rule


Required Privilege: Alarms.Create alarm or Alarms.Modify alarm


  1. Enable the Reset the alarm to green option.
  2. Select a trigger from the drop-down menu.
    The combined event triggers are displayed. You can set the rule for a single event only. You must create multiple rules for multiple events.
  3. Click Add Argument to select an argument from the drop-down menu.
    It supports ALL based expression, option to select ANY is not available. You must create a separate alarm definition for each trigger. The OR operator is not supported in the vSphere Client. However, you can combine more than one condition trigger with AND operator.
  4. Select an operator from the drop-down menu.
  5. Send email notifications
    1. To send email notifications when alarms are triggered, enable Send email notifications.
    2. In the Email to, enter recipient addresses. Use commas to separate multiple addresses.
  6. To send traps when alarms are triggered on a vCenter Server instance, enable Send SNMP traps.
  7. Run scripts
    1. To run scripts when alarms are triggered, enable Run script.
    2. In Run this script column, type script or command information:
      For this type of command... Enter this...
      EXE executable files Full pathname of the command. For example, to run the cmd.exe command in the C:\tools directory, type:


      BAT batch file Full pathname of the command as an argument to the c:\windows\system32\cmd.exe command. For example, to run the cmd.bat command in the C:\tools directory, type:

      c:\windows\system32\cmd.exe /c c:\tools\cmd.bat.

      Note: The command and its parameters must be formatted into one string.
      If your script does not make use of the alarm environment variables, include any necessary parameters in the configuration field. Enclose parameters in curly brackets. For example:
      c:\tools\cmd.exe {alarmName} {targetName}
      c:\windows\system32\cmd.exe /c c:\tools\cmd.bat {alarmName} {targetName}
      The script can run on any platform. You must provide the path to the script and argument keys. For example:
      /var/myscripts/myAlarmActionScript {alarmName} {targetName}
  8. (Optional) Configure alarm transitions and frequency.
  9. Select an advanced action from the Add Advanced Actions drop-down menu.
    You can add multiple advanced actions for an alarm reset rule. You can define the advanced actions for virtual machines and hosts. These advanced actions are applicable only for virtual machines and hosts. There are different sets of advanced actions based on target types of virtual machines and hosts.
    You can add multiple advanced actions for an alarm.
  10. (Optional) Configure frequency for advanced actions.
  11. Click Add Another Rule to add an additional reset rule for an alarm.
  12. Click Duplicate Rule to create an identical reset rule for an alarm.
  13. Click Remove Rule to remove an existing reset rule set for an alarm.


Click Next to review the alarm definition.