summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2004-04-02 19:37:03 (GMT)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2004-04-02 19:37:03 (GMT)
commit72d0789bb93484f3a2c5c7e58ee1c97f71431c2e (patch)
tree96f72f0b63c9f50b919b4eb958384e88fb4bc805
parentca2a936bc9be4c8f8fbacbad3d637e9af46722f4 (diff)
downloadmonitoring-plugins-72d0789bb93484f3a2c5c7e58ee1c97f71431c2e.tar.gz
add example invocation to help
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@863 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--plugins/check_by_ssh.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c
index 0bce902..bbed954 100644
--- a/plugins/check_by_ssh.c
+++ b/plugins/check_by_ssh.c
@@ -404,6 +404,14 @@ To use passive mode, provide multiple '-C' options, and provide\n\
404all of -O, -s, and -n options (servicelist order must match '-C'\n\ 404all of -O, -s, and -n options (servicelist order must match '-C'\n\
405options)\n")); 405options)\n"));
406 406
407 printf (_("\n\
408$ check_by_ssh -H localhost -n lh -s c1:c2:c3 \\\n\
409 -C uptime -C uptime -C uptime -O /tmp/foo\n\
410$ cat /tmp/foo\n\
411[1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c1;0; up 2 days...\n\
412[1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c2;0; up 2 days...\n\
413[1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c3;0; up 2 days...\n"));
414
407 printf (_(UT_SUPPORT)); 415 printf (_(UT_SUPPORT));
408} 416}
409 417