Adding d/p/21_check_http_state_regex from upstream
https://patch-diff.githubusercontent.com/raw/monitoring-plugins/monitoring-plugins/pull/2056.patch
This commit is contained in:
parent
38aec8e03d
commit
e817fecb7d
2 changed files with 23 additions and 0 deletions
22
debian/patches/21_check_http_state_regex
vendored
Normal file
22
debian/patches/21_check_http_state_regex
vendored
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
From e445a386f8ad1166b05fcdfdb5b9cde4622a8632 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Andreas Baumann <mail@andreasbaumann.cc>
|
||||||
|
Date: Fri, 27 Dec 2024 15:32:24 +0100
|
||||||
|
Subject: [PATCH] check_http: fix documentation for --state-regex
|
||||||
|
|
||||||
|
---
|
||||||
|
plugins/check_http.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/plugins/check_http.c b/plugins/check_http.c
|
||||||
|
index 97c0e39ad..baff682a7 100644
|
||||||
|
--- a/plugins/check_http.c
|
||||||
|
+++ b/plugins/check_http.c
|
||||||
|
@@ -1805,7 +1805,7 @@ print_help (void)
|
||||||
|
printf (" %s\n", "--invert-regex");
|
||||||
|
printf (" %s\n", _("Return STATE if found, OK if not (STATE is CRITICAL, per default)"));
|
||||||
|
printf (" %s\n", _("can be changed with --state--regex)"));
|
||||||
|
- printf (" %s\n", "--regex-state=STATE");
|
||||||
|
+ printf (" %s\n", "--state-regex=STATE");
|
||||||
|
printf (" %s\n", _("Return STATE if regex is found, OK if not\n"));
|
||||||
|
|
||||||
|
printf (" %s\n", "-a, --authorization=AUTH_PAIR");
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
|
@ -12,4 +12,5 @@
|
||||||
18_check_curl_fix_TLS_notes
|
18_check_curl_fix_TLS_notes
|
||||||
19_check_curl_cookie_handling
|
19_check_curl_cookie_handling
|
||||||
20_check_icmp_fix_rtmin
|
20_check_icmp_fix_rtmin
|
||||||
|
21_check_http_state_regex
|
||||||
# feature patches
|
# feature patches
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue