[ale] SOLVED: CHECK_NRPE: Error receiving data from daemon.

Tony Cicirello TCicirello at switchdesk.com
Thu Feb 10 16:42:41 EST 2011


Found the problem to be some file ownership issues and a malfunctioning
firewall. System is up and running! Thanks!


Best Regards,

Tony Cicirello
CNI of the Year - 2009
Director, Training Services
SwitchDesk, Inc. - The Linux Solution Company
701 E. Hobbs
Athens, AL 

615.333.1115 x104
866.925.4689
(fax) 615.333.1117
tcicirello at switchdesk.com
www.switchdesk.com



>>> On 2/10/2011 at 14:17, in message
<4D5406E5.732D.00ED.0 at switchdesk.com>, Tony Cicirello wrote:


Jeff, 


Here is the output from lsof: 


lsof -i :5666 
COMMAND   PID   USER   FD   TYPE    DEVICE SIZE NODE NAME 
nrpe    11884 nagios    3u  IPv4 205013275       TCP url:nrpe (LISTEN)



Stopping iptables had no effect on the problem so it must be something
else. But what??

>>> On 2/10/2011 at 13:03, in message
<FF38BBA1BF42AB46A7F46524614FAB62029CCE40 at EXVS02.dsw.net>, "Lightner,
Jeff" <jlightner at water.com> wrote:


Two things: 
1)     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. 
2)     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.    



From:ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of Tony
Cicirello
Sent: Thursday, February 10, 2011 1:27 PM
To: Ale at ale.org
Subject: [ale] CHECK_NRPE: Error receiving data from daemon. 

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20110210/ff1b5c07/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Tony Cicirello.vcf
Type: application/octet-stream
Size: 697 bytes
Desc: not available
Url : http://mail.ale.org/pipermail/ale/attachments/20110210/ff1b5c07/attachment-0001.obj 


More information about the Ale mailing list