LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Nagios NRPE connection issue (https://www.linuxquestions.org/questions/linux-software-2/nagios-nrpe-connection-issue-4175535287/)

lahirushanaka 02-27-2015 10:23 AM

Nagios NRPE connection issue
 
Hi friends,

I have installed nagios4 as server and, i have install nrpe on ubuntu 12.04.
when i am run
"/usr/local/nagios/libexec/check_nrpe -H 192.168.10.19"
NRPE v2.15
but when i configure it to nagios server and NRPE giving error on web insterface as below.

CHECK_NRPE: Socket timeout after 10 seconds.

Please help me to resolve this.

linuxtech99 02-27-2015 06:56 PM

Are you able to telnet to port 5666 from your nagios server? What service check you have configured in Nagios which gives the socket timeout errors?

lahirushanaka 02-27-2015 07:12 PM

Yes friend, i can telnet to port 5666 from server, server and client machines are not using any firewalls or ip tables, i have only change on nrpe.conf file allow_host, default services, example - hard, zomb process, users,

Command.cfg file

define command{
command_name check_nrpe
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
}
This is how i define command,

All the services giving socket time out error

deva420patra 10-12-2016 01:30 AM

What resolved your issue, I am facing the same issue.

MadeInGermany 10-12-2016 01:38 PM

Check the syslog i.e. /var/log/messages on the target host (where nrpe runs)!

TB0ne 10-12-2016 01:50 PM

Quote:

Originally Posted by deva420patra (Post 5616852)
What resolved your issue, I am facing the same issue.

Please don't re-open old threads, when you've asked your question in another too. Duplicate threads are frowned upon, as is necroposting...the OP hasn't been back to this thread in going on two years.


All times are GMT -5. The time now is 05:37 AM.