The NetworkNerd Blog

Amplifying Your vCenter Alarms

While some people may wake up each morning based on circadian rhythm alone, many of us require an alarm to wake up on time.  What does the alarm clock (or alarm app) really do for you?  It allows you to set a specific time at which a loud noise will happen.  The noise does not just happen for a split second.  The noise continues until you press a button to make it stop.  The noise will wake the sleeper because it is set to be in close proximity to him / her.

Let’s break down that scenario further.  The alarm’s noise is something you want to happen at a specific time and continue until manually stopped.  If you want the alarm to go off at 6 AM, for example, that specific time is a condition (or trigger) that will activate the alarm.  Based on the trigger being true (6 AM reached), the alarm activates, and an action is taken.  The action in this example is noise.  Pressing the button to turn off your alarm is an acknowledgement of the trigger and stops the alarm action from continuing.

Alarms in the Datacenter

In the vSphere world, an alarm answers the following questions:

There are a number of pre-configured alarms in vSphere 6.7 that the administrator can utilize.  Isn’t it great all of these alarms get created automatically when upon deployment of vCenter?  I’ll let you decide at the end of this article.

Settings often Overlooked

A common mistake vSphere admins make is not realizing the only actions taken for all pre-configured alarms are an entry in the vCenter event log and a popup notifying the admin that an alarm has activated.  Unless one happens to be watching vCenter events like a hawk or at least has vCenter open constantly, how will you know when an alarm has fired?  As it now stands, you won’t.

Every pre-configured alarm has actions an admin can specify.  Is taking an action always appropriate, and when it is, what type of action is merited?  How many alarms need to scream at you about defcon 1 level problems, and how many are you ok with knowing about the next time you login to vCenter?  The choice, my friend, is up to you.

 

Adding Action to a Pre-configured Alert

Whether you have just deployed vCenter or have used it for years, some small tweaks can help you be more proactive.  As stated above, one popular alarm action is sending an e-mail.  Suppose you want to receive an e-mail when a host’s CPU usage is high.  Here are the steps to make that happen:

 

 

 

 

Quick Summary

Pre-configured alarms are a good thing, but they are only helpful when configured properly.  Don’t be the person who sets an alarm but never knows it went off.  Take the time to configure actions for the alarms you as the vSphere administrator deem most critical to operating your datacenter to avoid being taken by surprise.  Check out the vSphere 6.7 Monitoring and Performance Guide for everything you need to know to edit the pre-configured alarms, create your own, and master all things related to alarms.

Exit mobile version