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:
- Navigate to vCenter > vCenter Server.
- Select vCenter Server currently having the issue and click the Manage tab.
- Click the Alarm Definitions tab.
- Click Datastore usage on disk alarm from the list and click Edit.
- Deselect the Enable this alarm option.
- Click Finish.
- Click Datastore usage on disk alarm and click Edit.
- Select the Enable this alarm option.
Using the vSphere Client:
- 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