The Datastore Usage alarm in vCenter Server fails to trigger even when the trigger condition is satisfied
search cancel

The Datastore Usage alarm in vCenter Server fails to trigger even when the trigger condition is satisfied

book

Article ID: 345425

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
  • The datastore usage on disk alarm fails to trigger even when the trigger condition is satisfied.
  • This appears with the default datastore usage on disk alarm.
  • Re-enabling the alarm resolves the issue.

Environment

VMware vCenter Server 7.x

VMware vCenter Server 8.x

Cause

This is a known issue affecting VMware vCenter Server 7.x and 8.x.

Note: For 10TB (10240GB), the alarm "Datastore usage on disk based on available capacity" will not be applicable as the datastore size has to be more than 10240GB (this alarm is applicable for datastore having capacity more than 10240 GB i.e. 10241 GB or more).

Resolution

Currently, there is no resolution as ENGINEERING are still working on a fix.

Workaround:
To work around this issue, disable and then enable the datastore usage on disk alarm:
To disable and then enable the Datastore usage on disk alarm:
 
Steps:
  1. Click Host and Clusters in the Home page.
  2. Select the vCenter Server that is having the issue and click the Alarms tab.
  3. Click the Definitions tab.
  4. Right-click Datastore usage on disk alarm and click Edit.
  5. Deselect the Enable this alarm option.
  6. Click OK.
  7. Right-click Datastore usage on disk alarm and click Edit.
  8. Select the Enable this alarm option.
Using vSphere PowerCLI:
To disable and then enable the datastore on disk alarm using vSphere PowerCLI, run this command:
Connect-viserver –Server vCenter_Server
Get-AlarmDefinition -Name 'Datastore usage on disk' | Set-AlarmDefinition -Enabled:$false
Get-AlarmDefinition -Name 'Datastore usage on disk' | Set-AlarmDefinition -Enabled:$true
If disabling and re-enabling the alarm does not fix the issue, proceed to restart the vCenter services.