Page 1 of 1

Socket problem with host

Posted: Mon Oct 21, 2013 10:30 am
by cesar.garza
Hey guys
I got a new problem with nagios or remote host (web server), not sure who is making a problem. So, problem is, i am getting this error CHECK_NRPE: Socket timeout after 20 seconds. I know this is common error but i tried to find the reason but not able to resolve it. I have around 100 monitors from windows side and none of them gave me this error. I have a Nagios Server(Linux) and remote host (windows-web server) which is giving me above error. I checked the logs in the windows box and couldn't find anything. i changed my -t 120 in configuration but didn't happen anything. I was wondering it may be because of windows firewall but I could ping the box from Nagios to windows and windows to nagios too. I also verify the check_nrpe -H X.X.X.X from command line got the same above error.
cd

Re: Socket problem with host

Posted: Mon Oct 21, 2013 11:38 am
by slansing
Is this only occurring for that specific check? Can you attach your nsc/nsclient.ini file here in a reply so we can look over it? Please block out passwords and front facing addresses.

Re: Socket problem with host

Posted: Mon Oct 21, 2013 10:15 pm
by cesar.garza
Thanks for you reply and i figured it out why it was happened. Host server wasn't allowed anything from port 5666. As soon as we set the firewall for port, it worked.