You can create alarms to monitor events on the selected vSAN object, including the cluster, hosts, datastores, networks, and virtual machines.


You must have the required privilege level of Alarms.Create Alarm or Alarm.Modify Alarm


  1. Navigate to the vSAN cluster.
  2. On the Configure tab, select Alarm Definitions and click Add.
  3. In the Name and Targets page, enter a name and description for the new alarm.
  4. From the Target type drop-down menu, select the type of inventory object that you want this alarm to monitor and click Next.
    Depending on the type of target that you choose to monitor, the summary that follows the Targets, change.
  5. In the Alarm Rule page, 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.
  6. Click Add Argument to select an argument from the drop-down menu.
    1. Select an operator from the drop-down menu.
    2. Select an option from the drop-down menu to set the threshold for triggering an alarm.
    3. Select severity of the alarm from the drop-down menu. You can set the condition to either Show as Warning or Show as Critical, but not for both. You must create a separate alarm definition for warning and critical status.
  7. Select Send email notifications, to send email notifications when alarms are triggered.
  8. In the Email to text box, enter recipient addresses. Use commas to separate multiple addresses.
  9. Select Send SNMP traps to send traps when alarms are triggered on a vCenter Server instance.
  10. Select Run script to run scripts when alarms are triggered.
  11. In the Run this script text box, enter the following script or command:
    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
  12. Select an advanced action from the drop-down menu. You can define the advanced actions for virtual machine and hosts. You can add multiple advanced actions for an alarm.
  13. Click Next to set the Reset Rule.
  14. Select Reset the alarm to green and click Next to review the alarm definition.
  15. Select Enable this alarm to enable the alarm and click Create.


The alarm is configured.