Nuffnang

Wednesday, February 8, 2012

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

Prerequisites

  • Determine the level of the inventory you want to configure the alarm for.
    • The object hierarchy is: vCenter > datacenter > cluster > host > datastore > folder > resource pool > virtual machine.
    • Alarms on an object are inherited by all child objects.
    • When it is configured you can see its settings from the underlying/child objects but it is only configurable only from the object where it was created.
  • 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 > New > Alarm.
  • Click Inventory > > 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:

  1. Enter an alarm name and alarm description.
  2. Define the type of alarm:
    1. In the Monitor list, select 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 drop-down, select VM Snapshot Size (GB).
  3. In the On Condition drop-down, select Is above.
  4. 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:

  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.

No comments:

Post a Comment