When ESXi detects a datastore heartbeat timeout, an event is reported in the vobd.log.
Example:
--/var/run/log/vobd.log
YYYY-MM-DDTHH:MM:SS In(14) vobd[2097763]: [vmfsCorrelator] 614045975024us: [esx.problem.vmfs.heartbeat.timedout] ########-########-####-############ Test_Datastore
VMware vSphere (All Versions)
Follow the below steps to configure the Alarm in vCenter UI:
Navigate to vCenter Server -> Configure -> Alarm Definitions
Click Add
Input alarm name "VMFS volume connectivity degraded" or "VMFS heartbeatbeat timeout".
Choose the "Target type" as Hosts and click Next
In the "Alarm Rule1" page, Input "esx.problem.vmfs.heartbeat.timedout" OR select "VMFS Volume Connectivity Degraded" from the list as the trigger condition.
Select severity as "Show as Critical"
Optionally, you can configure email notification or SNMP traps or running any script whenever such alarm is triggered
Click Next
In the Review page, verify if the alarm rules is set correctly and make sure the "Enable this alarm" option is enabled.
Click CREATE.