<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<title>Host down due to plugins timing out</title>
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The default timeout for nrpe is 10 seconds. How long does
your plugin take to run?<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Kaplan, Andrew H.
[mailto:AHKAPLAN@PARTNERS.ORG] <br>
<b>Sent:</b> Thursday, May 13, 2010 1:51 PM<br>
<b>To:</b> nagios-users@lists.sourceforge.net<br>
<b>Subject:</b> [Nagios-users] Host down due to plugins timing out<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Hi there --</span>
<o:p></o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I recently
set up a new client to be monitored by our Nagios 3.1.2 server. The client is
running the CentOS 5.4</span> <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>operating
system, and it has version 2.6 of NRPE as well as version 2.12 of the plugins
installed on it. I made</span> <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>sure to
deactivate the firewall on the system, disable the SELinux option, and also
modified the /etc/services</span> <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>file to include
port 5666 with udp and tcp. </span><o:p></o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>The problem
that I am having is that even though everything appears to be running properly,
the requests that</span> <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>are sent from
the Nagios server to the client are timing out, with the result being the
client appearing as down.</span> <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>The client has
the nrpe program running with the following configuration:</span> <o:p></o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>/usr/local/nrpe/bin/nrpe
-n -c /usr/local/nrpe/etc/nrpe.cfg -d</span> <o:p></o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I verified
the plugins are working on the client, and also confirmed there are no other
clients being reported as </span><br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>down. The
configuration that I described is not unique to this client. This same setup is
working for other clients </span><br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>that are
monitored by the server. </span><o:p></o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Does anyone
have any idea as to why this is occurring, and what I can do to correct it?
Thanks.</span> <o:p></o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p>
<pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre>The information in this e-mail is intended only for the person to whom it is<o:p></o:p></pre><pre>addressed. If you believe this e-mail was sent to you in error and the e-mail<o:p></o:p></pre><pre>contains patient information, please contact the Partners Compliance HelpLine at<o:p></o:p></pre><pre>http://www.partners.org/complianceline . If the e-mail was sent to you in error<o:p></o:p></pre><pre>but does not contain patient information, please contact the sender and properly<o:p></o:p></pre><pre>dispose of the e-mail.<o:p></o:p></pre></div>
</body>
</html>