summaryrefslogtreecommitdiffstats
path: root/plugins/check_ssh.c
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2004-11-24 00:46:40 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2004-11-24 00:46:40 (GMT)
commit0c1c9f51e2c33db04918d2aa322fd1f9a688979b (patch)
treec7956483bce0deb4b73ca3a6b9d0b7f2e97620db /plugins/check_ssh.c
parent589d4664919638bedd6e2e1710c323887d19584a (diff)
downloadmonitoring-plugins-0c1c9f51e2c33db04918d2aa322fd1f9a688979b.tar.gz
Making messages more consistent
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@930 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_ssh.c')
-rw-r--r--plugins/check_ssh.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c
index 79e1701..6e0b0f1 100644
--- a/plugins/check_ssh.c
+++ b/plugins/check_ssh.c
@@ -114,7 +114,7 @@ process_arguments (int argc, char **argv)
114 break; 114 break;
115 case 't': /* timeout period */ 115 case 't': /* timeout period */
116 if (!is_integer (optarg)) 116 if (!is_integer (optarg))
117 usage (_("Timeout Interval must be an integer!\n\n")); 117 usage2 (_("Timeout interval must be a positive integer"), optarg);
118 else 118 else
119 socket_timeout = atoi (optarg); 119 socket_timeout = atoi (optarg);
120 break; 120 break;
@@ -130,7 +130,7 @@ process_arguments (int argc, char **argv)
130 break; 130 break;
131 case 'H': /* host */ 131 case 'H': /* host */
132 if (is_host (optarg) == FALSE) 132 if (is_host (optarg) == FALSE)
133 usage ("Invalid hostname/address\n"); 133 usage2 (_("Invalid host name/address"), optarg);
134 server_name = optarg; 134 server_name = optarg;
135 break; 135 break;
136 case 'p': /* port */ 136 case 'p': /* port */
@@ -233,8 +233,8 @@ print_help (void)
233 233
234 print_revision (progname, revision); 234 print_revision (progname, revision);
235 235
236 printf (_("Copyright (c) 1999 Remi Paulmier <remi@sinfomic.fr>\n")); 236 printf ("Copyright (c) 1999 Remi Paulmier <remi@sinfomic.fr>\n");
237 printf (_(COPYRIGHT), copyright, email); 237 printf (COPYRIGHT, copyright, email);
238 238
239 printf (_("Try to connect to SSH server at specified server and port\n\n")); 239 printf (_("Try to connect to SSH server at specified server and port\n\n"));
240 240