check_http and other response codes

Morty morty+nagios at frakir.org
Fri Oct 14 18:19:07 CEST 2011


On Thu, Oct 13, 2011 at 09:39:43AM +0200, Jörg Linge wrote:

> http://nagiosplugins.org/man/check_http
> 
> Option -e
> 
> -e, --expect=STRING
>     Comma-delimited list of strings, at least one of them is expected in
>     the first (status) line of the server response (default: HTTP/1.)
>     If specified skips all other status line logic (ex: 3xx, 4xx, 5xx processing)

Oh, thanks!  I saw that option, but misunderstood it.  Now I've got it
working.

For TRACE, I think the "negate" implementation is actually better.
CUPS IPP returns no response code at all to a TRACE request, which is
good from my perspective.

- Morty

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
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