check_http 404 error

Karl DeBisschop karl at debisschop.net
Mon Dec 22 17:20:06 CET 2003


On Mon, 2003-12-22 at 10:49, Gary Lawrence Murphy wrote:
> I have a related problem that may require a new plugin (and maybe
> someone has already invented it ;) ... is it possible to have 
> check_http only do a HEAD request instead of a full GET?  I don't
> want to fetch the page, I just want to know the HTTP status code of
> the result.

I don't think that it woulud be at all hard to make that addition to the
existing code - in fact, I'm surprised it's not there.

I'll try and add it in the next few days.

--
Karl



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list