check_http - HTTP WARNING: HTTP/1.1 400 BAD REQUEST

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: check_http - HTTP WARNING: HTTP/1.1 400 BAD REQUEST

Post by sreinhardt »

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0< HTTP/1.1 400 BAD REQUEST
Looks to me like both curl and check_http do not like this server. Is it responding with html, xml, json? Was there any actual valid html from the curl request or just the 400? Also are you certain your server is not forwarding or redirecting to another page?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
sureshkraj2012
Posts: 65
Joined: Tue Aug 06, 2013 11:06 pm

Re: check_http - HTTP WARNING: HTTP/1.1 400 BAD REQUEST

Post by sureshkraj2012 »

Any updates?
sureshkraj2012
Posts: 65
Joined: Tue Aug 06, 2013 11:06 pm

Re: check_http - HTTP WARNING: HTTP/1.1 400 BAD REQUEST

Post by sureshkraj2012 »

did we get a chance to check on this?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: check_http - HTTP WARNING: HTTP/1.1 400 BAD REQUEST

Post by abrist »

I think Spenser is waiting for answers to his questions:
sreinhardt wrote:Looks to me like both curl and check_http do not like this server. Is it responding with html, xml, json? Was there any actual valid html from the curl request or just the 400? Also are you certain your server is not forwarding or redirecting to another page?
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.
Locked