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.
  • Restarting the VMware VirtualCenter Server service does not resolve this issue.
  • Re-enabling the alarm resolves the issue.


Environment

VMware vCenter Server 5.1.x
VMware vCenter Server 7.0.x
VMware vCenter Server 5.0.x
VMware vCenter Server 6.0.x
VMware vCenter Server 6.5.x
VMware vCenter Server 6.7.x
VMware vCenter Server 5.5.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:
 
Using the vSphere Web Client:
  1. Navigate to vCenter > vCenter Server.
  2. Select vCenter Server currently having the issue and click the Manage tab.
  3. Click the Alarm Definitions tab.
  4. Click Datastore usage on disk alarm from the list and click Edit.
  5. Deselect the Enable this alarm option.
  6. Click Finish.
  7. Click Datastore usage on disk alarm and click Edit.
  8. Select the Enable this alarm option.
Using the vSphere Client:
  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