check_http services not working after 2014 upgrade
check_http services not working after 2014 upgrade
This didn't come up in on my test server (very few checks), but upgraded to 2014R1 on my QA instance (many more checks) and all services utilizing check_http are timing out. Can curl the address/uri path just fine, but all I get is "CRITICAL - Socket timeout after 10 seconds"
I know plugins were updated with this release, anything in check_http I need to be worried about?
I know plugins were updated with this release, anything in check_http I need to be worried about?
Andrew J. - Do you even grok?
Re: check_http services not working after 2014 upgrade
No problems if I switch to headers only (using -N)
Andrew J. - Do you even grok?
Re: check_http services not working after 2014 upgrade
Can you give me an example of the command you are running?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: check_http services not working after 2014 upgrade
Code: Select all
check_http -H services-perf.dev.*****.com -f follow -I services-perf.dev.*****.com -u "/*****.AdminUser.WebApi/def" -p 80Andrew J. - Do you even grok?
Re: check_http services not working after 2014 upgrade
Code: Select all
check_http -H services-perf.dev.*****.com -f follow -I services-perf.dev.*****.com -u "/*****.AdminUser.WebApi/def" -p 80 -vvvCode: Select all
check_http -H support.nagios.com -u /forum/viewtopic.php?t=27000#97682 -vvv -f follow -I support.nagios.com -p 80Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: check_http services not working after 2014 upgrade
Standard header call:
Check of your URI comes back fine:
Just realized that the hosts having problems are our VIPs served up by our A10 load balancers. Direct to the webservers behind those are fine. But the checks were working perfectly right before the upgrade... must be something in the call for page content that check_http is using that the A10 doesn't like. Very strange. Having a network engineer dump logs from this VIP.
Code: Select all
User-Agent: check_http/v2.0.1 (nagios-plugins 2.0.1)
Connection: close
Host: services-perf.dev.*****.com
Accept: */*
CRITICAL - Socket timeout after 10 secondsCode: Select all
HTTP OK: HTTP/1.1 200 OK - 20817 bytes in 0.157 second response time |time=0.156747s;;;0.000000 size=20817B;;;0Andrew J. - Do you even grok?
Re: check_http services not working after 2014 upgrade
Can you run the check with the verbose (-vvv) flag and post the output?
Code: Select all
check_http -H services-perf.dev.*****.com -f follow -I services-perf.dev.*****.com -u "/*****.AdminUser.WebApi/def" -p 80 -vvvFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: check_http services not working after 2014 upgrade
Code: Select all
/usr/local/nagios/libexec/check_http -H services-perf.dev.*****.com -f follow -u "/*****.AdminUser.WebApi/def" -p 80 -vvv
GET /*****.AdminUser.WebApi/def HTTP/1.1
User-Agent: check_http/v2.0.1 (nagios-plugins 2.0.1)
Connection: close
Host: services-perf.dev.*****.com
Accept: */*
CRITICAL - Socket timeout after 10 seconds
Andrew J. - Do you even grok?
Re: check_http services not working after 2014 upgrade
Load-balancer shows it's returning an HTTP 200...
Andrew J. - Do you even grok?
Re: check_http services not working after 2014 upgrade
I know check_http waits for TCP-FIN, which is why when I specify -N for headers only, it works. But something must have changed in plugins 2.0 or 2.0.1 with the session creation that is not working quite right...
Andrew J. - Do you even grok?