"Socket timeout after 10 seconds" on Server 2016 server

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

"Socket timeout after 10 seconds" on Server 2016 server

Postby ebp12100 » Mon Nov 05, 2018 2:16 pm

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!
ebp12100
 
Posts: 45
Joined: Thu Oct 30, 2014 11:33 am

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

Postby scottwilkerson » Mon Nov 05, 2018 5:50 pm

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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 12287
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

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

Postby ebp12100 » Tue Nov 06, 2018 8:14 am

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.
ebp12100
 
Posts: 45
Joined: Thu Oct 30, 2014 11:33 am

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

Postby scottwilkerson » Tue Nov 06, 2018 3:11 pm

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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 12287
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

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

Postby ebp12100 » Wed Nov 07, 2018 11:04 am

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.
ebp12100
 
Posts: 45
Joined: Thu Oct 30, 2014 11:33 am

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

Postby scottwilkerson » Wed Nov 07, 2018 11:14 am

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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 12287
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises


Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 20 guests