vDCA550-Objective 1.2-9- Configure Datastore Alarms

By default there are lots of pre-defined alarm comes with vCenter. But not every alarm is configured as your requirements. You can adjust the existing alarm configuration or create the new one. You can check the default datastore alarms which come with vCenter

From WebClient-> datastore->Click on vCenter -> Manage-> Alarm definition -> Search “datastore”

All the datastore related alarms are filtered as shown below

vDCA550-Obj-1-2-ConfDataStoreAlarm-01

You can create your own custom alarm on various object levels in the vCenter inventory such as (vCenter, datacenter, cluster, individual object level)

There are two types of alarms available when you will choose to can create a new one.

  • Based on the conditions and states of the object
  • Based on specific event occurring on the object.

 For sake of demonstration, I am going to create two alarms at vCenter level one from each condition.

Based on the conditions and states of the object

Example 1: Create an alarm for datastore which will tell us and email when datastore will overcommit. Alarm will trigger and show you warning, when Storage provisioned of a datastore on the vSphere reached up to his 100% capacity and show you critical red error alarm when datastore is overcommitted up to 150%.This alarm is very helpful for NFS Datastores which have the ability to overcommit the storage.

To create a new alarm on the datastore object- From webclient home screen -> Datastore-> Select vCenter -> Manage-> Alram definitions-> Click on the “+” Green sign

vDCA550-Obj-1-2-ConfDataStoreAlarm-02

Enter the alarm name and descriptions -> Select “Datastore” from Monitor drop box -> Choose Monitor for “Specific condition or state” option and make sure “Enable this alarm check box” is checked -> Click “Next”

vDCA550-Obj-1-2-ConfDataStoreAlarm-03

In Next page you will define you condition and his threshold level. Click “Next”

What is Trigger if (choose any or All)?

Any:  it works like “OR” operation between different defined condition. Mean if anyone will be true, alarm trigger

All: Similarly all condition work like “AND” case. When all conditions are true then alarm will trigger.

vDCA550-Obj-1-2-ConfDataStoreAlarm-04

When happen when the above condition met or true. Following are the actions available for configuration. I choose to send notification email when alarm state is changed from warning to red -> Click “Finish”

NOTE: for email notifications make sure you have configured SMTP server in the vCenter advance settings.

vDCA550-Obj-1-2-ConfDataStoreAlarm-05

Based on specific event occurring on the object.

Example 2: Create an alarm for datastore which will email us when specific datastore capacity increased and datastore name would be” ISCSI1_datastore”.

While creating a second datastore alarm. In General tab enter the Alarm name and description. Choose “datastore” from “Monitor dropdown” and choose Monitor for “Specific event occurring on this object” option -> Click “Next”

vDCA550-Obj-1-2-ConfDataStoreAlarm-06

In Trigger section. Define your datastore conditions-> Click “Next”

vDCA550-Obj-1-2-ConfDataStoreAlarm-07

Configure your action against the alarm condition -> Click “Finish”

vDCA550-Obj-1-2-ConfDataStoreAlarm-08

Verify you created alarms.

vDCA550-Obj-1-2-ConfDataStoreAlarm-09

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s