I am monitoring my ports, those are listening on my server.
I have some websites, those urls as follows:
http://1.2.3.4:8002/Retails_8002
I am just monitoring port, if this site would go down, port would not be in listening state, but as start port monitoring, all my ports are monitoring, but few ports are giving following URl.
CRITICAL - Socket timeout after 10 seconds
Please suggest
CRITICAL - Socket timeout after 10 seconds port monitoring
CRITICAL - Socket timeout after 10 seconds port monitoring
You do not have the required permissions to view the files attached to this post.
Re: CRITICAL - Socket timeout after 10 seconds port monitori
By default, if Nagios does not get the reply from monitored host in 10 seconds it will mark the Service as “CRITICAL – Socket timeout after 10 seconds“
I'm curious about the outcome when you test via command line. Can you post the output of:
/usr/local/nagios/libexec/check_tcp -H 1.2.3.4 -p 8002
I'm curious about the outcome when you test via command line. Can you post the output of:
/usr/local/nagios/libexec/check_tcp -H 1.2.3.4 -p 8002
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: CRITICAL - Socket timeout after 10 seconds port monitori
Getting same error message from command line as well...
[root@AXmonitor vmn]# /usr/local/nagios/libexec/check_tcp -H 1.2.3.4 -p 8000
CRITICAL - Socket timeout after 10 seconds
[root@AXmonitor vmn]# /usr/local/nagios/libexec/check_tcp -H 40.10.25.36 -p 8000
CRITICAL - Socket timeout after 10 seconds
[root@AXmonitor vmn]# /usr/local/nagios/libexec/check_tcp -H 1.2.3.4 -p 8000
CRITICAL - Socket timeout after 10 seconds
[root@AXmonitor vmn]# /usr/local/nagios/libexec/check_tcp -H 40.10.25.36 -p 8000
CRITICAL - Socket timeout after 10 seconds
Re: CRITICAL - Socket timeout after 10 seconds port monitori
I thought you said it was port 8002? That's what you've showed this far, and in your screenshot as well. It looks like you changed the port @bwallace mentioned to 8000 - could you please provide clarification here?
On top of that, please run nmap your.ip.here from the Nagios machine, and post the output of this as well.
On top of that, please run nmap your.ip.here from the Nagios machine, and post the output of this as well.
Former Nagios Employee
Re: CRITICAL - Socket timeout after 10 seconds port monitori
Port is 8000
All ports are monitoring, no issues, but one port is not giving desired output.
[root@AXmonitor vmn]# nmap 40.110.25.36
Starting Nmap 6.47 ( http://nmap.org ) at 2016-09-07 11:35 PDT
Nmap scan report for 40.110.25.36
Host is up (0.067s latency).
Not shown: 988 closed ports
PORT STATE SERVICE
80/tcp open http
135/tcp open msrpc
139/tcp open netbios-ssn
445/tcp open microsoft-ds
3389/tcp open ms-wbt-server
5666/tcp open nrpe
8000/tcp filtered http-alt
49152/tcp open unknown
49153/tcp open unknown
49154/tcp open unknown
49155/tcp open unknown
49156/tcp open unknown
Nmap done: 1 IP address (1 host up) scanned in 3.68 seconds
All ports are monitoring, no issues, but one port is not giving desired output.
[root@AXmonitor vmn]# nmap 40.110.25.36
Starting Nmap 6.47 ( http://nmap.org ) at 2016-09-07 11:35 PDT
Nmap scan report for 40.110.25.36
Host is up (0.067s latency).
Not shown: 988 closed ports
PORT STATE SERVICE
80/tcp open http
135/tcp open msrpc
139/tcp open netbios-ssn
445/tcp open microsoft-ds
3389/tcp open ms-wbt-server
5666/tcp open nrpe
8000/tcp filtered http-alt
49152/tcp open unknown
49153/tcp open unknown
49154/tcp open unknown
49155/tcp open unknown
49156/tcp open unknown
Nmap done: 1 IP address (1 host up) scanned in 3.68 seconds
You do not have the required permissions to view the files attached to this post.
Re: CRITICAL - Socket timeout after 10 seconds port monitori
-- means a Firewall is blocking access. You'll have to open this port on the FW.8000/tcp filtered http-alt
Filtered - "Nmap cannot determine whether the port is open because packet filtering prevents its probes from reaching the port. The filtering could be from a dedicated firewall device, router rules, or host-based firewall software."
https://nmap.org/book/man-port-scanning-basics.html
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: CRITICAL - Socket timeout after 10 seconds port monitori
Great!
Quite logical.
Let me open port on FW and get back to you.
Thank you
Quite logical.
Let me open port on FW and get back to you.
Thank you
Re: CRITICAL - Socket timeout after 10 seconds port monitori
You're welcome Naveed, keep us posted.....
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: CRITICAL - Socket timeout after 10 seconds port monitori
I have allowed, inbound and outbound port 8000 in advanced firewall settings,
on client server port 8000 is in listening state, but still I am getting same error message.
https://support.rackspace.com/how-to/cr ... wall-2008/
I have followed upper link to allow port.
Moreover I am getting same error message from CLI as well.
[root@AXmonitor vmn]# nmap 40.32.65.95
Starting Nmap 6.47 ( http://nmap.org ) at 2016-09-08 03:18 PDT
Nmap scan report for 40.32.65.95
Host is up (0.066s latency).
Not shown: 987 closed ports
PORT STATE SERVICE
80/tcp open http
135/tcp open msrpc
139/tcp open netbios-ssn
445/tcp open microsoft-ds
808/tcp open ccproxy-http
3389/tcp open ms-wbt-server
5666/tcp open nrpe
8000/tcp filtered http-alt
49152/tcp open unknown
49153/tcp open unknown
49154/tcp open unknown
49155/tcp open unknown
49156/tcp open unknown
Nmap done: 1 IP address (1 host up) scanned in 3.73 seconds
on client server port 8000 is in listening state, but still I am getting same error message.
https://support.rackspace.com/how-to/cr ... wall-2008/
I have followed upper link to allow port.
Moreover I am getting same error message from CLI as well.
[root@AXmonitor vmn]# nmap 40.32.65.95
Starting Nmap 6.47 ( http://nmap.org ) at 2016-09-08 03:18 PDT
Nmap scan report for 40.32.65.95
Host is up (0.066s latency).
Not shown: 987 closed ports
PORT STATE SERVICE
80/tcp open http
135/tcp open msrpc
139/tcp open netbios-ssn
445/tcp open microsoft-ds
808/tcp open ccproxy-http
3389/tcp open ms-wbt-server
5666/tcp open nrpe
8000/tcp filtered http-alt
49152/tcp open unknown
49153/tcp open unknown
49154/tcp open unknown
49155/tcp open unknown
49156/tcp open unknown
Nmap done: 1 IP address (1 host up) scanned in 3.73 seconds
You do not have the required permissions to view the files attached to this post.
Re: CRITICAL - Socket timeout after 10 seconds port monitori
--- That nmap output is quite accurate, likely a network device such as a FW or proxy is preventing access, not a Windows Firewall. You can try a more targeted nmap scan where we specify the port and also tell it not to use ping (Where xxx is the IP address of the remote server). The results are probably going to be the same, but maybe we will get a more definitive message returned:8000/tcp filtered http-alt
nmap -Pn -p T:8000 xxx
Be sure to check out the Knowledgebase for helpful articles and solutions!