Virtualization Pro

May 19 2009   2:47PM GMT

Enhanced alarm reporting in VMware vCenter Server 4.0

Eric Siebert Eric Siebert Profile: Eric Siebert

The alarm settings in VMware vCenter Server 4.0 have been vastly improved in comparison to what’s available in VMware Infrastructure 3 (VI3). The new alarms let you configure many custom alarm triggers and corresponding actions. VI3 alarms are very limited; you can only configure host and virtual machine alarm types and there are very few triggers that you can select from, as shown in the chart below.

Alarm Type

Triggers

Actions

Virtual Machine VM CPU Usage Send a notification email
  VM Network Usage Send a notification trap
  VM Disk Usage Run a script
  VM Memory Usage Power on a VM
  VM State Power off a VM
  VM Heartbeat Suspend a VM
  VM CPU Usage Reset a VM
  VM Network Usage Send a notification email
Host Host CPU Usage Send a notification email
  Host Network Usage Send a notification trap
  Host Disk Usage Run a script
  Host Memory Usage  
  Host State  
  Host Hardware Health  

In vCenter Server 4.0, alarm types are split into two categories, conditions/state and events, and each category has different triggers.

Alarm Types

I started to create a table with all of the new alarm triggers in vCenter Server 4.0, but there are so many that I abandoned the project. Below is a sample of some of the new VM condition triggers.

VM Alarm Triggers

Instead of listing them all out, here’s a summary of what’s new with alarms in version 4.0:

  • 8 available alarm types:
    • Virtual Machine
    • Host
    • Clusters (new)
    • Data centers (new)
    • Data stores (new)
    • Networks (new)
    • Distributed Virtual Switches (new)
    • Distributed Virtual Port Groups (new)
  • Dozens of new triggers split into two types, Condition/State and Events
  • Several new Actions for guest OSes and hosts including:
    • VM – Migrate VM, Reboot Guest on VM, Shutdown Guest on VM
    • Host – Enter maintenance mode, Exit maintenance mode, Enter standby, Exit standby, Reboot host shutdown host
  • Only three available actions for the new Clusters, Datacenters, Datastores, Networks, Distributed Virtual Switches and Distributed Virtual Port Groups alarm types:
    • Send a notification email
    • Send a notification trap
    • Run a command
  • New Condition Length fields in triggers

The new Condition Length eliminates many false alarms, so it’s a very welcome addition. In VI3, for example, if you set an alarm for VM high CPU usage of 90% it would trigger any time the VM exceeded that percentage. I don’t really care to know about a VM that has high CPU usage over 90% for a few seconds, but I do want to know if that high CPU usage continues for more than 5 minutes. The new Condition Length field let’s you define the length of time that the condition is happening before the alarm goes off.

Alarm Triggers in VI3

Alarm Triggers in 4.0 with Condition Length

There are also many more alarms created by default (35) in vCenter Server 4.0 then in VI3 (only 5) as seen below.

Default Alarms in 4.0

So be sure and check out the new alarms in vSphere and get them properly configured and set. The default alarms already have triggers configured, but you’ll want to set up whatever actions you want for each.

 Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: