summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-08-18 21:18:18 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-08-18 21:18:18 (GMT)
commit30aa7a63f1993ea09ba6ce84819d783f027ed516 (patch)
treeda946a2927f284dc5c7d08a0224263ef3f17240f
parent64b4d1fb665005c9442361094e02cfd25aa15f43 (diff)
downloadmonitoring-plugins-30aa7a63f1993ea09ba6ce84819d783f027ed516.tar.gz
check_http: Document the new -E option
Mention the -E/--extended-perfdata flag in the --help output.
-rw-r--r--plugins/check_http.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 7e3f82a..1576601 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -1522,6 +1522,8 @@ print_help (void)
1522 printf (" %s\n", _("String to be sent in http header as \"User Agent\"")); 1522 printf (" %s\n", _("String to be sent in http header as \"User Agent\""));
1523 printf (" %s\n", "-k, --header=STRING"); 1523 printf (" %s\n", "-k, --header=STRING");
1524 printf (" %s\n", _("Any other tags to be sent in http header. Use multiple times for additional headers")); 1524 printf (" %s\n", _("Any other tags to be sent in http header. Use multiple times for additional headers"));
1525 printf (" %s\n", "-E, --extended-perfdata");
1526 printf (" %s\n", _("Print additional performance data"));
1525 printf (" %s\n", "-L, --link"); 1527 printf (" %s\n", "-L, --link");
1526 printf (" %s\n", _("Wrap output in HTML link (obsoleted by urlize)")); 1528 printf (" %s\n", _("Wrap output in HTML link (obsoleted by urlize)"));
1527 printf (" %s\n", "-f, --onredirect=<ok|warning|critical|follow|sticky|stickyport>"); 1529 printf (" %s\n", "-f, --onredirect=<ok|warning|critical|follow|sticky|stickyport>");
@@ -1588,7 +1590,7 @@ print_usage (void)
1588 printf ("%s\n", _("Usage:")); 1590 printf ("%s\n", _("Usage:"));
1589 printf (" %s -H <vhost> | -I <IP-address> [-u <uri>] [-p <port>]\n",progname); 1591 printf (" %s -H <vhost> | -I <IP-address> [-u <uri>] [-p <port>]\n",progname);
1590 printf (" [-J <client certificate file>] [-K <private key>]\n"); 1592 printf (" [-J <client certificate file>] [-K <private key>]\n");
1591 printf (" [-w <warn time>] [-c <critical time>] [-t <timeout>] [-L] [-a auth]\n"); 1593 printf (" [-w <warn time>] [-c <critical time>] [-t <timeout>] [-L] [-E] [-a auth]\n");
1592 printf (" [-b proxy_auth] [-f <ok|warning|critcal|follow|sticky|stickyport>]\n"); 1594 printf (" [-b proxy_auth] [-f <ok|warning|critcal|follow|sticky|stickyport>]\n");
1593 printf (" [-e <expect>] [-d string] [-s string] [-l] [-r <regex> | -R <case-insensitive regex>]\n"); 1595 printf (" [-e <expect>] [-d string] [-s string] [-l] [-r <regex> | -R <case-insensitive regex>]\n");
1594 printf (" [-P string] [-m <min_pg_size>:<max_pg_size>] [-4|-6] [-N] [-M <age>]\n"); 1596 printf (" [-P string] [-m <min_pg_size>:<max_pg_size>] [-4|-6] [-N] [-M <age>]\n");