From 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 30 Sep 2013 00:03:24 +0200 Subject: Import Nagios Plugins site Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files. --- web/attachments/229809-c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 web/attachments/229809-c (limited to 'web/attachments/229809-c') 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 @@ +*** check_by_ssh.c 18 Apr 2007 21:31:29 +0200 1.43 +--- check_by_ssh.c 19 May 2007 17:15:55 +0200 +*************** +*** 393,398 **** +--- 393,406 ---- + printf (" %s\n", _("To use passive mode, provide multiple '-C' options, and provide")); + printf (" %s\n", _("all of -O, -s, and -n options (servicelist order must match '-C'options)")); + printf ("\n"); ++ printf (" %s\n", _("The -C command is not evaluated by a shell, it is parsed by a custom algorithm.")); ++ printf (" %s\n", _("Double quotes are forbiden. ")); ++ printf (" %s\n", _("Single quotes are allowed if not surrounded by spaces but")); ++ printf (" %s\n", _("will not have the expected result because they are parsed")); ++ printf (" %s\n", _("in a way that was not designed specificaly for ssh invocation.")); ++ printf (" %s\n", _("Backslash can be used as in the following example:")); ++ printf (" %s\n", _("... -C 'check_mysql_query -q select\ count\(serial\)\ from\ counter -u nagios -d pokernetwork -H localhost -c 0' ... ")); ++ 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", "$ cat /tmp/foo"); -- cgit v1.2.3-74-g34f1