Now days we are getting no of servers with below alert,
***** Nagios XI Alert *****
Nagios has detected a problem with this service.
Notification Type: PROBLEM
Service: Memory Usage
Host: wfsvhtx003
Address: 10.10.26.89
State: CRITICAL
Info:
CRITICAL - Socket timeout after 10 seconds
Date/Time: 2013-01-14 12:45:08
Is this because of time out value in nagios.cfg is not suffient to execute that particular command ?
service_check_timeout=60
host_check_timeout=30
event_handler_timeout=30
notification_timeout=30
ocsp_timeout=5
perfdata_timeout=5
Socket timeout after 10 seconds
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Socket timeout after 10 seconds
This is most likely due to nrpe being unable to contact an agent to retrieve check information if you are indeed using NRPE for this check, can you show us your nrpe.cfg file on both the Nagios XI server, and your remote machine?
-
lafargeuser
- Posts: 341
- Joined: Thu Sep 27, 2012 12:23 am
Re: Socket timeout after 10 seconds
Attaching..........
You do not have the required permissions to view the files attached to this post.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Socket timeout after 10 seconds
In both NRPE.CFG files you must have the other server's IP placed in the allowed_hosts section... This allows them to communicate:
After you make this change restart the daemon, or re init the file if using the inet.d/xinet.d method, and also make sure that port 5666 tcp/udp is open on both systems.
Code: Select all
# ALLOWED HOST ADDRESSES
# This is an optional comma-delimited list of IP address or hostnames
# that are allowed to talk to the NRPE daemon.