Some UPS systems offer solutions designed to shut down ESXi hosts based on events detected by the UPS, such as a power outage.
(For example, PowerChute Network Shutdown by Schneider Electric)
These solutions aim to protect data by shutting down ESXi before the UPS battery is depleted and a complete power loss occurs.
Even if such a solution is configured, the ESXi host doesn't shut down gracefully, resulting in a abrupt power off as the UPS battery is depleted.
Some of these UPS solutions run inside a virtual machine on the ESXi and initiate a shutdown of the ESXi over the network.
In scenarios like the following, the shutdown request cannot reach to the ESXi during a power loss:
Ensure that the UPS solution and ESXi can maintain communication each other even in the event of a power outage.
As specific communication mechanisms vary by product, contact your UPS vendor for details.