Page 1 of 1

Monitoring

Posted: Mon Sep 09, 2013 1:30 pm
by balia
I am new to Nagios.
I want to monitor and troubleshoot a system freeze.
I assume I will not get any notification when the system freezes if Nagios is installed locally.
However, can I use Nagios to troubleshoot the freeze?
What would be the best setup?
Thank you.

Re: Monitoring

Posted: Mon Sep 09, 2013 2:01 pm
by sreinhardt
Ah, this is not really the intention of nagios. Nagios is intended to gather system statistics and status, and upon issue alert administrators of the potential issue. It does not really analyze system crashes or things of that nature. You could potentially use it to track what increased in memory prior to a crash, but that is not quite the intended use.

Re: Monitoring

Posted: Tue Sep 10, 2013 7:36 am
by balia
Would Nagios track the specific service that caused a memory leak?

Re: Monitoring

Posted: Tue Sep 10, 2013 10:27 am
by slansing
If you can find a way to do this manually without the use of Nagios then rest assured you should be able to create a scripted plugin to do it for you, and have Nagios run that to return the information back. Do you have a specific technique in mind? If you have not already I'd scour the exchange site to see if someone has created a plugin already:

http://exchange.nagios.com/

Re: Monitoring

Posted: Tue Sep 10, 2013 11:15 am
by balia
I am 99.9% sure that it is mysql causing the freeze.
I would just like to find a more systematic way to analyze this and prevent it.
My main problem is that when the system freezes, the logs are not updated.

Re: Monitoring

Posted: Tue Sep 10, 2013 1:40 pm
by sreinhardt
ya, nagios could help in the sense of monitoring how much memory or other resources are in used. However if your system locks up, its not going to get any further data and possibly not be able to report that there is an issue. Not to send you away from nagios, but tools specific to mysql debugging and such might be more what you are looking for.