best check https

Eduardo Leitão eduardoleitao at interacesso.pt
Tue Apr 1 11:10:33 CEST 2003


Hi
I would like to know what are the diferents and the best option to check
https because i try both and i get diferents results. Please some
help...

Option 1:
Define command{
        command_name    check_https
        command_line    $USER1$/check_http -I $HOSTADDRESS$ -S -C 30
}

Results:
	HTTP CRITICAL: string not found
	HTTP ok: HTTP/1.1 200 OK - 0.399 second response time 

Option 2:
define command{
        command_name    check_https
        command_line    $USER1$/check_http -I $HOSTADDRESS$ -S -e
"HTTP/1." -t 30 -c 30
        }

Results:
	HTTP WARNING: HTTP/1.1 400 Bad Request
	HTTP WARNING: HTTP/1.1 400 Bad Request 

Best regards
Edu


-------------------------------------------------------
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