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!
"Socket timeout after 10 seconds" on Server 2016 server
-
- 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
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?
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
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.
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.
-
- 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
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.ebp12100 wrote:Does the iptables file on the monitoring server come into play with a Windows server or just Linux hosts?
Re: "Socket timeout after 10 seconds" on Server 2016 server
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.
Thanks again for pointing me in the right direction.
-
- 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
Great! glad to hear it is resolved.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.
Locking thread