diff options
| author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-30 00:03:24 +0200 |
|---|---|---|
| committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-30 00:03:24 +0200 |
| commit | 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 (patch) | |
| tree | 1c2b6b21704a294940f87c7892676998d8371707 /web/attachments/229809-c | |
| download | site-0b6423f9c99d9edf8c96fefd0f6c453859395aa1.tar.gz | |
Import Nagios Plugins site
Import the Nagios Plugins web site, Cronjobs, infrastructure scripts,
and configuration files.
Diffstat (limited to 'web/attachments/229809-c')
| -rw-r--r-- | web/attachments/229809-c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/web/attachments/229809-c b/web/attachments/229809-c new file mode 100644 index 0000000..5f311fc --- /dev/null +++ b/web/attachments/229809-c | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | *** check_by_ssh.c 18 Apr 2007 21:31:29 +0200 1.43 | ||
| 2 | --- check_by_ssh.c 19 May 2007 17:15:55 +0200 | ||
| 3 | *************** | ||
| 4 | *** 393,398 **** | ||
| 5 | --- 393,406 ---- | ||
| 6 | printf (" %s\n", _("To use passive mode, provide multiple '-C' options, and provide")); | ||
| 7 | printf (" %s\n", _("all of -O, -s, and -n options (servicelist order must match '-C'options)")); | ||
| 8 | printf ("\n"); | ||
| 9 | + printf (" %s\n", _("The -C command is not evaluated by a shell, it is parsed by a custom algorithm.")); | ||
| 10 | + printf (" %s\n", _("Double quotes are forbiden. ")); | ||
| 11 | + printf (" %s\n", _("Single quotes are allowed if not surrounded by spaces but")); | ||
| 12 | + printf (" %s\n", _("will not have the expected result because they are parsed")); | ||
| 13 | + printf (" %s\n", _("in a way that was not designed specificaly for ssh invocation.")); | ||
| 14 | + printf (" %s\n", _("Backslash can be used as in the following example:")); | ||
| 15 | + printf (" %s\n", _("... -C 'check_mysql_query -q select\ count\(serial\)\ from\ counter -u nagios -d pokernetwork -H localhost -c 0' ... ")); | ||
| 16 | + printf ("\n"); | ||
| 17 | printf ("%s\n", _("Examples:")); | ||
| 18 | printf (" %s\n", "$ check_by_ssh -H localhost -n lh -s c1:c2:c3 -C uptime -C uptime -C uptime -O /tmp/foo"); | ||
| 19 | printf (" %s\n", "$ cat /tmp/foo"); | ||
