Webmin UPS Module

I need a new UPS for my system and was wondering if there is any add-in modules so I can control the power supply in the event of power failure. Like controlled shut down and start up, etc. Any suggestions?

Thanks

I use apcupsd, http://www.apcupsd.com/. There is a webmin module for it too.

Thanks robj. But where exactly is the webmin module?