Page 1 of 1

CRITICAL: popen timeout received, but no child process

Posted: Tue Nov 26, 2013 3:56 pm
by jbennett
Occasionally I will get this notification on some of my hosts. These are all Linux boxes.

According to this thread, I need to go through and edit the command.

I am using the check-host-alive check command as follows:

Code: Select all

$USER1$/check_icmp -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5
What would be causing this? It happens intermittently.

I seem to remember there being a reason that we switched to check_icmp over check_ping for our use, but I'm not sure I know the reason.

Re: CRITICAL: popen timeout received, but no child process

Posted: Wed Nov 27, 2013 12:35 pm
by slansing
It is possible though not plausible that the ICMP check timed out and the forked nagios process for the check was closed, unfortunately that error is not very verbose.. You should be totally safe switching to check_ping for your hosts as they are essentially the exact same thing.

Re: CRITICAL: popen timeout received, but no child process

Posted: Thu Jan 16, 2014 3:20 pm
by jbennett
I wanted to post back an update to this issue.

It's still happening.

I've switched all host checks to check_ping from check_icmp and I still get a handfull of hosts that will show up with this time out.

Do I have any options at all?

Re: CRITICAL: popen timeout received, but no child process

Posted: Thu Jan 16, 2014 4:01 pm
by lmiltchev
I've switched all host checks to check_ping from check_icmp and I still get a handfull of hosts that will show up with this time out.
Did you try adding the "-4" flag? Did this help?

Code: Select all

$USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 -4

Re: CRITICAL: popen timeout received, but no child process

Posted: Thu Jan 16, 2014 5:00 pm
by jbennett
I figured it out. This kept becoming an issue due to the logs not being purged in /usr/local/nagios/var/archives/

We had logs back to 2012 in there. Since we don't need them that far back, I was able to clear up a ton of space by removing them.

Hosts started coming back up immediately. Hopefully this will help prevent the issue in the future (and hopefully this solution helps someone else too).

Re: CRITICAL: popen timeout received, but no child process

Posted: Fri Jan 17, 2014 10:46 am
by tmcdonald
Nice. Can we close this up or was there more?

Re: CRITICAL: popen timeout received, but no child process

Posted: Fri Jan 17, 2014 11:56 am
by jbennett
Close it out.

Thanks!