Determine the level of the inventory you want to configure the alarm for.
To create alarms, vSphere Client must be connected to a vCenter Server with the appropriate user permissions on all relevant objects. After an alarm is created, it
is enabled even if the user who created it no longer has permissions.
To open the Alarm Settings dialog, perform any one of these operations:
Click File > Prerequisites > Alarm.
Click Inventory > <object_type> > Alarm > Add Alarm.
Right-click the object and select Alarm > Add Alarm.
In the Alarms tab, click the Definitions tab, right-click in the pane and select New > Alarm.
Click on the object in the inventory and press Ctrl+A.
Alarm Settings – General tab
To create a new alarm:
- Enter an alarm name and alarm description.
- Define the type of alarm:
- In the Monitor list, select Virtual Machines.
- Select Monitor for specific conditions or state.
- Select Enable this alarm.
Alarm Settings – Triggers tab
State triggers are set off as soon as a state threshold or condition is achieved. You cannot define condition lengths for state alarms.
Note: You cannot use a virtual machine's Total Size on Disk or VM Snapshot Size triggers in combination with any other triggers.
To add a new alarm trigger:
- Click Add.
- In the Trigger Type drop-down, select VM Snapshot Size (GB).
- In the On Condition drop-down, select Is above.
- Double-click the Warning and Alert fields and enter the desired values.
Define tolerance ranges and trigger frequencies for condition or state triggers.
Alarm Settings – Actions tab
To define an action:
- Fill in the configuration tab with the details required for the configured Action.
- Select if you want the action to be executed with a specific frequency or just when there is a status change from normal to warning warning to alert, alert to warning, and warning to normal.
- Click OK and the alarm is ready.
Based on VMware KB 1018029