VMware vSphere ESXi
Creating APD or PDL Alarm -
2. Add alarm name, definition and condition for the custom alarm -
[Action] APD Detected on host." , the Description to "Alarm gets triggered upon observing 'esx.problem.storage.apd.start' event." the Target type to "Hosts", and then click "Next".esx.problem.storage.apd.start" or "All paths are down" and press Enter twice to configure the trigger for APD events. By configuring these values, we want the vCenter to detect below log entries on the host -2025-10-15T05:13:54.037Z In(14) vobd[2098144]: [APDCorrelator] 4270429788920us: [esx.problem.storage.apd.start] Device or filesystem with identifier [eui.################################] has entered the All Paths Down state.
Note: Similarly, you can configure a PDL alarm, and the only change is the IF condition value, where you simply have to replace "esx.problem.storage.apd.start" with "esx.problem.vob.vsan.pdl.offline", "vSAN device has gone offline." (if the host is using vSAN datastore) or "Device has been removed or is permanently inaccessible".