Thank you very much for your help. I have received plentiful helpful messages . Please consider this case as solved. Thank you again
On Sun, Oct 30, 2016 at 12:47 AM, Ned Slider ned@unixmail.co.uk wrote:
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.
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos