In my server I hooked up a sound alarm to a set of capacitors. Too low of a charge indicates higher power consumption than production, allowing you to unplug certain low priority loads. I also have some emergency coal generators ready to go at the flick of a switch if needed.
Man I need to go play some more.