summaryrefslogtreecommitdiffstats
path: root/plugins/check_by_ssh.d/config.h
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-09-17 11:00:01 +0200
committerGitHub <noreply@github.com>2025-09-17 11:00:01 +0200
commit5ce7b57c74ecb2cf1b53f75764382ec26e818551 (patch)
tree8860e06ff6eb71b0b4bff7275c174405a18971cc /plugins/check_by_ssh.d/config.h
parent1f20998d0c2c80fc2b407debfdd60d6039c87b8c (diff)
parent4b3f684d33af7459024011a06704cf4ca85dd0a3 (diff)
downloadmonitoring-plugins-5ce7b57c74ecb2cf1b53f75764382ec26e818551.tar.gz
Merge pull request #2151 from oxzi/check_by_ssh-ignore-stderr
check_by_ssh: Ignore output on stderr by default
Diffstat (limited to 'plugins/check_by_ssh.d/config.h')
-rw-r--r--plugins/check_by_ssh.d/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/check_by_ssh.d/config.h b/plugins/check_by_ssh.d/config.h
index 05435def..0e4b56d4 100644
--- a/plugins/check_by_ssh.d/config.h
+++ b/plugins/check_by_ssh.d/config.h
@@ -21,6 +21,7 @@ typedef struct {
21 command_construct cmd; 21 command_construct cmd;
22 22
23 bool unknown_timeout; 23 bool unknown_timeout;
24 bool unknown_on_stderr;
24 bool warn_on_stderr; 25 bool warn_on_stderr;
25 int skip_stdout; 26 int skip_stdout;
26 int skip_stderr; 27 int skip_stderr;
@@ -46,6 +47,7 @@ check_by_ssh_config check_by_ssh_config_init() {
46 }, 47 },
47 48
48 .unknown_timeout = false, 49 .unknown_timeout = false,
50 .unknown_on_stderr = false,
49 .warn_on_stderr = false, 51 .warn_on_stderr = false,
50 .skip_stderr = 0, 52 .skip_stderr = 0,
51 .skip_stdout = 0, 53 .skip_stdout = 0,