[CentOS] Power Cut

Ned Slider ned at unixmail.co.uk
Sun Oct 30 07:47:27 UTC 2016


On 30/10/16 07:11, Hadi Motamedi wrote:
> But the site is far remote and having alert on battery exhaustion can no
> longer help . As I said before , I am suspicious if it comes from frequent
> power cuts so seeking some means to distinguish it among the system logs.
> Thank you in advance
>
>

Your UPS should be capable of logging to /var/log/messages and should 
also be capable of powering down the system cleanly when the battery 
reaches a predetermined critical level (either run time remaining or 
percentage charge), so there shouldn't be any uninitiated shutdowns. The 
UPS logs should tell you exactly how many power outages you are getting 
together with how long each one lasts. It sounds like you haven't 
configured your UPS.









More information about the CentOS mailing list