Re: [CentOS] Power Cut

2016-11-02 Thread m . roth
og. mark > > - Original Message - > From: "Ted Miller" <centos-u...@millert.e4ward.com> > To: centos@centos.org, "Hadi Motamedi" <motamed...@gmail.com> > Sent: Tuesday, November 1, 2016 8:00:48 PM > Subject: Re: [CentOS] Power Cut > > On 10

Re: [CentOS] Power Cut

2016-11-02 Thread Leroy Tennison
r 1, 2016 8:00:48 PM Subject: Re: [CentOS] Power Cut On 10/30/2016 01:12 AM, Hadi Motamedi wrote: > Dear All > I am using a centos server for cdr billing and mediation device on a remote > network. I am experiencing problem that I am suspicious it comes from main > supply power cut at the remo

Re: [CentOS] Power Cut

2016-11-02 Thread Leonard den Ottolander
Hello Hadi, On Sat, 2016-10-29 at 22:12 -0700, Hadi Motamedi wrote: > I am suspicious that the remote system is suffering from many > frequent main supply power cut . Can you please do me favor and let me know > if there is any log on my centos server that I can check to see if there > would be

Re: [CentOS] Power Cut

2016-11-01 Thread Ted Miller
On 10/30/2016 01:12 AM, Hadi Motamedi wrote: Dear All I am using a centos server for cdr billing and mediation device on a remote network. I am experiencing problem that I am suspicious it comes from main supply power cut at the remote site. The power supply to the remote site comes from battery

Re: [CentOS] Power Cut

2016-10-30 Thread John R Pierce
On 10/30/2016 12:47 AM, Ned Slider 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

Re: [CentOS] Power Cut

2016-10-30 Thread Hadi Motamedi
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 wrote: > On 30/10/16 07:11, Hadi Motamedi wrote: > >> But the site is far remote and having

Re: [CentOS] Power Cut

2016-10-30 Thread Ned Slider
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

Re: [CentOS] Power Cut

2016-10-30 Thread Hadi Motamedi
Thank you very much for your time . I got the point and it is a very helpful message . Thank you again On Sun, Oct 30, 2016 at 12:19 AM, John R Pierce wrote: > On 10/30/2016 12:02 AM, Hadi Motamedi wrote: > >> Thank you very much for your reply . So you mean under the >>

Re: [CentOS] Power Cut

2016-10-30 Thread John R Pierce
On 10/30/2016 12:02 AM, Hadi Motamedi wrote: Thank you very much for your reply . So you mean under the /var/log/messages it is distinguishable that which logs come from operator initiated reboot and which ones come from sudden power cut and then booting from scratch when power resumed ? Am I

Re: [CentOS] Power Cut

2016-10-30 Thread Hadi Motamedi
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 On Sun, Oct 30, 2016 at 12:08 AM, Mike Mohr

Re: [CentOS] Power Cut

2016-10-30 Thread Mike Mohr
If your battery backup can handle 2 hours of runtime then it almost certainly has a network management interface. Why aren't you using it to send alerts? On Oct 30, 2016 12:05 AM, "Hadi Motamedi" wrote: > Thank you for your reply. You are correct and the ups is present

Re: [CentOS] Power Cut

2016-10-30 Thread Hadi Motamedi
Thank you for your reply. You are correct and the ups is present there but the battery charger can no longer bear power cuts more than two hours so I need some means to distinguish frequent power cuts there among the system logs. On Sun, Oct 30, 2016 at 12:02 AM, Eero Volotinen

Re: [CentOS] Power Cut

2016-10-30 Thread Hadi Motamedi
Thank you very much for your reply . So you mean under the /var/log/messages it is distinguishable that which logs come from operator initiated reboot and which ones come from sudden power cut and then booting from scratch when power resumed ? Am I correct ? On Sat, Oct 29, 2016 at 11:44 PM,

Re: [CentOS] Power Cut

2016-10-30 Thread Eero Volotinen
you could use smart ups and connect information from it to system, so it can shutdown system in clean way. Eero 2016-10-30 7:12 GMT+02:00 Hadi Motamedi : > Dear All > I am using a centos server for cdr billing and mediation device on a remote > network. I am experiencing

Re: [CentOS] Power Cut

2016-10-30 Thread John R Pierce
On 10/29/2016 10:12 PM, Hadi Motamedi wrote: I am using a centos server for cdr billing and mediation device on a remote network. I am experiencing problem that I am suspicious it comes from main supply power cut at the remote site. The power supply to the remote site comes from battery charger

[CentOS] Power Cut

2016-10-29 Thread Hadi Motamedi
Dear All I am using a centos server for cdr billing and mediation device on a remote network. I am experiencing problem that I am suspicious it comes from main supply power cut at the remote site. The power supply to the remote site comes from battery charger that will be automatically switched in