LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-27-2015, 10:23 AM   #1
lahirushanaka
Member
 
Registered: Oct 2012
Posts: 46

Rep: Reputation: Disabled
Question 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.
 
Old 02-27-2015, 06:56 PM   #2
linuxtech99
Member
 
Registered: Jan 2015
Posts: 35

Rep: Reputation: 4
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?
 
Old 02-27-2015, 07:12 PM   #3
lahirushanaka
Member
 
Registered: Oct 2012
Posts: 46

Original Poster
Rep: Reputation: Disabled
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
 
Old 10-12-2016, 01:30 AM   #4
deva420patra
LQ Newbie
 
Registered: Apr 2016
Posts: 29

Rep: Reputation: Disabled
What resolved your issue, I am facing the same issue.
 
Old 10-12-2016, 01:38 PM   #5
MadeInGermany
Senior Member
 
Registered: Dec 2011
Location: Simplicity
Posts: 1,814

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
Check the syslog i.e. /var/log/messages on the target host (where nrpe runs)!
 
Old 10-12-2016, 01:50 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 24,172

Rep: Reputation: 7122Reputation: 7122Reputation: 7122Reputation: 7122Reputation: 7122Reputation: 7122Reputation: 7122Reputation: 7122Reputation: 7122Reputation: 7122Reputation: 7122
Quote:
Originally Posted by deva420patra View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Nagios/NRPE jrb328 Linux - Software 3 05-30-2012 08:57 AM
Nagios NRPE Issue glennbtn Linux - Software 5 05-24-2012 12:40 PM
Installing Nagios agent nrpe, problems following nrpe install steps rfreiberger Linux - Newbie 3 04-19-2010 08:43 AM
Nagios/NRPE issue JF1980 Linux - Security 1 05-18-2006 02:59 PM
Nagios NRPE twantrd Linux - Software 1 10-20-2004 08:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration