CRITICAL: popen timeout received, but no child process

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

CRITICAL: popen timeout received, but no child process

Post 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.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

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

Post 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.
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

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

Post 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?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

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

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

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

Post 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).
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

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

Post by tmcdonald »

Nice. Can we close this up or was there more?
Former Nagios employee
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

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

Post by jbennett »

Close it out.

Thanks!
Locked