Subject: How to automate server shutdown
I just had a brilliant idea. The problem you (the admins) are having is detecting, from the UPS, when the power cuts out, right? Well, why do you need the UPS to tell you this?
First, get an old desktop system (CPU doesn't matter; all that matters is the network card). Set it up with a basic Linux system - the simpler the better, as long as it has basic networking. Plug it into the building power but not the UPS, and let it sit there (crunching SETI, perhaps).
The reason I suggest a Linux system is it's less likely to crash on its own than *some other* OSes. The reason I suggest a basic system is so if it does crash, or if there's a short outage the UPS can handle, it can come back up and accept pings before all the nested pings have been used up. But you could even use someone else's desktop in the building if you want to.
Next, you need to write a batch script on one of the systems that is on the UPS. Have it ping the desktop every so often (e.g. once a minute). If there's an error, drop into a nested if and ping it again just to make sure. Once enough ping errors have built up (say, three), and you're pretty sure the building power is down, launch the automatic shutdown procedure from the batch script.
I hope this helps!
Ken