diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2004-11-23 23:53:17 (GMT) |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2004-11-23 23:53:17 (GMT) |
commit | 589d4664919638bedd6e2e1710c323887d19584a (patch) | |
tree | 50514688170db6103000e94694111282e848cb6e /plugins/check_by_ssh.c | |
parent | cc0f1249e662304282fb10c7d8538e4ab881b57e (diff) | |
download | monitoring-plugins-589d4664919638bedd6e2e1710c323887d19584a.tar.gz |
Standardising translation texts
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@929 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_by_ssh.c')
-rw-r--r-- | plugins/check_by_ssh.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c index bbed954..49794cc 100644 --- a/plugins/check_by_ssh.c +++ b/plugins/check_by_ssh.c | |||
@@ -86,7 +86,7 @@ main (int argc, char **argv) | |||
86 | child_process = spopen (comm); | 86 | child_process = spopen (comm); |
87 | 87 | ||
88 | if (child_process == NULL) { | 88 | if (child_process == NULL) { |
89 | printf (_("Unable to open pipe: %s"), comm); | 89 | printf (_("Could not open pipe: %s\n"), comm); |
90 | return STATE_UNKNOWN; | 90 | return STATE_UNKNOWN; |
91 | } | 91 | } |
92 | 92 | ||
@@ -145,7 +145,7 @@ main (int argc, char **argv) | |||
145 | eol[0] = 0; | 145 | eol[0] = 0; |
146 | if (service[commands] && status_text | 146 | if (service[commands] && status_text |
147 | && sscanf (status_text, "STATUS CODE: %d", &cresult) == 1) { | 147 | && sscanf (status_text, "STATUS CODE: %d", &cresult) == 1) { |
148 | fprintf (fp, _("[%d] PROCESS_SERVICE_CHECK_RESULT;%s;%s;%d;%s\n"), | 148 | fprintf (fp, "[%d] PROCESS_SERVICE_CHECK_RESULT;%s;%s;%d;%s\n", |
149 | (int) local_time, host_shortname, service[commands++], cresult, | 149 | (int) local_time, host_shortname, service[commands++], cresult, |
150 | output); | 150 | output); |
151 | } | 151 | } |
@@ -232,13 +232,13 @@ process_arguments (int argc, char **argv) | |||
232 | break; | 232 | break; |
233 | case 't': /* timeout period */ | 233 | case 't': /* timeout period */ |
234 | if (!is_integer (optarg)) | 234 | if (!is_integer (optarg)) |
235 | usage2 (_("timeout interval must be an integer"), optarg); | 235 | usage2 (_("Timeout interval must be a positive integer"), optarg); |
236 | else | 236 | else |
237 | timeout_interval = atoi (optarg); | 237 | timeout_interval = atoi (optarg); |
238 | break; | 238 | break; |
239 | case 'H': /* host */ | 239 | case 'H': /* host */ |
240 | if (!is_host (optarg)) | 240 | if (!is_host (optarg)) |
241 | usage2 (_("invalid host name"), optarg); | 241 | usage2 (_("Invalid host name"), optarg); |
242 | hostname = optarg; | 242 | hostname = optarg; |
243 | break; | 243 | break; |
244 | case 'p': /* port number */ | 244 | case 'p': /* port number */ |