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
- Navigate to the vSAN cluster.
- On the Configure tab, select Alarm Definitions and click Add.
- In the Name and Targets page, enter a name and description for the new alarm.
- 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.
- 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.
- Click Add Argument to select an argument from the drop-down menu.
- Select an operator from the drop-down menu.
- Select an option from the drop-down menu to set the threshold for triggering an alarm.
- 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.
- Select Send email notifications, to send email notifications when alarms are triggered.
- In the Email to text box, enter recipient addresses. Use commas to separate multiple addresses.
- Select Send SNMP traps to send traps when alarms are triggered on a vCenter Server instance.
- Select Run script to run scripts when alarms are triggered.
- 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
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:\windows\system32\cmd.exe /c c:\tools\cmd.bat
- 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.
- Click Next to set the Reset Rule.
- Select Reset the alarm to green and click Next to review the alarm definition.
- Select Enable this alarm to enable the alarm and click Create.