[Nagiosplug-help] check_http plugin

Thomas Guyot-Sionnest dermoth at aei.ca
Sat Feb 20 06:49:40 CET 2010


-----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-----




More information about the Help mailing list