Because of this sumer heat wave, I finally decided to install an Uninterrupted Power Supply for my debian server.
So I decided to buy a Eaton 3S550 UPS. This small UPS is designed like a big strip, it handles 550 VA and it provides a USB connection.
Thanks to Network UPS Tools, this UPS is very easy to manage when connected to a Debian server.
Installation procedure in a non GUI environment is quite simple, but it involves a certain number of steps that should be carefully followed.
So, this article explains a step-by-step installation procedure of a Eaton UPS connected to a Debian Jessie headless server. If followed carefully, you should get your UPS fully integrated to your server, with an automatic shutdown when your UPS battery is becoming too low during a power cut.
This procedure should be applicable to any Ubuntu or Debian-based server.