Use condition triggers and state triggers to set alarms on performance metrics, power states, and connection states for virtual machines, hosts, and datastores. To set alarms on other objects in the inventory, you must use event triggers.

Condition and state triggers use one of the following operator sets to monitor an object:

Is equal to and Is not equal to

Is above and Is below

To define a condition or state trigger, you choose the appropriate operator set and enter the values for the warning and alert status. You can use any number of triggers for an alarm. When you use more than one trigger, you choose whether to trigger the alarm when any conditions are satisfied or when all conditions are satisfied. For example, you can create a host alarm that has two condition triggers, one for CPU usage and one for memory usage:

Example – Setting Condition Triggers

Trigger

Condition

Warning

Alert

Operator

Value

Operator

Value

1

CPU usage

Is above

75%

Is above

90%

2

Memory usage

Is above

75%

Is above

90%

If you trigger the alarm when all conditions are satisfied, the alarm will trigger the warning only when both CPU usage and memory usage values are above 75%. Likewise, it will trigger the alert only when both CPU usage and memory usage are above 90%.

Note

Unexpected results might occur when you have an alarm with multiple triggers with opposing warning and alert conditions, and you set the alarm to trigger when all conditions are satisfied. For example, an alarm has two triggers that set warnings and alerts for the virtual machine power state.

Example – Opposing Warning and Alert Conditions

Trigger

Warning

Alert

1

Powered Off

Powered On

2

Powered On

Powered Off

If you choose to trigger the alarm when all conditions are satisfied, the alarm triggers a warning. This is because the vServer System uses the AndAlarmExpression operator to validate the condition statuses for each trigger. When they are all satisfied, the first condition is satisfied, and therefore is used: Warning & Alert = warning.