summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_ssh.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c
index 9a1eaf1d..05150655 100644
--- a/plugins/check_ssh.c
+++ b/plugins/check_ssh.c
@@ -1,31 +1,31 @@
1/***************************************************************************** 1/*****************************************************************************
2* 2*
3* Monitoring check_ssh plugin 3* Monitoring check_ssh plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 2000-2007 Monitoring Plugins Development Team 6* Copyright (c) 2000-2007 Monitoring Plugins Development Team
7* 7*
8* Description: 8* Description:
9* 9*
10* This file contains the check_ssh plugin 10* This file contains the check_ssh plugin
11* 11*
12* Try to connect to an SSH server at specified server and port 12* Try to connect to an SSH server at specified server and port
13* 13*
14* 14*
15* This program is free software: you can redistribute it and/or modify 15* This program is free software: you can redistribute it and/or modify
16* it under the terms of the GNU General Public License as published by 16* it under the terms of the GNU General Public License as published by
17* the Free Software Foundation, either version 3 of the License, or 17* the Free Software Foundation, either version 3 of the License, or
18* (at your option) any later version. 18* (at your option) any later version.
19* 19*
20* This program is distributed in the hope that it will be useful, 20* This program is distributed in the hope that it will be useful,
21* but WITHOUT ANY WARRANTY; without even the implied warranty of 21* but WITHOUT ANY WARRANTY; without even the implied warranty of
22* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23* GNU General Public License for more details. 23* GNU General Public License for more details.
24* 24*
25* You should have received a copy of the GNU General Public License 25* You should have received a copy of the GNU General Public License
26* along with this program. If not, see <http://www.gnu.org/licenses/>. 26* along with this program. If not, see <http://www.gnu.org/licenses/>.
27* 27*
28* 28*
29*****************************************************************************/ 29*****************************************************************************/
30 30
31const char *progname = "check_ssh"; 31const char *progname = "check_ssh";
@@ -365,7 +365,7 @@ print_help (void)
365 365
366 printf ("%s\n", _("Try to connect to an SSH server at specified server and port")); 366 printf ("%s\n", _("Try to connect to an SSH server at specified server and port"));
367 367
368 printf ("\n\n"); 368 printf ("\n\n");
369 369
370 print_usage (); 370 print_usage ();
371 371
@@ -379,10 +379,10 @@ print_help (void)
379 printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); 379 printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
380 380
381 printf (" %s\n", "-r, --remote-version=STRING"); 381 printf (" %s\n", "-r, --remote-version=STRING");
382 printf (" %s\n", _("Alert if string doesn't match expected server version (ex: OpenSSH_3.9p1)")); 382 printf (" %s\n", _("Alert if string doesn't match expected server version (ex: OpenSSH_3.9p1)"));
383 383
384 printf (" %s\n", "-P, --remote-protocol=STRING"); 384 printf (" %s\n", "-P, --remote-protocol=STRING");
385 printf (" %s\n", _("Alert if protocol doesn't match expected protocol version (ex: 2.0)")); 385 printf (" %s\n", _("Alert if protocol doesn't match expected protocol version (ex: 2.0)"));
386 386
387 printf (UT_VERBOSE); 387 printf (UT_VERBOSE);
388 388
@@ -394,7 +394,7 @@ print_help (void)
394void 394void
395print_usage (void) 395print_usage (void)
396{ 396{
397 printf ("%s\n", _("Usage:")); 397 printf ("%s\n", _("Usage:"));
398 printf ("%s [-4|-6] [-t <timeout>] [-r <remote version>] [-p <port>] <host>\n", progname); 398 printf ("%s [-4|-6] [-t <timeout>] [-r <remote version>] [-p <port>] <host>\n", progname);
399} 399}
400 400