summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_dns.c2
-rw-r--r--plugins/check_http.c6
-rw-r--r--plugins/check_ldap.c2
-rw-r--r--plugins/check_mysql.c2
-rw-r--r--plugins/check_procs.c12
-rw-r--r--plugins/check_radius.c4
-rw-r--r--plugins/check_snmp.c6
-rw-r--r--plugins/check_tcp.c2
-rw-r--r--plugins/check_ups.c6
9 files changed, 21 insertions, 21 deletions
diff --git a/plugins/check_dns.c b/plugins/check_dns.c
index bb206a05..873dcae0 100644
--- a/plugins/check_dns.c
+++ b/plugins/check_dns.c
@@ -251,7 +251,7 @@ main (int argc, char **argv)
251 printf (_("DNS CRITICAL - %s\n"), 251 printf (_("DNS CRITICAL - %s\n"),
252 !strcmp (msg, "") ? _(" Probably a non-existent host/domain") : msg); 252 !strcmp (msg, "") ? _(" Probably a non-existent host/domain") : msg);
253 else 253 else
254 printf (_("DNS UNKNOW - %s\n"), 254 printf (_("DNS UNKNOWN - %s\n"),
255 !strcmp (msg, "") ? _(" Probably a non-existent host/domain") : msg); 255 !strcmp (msg, "") ? _(" Probably a non-existent host/domain") : msg);
256 256
257 return result; 257 return result;
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 620e1578..e140be01 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -1103,7 +1103,7 @@ redir (char *pos, char *status_line)
1103 1103
1104 url = malloc (strcspn (pos, "\r\n")); 1104 url = malloc (strcspn (pos, "\r\n"));
1105 if (url == NULL) 1105 if (url == NULL)
1106 die (STATE_UNKNOWN, _("HTTP UNKNOWN - Could not allocate url\n")); 1106 die (STATE_UNKNOWN, _("HTTP UNKNOWN - Could not allocate URL\n"));
1107 1107
1108 while (pos) { 1108 while (pos) {
1109 sscanf (pos, "%1[Ll]%*1[Oo]%*1[Cc]%*1[Aa]%*1[Tt]%*1[Ii]%*1[Oo]%*1[Nn]:%n", xx, &i); 1109 sscanf (pos, "%1[Ll]%*1[Oo]%*1[Cc]%*1[Aa]%*1[Tt]%*1[Ii]%*1[Oo]%*1[Nn]:%n", xx, &i);
@@ -1134,7 +1134,7 @@ redir (char *pos, char *status_line)
1134 1134
1135 url = realloc (url, strcspn (pos, "\r\n") + 1); 1135 url = realloc (url, strcspn (pos, "\r\n") + 1);
1136 if (url == NULL) 1136 if (url == NULL)
1137 die (STATE_UNKNOWN, _("HTTP UNKNOWN - could not allocate url\n")); 1137 die (STATE_UNKNOWN, _("HTTP UNKNOWN - Could not allocate URL\n"));
1138 1138
1139 /* URI_HTTP, URI_HOST, URI_PORT, URI_PATH */ 1139 /* URI_HTTP, URI_HOST, URI_PORT, URI_PATH */
1140 if (sscanf (pos, HD1, type, addr, &i, url) == 4) { 1140 if (sscanf (pos, HD1, type, addr, &i, url) == 4) {
@@ -1301,7 +1301,7 @@ print_help (void)
1301 printf (" %s\n", _("Connect via SSL. Port defaults to 443")); 1301 printf (" %s\n", _("Connect via SSL. Port defaults to 443"));
1302 printf (" %s\n", "-C, --certificate=INTEGER"); 1302 printf (" %s\n", "-C, --certificate=INTEGER");
1303 printf (" %s\n", _("Minimum number of days a certificate has to be valid. Port defaults to 443")); 1303 printf (" %s\n", _("Minimum number of days a certificate has to be valid. Port defaults to 443"));
1304 printf (" %s\n", _("(when this option is used the url is not checked.)\n")); 1304 printf (" %s\n", _("(when this option is used the URL is not checked.)\n"));
1305#endif 1305#endif
1306 1306
1307 printf (" %s\n", "-e, --expect=STRING"); 1307 printf (" %s\n", "-e, --expect=STRING");
diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c
index 7ef4509c..25432de1 100644
--- a/plugins/check_ldap.c
+++ b/plugins/check_ldap.c
@@ -191,7 +191,7 @@ main (int argc, char *argv[])
191 LDAP_SUCCESS) { 191 LDAP_SUCCESS) {
192 if (verbose) 192 if (verbose)
193 ldap_perror(ld, "ldap_bind"); 193 ldap_perror(ld, "ldap_bind");
194 printf (_("Could not bind to the ldap-server\n")); 194 printf (_("Could not bind to the LDAP server\n"));
195 return STATE_CRITICAL; 195 return STATE_CRITICAL;
196 } 196 }
197 197
diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c
index a1a63769..119ce0af 100644
--- a/plugins/check_mysql.c
+++ b/plugins/check_mysql.c
@@ -377,7 +377,7 @@ print_help (void)
377 377
378 printf (_(COPYRIGHT), copyright, email); 378 printf (_(COPYRIGHT), copyright, email);
379 379
380 printf ("%s\n", _("This program tests connections to a mysql server")); 380 printf ("%s\n", _("This program tests connections to a MySQL server"));
381 381
382 printf ("\n\n"); 382 printf ("\n\n");
383 383
diff --git a/plugins/check_procs.c b/plugins/check_procs.c
index 4c729501..937c0ad5 100644
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
@@ -694,7 +694,7 @@ print_help (void)
694 printf (" %s\n", _("PROCS - number of processes (default)")); 694 printf (" %s\n", _("PROCS - number of processes (default)"));
695 printf (" %s\n", _("VSZ - virtual memory size")); 695 printf (" %s\n", _("VSZ - virtual memory size"));
696 printf (" %s\n", _("RSS - resident set memory size")); 696 printf (" %s\n", _("RSS - resident set memory size"));
697 printf (" %s\n", _("CPU - percentage cpu")); 697 printf (" %s\n", _("CPU - percentage CPU"));
698/* only linux etime is support currently */ 698/* only linux etime is support currently */
699#if defined( __linux__ ) 699#if defined( __linux__ )
700 printf (" %s\n", _("ELAPSED - time elapsed in seconds")); 700 printf (" %s\n", _("ELAPSED - time elapsed in seconds"));
@@ -713,11 +713,11 @@ print_help (void)
713 printf (" %s\n", "-p, --ppid=PPID"); 713 printf (" %s\n", "-p, --ppid=PPID");
714 printf (" %s\n", _("Only scan for children of the parent process ID indicated.")); 714 printf (" %s\n", _("Only scan for children of the parent process ID indicated."));
715 printf (" %s\n", "-z, --vsz=VSZ"); 715 printf (" %s\n", "-z, --vsz=VSZ");
716 printf (" %s\n", _("Only scan for processes with vsz higher than indicated.")); 716 printf (" %s\n", _("Only scan for processes with VSZ higher than indicated."));
717 printf (" %s\n", "-r, --rss=RSS"); 717 printf (" %s\n", "-r, --rss=RSS");
718 printf (" %s\n", _("Only scan for processes with rss higher than indicated.")); 718 printf (" %s\n", _("Only scan for processes with RSS higher than indicated."));
719 printf (" %s\n", "-P, --pcpu=PCPU"); 719 printf (" %s\n", "-P, --pcpu=PCPU");
720 printf (" %s\n", _("Only scan for processes with pcpu higher than indicated.")); 720 printf (" %s\n", _("Only scan for processes with PCPU higher than indicated."));
721 printf (" %s\n", "-u, --user=USER"); 721 printf (" %s\n", "-u, --user=USER");
722 printf (" %s\n", _("Only scan for processes with user name or ID indicated.")); 722 printf (" %s\n", _("Only scan for processes with user name or ID indicated."));
723 printf (" %s\n", "-a, --argument-array=STRING"); 723 printf (" %s\n", "-a, --argument-array=STRING");
@@ -753,9 +753,9 @@ be the total number of running processes\n\n"));
753 printf (" %s\n", _("Warning alert if > 10 processes with command arguments containing")); 753 printf (" %s\n", _("Warning alert if > 10 processes with command arguments containing"));
754 printf (" %s\n\n", _("'/usr/local/bin/perl' and owned by root")); 754 printf (" %s\n\n", _("'/usr/local/bin/perl' and owned by root"));
755 printf (" %s\n", "check_procs -w 50000 -c 100000 --metric=VSZ"); 755 printf (" %s\n", "check_procs -w 50000 -c 100000 --metric=VSZ");
756 printf (" %s\n\n", _("Alert if vsz of any processes over 50K or 100K")); 756 printf (" %s\n\n", _("Alert if VSZ of any processes over 50K or 100K"));
757 printf (" %s\n", "check_procs -w 10 -c 20 --metric=CPU"); 757 printf (" %s\n", "check_procs -w 10 -c 20 --metric=CPU");
758 printf (" %s\n", _("Alert if cpu of any processes over 10%% or 20%%")); 758 printf (" %s\n", _("Alert if CPU of any processes over 10%% or 20%%"));
759 759
760 printf (_(UT_SUPPORT)); 760 printf (_(UT_SUPPORT));
761} 761}
diff --git a/plugins/check_radius.c b/plugins/check_radius.c
index 98f6bf98..57b7090d 100644
--- a/plugins/check_radius.c
+++ b/plugins/check_radius.c
@@ -313,7 +313,7 @@ print_help (void)
313 printf ("Copyright (c) 1999 Robert August Vincent II\n"); 313 printf ("Copyright (c) 1999 Robert August Vincent II\n");
314 printf (COPYRIGHT, copyright, email); 314 printf (COPYRIGHT, copyright, email);
315 315
316 printf("%s\n", _("Tests to see if a radius server is accepting connections.")); 316 printf("%s\n", _("Tests to see if a RADIUS server is accepting connections."));
317 317
318 printf ("\n\n"); 318 printf ("\n\n");
319 319
@@ -340,7 +340,7 @@ print_help (void)
340 printf (_(UT_TIMEOUT), timeout_interval); 340 printf (_(UT_TIMEOUT), timeout_interval);
341 341
342 printf ("\n"); 342 printf ("\n");
343 printf ("%s\n", _("This plugin tests a radius server to see if it is accepting connections.")); 343 printf ("%s\n", _("This plugin tests a RADIUS server to see if it is accepting connections."));
344 printf ("%s\n", _("The server to test must be specified in the invocation, as well as a user")); 344 printf ("%s\n", _("The server to test must be specified in the invocation, as well as a user"));
345 printf ("%s\n", _("name and password. A configuration file may also be present. The format of")); 345 printf ("%s\n", _("name and password. A configuration file may also be present. The format of"));
346 printf ("%s\n", _("the configuration file is described in the radiusclient library sources.")); 346 printf ("%s\n", _("the configuration file is described in the radiusclient library sources."));
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c
index a19da909..0982faf7 100644
--- a/plugins/check_snmp.c
+++ b/plugins/check_snmp.c
@@ -935,7 +935,7 @@ print_help (void)
935 935
936 printf (COPYRIGHT, copyright, email); 936 printf (COPYRIGHT, copyright, email);
937 937
938 printf ("%s\n", _("Check status of remote machines and obtain sustem information via SNMP")); 938 printf ("%s\n", _("Check status of remote machines and obtain system information via SNMP"));
939 939
940 printf ("\n\n"); 940 printf ("\n\n");
941 941
@@ -973,8 +973,8 @@ print_help (void)
973 printf (" %s\n", "-o, --oid=OID(s)"); 973 printf (" %s\n", "-o, --oid=OID(s)");
974 printf (" %s\n", _("Object identifier(s) or SNMP variables whose value you wish to query")); 974 printf (" %s\n", _("Object identifier(s) or SNMP variables whose value you wish to query"));
975 printf (" %s\n", "-m, --miblist=STRING"); 975 printf (" %s\n", "-m, --miblist=STRING");
976 printf (" %s\n", _("List of MIBS to be loaded (default = none if using numeric oids or 'ALL'")); 976 printf (" %s\n", _("List of MIBS to be loaded (default = none if using numeric OIDs or 'ALL'"));
977 printf (" %s\n", _("for symbolic oids.)")); 977 printf (" %s\n", _("for symbolic OIDs.)"));
978 printf (" %s\n", "-d, --delimiter=STRING"); 978 printf (" %s\n", "-d, --delimiter=STRING");
979 printf (_(" Delimiter to use when parsing returned data. Default is \"%s\""), DEFAULT_DELIMITER); 979 printf (_(" Delimiter to use when parsing returned data. Default is \"%s\""), DEFAULT_DELIMITER);
980 printf (" %s\n", _("Any data on the right hand side of the delimiter is considered")); 980 printf (" %s\n", _("Any data on the right hand side of the delimiter is considered"));
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index 31659f18..b094207e 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -618,7 +618,7 @@ print_help (void)
618 printf (" %s\n", "-q, --quit=STRING"); 618 printf (" %s\n", "-q, --quit=STRING");
619 printf (" %s\n", _("String to send server to initiate a clean close of the connection")); 619 printf (" %s\n", _("String to send server to initiate a clean close of the connection"));
620 printf (" %s\n", "-r, --refuse=ok|warn|crit"); 620 printf (" %s\n", "-r, --refuse=ok|warn|crit");
621 printf (" %s\n", _("Accept tcp refusals with states ok, warn, crit (default: crit)")); 621 printf (" %s\n", _("Accept TCP refusals with states ok, warn, crit (default: crit)"));
622 printf (" %s\n", "-M, --mismatch=ok|warn|crit"); 622 printf (" %s\n", "-M, --mismatch=ok|warn|crit");
623 printf (" %s\n", _("Accept expected string mismatches with states ok, warn, crit (default: warn)")); 623 printf (" %s\n", _("Accept expected string mismatches with states ok, warn, crit (default: warn)"));
624 printf (" %s\n", "-j, --jail"); 624 printf (" %s\n", "-j, --jail");
diff --git a/plugins/check_ups.c b/plugins/check_ups.c
index 7311ca23..c6964d89 100644
--- a/plugins/check_ups.c
+++ b/plugins/check_ups.c
@@ -417,7 +417,7 @@ get_ups_variable (const char *varname, char *buf, size_t buflen)
417 if (len > logout_len && strcmp (ptr + len - logout_len, logout) == 0) len -= logout_len; 417 if (len > logout_len && strcmp (ptr + len - logout_len, logout) == 0) len -= logout_len;
418 if (len > 0 && ptr[len-1] == '\n') ptr[len-1]=0; 418 if (len > 0 && ptr[len-1] == '\n') ptr[len-1]=0;
419 if (strcmp (ptr, "ERR UNKNOWN-UPS") == 0) { 419 if (strcmp (ptr, "ERR UNKNOWN-UPS") == 0) {
420 printf (_("CRITICAL - no such ups '%s' on that host\n"), ups_name); 420 printf (_("CRITICAL - no such UPS '%s' on that host\n"), ups_name);
421 return ERROR; 421 return ERROR;
422 } 422 }
423 423
@@ -584,7 +584,7 @@ int
584validate_arguments (void) 584validate_arguments (void)
585{ 585{
586 if (! ups_name) { 586 if (! ups_name) {
587 printf ("%s\n", _("Error : no ups indicated")); 587 printf ("%s\n", _("Error : no UPS indicated"));
588 return ERROR; 588 return ERROR;
589 } 589 }
590 return OK; 590 return OK;
@@ -645,7 +645,7 @@ print_help (void)
645 printf (" %s\n", _("of that variable. If the remote host has multiple UPS that are being monitored")); 645 printf (" %s\n", _("of that variable. If the remote host has multiple UPS that are being monitored"));
646 printf (" %s\n", _("you will have to use the --ups option to specify which UPS to check.")); 646 printf (" %s\n", _("you will have to use the --ups option to specify which UPS to check."));
647 printf ("\n"); 647 printf ("\n");
648 printf (" %s\n", _("This plugin requires that the UPSD daemon distributed with Russel Kroll's")); 648 printf (" %s\n", _("This plugin requires that the UPSD daemon distributed with Russell Kroll's"));
649 printf (" %s\n", _("Smart UPS Tools be installed on the remote host. If you do not have the")); 649 printf (" %s\n", _("Smart UPS Tools be installed on the remote host. If you do not have the"));
650 printf (" %s\n", _("package installed on your system, you can download it from")); 650 printf (" %s\n", _("package installed on your system, you can download it from"));
651 printf (" %s\n", _("http://www.networkupstools.org")); 651 printf (" %s\n", _("http://www.networkupstools.org"));