summaryrefslogtreecommitdiffstats
path: root/plugins/check_ssh.c
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-02-25 11:40:45 +0100
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-03-07 23:38:50 +0100
commit46683da7b7a35a70dcb7dcb0e64160b78f84e965 (patch)
treeca66e9438275bd89990ca3210bc1c054178734cc /plugins/check_ssh.c
parentce3eff0908b33140c5a99ee21d1c10405cbe9030 (diff)
downloadmonitoring-plugins-46683da7b7a35a70dcb7dcb0e64160b78f84e965.tar.gz
check_ssh: fix typo
Diffstat (limited to 'plugins/check_ssh.c')
-rw-r--r--plugins/check_ssh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c
index 518950ec..ab4af352 100644
--- a/plugins/check_ssh.c
+++ b/plugins/check_ssh.c
@@ -295,7 +295,7 @@ int ssh_connect(mp_check *overall, char *haddr, int hport, char *desired_remote_
295 } 295 }
296 296
297 connection_sc = mp_set_subcheck_state(connection_sc, STATE_OK); 297 connection_sc = mp_set_subcheck_state(connection_sc, STATE_OK);
298 xasprintf(&connection_sc.output, "%s", "Initial connection succeded"); 298 xasprintf(&connection_sc.output, "%s", "Initial connection succeeded");
299 mp_add_subcheck_to_check(overall, connection_sc); 299 mp_add_subcheck_to_check(overall, connection_sc);
300 300
301 /* 301 /*
@@ -384,7 +384,7 @@ int ssh_connect(mp_check *overall, char *haddr, int hport, char *desired_remote_
384 desired_remote_protocol); 384 desired_remote_protocol);
385 } else { 385 } else {
386 protocol_version_sc = mp_set_subcheck_state(protocol_version_sc, STATE_OK); 386 protocol_version_sc = mp_set_subcheck_state(protocol_version_sc, STATE_OK);
387 xasprintf(&protocol_version_sc.output, "SSH server verison: %s (protocol version: %s)", ssh_server, ssh_proto); 387 xasprintf(&protocol_version_sc.output, "SSH server version: %s (protocol version: %s)", ssh_server, ssh_proto);
388 } 388 }
389 389
390 mp_add_subcheck_to_check(overall, protocol_version_sc); 390 mp_add_subcheck_to_check(overall, protocol_version_sc);