From 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 30 Sep 2013 00:03:24 +0200 Subject: Import Nagios Plugins site Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files. --- web/attachments/215430-check_http.c.diff | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 web/attachments/215430-check_http.c.diff (limited to 'web/attachments/215430-check_http.c.diff') diff --git a/web/attachments/215430-check_http.c.diff b/web/attachments/215430-check_http.c.diff new file mode 100644 index 0000000..488f549 --- /dev/null +++ b/web/attachments/215430-check_http.c.diff @@ -0,0 +1,30 @@ +--- nagios-plugins-1.4.6.orig/plugins/check_http.c 2007-01-29 06:46:40.000000000 +0900 ++++ nagios-plugins-1.4.6/plugins/check_http.c 2007-02-11 21:03:21.000000000 +0900 +@@ -175,15 +175,16 @@ + int option = 0; + static struct option longopts[] = { + STD_LONG_OPTS, +- {"file",required_argument,0,'F'}, + {"link", no_argument, 0, 'L'}, + {"nohtml", no_argument, 0, 'n'}, + {"ssl", no_argument, 0, 'S'}, +- {"verbose", no_argument, 0, 'v'}, + {"post", required_argument, 0, 'P'}, + {"IP-address", required_argument, 0, 'I'}, + {"url", required_argument, 0, 'u'}, ++ {"port", required_argument, 0, 'p'}, ++ {"authorization", required_argument, 0, 'a'}, + {"string", required_argument, 0, 's'}, ++ {"expect", required_argument, 0, 'e'}, + {"regex", required_argument, 0, 'r'}, + {"ereg", required_argument, 0, 'r'}, + {"eregi", required_argument, 0, 'R'}, +@@ -1295,7 +1296,7 @@ + printf (" %s\n", _("String to be sent in http header as \"User Agent\"")); + printf (" %s\n", "-k, --header=STRING"); + printf (" %s\n", _(" Any other tags to be sent in http header. Use multiple times for additional headers")); +- printf (" %s\n", "-L, --link=URL"); ++ printf (" %s\n", "-L, --link"); + printf (" %s\n", _("Wrap output in HTML link (obsoleted by urlize)")); + printf (" %s\n", "-f, --onredirect="); + printf (" %s\n", _("How to handle redirected pages")); -- cgit v1.2.3-74-g34f1