<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Nachricht</TITLE>

<META content="MSHTML 6.00.2800.1528" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=671460518-13042006>I had 
this problem like others, too. I paste som archive-mail concerning this issue: 
(but none of them helped with my probs or i didn´t try the solutions. the 
problem cleared itself, don´t ask my why), You´ll find more searching the 
archives for "timeout", good luck :)</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=671460518-13042006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=671460518-13042006>Andreas Ericsson wrote:</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=671460518-13042006><FONT 
size=2>
<P>PEYRE Julien wrote:</P>
<P>> Hello everybody,</P>
<P>> </P>
<P>> I'm trying to use Nagios in order to survey our databases with custom 
</P>
<P>> plug-in. On Nagios browser, if I choose a host and I launch "Schedule 
</P>
<P>> an immediate check of all services on this host", I have all status </P>
<P>> for all services that take value " CHECK_NRPE: Socket Timeout after 10 
</P>
<P>> seconds".</P>
<P>> </P>
<P>> If I launch an immediate check service by service (one by one), it's 
</P>
<P>> OK, it functions.</P>
<P>> </P>
<P>> Any idea would be welcome !</P>
<P>> </P>
<P>You're most likely flooding the socket receive buffers in the kernel. </P>
<P>What systems are you seeing this on and how many checks are there to </P>
<P>run? Most systems have an accept(2) queue size of five, so above that </P>
<P>and you're in uncharted territory unless you fiddle with the </P>
<P>receive-buffers directly through fcntl(2) in which case it should be </P>
<P>possible to set it to some quite large value (see check_icmp.c on how to </P>
<P>do this).</P></FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=671460518-13042006><FONT face=Arial color=#0000ff 
size=2>Another one:</FONT></SPAN></DIV>
<DIV><SPAN class=671460518-13042006><FONT face=Arial color=#0000ff size=2><FONT 
size=2>
<P>Thomas.Zimmer@oppenheim.de wrote:</P>
<P>> Hi Andreas,</P>
<P>> Many thanks for the solution of the timout-prob. Do you think the </P>
<P>> modification the socket receive buffers could cause undesireble </P>
<P>> consequences for the system nagios is running on?</P>
<P> </P>
<P>The program enhancing the buffers will ofcourse consume more memory. On </P>
<P>some systems this comes from the kernel's pre-allocated chunks which it </P>
<P>is either expensive or impossible to grow. Since it's only one program </P>
<P>and one socket though it shouldn't make much difference.</P>
<P> </P>
<P>> Any security-related issues?</P>
<P> </P>
<P>Not with a sane implementation which most systems have these days. </P>
<P>Ancient True64 had some problems, as did HPUX and UniCOS. To my </P>
<P>knowledge this has been fixed though (except possibly UniCOS which I </P>
<P>doubt you're running).</P></FONT></FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=671460518-13042006><FONT face=Arial color=#0000ff size=2>And 
this one </FONT></SPAN></DIV>
<DIV>
<P><FONT face=Arial size=2>Hello everybody,</FONT> </P>
<P><FONT face=Arial size=2>I'm trying to use Nagios in order to survey our 
databases with custom plug-in.</FONT> <BR><FONT face=Arial size=2>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".</FONT></P>
<P><FONT face=Arial size=2>If I launch an immediate check service by service 
(one by one), it's OK, it functions.</FONT> </P>
<P><FONT face=Arial size=2>Any idea would be welcome !</FONT> </P>
<P><FONT face=Arial size=2>Thanks in advance,</FONT> <BR><FONT face=Arial 
size=2>Julien.</FONT> </P></DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=de><B><FONT face=Arial size=1>Thomas Zimmer</FONT></B></SPAN> 
<BR><SPAN lang=de><FONT face=Arial size=1>Produktservice & 
Betrieb</FONT></SPAN> <BR><SPAN lang=de><FONT face=Arial size=1>Betrieb & 
Support</FONT></SPAN> <BR><SPAN lang=de><FONT face=Arial size=1>Sal. Oppenheim 
jr. & Cie., Frankfurt a. Main</FONT></SPAN> <BR><SPAN lang=de><FONT 
face=Arial size=1>Telefon: +49 69 7134 5192</FONT></SPAN> <BR><SPAN 
lang=de><FONT face=Arial size=1>Internet: <A 
href="http://www.oppenheim.de/">http://www.oppenheim.de</A></FONT></SPAN> 
<BR><SPAN lang=de><FONT face=Arial color=#000000 size=1>E-Mail: 
thomas.zimmer@oppenheim.de</FONT></SPAN> </P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=de dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Ursprüngliche Nachricht-----<BR><B>Von:</B> 
  nagios-users-admin@lists.sourceforge.net 
  [mailto:nagios-users-admin@lists.sourceforge.net] <B>Im Auftrag von </B>Larry 
  Ludlow<BR><B>Gesendet:</B> Donnerstag, 13. April 2006 19:54<BR><B>An:</B> 
  nagios-users@lists.sourceforge.net<BR><B>Betreff:</B> Re: [Nagios-users] 
  Strange NRPE / Nagios problem<BR><BR></FONT></DIV>Here are some of my 
  configs...<BR><BR>comands.cfg<BR>define 
  command{<BR>command_name    
  check_sun_disk1<BR>command_line    $USER1$/check_nrpe -n -H 
  $HOSTADDRESS$ -t 30 -c 
  check_disk1<BR>}<BR><BR>nrpe.cfg<BR>command[check_disk1]=/export/nagios/libexec/check_disk 
  -w 20 -c 10 -p /dev/vx/dsk/rootvol <BR><BR>service for this particular 
  host<BR>define service {<BR>        use 
  check_sun_disk1<BR>        
  service_description /<BR>        
  check_command check_sun_disk1<BR>        
  host_name ########<BR>        servicegroups 
  Sun <BR>        contact_groups 
  LAdmins<BR>}<BR><BR>I can run this command manually. When nagios performs the 
  check I get a socket time out...<BR><BR>I am getting very frustrated... I have 
  used nagios for a few years now.. and this is the 1st time I have ran into 
  this problem... <BR><BR>there are no firewalls, iptables, filtering or 
  anyhting running on these boxes 
yet....<BR><BR><BR><BR></BLOCKQUOTE></BODY></HTML>