summaryrefslogtreecommitdiffstats
path: root/plugins/check_by_ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_by_ssh.c')
-rw-r--r--plugins/check_by_ssh.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c
index 9b38506f..37874bf8 100644
--- a/plugins/check_by_ssh.c
+++ b/plugins/check_by_ssh.c
@@ -3,7 +3,7 @@
3* Nagios check_by_ssh plugin 3* Nagios check_by_ssh plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 2000-2007 Nagios Plugins Development Team 6* Copyright (c) 2000-2008 Nagios Plugins Development Team
7* 7*
8* Last Modified: $Date$ 8* Last Modified: $Date$
9* 9*
@@ -28,10 +28,10 @@
28* $Id$ 28* $Id$
29* 29*
30*****************************************************************************/ 30*****************************************************************************/
31 31
32const char *progname = "check_by_ssh"; 32const char *progname = "check_by_ssh";
33const char *revision = "$Revision$"; 33const char *revision = "$Revision$";
34const char *copyright = "2000-2007"; 34const char *copyright = "2000-2008";
35const char *email = "nagiosplug-devel@lists.sourceforge.net"; 35const char *email = "nagiosplug-devel@lists.sourceforge.net";
36 36
37#include "common.h" 37#include "common.h"
@@ -345,7 +345,7 @@ print_help (void)
345 printf (_("This plugin uses SSH to execute commands on a remote host")); 345 printf (_("This plugin uses SSH to execute commands on a remote host"));
346 346
347 printf ("\n\n"); 347 printf ("\n\n");
348 348
349 print_usage (); 349 print_usage ();
350 350
351 printf (_(UT_HELP_VRSN)); 351 printf (_(UT_HELP_VRSN));
@@ -382,6 +382,8 @@ print_help (void)
382 printf (" %s\n", _("Tell ssh to suppress warning and diagnostic messages [optional]")); 382 printf (" %s\n", _("Tell ssh to suppress warning and diagnostic messages [optional]"));
383 printf (_(UT_WARN_CRIT)); 383 printf (_(UT_WARN_CRIT));
384 printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT); 384 printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
385 printf (_(UT_VERBOSE));
386 printf("\n");
385 printf (" %s\n", _("The most common mode of use is to refer to a local identity file with")); 387 printf (" %s\n", _("The most common mode of use is to refer to a local identity file with"));
386 printf (" %s\n", _("the '-i' option. In this mode, the identity pair should have a null")); 388 printf (" %s\n", _("the '-i' option. In this mode, the identity pair should have a null"));
387 printf (" %s\n", _("passphrase and the public key should be listed in the authorized_keys")); 389 printf (" %s\n", _("passphrase and the public key should be listed in the authorized_keys"));
@@ -389,6 +391,7 @@ print_help (void)
389 printf (" %s\n", _("only one command on the remote server. If the remote SSH server tracks")); 391 printf (" %s\n", _("only one command on the remote server. If the remote SSH server tracks"));
390 printf (" %s\n", _("invocation arguments, the one remote program may be an agent that can")); 392 printf (" %s\n", _("invocation arguments, the one remote program may be an agent that can"));
391 printf (" %s\n", _("execute additional commands as proxy")); 393 printf (" %s\n", _("execute additional commands as proxy"));
394 printf("\n");
392 printf (" %s\n", _("To use passive mode, provide multiple '-C' options, and provide")); 395 printf (" %s\n", _("To use passive mode, provide multiple '-C' options, and provide"));
393 printf (" %s\n", _("all of -O, -s, and -n options (servicelist order must match '-C'options)")); 396 printf (" %s\n", _("all of -O, -s, and -n options (servicelist order must match '-C'options)"));
394 printf ("\n"); 397 printf ("\n");
@@ -398,8 +401,8 @@ print_help (void)
398 printf (" %s\n", "[1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c1;0; up 2 days"); 401 printf (" %s\n", "[1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c1;0; up 2 days");
399 printf (" %s\n", "[1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c2;0; up 2 days"); 402 printf (" %s\n", "[1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c2;0; up 2 days");
400 printf (" %s\n", "[1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c3;0; up 2 days"); 403 printf (" %s\n", "[1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c3;0; up 2 days");
401 printf (_(UT_VERBOSE)); 404
402 printf (_(UT_SUPPORT)); 405 printf(_(UT_SUPPORT));
403} 406}
404 407
405 408