summaryrefslogtreecommitdiffstats
path: root/web/attachments/215430-check_http.c.diff
diff options
context:
space:
mode:
Diffstat (limited to 'web/attachments/215430-check_http.c.diff')
-rw-r--r--web/attachments/215430-check_http.c.diff30
1 files changed, 30 insertions, 0 deletions
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 @@
1--- nagios-plugins-1.4.6.orig/plugins/check_http.c 2007-01-29 06:46:40.000000000 +0900
2+++ nagios-plugins-1.4.6/plugins/check_http.c 2007-02-11 21:03:21.000000000 +0900
3@@ -175,15 +175,16 @@
4 int option = 0;
5 static struct option longopts[] = {
6 STD_LONG_OPTS,
7- {"file",required_argument,0,'F'},
8 {"link", no_argument, 0, 'L'},
9 {"nohtml", no_argument, 0, 'n'},
10 {"ssl", no_argument, 0, 'S'},
11- {"verbose", no_argument, 0, 'v'},
12 {"post", required_argument, 0, 'P'},
13 {"IP-address", required_argument, 0, 'I'},
14 {"url", required_argument, 0, 'u'},
15+ {"port", required_argument, 0, 'p'},
16+ {"authorization", required_argument, 0, 'a'},
17 {"string", required_argument, 0, 's'},
18+ {"expect", required_argument, 0, 'e'},
19 {"regex", required_argument, 0, 'r'},
20 {"ereg", required_argument, 0, 'r'},
21 {"eregi", required_argument, 0, 'R'},
22@@ -1295,7 +1296,7 @@
23 printf (" %s\n", _("String to be sent in http header as \"User Agent\""));
24 printf (" %s\n", "-k, --header=STRING");
25 printf (" %s\n", _(" Any other tags to be sent in http header. Use multiple times for additional headers"));
26- printf (" %s\n", "-L, --link=URL");
27+ printf (" %s\n", "-L, --link");
28 printf (" %s\n", _("Wrap output in HTML link (obsoleted by urlize)"));
29 printf (" %s\n", "-f, --onredirect=<ok|warning|critical|follow>");
30 printf (" %s\n", _("How to handle redirected pages"));