Custom "Host reboot alarm" is not getting triggering when the Hosts are rebooted through vCenter UI/Host GUI/ SSH
vCenter Server 8.x
ESXi 8.x
Once ESXi host reboot is requested, the event is generated in hostd and the host gets rebooted, the connection between vpxd and vpxa is lost and the host sync responsible to forward the events from the host to the VC does not manage to do so and therefore, VC never receives the reboot event.
VMware by Broadcom Engineering team is working on the improvements.
As a Workaround, create the alarm specifying the task event for host reboot as shown below
Select ESXi host -> Select Configure -> Select Alarm Definitions -> Select ADD - Create below Arguments