<html o="urn:schemas-microsoft-com:office:office" v="urn:schemas-microsoft-com:vml" xmlns="http://www.w3.org/TR/REC-html40" w="urn:schemas-microsoft-com:office:word">
<head>
<style type="text/css">
<!--
a:visited { color: purple; text-decoration: underline }
span.emailstyle18 { color: navy; font-family: Arial }
li.msonormal { margin-left: 0in; font-size: 12.0pt; font-family: Times New Roman; margin-right: 0in }
a:link { color: blue; text-decoration: underline }
p { margin-left: 0in; font-size: 12.0pt; font-family: Times New Roman; margin-right: 0in }
p.msonormal { margin-left: 2.7pt; font-size: 12.0pt; font-family: Times New Roman; margin-right: 0in }
span.msohyperlink { color: blue; text-decoration: underline }
div.msonormal { margin-left: 0in; font-size: 12.0pt; font-family: Times New Roman; margin-right: 0in }
span.msohyperlinkfollowed { color: purple; text-decoration: underline }
-->
</style>
</head>
<body content="text/html; charset=UTF-8" lang="EN-US" http-equiv="Content-Type" style="margin-top: 4px; font-variant: normal; margin-bottom: 1px; margin-right: 4px; line-height: normal; margin-left: 4px" vlink="purple" link="blue">
<p style="margin-bottom: 0; margin-top: 0">
<font face="Thorndale AMT" size="4">Found the problem to be some file ownership issues and a malfunctioning firewall. System is up and running! Thanks!</font><br><br><font face="Thorndale AMT" STYLE="font-size: 14pt"><br>Best Regards,<BR><BR>Tony Cicirello<BR>CNI of the Year - 2009<BR>Director, Training Services<BR>SwitchDesk, Inc. - The Linux Solution Company<BR>701 E. Hobbs<BR>Athens, AL <BR><BR>615.333.1115 x104<BR>866.925.4689<BR>(fax) 615.333.1117<BR>tcicirello@switchdesk.com<BR><a href="http://www.switchdesk.com">www.switchdesk.com</a><BR><BR><br><br></font>>>> On 2/10/2011 at 14:17, in message <4D5406E5.732D.00ED.0@switchdesk.com>, Tony Cicirello wrote:<br> </p>
<table border="0" bgcolor="#efefef" style="margin-left: 15px; font-size: 1em; margin-top: 0; margin-bottom: 0; margin-right: 0">
<tr>
<td>
<div style="padding-left: 7px; border-left: solid 1px #050505">
<p style="margin-bottom: 0; margin-top: 0">
<font face="Thorndale AMT" size="4">Jeff,</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<br>
</p>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Thorndale AMT" size="4">Here is the output from lsof:</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<br>
</p>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Thorndale AMT" size="4">lsof -i :5666</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Thorndale AMT" size="4">COMMAND   PID   USER   FD   TYPE    DEVICE SIZE NODE NAME</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Thorndale AMT" size="4">nrpe    11884 nagios    3u  IPv4 205013275       TCP url:nrpe (LISTEN)</font> </p>
<p style="margin-bottom: 0; margin-top: 0">
<br>
</p>
<p style="margin-bottom: 0; margin-top: 0">
<font face="Thorndale AMT" size="4">Stopping iptables had no effect on the problem so it must be something else. But what??</font><br><br>>>> On 2/10/2011 at 13:03, in message <FF38BBA1BF42AB46A7F46524614FAB62029CCE40@EXVS02.dsw.net>, "Lightner, Jeff" <jlightner@water.com> wrote:<br> </p>
<table border="0" bgcolor="#f3f3f3" style="margin-left: 15px; font-size: 1em; margin-top: 0; margin-bottom: 0; margin-right: 0">
<tr>
<td>
<div style="padding-left: 7px; border-left: solid 1px #050505">
<div class="Section1">
<p class="MsoNormal" style="margin-bottom: 0; margin-top: 0">
<span style="color: navy; font-size: 10.0pt; font-family: Arial"><SPAN STYLE='FONT-FAMILY:"Arial" ;FONT-SIZE:"10.0pt" ;COLOR:"navy"'>Two things:<o style="font-size: 10.0pt; color: navy; font-family: Arial" p="#DEFAULT"></o style="font-size: 10.0pt; color: navy; font-family: Arial"></SPAN></span> </p>
<p class="MsoNormal" style="margin-left: .5in; text-indent: -.25in; margin-top: 0; margin-bottom: 0">
<span style="color: navy; font-size: 10.0pt; font-family: Arial"><SPAN STYLE='FONT-FAMILY:"Arial" ;FONT-SIZE:"10.0pt" ;COLOR:"navy"'>1)</SPAN></span><span style="font-size: 7.0pt; font-style: normal; font-weight: normal; font-variant: normal; line-height: normal; font-family: Times New Roman"><font face="Times New Roman" size="1" color="navy">     </font></span><span style="color: navy; font-size: 10.0pt; font-family: Arial"><SPAN STYLE='FONT-FAMILY:"Arial" ;FONT-SIZE:"10.0pt" ;COLOR:"navy"'>In your commands try to get numeric values.   Saying it is listening on port “nrpe” suggests it is OK but if /etc/services has nrpe set to udp 3123 instead of tcp 5666 you’re not seeing what you think you are.   Do “lsof –i :5666” and it will show if anything is listening on port 5666.   Do “iptables –n –L” and it will show the numerics instead of port names so you can verify it is port 5666.<o style="font-size: 10.0pt; color: navy; font-family: Arial" p="#DEFAULT"></o style="font-size: 10.0pt; color: navy; font-family: Arial"></SPAN></span> </p>
<p class="MsoNormal" style="margin-left: .5in; text-indent: -.25in; margin-top: 0; margin-bottom: 0">
<span style="color: navy; font-size: 10.0pt; font-family: Arial"><SPAN STYLE='FONT-FAMILY:"Arial" ;FONT-SIZE:"10.0pt" ;COLOR:"navy"'>2)</SPAN></span><span style="font-size: 7.0pt; font-style: normal; font-weight: normal; font-variant: normal; line-height: normal; font-family: Times New Roman"><font face="Times New Roman" size="1" color="navy">     </font></span><span style="color: navy; font-size: 10.0pt; font-family: Arial"><SPAN STYLE='FONT-FAMILY:"Arial" ;FONT-SIZE:"10.0pt" ;COLOR:"navy"'>You can easily rule out iptables issues by simply stopping iptables (service iptables stop) and testing to see if the connection works.  If it does then your issue was iptables.  If it doesn’t then it means something other than iptables is blocking it.   <o style="font-size: 10.0pt; color: navy; font-family: Arial" p="#DEFAULT"></o style="font-size: 10.0pt; color: navy; font-family: Arial"></SPAN></span> </p>
<div>
<div align="center" class="MsoNormal" style="margin-left: 0in; margin-top: 0in; margin-bottom: .0001pt; margin-right: 0in; text-align: center">
<br>
<p style="margin-bottom: 0; margin-top: 0">
<hr align="center" tabindex="-1" width="100%" size="2">
</p>
</div>
<p class="MsoNormal" style="margin-left: 0in; margin-top: 0; margin-bottom: 0; margin-right: 0in">
<b><span style="font-family: Tahoma; font-size: 10.0pt"><SPAN STYLE='FONT-FAMILY:"Tahoma" ;FONT-SIZE:"10.0pt"'>From:</SPAN></span></b><span style="font-family: Tahoma; font-size: 10.0pt"><font face="Tahoma" size="2">ale-bounces@ale.org [mailto:ale-bounces@ale.org] </font></span><b><span style="font-family: Tahoma; font-size: 10.0pt"><SPAN STYLE='FONT-FAMILY:"Tahoma" ;FONT-SIZE:"10.0pt"'>On Behalf Of </SPAN></span></b><span style="font-family: Tahoma; font-size: 10.0pt"><font face="Tahoma" size="2">Tony Cicirello<br style="font-size: 2; font-family: Tahoma"></font></span><b><span style="font-family: Tahoma; font-size: 10.0pt"><SPAN STYLE='FONT-FAMILY:"Tahoma" ;FONT-SIZE:"10.0pt"'>Sent:</SPAN></span></b><span style="font-family: Tahoma; font-size: 10.0pt"><font face="Tahoma" size="2"> Thursday, February 10, 2011 1:27 PM<br style="font-size: 2; font-family: Tahoma"></font></span><b><span style="font-family: Tahoma; font-size: 10.0pt"><SPAN STYLE='FONT-FAMILY:"Tahoma" ;FONT-SIZE:"10.0pt"'>To:</SPAN></span></b><span style="font-family: Tahoma; font-size: 10.0pt"><font face="Tahoma" size="2"> Ale@ale.org<br style="font-size: 2; font-family: Tahoma"></font></span><b><span style="font-family: Tahoma; font-size: 10.0pt"><SPAN STYLE='FONT-FAMILY:"Tahoma" ;FONT-SIZE:"10.0pt"'>Subject:</SPAN></span></b><span style="font-family: Tahoma; font-size: 10.0pt"><font face="Tahoma" size="2"> [ale] CHECK_NRPE: Error receiving data from daemon.</font></span><o p="#DEFAULT"></o> </p>
</div>
<p class="MsoNormal" style="margin-bottom: 0; margin-top: 0">
<span style="font-family: Times New Roman; font-size: 12.0pt"><SPAN STYLE='FONT-FAMILY:"Times New Roman" ;FONT-SIZE:"12.0pt"'><o style="font-size: 12.0pt; font-family: Times New Roman" p="#DEFAULT">
</SPAN></span><span style="font-size: 12.0pt"><font face="Times New Roman" size="3"> </font></span><span style="font-family: Times New Roman; font-size: 12.0pt"><SPAN STYLE='FONT-FAMILY:"Times New Roman" ;FONT-SIZE:"12.0pt"'></o style="font-size: 12.0pt; font-family: Times New Roman"></SPAN></span> </p>
</div>
</div>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</body>
</html>