Module: monitoring-plugins
 Branch: master
 Commit: 02adcbfa896eb726c59ca647eb4cf6909c690f37
 Author: Lorenz Kästle <12514511+rincewinds...@users.noreply.github.com>
   Date: Mon Feb 24 20:32:19 2025 +0100
    URL: 
https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=02adcbfa

check_by_ssh: Remove warning/critical from help

---

 plugins/check_by_ssh.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c
index 905b2393..2c19fd06 100644
--- a/plugins/check_by_ssh.c
+++ b/plugins/check_by_ssh.c
@@ -432,7 +432,6 @@ void print_help(void) {
        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"));

Reply via email to