[Pkg-nagios-devel] Bug#405526: nagios-plugins-basic: check_http --expect option not recognized

Marc Haber mh+debian-bugs at zugschlus.de
Thu Jan 4 10:48:56 CET 2007


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




More information about the Pkg-nagios-devel mailing list