Under vSAN skyline health, an alarm reports as "Stats object policy configuration is inconsistent."
Under Configure > Performance Service > Service is enabled and compliant.
VMware vSAN 8.x
The alarm was triggered due to inconsistent vSAN performance service configuration on the Master Node, leading to a mismatch in the stats object policy across the cluster.
To fix the issue:
1. Reapply the vSAN performance service.
2. Disable and enable the performnace service using vCenter CLI:
Log into RVC via vCenter SSH.
Open vCenter SSH.
Log into shell
Run the command: rvc
Login with administrator@<domain>@localhost
cd into localhost > datacenter > computers > vSAN Cluster
Then run the command to delete the vSAN performance object: vsan.perf.stats_object_delete .
Once deleted, proceed to create the vSAN performance object by using the command: vsan.perf.stats_object_create .
Note: You can also re-enable Performance Service via the vCenter UI.
Then try restarting the vSAN management service on all hosts in the cluster by using below command:/etc/init.d/vsanmgmtd restart