Does anyone know of any way of monitoring dual power supplies on linux servers to find out if one of the supplies has failed or display whether both are powered on etc?

I've just recently had a server with dual power supplies put out a solid beep due to the cord having fallen out of one of the power supplies but since I don't sit next to my servers in real life, I couldn't hear this beep.

Is there some way to get information on the power supplies or monitor them in software on my linux boxen?