summaryrefslogtreecommitdiffstats
path: root/plugins/check_http.c
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2012-02-24 13:24:56 +0100
committerHolger Weiss <holger@zedat.fu-berlin.de>2012-02-24 13:24:56 +0100
commitd796c16327e6e315dd528f17e8bd597c5f506730 (patch)
tree76e67062357d81f9852d3546784f86e28471595c /plugins/check_http.c
parentb93c8eebc70153866d8c5a6872b6c7c4ccd94860 (diff)
downloadmonitoring-plugins-d796c16327e6e315dd528f17e8bd597c5f506730.tar.gz
Clarify that check_http won't verify certificates
Add a note to the --help output which clarifies that check_http doesn't perform certificate verification (beyond what the "-C" option does). (Suggested by Michael Renner in Debian bug report #644627, forwarded by Jan Wagner.)
Diffstat (limited to 'plugins/check_http.c')
-rw-r--r--plugins/check_http.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 433c28e3..3175f6cb 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -1400,6 +1400,10 @@ print_help (void)
1400 printf (" %s\n", _("serve content (optionally within a specified time) or whether the X509 ")); 1400 printf (" %s\n", _("serve content (optionally within a specified time) or whether the X509 "));
1401 printf (" %s\n", _("certificate is still valid for the specified number of days.")); 1401 printf (" %s\n", _("certificate is still valid for the specified number of days."));
1402 printf ("\n"); 1402 printf ("\n");
1403 printf (" %s\n", _("Please note that this plugin does not check if the presented server"));
1404 printf (" %s\n", _("certificate matches the hostname of the server, or if the certificate"));
1405 printf (" %s\n", _("has a valid chain of trust to one of the locally installed CAs."));
1406 printf ("\n");
1403 printf ("%s\n", _("Examples:")); 1407 printf ("%s\n", _("Examples:"));
1404 printf (" %s\n\n", "CHECK CONTENT: check_http -w 5 -c 10 --ssl -H www.verisign.com"); 1408 printf (" %s\n\n", "CHECK CONTENT: check_http -w 5 -c 10 --ssl -H www.verisign.com");
1405 printf (" %s\n", _("When the 'www.verisign.com' server returns its content within 5 seconds,")); 1409 printf (" %s\n", _("When the 'www.verisign.com' server returns its content within 5 seconds,"));