Page 1 of 1

"Socket timeout after 10 seconds" on Server 2016 server

Posted: Mon Nov 05, 2018 2:16 pm
by ebp12100
I recently stood up a server 2016 file/print server, created a new .cfg file for it, check its firewall settings. The web interface's status information column for all services is showing:

CRITICAL: socket timeout after 10 seconds

An nmap of the IP shows:

Host is up (0.0022s latency).
Not shown: 995 filtered ports
PORT STATE SERVICE
135/tcp open msrpc
445/tcp open microsoft-ds
3389/tcp open ms-wbt-server
5666/tcp open nrpe
8443/tcp open https-alt

Nmap done: 1 IP address (1 host up) scanned in 4.82 seconds

We are running Core 4.1.1 on the Nagios server.

I've spent a good part of the day trying to get the host and target services to handshake but haven't found a solution. I'd really appreciate any suggestions on this. Many thanks in advance!

Re: "Socket timeout after 10 seconds" on Server 2016 server

Posted: Mon Nov 05, 2018 5:50 pm
by scottwilkerson
Can you show the commands your nagios server is using to try to talk to this machine?

Did you add the nagios server to the agent configuration on the remote machine as an allowed address?

Re: "Socket timeout after 10 seconds" on Server 2016 server

Posted: Tue Nov 06, 2018 8:14 am
by ebp12100
Scott,
Yes, the IP of the nagios server is configured onthe nagios agent on the target / remote server.

Are you referring to the commands in the commands.cfg file?

Does the iptables file on the monitoring server come into play with a Windows server or just Linux hosts?

Thanks for your reply.

Re: "Socket timeout after 10 seconds" on Server 2016 server

Posted: Tue Nov 06, 2018 3:11 pm
by scottwilkerson
ebp12100 wrote:Does the iptables file on the monitoring server come into play with a Windows server or just Linux hosts?
This shouldn't matter for either unless you are filtering outbound traffic with iptables, however the Windows firewall could definately be blocking port 5666 and that could stop it for sure.

Re: "Socket timeout after 10 seconds" on Server 2016 server

Posted: Wed Nov 07, 2018 11:04 am
by ebp12100
I've resolved this and appreciate the input. My nagios ini file was not set up completely. Once I uninstalled/reinstalled and checked everything except the NSA option, poof! All was good.

Thanks again for pointing me in the right direction.

Re: "Socket timeout after 10 seconds" on Server 2016 server

Posted: Wed Nov 07, 2018 11:14 am
by scottwilkerson
ebp12100 wrote:I've resolved this and appreciate the input. My nagios ini file was not set up completely. Once I uninstalled/reinstalled and checked everything except the NSA option, poof! All was good.

Thanks again for pointing me in the right direction.
Great! glad to hear it is resolved.

Locking thread