summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9d70452)
raw | patch | inline | side by side (parent: 9d70452)
author | Benoit Mortier <opensides@users.sourceforge.net> | |
Fri, 3 Dec 2004 09:19:18 +0000 (09:19 +0000) | ||
committer | Benoit Mortier <opensides@users.sourceforge.net> | |
Fri, 3 Dec 2004 09:19:18 +0000 (09:19 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@988 f882894a-f735-0410-b71e-b25c423dba1c
diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c
index d5bd3de4e8c9794f508cbf57f2ca981213716a48..d9fe26e5298b394f1a82fba99a919c0028067e49 100644 (file)
--- a/plugins/check_by_ssh.c
+++ b/plugins/check_by_ssh.c
/* Set signal handling and alarm timeout */
if (signal (SIGALRM, popen_timeout_alarm_handler) == SIG_ERR) {
- usage4 (_(" Cannot catch SIGALRM"));
+ usage4 (_("Cannot catch SIGALRM"));
}
alarm (timeout_interval);
diff --git a/plugins/check_dig.c b/plugins/check_dig.c
index 211c16c0cd3986bd09fa003c2ea8498a0f8b31dc..32bf2c48dc1cf13da47dbcadd87ccb70337e17d7 100644 (file)
--- a/plugins/check_dig.c
+++ b/plugins/check_dig.c
printf ("Copyright (c) 2000 Karl DeBisschop <kdebisschop@users.sourceforge.net>\n");
printf (COPYRIGHT, copyright, email);
- printf (_("Test the DNS service on the specified host using dig\n\n"));
+ printf (_("Test the DNS service on the specified host using dig\n"));
print_usage ();
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 93bff45310706fd2783a38ba367a8bd791391145..f6cf5073cf727d9d4a171a502a509d75eb7e877f 100644 (file)
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
break;
case 'p': /* Server port */
if (!is_intnonneg (optarg))
- usage2 (_("invalid port number"), optarg);
+ usage2 (_("Invalid port number"), optarg);
else {
server_port = atoi (optarg);
specify_port = TRUE;
case 'l': /* linespan */
case 'r': /* linespan */
case 'R': /* linespan */
- usage (_("check_http: call for regex which was not a compiled option\n"));
+ usage4 (_("Call for regex which was not a compiled option"));
break;
#else
case 'l': /* linespan */
#ifdef USE_IPV6
address_family = AF_INET6;
#else
- usage (_("IPv6 support not available\n"));
+ usage4 (_("IPv6 support not available"));
#endif
break;
case 'v': /* verbose */
if (server_address == NULL) {
if (host_name == NULL)
- usage (_("check_http: you must specify a server address or host name\n"));
+ usage4 (_("You must specify a server address or host name"));
else
server_address = strdup (host_name);
}
addr = malloc (MAX_IPV4_HOSTLENGTH + 1);
if (addr == NULL)
- die (STATE_UNKNOWN, _("could not allocate addr\n"));
+ die (STATE_UNKNOWN, _("Could not allocate addr\n"));
url = malloc (strcspn (pos, "\r\n"));
if (url == NULL)
- die (STATE_UNKNOWN, _("could not allocate url\n"));
+ die (STATE_UNKNOWN, _("Could not allocate url\n"));
while (pos) {
diff --git a/plugins/check_nwstat.c b/plugins/check_nwstat.c
index 41b7c870359ca0f8c87d20d0981559b1b0303ed9..9c89ef9ec6b8db09f7b9c3f10ca30dfca914a685 100644 (file)
--- a/plugins/check_nwstat.c
+++ b/plugins/check_nwstat.c
result=STATE_CRITICAL;
else if (check_warning_value==TRUE && dirty_cache_buffers <= warning_value)
result=STATE_WARNING;
- asprintf (&output_message,_("dirty cache buffers = %lu%% of the total"),dirty_cache_buffers);
+ asprintf (&output_message,_("Dirty cache buffers = %lu%% of the total"),dirty_cache_buffers);
/* check % total cache buffers as a percentage of the original*/
} else if (vars_to_check==TCB) {
result=STATE_CRITICAL;
else if (check_warning_value==TRUE && total_cache_buffers <= warning_value)
result=STATE_WARNING;
- asprintf (&output_message,_("total cache buffers = %lu%% of the original"),total_cache_buffers);
+ asprintf (&output_message,_("Total cache buffers = %lu%% of the original"),total_cache_buffers);
} else if (vars_to_check==DSVER) {
asprintf (&send_buffer,"S13\r\n");
diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c
index a8e84e237744648b9d50f62bafcb824da93ad827..826a105706f1a8d252502cb44acef098a201f099 100644 (file)
--- a/plugins/check_pgsql.c
+++ b/plugins/check_pgsql.c
break;
case 'l': /* login name */
if (!is_pg_logname (optarg))
- usage2 (_("user name is not valid"), optarg);
+ usage2 (_("User name is not valid"), optarg);
else
pguser = optarg;
break;
diff --git a/plugins/check_ping.c b/plugins/check_ping.c
index e3f5398bc66ca99887f9d219bb31de6baef970bb..132453d26ed64e2b778324a7387592b883aff51a 100644 (file)
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
warn_text = strdup (_(WARN_DUPLICATES));
else if (! strstr (warn_text, _(WARN_DUPLICATES)) &&
asprintf (&warn_text, "%s %s", warn_text, _(WARN_DUPLICATES)) == -1)
- die (STATE_UNKNOWN, _("unable to realloc warn_text"));
+ die (STATE_UNKNOWN, _("Unable to realloc warn_text"));
return (STATE_WARNING);
}
diff --git a/plugins/check_udp.c b/plugins/check_udp.c
index 0cb732f9932a4d0a86bfda1ab3ff40698d47d271..5adf23c414c6655dbaa9de5e58c6b285e050b7fe 100644 (file)
--- a/plugins/check_udp.c
+++ b/plugins/check_udp.c
}
if (server_address == NULL)
- usage (_("Host name was not supplied\n"));
+ usage4 (_("Hostname was not supplied"));
if (server_send == NULL)
server_send = strdup("");
diff --git a/po/.cvsignore b/po/.cvsignore
index 4183dde5c5d5c34c0a861b4e45ffd9bf5126867e..68b874dfddef6a45fb437bc61382a737f4dc4652 100644 (file)
--- a/po/.cvsignore
+++ b/po/.cvsignore
en@quot.header
fr.gmo
insert-header.sin
-nagios-plugins.pot
quot.sed
remove-potcdate.sin