I have been working nagios for about two years, but recently this problem started to appear from one of my services.
I get
CRITICAL - Socket timeout after 10 seconds
for a check_http -H my.host.com -f follow -u /abc/def check, which worked fine. No other services report this issue. The remote site took off and became healthy, and I can do wget http://my.host.com/abc/def from the nagios server, and it downloads the response just fine. Also, doing check_http -H my.host.com -f follow works just fine, i.e. Only when I use the -u argument that things break. I also tried passing it another user agent string, no difference. I tried to increase the timeout, no luck. I tried with -v, but all it has 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 is going wrong.
Any ideas how I could solve this?
Thanks!
fulv
source share