"Socket timeout after 10 seconds" on Server 2016 server

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
ebp12100
Posts: 45
Joined: Thu Oct 30, 2014 11:33 am

"Socket timeout after 10 seconds" on Server 2016 server

Post 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!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post 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?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
ebp12100
Posts: 45
Joined: Thu Oct 30, 2014 11:33 am

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

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post 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.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
ebp12100
Posts: 45
Joined: Thu Oct 30, 2014 11:33 am

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

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked