[Nagiosplug-devel] [ nagiosplug-Patches-1894496 ] check_http: more than one status code

SourceForge.net noreply at sourceforge.net
Fri Feb 15 16:06:07 CET 2008


Patches item #1894496, was opened at 2008-02-15 15:06
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1894496&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Enhancement
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: sni (svennierlein)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_http: more than one status code

Initial Comment:
This patch enhances the check_http plugin to accecpt more
than one status code.

Example.: check_http -e 200,300,301,302,304,401,403,404

If the webserver returns any of these codes, the check
is ok, otherwise critical.

This patch further changes the output if a not expected
status code occurs, ex.:
Invalid HTTP response received from host on port 9452 "HTTP/1.1 500 Internal Server Error"

Patch has been tested on Linux.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1894496&group_id=29880




More information about the Devel mailing list