Module: monitoring-plugins
Branch: master
Commit: c3d931fa1acc9ad61328f873cf0206c765d93ac6
Author: Lorenz Kästle <[email protected]>
Date: Sun Nov 16 15:27:58 2025 +0100
URL:
https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=c3d931fa
check_by_ssh: some formatting
---
plugins/check_by_ssh.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c
index ebe54b80..df8907d9 100644
--- a/plugins/check_by_ssh.c
+++ b/plugins/check_by_ssh.c
@@ -599,9 +599,8 @@ void print_help(void) {
printf(" %s\n", _("all of -O, -s, and -n options (servicelist order
must match '-C'options)"));
printf("\n");
printf("%s\n", _("Examples:"));
- printf(
- " %s\n",
- "$ check_by_ssh -H localhost -n lh -s c1:c2:c3 -C uptime -C
uptime -C uptime -O /tmp/foo");
+ printf(" %s\n", "$ check_by_ssh -H localhost -n lh -s c1:c2:c3 -C
uptime -C uptime -C "
+ "uptime -O /tmp/foo");
printf(" %s\n", "$ cat /tmp/foo");
printf(" %s\n", "[1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c1;0;
up 2 days");
printf(" %s\n", "[1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c2;0;
up 2 days");