From 45f91e209539f4ab4b40b7c13dfa36be869ee3af Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Sat, 19 Apr 2025 10:35:24 +0200 Subject: [PATCH] Adding d/p/22_check_by_ssh_missing_options from upstream https://github.com/monitoring-plugins/monitoring-plugins/commit/02adcbfa896eb726c59ca647eb4cf6909c690f37.patch --- .../patches/22_check_by_ssh_missing_options | 20 +++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 21 insertions(+) create mode 100644 debian/patches/22_check_by_ssh_missing_options diff --git a/debian/patches/22_check_by_ssh_missing_options b/debian/patches/22_check_by_ssh_missing_options new file mode 100644 index 0000000..33e2873 --- /dev/null +++ b/debian/patches/22_check_by_ssh_missing_options @@ -0,0 +1,20 @@ +From 02adcbfa896eb726c59ca647eb4cf6909c690f37 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Lorenz=20K=C3=A4stle?= + <12514511+RincewindsHat@users.noreply.github.com> +Date: Mon, 24 Feb 2025 20:32:19 +0100 +Subject: [PATCH] check_by_ssh: Remove warning/critical from help + +--- + plugins/check_by_ssh.c | 1 - + 1 file changed, 1 deletion(-) + +--- a/plugins/check_by_ssh.c ++++ b/plugins/check_by_ssh.c +@@ -454,7 +454,6 @@ + printf (" %s\n", _("Tell ssh to use this configfile [optional]")); + printf (" %s\n","-q, --quiet"); + printf (" %s\n", _("Tell ssh to suppress warning and diagnostic messages [optional]")); +- printf (UT_WARN_CRIT); + printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); + printf (" %s\n","-U, --unknown-timeout"); + printf (" %s\n", _("Make connection problems return UNKNOWN instead of CRITICAL")); diff --git a/debian/patches/series b/debian/patches/series index a29ac6e..2d39022 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -13,4 +13,5 @@ 19_check_curl_cookie_handling 20_check_icmp_fix_rtmin 21_check_http_state_regex +22_check_by_ssh_missing_options # feature patches