diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c
index bbed9541c39b2b5dbd0c21b84874bb9ab52e59cd..49794cc7c0552eeba1f565bee60dbffa7720cef9 100644 (file)
--- a/plugins/check_by_ssh.c
+++ b/plugins/check_by_ssh.c
child_process = spopen (comm);
if (child_process == NULL) {
- printf (_("Unable to open pipe: %s"), comm);
+ printf (_("Could not open pipe: %s\n"), comm);
return STATE_UNKNOWN;
}
eol[0] = 0;
if (service[commands] && status_text
&& sscanf (status_text, "STATUS CODE: %d", &cresult) == 1) {
- fprintf (fp, _("[%d] PROCESS_SERVICE_CHECK_RESULT;%s;%s;%d;%s\n"),
+ fprintf (fp, "[%d] PROCESS_SERVICE_CHECK_RESULT;%s;%s;%d;%s\n",
(int) local_time, host_shortname, service[commands++], cresult,
output);
}
break;
case 't': /* timeout period */
if (!is_integer (optarg))
- usage2 (_("timeout interval must be an integer"), optarg);
+ usage2 (_("Timeout interval must be a positive integer"), optarg);
else
timeout_interval = atoi (optarg);
break;
case 'H': /* host */
if (!is_host (optarg))
- usage2 (_("invalid host name"), optarg);
+ usage2 (_("Invalid host name"), optarg);
hostname = optarg;
break;
case 'p': /* port number */