Page 2 of 3

Re: Nagios invoked oom-killer

Posted: Fri Feb 15, 2013 2:03 pm
by estebanmonge
Last time I put that we had about 600, now we have 907. It's difficult to measure the metric in 232 hosts and 1235 services.

OK I make this task:

tailf syslog > prueba.log

For one minute, before worked with the file:
cat prueba.log | grep "PASSIVE SERVICE" | wc -l
145 Passive Service Checks for minute
cat prueba.log | grep "PASSIVE HOST" | wc -l
60 Passive Host Checks for minute

Re: Nagios invoked oom-killer

Posted: Fri Feb 15, 2013 4:35 pm
by slansing
Are those processes being killed off now? Because when you see those processes are spooling up when returning NSCA check data to the Nagios system.

Re: Nagios invoked oom-killer

Posted: Sat Feb 16, 2013 4:08 pm
by estebanmonge
slansing wrote:Are those processes being killed off now? Because when you see those processes are spooling up when returning NSCA check data to the Nagios system.
Sorry but don't understand you. This behavior is bad?

Re: Nagios invoked oom-killer

Posted: Mon Feb 18, 2013 11:22 am
by slansing
No, you should see new NSCA child processes start when they are required to receive check data from your checks. The way it seemed earlier was that the NSCA processes were not being killed after they were being called and used. This would be an issue, but as it seems they clear out after a certain amount of time you should be fine.

Re: Nagios invoked oom-killer

Posted: Sun Feb 24, 2013 11:20 pm
by estebanmonge
In average we have three or four process, we use check_procs for determine it.

Re: Nagios invoked oom-killer

Posted: Mon Feb 25, 2013 10:09 am
by slansing
You should be fine then, nothing to worry about as Nagios and NSCA fork themselves for different checks.

Re: Nagios invoked oom-killer

Posted: Mon Feb 25, 2013 5:56 pm
by estebanmonge
OK, returning to original question, the amount of checks that you need is the correct info?

Re: Nagios invoked oom-killer

Posted: Tue Feb 26, 2013 8:38 am
by scottwilkerson
Apparently I don't understand the question... Could you re-phrase it?

Re: Nagios invoked oom-killer

Posted: Mon Mar 04, 2013 5:06 pm
by estebanmonge
Hello I make more testing in remote Nagios and passive checks.

Recently I needed to add more or less 400 passive check from remote Nagios to Prinicipal Nagios, but constantly passive checks get loss.

I tried to check if remote Nagios can sent checks, but the log never shows a incorrect sent package.

What could cause the problem?

Re: Nagios invoked oom-killer

Posted: Tue Mar 05, 2013 10:20 am
by scottwilkerson
Can you run the following and post the results

Code: Select all

cat /etc/xinetd.d/nsca