Your message dated Thu, 3 Jan 2008 01:43:11 +0100
with message-id <[EMAIL PROTECTED]>
and subject line [Pkg-nagios-devel] Bug#405526: nagios-plugins-basic: 
check_http --expect option not recognized
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: nagios-plugins-basic
Version: 1.4.5-1
Severity: normal

[This is a nagios-plugins-basic backport to sarge]

check_http --help says:
 -e, --expect=STRING
    String to expect in first (status) line of server response

However, neither
/usr/lib/nagios/plugins/check_http --host 10.2.202.247 --ssl --expect=401
nor
/usr/lib/nagios/plugins/check_http --host 10.2.202.247 --ssl --expect 401
are accepted.

/usr/lib/nagios/plugins/check_http --host 10.2.202.247 --ssl -e 401

is.

This is either a bug in option parsing, or in the help screen.

Greetings
Marc


--- End Message ---
--- Begin Message ---
Version: 1.4.10

On Mon, Dec 10, 2007 at 08:39:54AM +0100, Jan Wagner wrote:
> On Monday 10 December 2007 08:17, Marc Haber wrote:
> > $ /usr/lib/nagios/plugins/check_http --host localhost -p 80 -u 20 --expect
> > 'HTTP/1.1' /usr/lib/nagios/plugins/check_http: unrecognized option
> > `--expect' check_http: Unknown argument - (null)
> > Usage: check_http -H <vhost> | -I <IP-address> [-u <uri>] [-p <port>]
> >        [-w <warn time>] [-c <critical time>] [-t <timeout>] [-L]
> >        [-a auth] [-f <ok | warn | critcal | follow>] [-e <expect>]
> >        [-s string] [-l] [-r <regex> | -R <case-insensitive regex>] [-P
> > string] [-m <min_pg_size>:<max_pg_size>] [-4|-6] [-N] [-M <age>] [-A
> > string] [-k string]
> 
> Not even with 1.4.10?

1.4.10 seems to parse --expect just fine. Marking as fixed.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190


--- End Message ---

Reply via email to