aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_disk.c2
-rw-r--r--plugins/check_http.c2
-rw-r--r--plugins/check_ide_smart.c2
-rw-r--r--plugins/check_mrtg.c2
-rw-r--r--plugins/check_mrtgtraf.c2
-rw-r--r--plugins/check_overcr.c12
-rw-r--r--plugins/check_smtp.c6
-rw-r--r--plugins/check_tcp.c2
8 files changed, 15 insertions, 15 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index 99a7201e..3b9e36b1 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -754,7 +754,7 @@ print_help (void)
printf (" %s\n", _("Path or partition (may be repeated)"));
printf (" %s\n", "-x, --exclude_device=PATH <STRING>");
printf (" %s\n", _("Ignore device (only works if -p unspecified)"));
- printf (" %s\n", _("-X, --exclude-type=TYPE <STRING>"));
+ printf (" %s\n", "-X, --exclude-type=TYPE <STRING>");
printf (" %s\n", _("Ignore all filesystems of indicated type (may be repeated)"));
printf (" %s\n", "-m, --mountpoint");
printf (" %s\n", _("Display the mountpoint instead of the partition"));
diff --git a/plugins/check_http.c b/plugins/check_http.c
index d1f3998b..82f6ebde 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -1017,7 +1017,7 @@ check_http (void)
msg = strdup(_("pattern not found"));
else
msg = strdup(_("pattern found"));
- printf (_("%s - %s%s|%s %s\n"),
+ printf (("%s - %s%s|%s %s\n"),
_("CRITICAL"),
msg,
(display_html ? "</A>" : ""),
diff --git a/plugins/check_ide_smart.c b/plugins/check_ide_smart.c
index 234f23b7..e30d89cc 100644
--- a/plugins/check_ide_smart.c
+++ b/plugins/check_ide_smart.c
@@ -522,7 +522,7 @@ print_help (void)
printf (" %s\n", "-0, --auto-off");
printf (" %s\n", _("Turn off automatic offline tests"));
printf (" %s\n", "-n, --nagios");
- printf (" %s\n", _("Output suitable for Nagios\n"));
+ printf (" %s\n\n", _("Output suitable for Nagios"));
printf (_(UT_SUPPORT));
}
diff --git a/plugins/check_mrtg.c b/plugins/check_mrtg.c
index 4abe1d76..57cfee63 100644
--- a/plugins/check_mrtg.c
+++ b/plugins/check_mrtg.c
@@ -367,7 +367,7 @@ print_help (void)
printf (" %s\n", _(" commands with different values for the <variable> argument. Of course,"));
printf (" %s\n", _("you can always hack the code to make this plugin work for you..."));
printf (" %s\n", _("- MRTG stands for the Multi Router Traffic Grapher. It can be downloaded from"));
- printf (" %s\n", _("http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html"));
+ printf (" %s\n", "http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html");
printf (_(UT_SUPPORT));
}
diff --git a/plugins/check_mrtgtraf.c b/plugins/check_mrtgtraf.c
index e587e5cd..d86bf8aa 100644
--- a/plugins/check_mrtgtraf.c
+++ b/plugins/check_mrtgtraf.c
@@ -360,7 +360,7 @@ print_help (void)
printf ("%s\n", _("Notes:"));
printf (" %s\n", _("- MRTG stands for Multi Router Traffic Grapher. It can be downloaded from"));
- printf (" %s\n", _(" http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html"));
+ printf (" %s\n", " http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html");
printf (" %s\n", _("- While MRTG can monitor things other than traffic rates, this"));
printf (" %s\n", _(" plugin probably won't work with much else without modification."));
printf (" %s\n", _("- The calculated i/o rates are a little off from what MRTG actually"));
diff --git a/plugins/check_overcr.c b/plugins/check_overcr.c
index 25a7785a..5bcf931d 100644
--- a/plugins/check_overcr.c
+++ b/plugins/check_overcr.c
@@ -451,15 +451,15 @@ print_help (void)
printf ("\n");
printf ("%s\n", _("Notes:"));
- printf ("%s\n", _("For the available options, the critical threshold value should always be"));
+ printf ("%s\n", _("For the available options, the critical threshold value should always be"));
printf ("%s\n\n", _("higher than the warning threshold value, EXCEPT with the uptime variable"));
- printf ("%s\n", _("This plugin requres that Eric Molitors' Over-CR collector daemon be"));
- printf ("%s\n", _("running on the remote server. Over-CR can be downloaded from"));
- printf ("%s\n", _("http://www.molitor.org/overcr (This plugin was tested with version 0.99.53"));
- printf ("%s\n", _("of the Over-CR collector)"));
+ printf ("%s\n", _("This plugin requres that Eric Molitors' Over-CR collector daemon be"));
+ printf ("%s\n", _("running on the remote server."));
+ printf ("%s\n", " Over-CR can be downloaded from http://www.molitor.org/overcr");
+ printf ("%s\n", _("This plugin was tested with version 0.99.53 of the Over-CR collector"));
- printf (_(UT_SUPPORT));
+ printf (_(UT_SUPPORT));
}
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c
index 94b97c4f..a7ba45a1 100644
--- a/plugins/check_smtp.c
+++ b/plugins/check_smtp.c
@@ -297,14 +297,14 @@ main (int argc, char **argv)
* we resent EHLO via TLS.
*/
if (my_send(helocmd, strlen(helocmd)) <= 0) {
- printf(_("SMTP UNKNOWN - Cannot send EHLO command via TLS.\n"));
+ printf("%s\n", _("SMTP UNKNOWN - Cannot send EHLO command via TLS."));
my_close();
return STATE_UNKNOWN;
}
if (verbose)
printf(_("sent %s"), helocmd);
if ((n = my_recv(buffer, MAX_INPUT_BUFFER - 1)) <= 0) {
- printf(_("SMTP UNKNOWN - Cannot read EHLO response via TLS.\n"));
+ printf("%s\n", _("SMTP UNKNOWN - Cannot read EHLO response via TLS."));
my_close();
return STATE_UNKNOWN;
}
@@ -317,7 +317,7 @@ main (int argc, char **argv)
if ( check_cert ) {
result = np_net_ssl_check_cert(days_till_exp);
if(result != STATE_OK){
- printf (_("CRITICAL - Cannot retrieve server certificate.\n"));
+ printf ("%s\n", _("CRITICAL - Cannot retrieve server certificate."));
}
my_close();
return result;
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index 66bf4489..c8a23869 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -342,7 +342,7 @@ main (int argc, char **argv)
/* this is a bit stupid, because we don't want to print the
* response time (which can look ok to the user) if we didn't get
* the response we were looking for. if-else */
- printf(_("%s %s - "), SERVICE, state_text(result));
+ printf("%s %s - ", SERVICE, state_text(result));
if(match == -2 && len && !(flags & FLAG_HIDE_OUTPUT))
printf("Unexpected response from host/socket: %s", status);