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 6.x

Resolution

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

Currently, there is no resolution

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 reenabling the alarm does not fix the issue, proceed to restart the VC service.