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:
- Click Host and Clusters in the Home page.
- Select the vCenter Server that is having the issue and click the Alarms tab.
- Click the Definitions tab.
- Right-click Datastore usage on disk alarm and click Edit.
- Deselect the Enable this alarm option.
- Click OK.
- Right-click Datastore usage on disk alarm and click Edit.
- 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.
Feedback
thumb_up
Yes
thumb_down
No