mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-23 15:17:35 -04:00
add example invocation to help
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@863 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
ca2a936bc9
commit
72d0789bb9
1 changed files with 8 additions and 0 deletions
|
|
@ -404,6 +404,14 @@ To use passive mode, provide multiple '-C' options, and provide\n\
|
|||
all of -O, -s, and -n options (servicelist order must match '-C'\n\
|
||||
options)\n"));
|
||||
|
||||
printf (_("\n\
|
||||
$ check_by_ssh -H localhost -n lh -s c1:c2:c3 \\\n\
|
||||
-C uptime -C uptime -C uptime -O /tmp/foo\n\
|
||||
$ cat /tmp/foo\n\
|
||||
[1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c1;0; up 2 days...\n\
|
||||
[1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c2;0; up 2 days...\n\
|
||||
[1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c3;0; up 2 days...\n"));
|
||||
|
||||
printf (_(UT_SUPPORT));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue