summaryrefslogtreecommitdiffstats
path: root/plugins/check_by_ssh.c
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-11-16 15:27:58 +0100
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-11-16 15:27:58 +0100
commitc3d931fa1acc9ad61328f873cf0206c765d93ac6 (patch)
tree98760667a815834a369456aa83689e4d16f0606b /plugins/check_by_ssh.c
parent62242ddcf5caa09eee79c15a94a5d861b9be95c8 (diff)
downloadmonitoring-plugins-c3d931fa1acc9ad61328f873cf0206c765d93ac6.tar.gz
check_by_ssh: some formatting
Diffstat (limited to 'plugins/check_by_ssh.c')
-rw-r--r--plugins/check_by_ssh.c5
1 files 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) {
599 printf(" %s\n", _("all of -O, -s, and -n options (servicelist order must match '-C'options)")); 599 printf(" %s\n", _("all of -O, -s, and -n options (servicelist order must match '-C'options)"));
600 printf("\n"); 600 printf("\n");
601 printf("%s\n", _("Examples:")); 601 printf("%s\n", _("Examples:"));
602 printf( 602 printf(" %s\n", "$ check_by_ssh -H localhost -n lh -s c1:c2:c3 -C uptime -C uptime -C "
603 " %s\n", 603 "uptime -O /tmp/foo");
604 "$ check_by_ssh -H localhost -n lh -s c1:c2:c3 -C uptime -C uptime -C uptime -O /tmp/foo");
605 printf(" %s\n", "$ cat /tmp/foo"); 604 printf(" %s\n", "$ cat /tmp/foo");
606 printf(" %s\n", "[1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c1;0; up 2 days"); 605 printf(" %s\n", "[1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c1;0; up 2 days");
607 printf(" %s\n", "[1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c2;0; up 2 days"); 606 printf(" %s\n", "[1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c2;0; up 2 days");