http protected

Frank Gadot frank.gadot at epscorp.com
Wed Apr 2 01:21:33 CEST 2003


Works great !

Thank you guys :-)

So, anyone wanna work with me on this GUI interface ? :-)


On Tue, 2003-04-01 at 18:18, Jamie Baddeley wrote:
> # /usr/lib/netsaint/plugins/check_http -h
> check_http (netsaint-plugins 1.2.9-4) 1.32.2.6
> The netsaint 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 Ethan Galstad (netsaint at linuxbox.com)
> 
> 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 --help
>        check_http --version
> 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 line of server response (default: HTTP/1.)
>  -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
>  -S, --ssl
>     Connect via SSL
>  -C, --certificate=INTEGER
>     Minimum number of days a certificate has to be valid.
>     (when this option is used the url is not checked.)
> 
>  -v, --verbose
>     Show details for command-line debugging (do not use with netsaint server)
>  -h, --help
>     Print detailed help screen
>  -V, --version
>     Print version information
> 
> 
> This plugin can also check whether an SSL enabled web server is able
> to serve content (optionally within a specified time) orwhether the
> X509 certificate is still valid for the specified number of days.
> 
> Check ability to serve content:
> ===============================
> Example: check_http -w 5 -c 10 --ssl www.verisign.com
> When the 'www.verisign.com' server returns its content within 5
> seconds, a STATE_OK will be returned. When the server returns its
> content but exceeds the 5-second threshold, a STATE_WARNING will be
> returned. When an error occurs, a STATE_CRITICAL will be returned.
> 
> Check validity of certificate:
> ==============================
> Example: check_http www.verisign.com -C 14
> When the certificate of 'www.verisign.com' is valid for more than 14
> days, a STATE_OK is returned. When the certificate is still valid, but
> for less than 14 days, a STATE_WARNING is returned. A STATE_CRITICAL
> will be returned when the certificate is expired.
> 
> #
> 
> 
> >>> Frank Gadot <frank.gadot at epscorp.com> 04/02 10:12 AM >>>
> Hi all , 
> 
> Any idea on how could I make the check_http work on a web page that ask
> for a login / password ? Because it send me warnings...
> 
> thank you
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: ValueWeb: 
> Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
> No other company gives more support or power for your dedicated server
> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
> _______________________________________________
> 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



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
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