Don't use a surge protector to connect to the UPS.
Get some smart plugs, a couple power strips (not surge protectors), and an UPS.
Plug smart plug into the power strip and power strip into the UPS.
Solved.
Don't use a surge protector to connect to the UPS.
Get some smart plugs, a couple power strips (not surge protectors), and an UPS.
Plug smart plug into the power strip and power strip into the UPS.
Solved.
Dumb UPS + Smart Plugs (S31) / Smart Strip (HS300) = Smart UPS.
S31: https://static.xtremeownage.com/blog/2023/sonoff-s31-low-cost-energy-monitoring/
HS300: https://static.xtremeownage.com/blog/2022/kasa-powerstrip-as-pdu/
You could look into a devices like the Sonoff Basic R4 or Shelly Plus 1 Mini for making a few devices switchable.
But for your PCs and servers, a UPS that does alerts over USB or serial will let you use a script to shutdown in the event of a power outage. Can relay that to other systems on the UPS too. Wake On LAN to get things back online.