[Nagiosplug-help] check_http plugin
Sylvain Kalache
sylvain.kalache at gmail.com
Sat Feb 20 12:43:41 CET 2010
Are you really using v1.4.3??
>>Yeap I'm really using this version of Nagios.
This is a very old release and you should upgrade. There are some fixes
in the latest check_http versions regarding the HTTP version, although
most servers accept the Host header even with v1.0
>>Unfortunately I'm using this in a company and I just can't upgrade
Nagios...
>>The device I want to reach seem to do not accept v1.0 at all:
#check_http -v --ssl -I 172.24.1.4 -p 443
GET / HTTP/1.0 User-Agent: check_http/1.89 (nagios-plugins 1.4.3)
https://172.24.1.4:443/ is 443 characters STATUS: HTTP/1.1 505 HTTP Version
Not Supported **** HEADER **** Date: Sat, 20 Feb 2010 11:40:59 GMT Server:
FortiWeb-2.2.0 Connection: close Content-Type: text/html; charset=iso-8859-1
**** CONTENT **** <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD> <TITLE>505 HTTP Version Not Supported</TITLE> </HEAD><BODY>
<H1>HTTP Version Not Supported</H1> HTTP protocol shoud be above or equal
1.1 Please make sure that your browser meets the requirement. </BODY></HTML>
HTTP CRITICAL: HTTP/1.1 505 HTTP Version Not Supported
For the rest check_http gives you the choice for headers and URL (and
many other options)... If you need something very specific/non-standard
you might be better off using check_tcp or writing your own plugin though.
>>Can you specify the option which is able to to this, I did not find it.
Hope this help. If you still have troubles getting what you want with
the latest version of the plugins be sure to also send full debug output
of the check you're trying to run (add "-vvv" to the plugin arguments).
>>Thanks! :)
2010/2/20 Thomas Guyot-Sionnest <dermoth at aei.ca>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 19/02/10 02:00 PM, Sylvain Kalache wrote:
> > Hello, I want to change the HTTP version use by http_check, I do not
> > find the option in order to do this. Actually I want to use the 1.1
> > version and send something like : GET / HTTP/1.1 User-Agent:
> > check_http/1.89 (nagios-plugins 1.4.3) Host: /
> > Does it's possible? Thanks
>
> Are you really using v1.4.3??
>
> This is a very old release and you should upgrade. There are some fixes
> in the latest check_http versions regarding the HTTP version, although
> most servers accept the Host header even with v1.0
>
> For the rest check_http gives you the choice for headers and URL (and
> many other options)... If you need something very specific/non-standard
> you might be better off using check_tcp or writing your own plugin though.
>
> Hope this help. If you still have troubles getting what you want with
> the latest version of the plugins be sure to also send full debug output
> of the check you're trying to run (add "-vvv" to the plugin arguments).
>
> - --
> Thomas
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFLf3f06dZ+Kt5BchYRAsYgAKCl+GDlk/4qyzqGxCsACN0fQtLdigCeNOYs
> 5Kn2RqBBSSR1WikkqgYHINE=
> =ErYr
> -----END PGP SIGNATURE-----
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
Sylvain Kalache
@SylvainKalache on Twitter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20100220/87932d7e/attachment.html>
More information about the Help
mailing list