summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 31efea1)
raw | patch | inline | side by side (parent: 31efea1)
author | Ton Voon <tonvoon@macbook.local> | |
Fri, 20 Feb 2009 00:00:13 +0000 (00:00 +0000) | ||
committer | Ton Voon <tonvoon@macbook.local> | |
Fri, 20 Feb 2009 00:00:13 +0000 (00:00 +0000) |
index 95ef2ce10514094a84be9145168123ae17465037..31eb46a4d5aa93da85f39e07e25b93f8930e6c39 100755 (executable)
print " Checks the number of messages in the mail queue (supports multiple sendmail queues, qmail)\n";
print " Feedback/patches to support non-sendmail mailqueue welcome\n\n";
print "-w (--warning) = Min. number of messages in queue to generate warning\n";
- print "-c (--critical) = Min. number of messages in queu to generate critical alert ( w < c )\n";
+ print "-c (--critical) = Min. number of messages in queue to generate critical alert ( w < c )\n";
print "-W (--Warning) = Min. number of messages for same domain in queue to generate warning\n";
print "-C (--Critical) = Min. number of messages for same domain in queue to generate critical alert ( W < C )\n";
print "-t (--timeout) = Plugin timeout in seconds (default = $utils::TIMEOUT)\n";
diff --git a/plugins/check_dns.c b/plugins/check_dns.c
index bb206a05680ea4e5360902286f5ecc5e449cee65..873dcae084bb6a69447363d8e6d043036e71269f 100644 (file)
--- a/plugins/check_dns.c
+++ b/plugins/check_dns.c
printf (_("DNS CRITICAL - %s\n"),
!strcmp (msg, "") ? _(" Probably a non-existent host/domain") : msg);
else
- printf (_("DNS UNKNOW - %s\n"),
+ printf (_("DNS UNKNOWN - %s\n"),
!strcmp (msg, "") ? _(" Probably a non-existent host/domain") : msg);
return result;
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 620e1578097d1761d44e07937d1956d3809c0504..e140be01bf79f47dc86bf31ead3393dd39d9e44a 100644 (file)
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
url = malloc (strcspn (pos, "\r\n"));
if (url == NULL)
- die (STATE_UNKNOWN, _("HTTP UNKNOWN - Could not allocate url\n"));
+ die (STATE_UNKNOWN, _("HTTP UNKNOWN - Could not allocate URL\n"));
while (pos) {
sscanf (pos, "%1[Ll]%*1[Oo]%*1[Cc]%*1[Aa]%*1[Tt]%*1[Ii]%*1[Oo]%*1[Nn]:%n", xx, &i);
url = realloc (url, strcspn (pos, "\r\n") + 1);
if (url == NULL)
- die (STATE_UNKNOWN, _("HTTP UNKNOWN - could not allocate url\n"));
+ die (STATE_UNKNOWN, _("HTTP UNKNOWN - Could not allocate URL\n"));
/* URI_HTTP, URI_HOST, URI_PORT, URI_PATH */
if (sscanf (pos, HD1, type, addr, &i, url) == 4) {
printf (" %s\n", _("Connect via SSL. Port defaults to 443"));
printf (" %s\n", "-C, --certificate=INTEGER");
printf (" %s\n", _("Minimum number of days a certificate has to be valid. Port defaults to 443"));
- printf (" %s\n", _("(when this option is used the url is not checked.)\n"));
+ printf (" %s\n", _("(when this option is used the URL is not checked.)\n"));
#endif
printf (" %s\n", "-e, --expect=STRING");
diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c
index 7ef4509c0c2ffd39569bdf060c54d1ad61469dee..25432de12f9e35b6b8379e97f8150d3b74075eda 100644 (file)
--- a/plugins/check_ldap.c
+++ b/plugins/check_ldap.c
LDAP_SUCCESS) {
if (verbose)
ldap_perror(ld, "ldap_bind");
- printf (_("Could not bind to the ldap-server\n"));
+ printf (_("Could not bind to the LDAP server\n"));
return STATE_CRITICAL;
}
diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c
index a1a63769f2386c46a0fc7a232466a75a17e09e71..119ce0afa85681342086dff4c806f42010ca8705 100644 (file)
--- a/plugins/check_mysql.c
+++ b/plugins/check_mysql.c
printf (_(COPYRIGHT), copyright, email);
- printf ("%s\n", _("This program tests connections to a mysql server"));
+ printf ("%s\n", _("This program tests connections to a MySQL server"));
printf ("\n\n");
diff --git a/plugins/check_procs.c b/plugins/check_procs.c
index 4c72950167f9c56c2df56a57e847bdab452e00d0..937c0ad58d88a7e62d6ec789ee6823d45343d056 100644 (file)
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
printf (" %s\n", _("PROCS - number of processes (default)"));
printf (" %s\n", _("VSZ - virtual memory size"));
printf (" %s\n", _("RSS - resident set memory size"));
- printf (" %s\n", _("CPU - percentage cpu"));
+ printf (" %s\n", _("CPU - percentage CPU"));
/* only linux etime is support currently */
#if defined( __linux__ )
printf (" %s\n", _("ELAPSED - time elapsed in seconds"));
printf (" %s\n", "-p, --ppid=PPID");
printf (" %s\n", _("Only scan for children of the parent process ID indicated."));
printf (" %s\n", "-z, --vsz=VSZ");
- printf (" %s\n", _("Only scan for processes with vsz higher than indicated."));
+ printf (" %s\n", _("Only scan for processes with VSZ higher than indicated."));
printf (" %s\n", "-r, --rss=RSS");
- printf (" %s\n", _("Only scan for processes with rss higher than indicated."));
+ printf (" %s\n", _("Only scan for processes with RSS higher than indicated."));
printf (" %s\n", "-P, --pcpu=PCPU");
- printf (" %s\n", _("Only scan for processes with pcpu higher than indicated."));
+ printf (" %s\n", _("Only scan for processes with PCPU higher than indicated."));
printf (" %s\n", "-u, --user=USER");
printf (" %s\n", _("Only scan for processes with user name or ID indicated."));
printf (" %s\n", "-a, --argument-array=STRING");
printf (" %s\n", _("Warning alert if > 10 processes with command arguments containing"));
printf (" %s\n\n", _("'/usr/local/bin/perl' and owned by root"));
printf (" %s\n", "check_procs -w 50000 -c 100000 --metric=VSZ");
- printf (" %s\n\n", _("Alert if vsz of any processes over 50K or 100K"));
+ printf (" %s\n\n", _("Alert if VSZ of any processes over 50K or 100K"));
printf (" %s\n", "check_procs -w 10 -c 20 --metric=CPU");
- printf (" %s\n", _("Alert if cpu of any processes over 10%% or 20%%"));
+ printf (" %s\n", _("Alert if CPU of any processes over 10%% or 20%%"));
printf (_(UT_SUPPORT));
}
diff --git a/plugins/check_radius.c b/plugins/check_radius.c
index 98f6bf98e6b551f6e1c6a3e9b17957b0e9a7c886..57b7090d77d2ec7cd5e71b38c5725d0e069c5a37 100644 (file)
--- a/plugins/check_radius.c
+++ b/plugins/check_radius.c
printf ("Copyright (c) 1999 Robert August Vincent II\n");
printf (COPYRIGHT, copyright, email);
- printf("%s\n", _("Tests to see if a radius server is accepting connections."));
+ printf("%s\n", _("Tests to see if a RADIUS server is accepting connections."));
printf ("\n\n");
printf (_(UT_TIMEOUT), timeout_interval);
printf ("\n");
- printf ("%s\n", _("This plugin tests a radius server to see if it is accepting connections."));
+ printf ("%s\n", _("This plugin tests a RADIUS server to see if it is accepting connections."));
printf ("%s\n", _("The server to test must be specified in the invocation, as well as a user"));
printf ("%s\n", _("name and password. A configuration file may also be present. The format of"));
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 a19da90927fe6540f94461610ae33220368cc280..0982faf713d68b1d3d65209b9b4310c6eb47b25f 100644 (file)
--- a/plugins/check_snmp.c
+++ b/plugins/check_snmp.c
printf (COPYRIGHT, copyright, email);
- printf ("%s\n", _("Check status of remote machines and obtain sustem information via SNMP"));
+ printf ("%s\n", _("Check status of remote machines and obtain system information via SNMP"));
printf ("\n\n");
printf (" %s\n", "-o, --oid=OID(s)");
printf (" %s\n", _("Object identifier(s) or SNMP variables whose value you wish to query"));
printf (" %s\n", "-m, --miblist=STRING");
- printf (" %s\n", _("List of MIBS to be loaded (default = none if using numeric oids or 'ALL'"));
- printf (" %s\n", _("for symbolic oids.)"));
+ printf (" %s\n", _("List of MIBS to be loaded (default = none if using numeric OIDs or 'ALL'"));
+ printf (" %s\n", _("for symbolic OIDs.)"));
printf (" %s\n", "-d, --delimiter=STRING");
printf (_(" Delimiter to use when parsing returned data. Default is \"%s\""), DEFAULT_DELIMITER);
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 31659f18815257b814b0f3b11830c30fec013964..b094207e9202c29c20abdf963e1dd864761ebc70 100644 (file)
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
printf (" %s\n", "-q, --quit=STRING");
printf (" %s\n", _("String to send server to initiate a clean close of the connection"));
printf (" %s\n", "-r, --refuse=ok|warn|crit");
- printf (" %s\n", _("Accept tcp refusals with states ok, warn, crit (default: crit)"));
+ printf (" %s\n", _("Accept TCP refusals with states ok, warn, crit (default: crit)"));
printf (" %s\n", "-M, --mismatch=ok|warn|crit");
printf (" %s\n", _("Accept expected string mismatches with states ok, warn, crit (default: warn)"));
printf (" %s\n", "-j, --jail");
diff --git a/plugins/check_ups.c b/plugins/check_ups.c
index 7311ca23c188806484e0d796526c0ab8136e8f38..c6964d89a7cd19bf7de72ee5d1dc0334b15eafc7 100644 (file)
--- a/plugins/check_ups.c
+++ b/plugins/check_ups.c
if (len > logout_len && strcmp (ptr + len - logout_len, logout) == 0) len -= logout_len;
if (len > 0 && ptr[len-1] == '\n') ptr[len-1]=0;
if (strcmp (ptr, "ERR UNKNOWN-UPS") == 0) {
- printf (_("CRITICAL - no such ups '%s' on that host\n"), ups_name);
+ printf (_("CRITICAL - no such UPS '%s' on that host\n"), ups_name);
return ERROR;
}
validate_arguments (void)
{
if (! ups_name) {
- printf ("%s\n", _("Error : no ups indicated"));
+ printf ("%s\n", _("Error : no UPS indicated"));
return ERROR;
}
return OK;
printf (" %s\n", _("of that variable. If the remote host has multiple UPS that are being monitored"));
printf (" %s\n", _("you will have to use the --ups option to specify which UPS to check."));
printf ("\n");
- printf (" %s\n", _("This plugin requires that the UPSD daemon distributed with Russel Kroll's"));
+ printf (" %s\n", _("This plugin requires that the UPSD daemon distributed with Russell Kroll's"));
printf (" %s\n", _("Smart UPS Tools be installed on the remote host. If you do not have the"));
printf (" %s\n", _("package installed on your system, you can download it from"));
printf (" %s\n", _("http://www.networkupstools.org"));