Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Configuring VMware vCenter Server to send alarms when virtual machines are running from snapshots (1018029)

Purpose

This article provides information on configuring VMware vCenter Server to send alerts when virtual machines are running from snapshots.

Resolution



Prerequisites
  • Determine the level of the hierarchy you want to configure the alarm for.

    • The object hierarchy is vCenter > Datacenter > Cluster > Host(s) > Datastore > Folder > Resource Pool > Virtual Machine.
    • Alarms are inherited by all child objects.
    • Once configured you can see the alarm settings from the child objects but it is configurable only from the object where it was created.

  • To create alarms, the vSphere Client or vSphere Web Client must be connected to a vCenter Server with the appropriate user with 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:

vSphere Client:
  • 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 click New > Alarm.
  • Click on the object in the inventory and press Ctrl+A.

Alarm Settings – General tab

To create a new alarm:
    1. Enter an alarm name and description.
    2. Define the type of alarm:
      1. In the Monitor list, click Virtual Machines.
      2. Select Monitor for specific conditions or state.
    3. 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:
    1. Click Add.
    2. In the Trigger Type dropdown, click VM Snapshot Size (GB).
    3. In the On Condition dropdown, click Is above.
    4. Double-click the Warning field and enter the desired value.
    5. Double-click the Alert field and enter the desired value. 

Define tolerance ranges and trigger frequencies for condition or state triggers.

Alarm Settings – Actions tab

To define an action:
    1. Fill in the Configuration tab with the details required for the configured Action.
    2. 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.
    3. Click OK and the alarm is ready.
vSphere Web Client:
    1. Log in to the vSphere Web Client with an administrative user.
    2. Click Hosts and Clusters.
    3. Right-click the object you want to add the alarm to.
    4. Navigate to Alarms > New Alarm Definition...
    5. Enter an alarm name and description.
    6. Select the Monitor dropdown and click Virtual Machines.
    7. Under Monitor for select specific conditions or state, for example CPU usage.
    8. Select Enable this alarm.
    9. Press Next.
    10. Click Add.
    11. In the Trigger Type dropdown, click VM Snapshot Size (GB).
    12. In the Operator dropdown, click Is above.
    13. Double-click the Warning Condition field and enter the desired value.
    14. Double-click the Critical Condition field and enter the desired value. 
    15. Press Next.
    16. Click Add.
    17. Select the action you want to occur when the alarm is triggered.
    18. Set the Repeat actions every time if needed.
    19. Set the actions for state changes as needed.
    20. Click Finish.

Additional Information

See Also

Update History

10/04/2012 - Added VMware vCenter 5.1 Server under product category 03/12/2015 - Added vCenter Server 6.0 to Products. 03/12/2015 - Added vCenter Server Appliance 6.0 to Products.

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 101 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 101 Ratings
Actions
KB: