SSL option for check_http?

DM nagios.dm at wrhambrecht.com
Thu Jan 30 23:30:39 CET 2003


Does anyone know what happened to the SSL option (-S in previous versions) 
for the latest version of the check_http plugin?

- David

user at host:/usr/local/src/nagios10/nagios-plugins-1.3.0-beta2/plugins> ./check_http -h
check_http (nagios-plugins 1.3.0-beta2) 1.12
The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute
copies of the plugins under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
Copyright (c) 1999-2001 Ethan Galstad/Karl DeBisschop <kdebisschop at users.sourceforge.net>

This plugin tests the HTTP service on the specified host. It can test
normal (http) and secure (https) servers, follow redirects, search for
strings and regular expressions, check connection times, and report on
certificate expiration times.

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] [-r <regex> | -R <case-insensitive regex>]
            [-P string]
 check_http (-h | --help) for detailed help
 check_http (-V | --version) for version information
NOTE: One or both of -H and -I must be specified

Options:
 -H, --hostname=ADDRESS
    Host name argument for servers using host headers (virtual host)
 -I, --IP-address=ADDRESS
   IP address or name (use numeric address if possible to bypass DNS lookup).
 -e, --expect=STRING
   String to expect in first (status) line of server response (default: HTTP/1.)
   If specified skips all other status line logic (ex: 3xx, 4xx, 5xx processing)
 -s, --string=STRING
   String to expect in the content
 -u, --url=PATH
   URL to GET or POST (default: /)
 -p, --port=INTEGER
   Port number (default: 80)
 -P, --post=STRING
   URL encoded http POST data
 -w, --warning=INTEGER
   Response time to result in warning status (seconds)
 -c, --critical=INTEGER
   Response time to result in critical status (seconds)
 -t, --timeout=INTEGER
   Seconds before connection times out (default: 10)
 -a, --authorization=AUTH_PAIR
   Username:password on sites with basic authentication
 -L, --link=URL
   Wrap output in HTML link (obsoleted by urlize)
 -f, --onredirect=<ok|warning|critical|follow>
   How to handle redirected pages
 -v, --verbose
    Show details for command-line debugging (do not use with nagios server)
 -h, --help
    Print detailed help screen
 -V, --version
    Print version information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030130/2072ec89/attachment.html>


More information about the Users mailing list