Socket Timeout

Andreas Ericsson ae at op5.se
Tue Oct 18 11:58:04 CEST 2005


PEYRE Julien wrote:
> Hello everybody,
> 
> I'm trying to use Nagios in order to survey our databases with custom plug-in.
> On Nagios browser, if I choose a host and I launch "Schedule an immediate check of all services on this host", I have all status for all services that take value " CHECK_NRPE: Socket Timeout after 10 seconds".
> 
> If I launch an immediate check service by service (one by one), it's OK, it functions.
> 
> Any idea would be welcome !
> 

You're most likely flooding the socket receive buffers in the kernel. 
What systems are you seeing this on and how many checks are there to 
run? Most systems have an accept(2) queue size of five, so above that 
and you're in uncharted territory unless you fiddle with the 
receive-buffers directly through fcntl(2) in which case it should be 
possible to set it to some quite large value (see check_icmp.c on how to 
do this).

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list