Can you connect the NASes together via USB and generate the same signal via software?
(Or just attach the switch to the UPS so the network doesn't go down, and you can do it with SSH.)