I've been running nagios for about two years, but recently this problem started appearing with one of my services.
I'm getting
CRITICAL - Socket timeout after 10 seconds
for a check_http -H my.host.com -f follow -u /abc/def
check, which used to work fine. No other services are reporting this problem. The remote site is up and healthy, and I can do a wget http://my.host.com/abc/def
from the nagios server, and it downloads the response just fine. Also, doing a check_http -H my.host.com -f follow
works just fine, i.e. it's only when I use the -u
argument that things break. I also tried passing it a different user agent string, no difference. I tried increasing the timeout, no luck. I tried with -v, but all it get is:
GET /abc/def HTTP/1.0
User-Agent: check_http/v1861 (nagios-plugins 1.4.11)
Connection: close
Host: my.host.com
CRITICAL - Socket timeout after 10 seconds
... which does not tell me what's going wrong.
Any ideas how I could resolve this?
Thanks!
-4
or-6
to the check_http options? I've had this problem before where I had to force IPv4 for a check. – Frisian-4
I get the same error. With-6
I get: Name or service not known HTTP CRITICAL - Unable to open TCP socket – Prolongdef' 100%[==========================================================================================>] 6,324,686 5.97M/s in 1.0s 2011-11-16 23:04:36 (5.97 MB/s) -
acr' saved [6324686/6324686] – Prolong