Hi again folks,

I'm rocking and rolling for the most part since I got straightened away
this morning - have a considerable amount of configuration done in
monitoring my environment!

I'm not quite sure what is going on with check_http though, on the Icinga
server itself, checking its own server.

In Apache I turned on server-status and made my own command
check_http_serverstatus that basically does this :
/usr/lib64/nagios/plugins/check_http -I 127.0.0.1 -u server-status

But you can see I keep getting a 400 Bad Request, which seems to me to be
the fault of check_http best I can tell.

output :
HTTP WARNING: HTTP/1.1 400 Bad Request - 488 bytes in 0.001 second response
time |time=0.000743s;;;0.000000 size=488B;;;0

That was run as user icinga after doing "su - icinga" from root.

RHEL 5.3 with apache and check_http from the package manager :

-bash-3.2$ rpm -qf /usr/lib64/nagios/plugins/check_http
nagios-plugins-http-1.4.15-2.el5
-bash-3.2$ rpm -qa | grep -i httpd
httpd-manual-2.2.3-31.el5_4.2
httpd-devel-2.2.3-31.el5_4.2
httpd-2.2.3-31.el5_4.2
httpd-devel-2.2.3-31.el5_4.2

and of course if as the icinga user I just do a wget, all is good
-bash-3.2$ wget http://127.0.0.1/server-status
--16:39:11--  http://127.0.0.1/server-status
Connecting to 127.0.0.1:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2517 (2.5K) [text/html]
Saving to: `server-status'

Any ideas what is up with that?

thanks,
-Alan

-- 
“Don't eat anything you've ever seen advertised on TV”
         - Michael Pollan, author of "In Defense of Food"
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to