Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-01-2009, 08:24 AM
|
#1
|
LQ Newbie
Registered: Jul 2009
Posts: 4
Rep:
|
socket timeout error in nagios
Hi
I am working on nagios since last 2 months.
I have configured it properly for monitoring remote linux machines.
When i am checking some services on remote machine,it is saying " CRITICAL - Socket timeout after 10 seconds" .
I don't know why this error occurs,please tell me the solution for this.
thanks for the help..........
|
|
|
07-01-2009, 10:59 AM
|
#2
|
Member
Registered: Aug 2008
Posts: 41
Rep:
|
Are you using NRPE?
|
|
|
07-02-2009, 04:46 AM
|
#3
|
LQ Newbie
Registered: Jul 2009
Posts: 4
Original Poster
Rep:
|
socket timeout error in nagios
yes i am using NRPE..............
is there any problem then.............
|
|
|
07-02-2009, 07:31 AM
|
#4
|
Senior Member
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137
Rep: 
|
Quote:
Originally Posted by ravis.1808@gmail.com
yes i am using NRPE..............
is there any problem then.............
|
Assuming you are using NRPE for these checks, you will get this error if the NRPE client cannot be contacted by the nagios server.
This could be a port issue, it could be a service issue...i dont know.
A good diagnostic would be to run the nagios cmd check from the nagios command line and see what the error is then....and then run it locally on the server being checked...
You can see what the command is by looking at whatever file has the 'define service' commands in. Use the check_command line.
|
|
|
07-03-2009, 04:51 AM
|
#5
|
Member
Registered: Aug 2008
Posts: 41
Rep:
|
Yes on the box running NRPE, you need to open TCP/5666 on your firewall.
The nrpe service has to run (/etc/init.d/nrpe start)
In /etc/nagios/nrpe.cfg (on CentOS at least), make sure the following settings are properly defined:
Code:
allowed_hosts=IP_of_the_Nagios_Server
dont_blame_nrpe=1 (with 1 it means you can send arguments when doing the checks)
And to test the connection is not timing out, go on your nagios server and run the check_nrpe command as follow:
Code:
/usr/lib/nagios/plugins/check_nrpe -H IP_of_the_box_to_check
If it is not there, use locate to find the script...
HTH
Gael
|
|
|
04-18-2018, 07:43 AM
|
#6
|
LQ Newbie
Registered: Apr 2018
Posts: 1
Rep: 
|
intermittent nagios socket timeout error
Hi,
If the socket timeout error is an intermittent error, meaning, it may happen anyday or anytime but often lasts only for about 2 minutes or so, and is running on NRPE, do you think is still an issue on the the TCP?
have you experienced intermittent socket timeout errors?
|
|
|
04-18-2018, 08:18 AM
|
#7
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,491
|
Quote:
Originally Posted by mpinoc
Hi,
If the socket timeout error is an intermittent error, meaning, it may happen anyday or anytime but often lasts only for about 2 minutes or so, and is running on NRPE, do you think is still an issue on the the TCP? have you experienced intermittent socket timeout errors?
|
Read the LQ Rules...you have re-opened a thread that had been closed for NINE YEARS. I think the OP has moved on by now.
|
|
|
All times are GMT -5. The time now is 11:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|