diff options
| author | Jeremy T. Bouse <undrgrid@users.sourceforge.net> | 2003-08-09 06:51:29 +0000 |
|---|---|---|
| committer | Jeremy T. Bouse <undrgrid@users.sourceforge.net> | 2003-08-09 06:51:29 +0000 |
| commit | 4784cac1f017a67978c2f3f2af75b161d1ef33c0 (patch) | |
| tree | 3274e9d5348fd16d6b89ec42aa995ae1c5ee8d0f | |
| parent | a228492c4bea15a3e6e7bdbfd6631611c97fe92c (diff) | |
| download | monitoring-plugins-4784cac1f017a67978c2f3f2af75b161d1ef33c0.tar.gz | |
Code clean-up
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@673 f882894a-f735-0410-b71e-b25c423dba1c
| -rw-r--r-- | plugins/common.h | 8 | ||||
| -rw-r--r-- | po/de.po | 94 | ||||
| -rw-r--r-- | po/fr.po | 159 |
3 files changed, 106 insertions, 155 deletions
diff --git a/plugins/common.h b/plugins/common.h index 91b454db..e55b0bbd 100644 --- a/plugins/common.h +++ b/plugins/common.h | |||
| @@ -80,7 +80,7 @@ | |||
| 80 | 80 | ||
| 81 | #include <ctype.h> | 81 | #include <ctype.h> |
| 82 | 82 | ||
| 83 | #if HAVE_LWRES_NETDB_H | 83 | #ifdef HAVE_LWRES_NETDB_H |
| 84 | #include <lwres/netdb.h> | 84 | #include <lwres/netdb.h> |
| 85 | #else | 85 | #else |
| 86 | # if !HAVE_GETADDRINFO | 86 | # if !HAVE_GETADDRINFO |
| @@ -90,6 +90,10 @@ | |||
| 90 | # endif | 90 | # endif |
| 91 | #endif | 91 | #endif |
| 92 | 92 | ||
| 93 | #ifdef HAVE_LOCALE_H | ||
| 94 | #include <locale.h> | ||
| 95 | #endif | ||
| 96 | |||
| 93 | /* | 97 | /* |
| 94 | * | 98 | * |
| 95 | * Missing Functions | 99 | * Missing Functions |
| @@ -156,7 +160,7 @@ enum { | |||
| 156 | * | 160 | * |
| 157 | */ | 161 | */ |
| 158 | 162 | ||
| 159 | #if ENABLE_NLS | 163 | #ifdef ENABLE_NLS |
| 160 | # include "gettext.h" | 164 | # include "gettext.h" |
| 161 | # define _(String) gettext (String) | 165 | # define _(String) gettext (String) |
| 162 | # define S_(String) gettext (String) | 166 | # define S_(String) gettext (String) |
| @@ -7,7 +7,8 @@ | |||
| 7 | msgid "" | 7 | msgid "" |
| 8 | msgstr "" | 8 | msgstr "" |
| 9 | "Project-Id-Version: nagios-plugins 1.3.99\n" | 9 | "Project-Id-Version: nagios-plugins 1.3.99\n" |
| 10 | "POT-Creation-Date: 2003-07-26 01:27-0400\n" | 10 | "Report-Msgid-Bugs-To: \n" |
| 11 | "POT-Creation-Date: 2003-08-08 21:40-0700\n" | ||
| 11 | "PO-Revision-Date: 2003-07-20 22:24-0400\n" | 12 | "PO-Revision-Date: 2003-07-20 22:24-0400\n" |
| 12 | "Last-Translator: Michael Wirtgen <Michael.Wirtgen@miwi-dv.com>\n" | 13 | "Last-Translator: Michael Wirtgen <Michael.Wirtgen@miwi-dv.com>\n" |
| 13 | "Language-Team: de <LL@li.org>\n" | 14 | "Language-Team: de <LL@li.org>\n" |
| @@ -19,42 +20,19 @@ msgstr "" | |||
| 19 | #, c-format | 20 | #, c-format |
| 20 | msgid "" | 21 | msgid "" |
| 21 | "Usage: %s -H host -p port [-w <warning time>] [-c <critical time>]\n" | 22 | "Usage: %s -H host -p port [-w <warning time>] [-c <critical time>]\n" |
| 22 | "\t[-s <send string>] [-e <expect string>] [-q <quit string>]\n" | 23 | " [-s <send string>] [-e <expect string>] [-q <quit string>]\n" |
| 23 | "\t[-m <maximum bytes>] [-d <delay>]\t[-t <timeout seconds>]\n" | 24 | " [-m <maximum bytes>] [-d <delay>] [-t <timeout seconds>]\n" |
| 24 | "\t[-r <refuse state>] [-v] [-4|-6]\n" | 25 | " [-r <refuse state>] [-v] [-4|-6]\n" |
| 25 | msgstr "" | 26 | msgstr "" |
| 26 | 27 | ||
| 27 | #: plugins/check_tcp.c:113 | 28 | #: plugins/check_tcp.c:114 |
| 28 | #, c-format | ||
| 29 | msgid "" | ||
| 30 | "Copyright (c) %s Nagios Plugin Development Team\n" | ||
| 31 | "\t<%s>\n" | ||
| 32 | "\n" | ||
| 33 | msgstr "" | ||
| 34 | |||
| 35 | #: plugins/check_tcp.c:118 | ||
| 36 | #, c-format | 29 | #, c-format |
| 37 | msgid "" | 30 | msgid "" |
| 38 | "This plugin tests %s connections with the specified host.\n" | 31 | "This plugin tests %s connections with the specified host.\n" |
| 39 | "\n" | 32 | "\n" |
| 40 | msgstr "" | 33 | msgstr "" |
| 41 | 34 | ||
| 42 | #: plugins/check_tcp.c:124 | 35 | #: plugins/check_tcp.c:125 |
| 43 | msgid "" | ||
| 44 | "\n" | ||
| 45 | "Options:\n" | ||
| 46 | " -H, --hostname=ADDRESS\n" | ||
| 47 | " Host name argument for servers using host headers (use numeric\n" | ||
| 48 | " address if possible to bypass DNS lookup).\n" | ||
| 49 | " -p, --port=INTEGER\n" | ||
| 50 | " Port number\n" | ||
| 51 | " -4, --use-ipv4\n" | ||
| 52 | " Use IPv4 connection\n" | ||
| 53 | " -6, --use-ipv6\n" | ||
| 54 | " Use IPv6 connection\n" | ||
| 55 | msgstr "" | ||
| 56 | |||
| 57 | #: plugins/check_tcp.c:136 | ||
| 58 | msgid "" | 36 | msgid "" |
| 59 | " -s, --send=STRING\n" | 37 | " -s, --send=STRING\n" |
| 60 | " String to send to the server\n" | 38 | " String to send to the server\n" |
| @@ -64,7 +42,7 @@ msgid "" | |||
| 64 | " String to send server to initiate a clean close of the connection\n" | 42 | " String to send server to initiate a clean close of the connection\n" |
| 65 | msgstr "" | 43 | msgstr "" |
| 66 | 44 | ||
| 67 | #: plugins/check_tcp.c:144 | 45 | #: plugins/check_tcp.c:133 |
| 68 | msgid "" | 46 | msgid "" |
| 69 | " -r, --refuse=ok|warn|crit\n" | 47 | " -r, --refuse=ok|warn|crit\n" |
| 70 | " Accept tcp refusals with states ok, warn, crit (default: crit)\n" | 48 | " Accept tcp refusals with states ok, warn, crit (default: crit)\n" |
| @@ -72,102 +50,84 @@ msgid "" | |||
| 72 | " Close connection once more than this number of bytes are received\n" | 50 | " Close connection once more than this number of bytes are received\n" |
| 73 | " -d, --delay=INTEGER\n" | 51 | " -d, --delay=INTEGER\n" |
| 74 | " Seconds to wait between sending string and polling for response\n" | 52 | " Seconds to wait between sending string and polling for response\n" |
| 75 | " -w, --warning=DOUBLE\n" | ||
| 76 | " Response time to result in warning status (seconds)\n" | ||
| 77 | " -c, --critical=DOUBLE\n" | ||
| 78 | " Response time to result in critical status (seconds)\n" | ||
| 79 | msgstr "" | 53 | msgstr "" |
| 80 | 54 | ||
| 81 | #: plugins/check_tcp.c:156 | 55 | #: plugins/check_tcp.c:254 |
| 82 | #, c-format | ||
| 83 | msgid "" | ||
| 84 | " -t, --timeout=INTEGER\n" | ||
| 85 | " Seconds before connection times out (default: %d)\n" | ||
| 86 | " -v, --verbose\n" | ||
| 87 | " Show details for command-line debugging (Nagios may truncate output)\n" | ||
| 88 | " -h, --help\n" | ||
| 89 | " Print detailed help screen\n" | ||
| 90 | " -V, --version\n" | ||
| 91 | " Print version information\n" | ||
| 92 | "\n" | ||
| 93 | msgstr "" | ||
| 94 | |||
| 95 | #: plugins/check_tcp.c:274 | ||
| 96 | msgid "ERROR: Generic check_tcp called with unknown service\n" | 56 | msgid "ERROR: Generic check_tcp called with unknown service\n" |
| 97 | msgstr "" | 57 | msgstr "" |
| 98 | 58 | ||
| 99 | #: plugins/check_tcp.c:283 | 59 | #: plugins/check_tcp.c:263 |
| 100 | msgid "Could not parse arguments\n" | 60 | msgid "Could not parse arguments\n" |
| 101 | msgstr "" | 61 | msgstr "" |
| 102 | 62 | ||
| 103 | #: plugins/check_tcp.c:346 | 63 | #: plugins/check_tcp.c:326 |
| 104 | msgid "No data received from host\n" | 64 | msgid "No data received from host\n" |
| 105 | msgstr "" | 65 | msgstr "" |
| 106 | 66 | ||
| 107 | #: plugins/check_tcp.c:358 | 67 | #: plugins/check_tcp.c:338 |
| 108 | msgid "Invalid response from host\n" | 68 | msgid "Invalid response from host\n" |
| 109 | msgstr "" | 69 | msgstr "" |
| 110 | 70 | ||
| 111 | #: plugins/check_tcp.c:396 | 71 | #: plugins/check_tcp.c:376 |
| 112 | #, c-format | 72 | #, c-format |
| 113 | msgid "%s %s%s - %.3f second response time on port %d" | 73 | msgid "%s %s%s - %.3f second response time on port %d" |
| 114 | msgstr "" | 74 | msgstr "" |
| 115 | 75 | ||
| 116 | #: plugins/check_tcp.c:472 | 76 | #: plugins/check_tcp.c:452 |
| 117 | #, c-format | 77 | #, c-format |
| 118 | msgid "" | 78 | msgid "" |
| 119 | "%s: Unknown argument: %s\n" | 79 | "%s: Unknown argument: %s\n" |
| 120 | "\n" | 80 | "\n" |
| 121 | msgstr "" | 81 | msgstr "" |
| 122 | 82 | ||
| 123 | #: plugins/check_tcp.c:491 | 83 | #: plugins/check_tcp.c:471 |
| 124 | msgid "IPv6 support not available\n" | 84 | msgid "IPv6 support not available\n" |
| 125 | msgstr "" | 85 | msgstr "" |
| 126 | 86 | ||
| 127 | #: plugins/check_tcp.c:496 | 87 | #: plugins/check_tcp.c:476 |
| 128 | msgid "invalid host name or address" | 88 | msgid "invalid host name or address" |
| 129 | msgstr "" | 89 | msgstr "" |
| 130 | 90 | ||
| 131 | #: plugins/check_tcp.c:501 | 91 | #: plugins/check_tcp.c:481 |
| 132 | msgid "Critical threshold must be a nonnegative integer\n" | 92 | msgid "Critical threshold must be a nonnegative integer\n" |
| 133 | msgstr "" | 93 | msgstr "" |
| 134 | 94 | ||
| 135 | #: plugins/check_tcp.c:507 | 95 | #: plugins/check_tcp.c:487 |
| 136 | msgid "Warning threshold must be a nonnegative integer\n" | 96 | msgid "Warning threshold must be a nonnegative integer\n" |
| 137 | msgstr "" | 97 | msgstr "" |
| 138 | 98 | ||
| 139 | #: plugins/check_tcp.c:521 | 99 | #: plugins/check_tcp.c:501 |
| 140 | msgid "Timeout interval must be a positive integer\n" | 100 | msgid "Timeout interval must be a positive integer\n" |
| 141 | msgstr "" | 101 | msgstr "" |
| 142 | 102 | ||
| 143 | #: plugins/check_tcp.c:526 | 103 | #: plugins/check_tcp.c:506 |
| 144 | msgid "Server port must be a positive integer\n" | 104 | msgid "Server port must be a positive integer\n" |
| 145 | msgstr "" | 105 | msgstr "" |
| 146 | 106 | ||
| 147 | #: plugins/check_tcp.c:542 | 107 | #: plugins/check_tcp.c:522 |
| 148 | msgid "Maxbytes must be a positive integer\n" | 108 | msgid "Maxbytes must be a positive integer\n" |
| 149 | msgstr "" | 109 | msgstr "" |
| 150 | 110 | ||
| 151 | #: plugins/check_tcp.c:555 | 111 | #: plugins/check_tcp.c:535 |
| 152 | msgid "Refuse mut be one of ok, warn, crit\n" | 112 | msgid "Refuse mut be one of ok, warn, crit\n" |
| 153 | msgstr "" | 113 | msgstr "" |
| 154 | 114 | ||
| 155 | #: plugins/check_tcp.c:561 | 115 | #: plugins/check_tcp.c:541 |
| 156 | msgid "Delay must be a positive integer\n" | 116 | msgid "Delay must be a positive integer\n" |
| 157 | msgstr "" | 117 | msgstr "" |
| 158 | 118 | ||
| 159 | #: plugins/check_tcp.c:566 | 119 | #: plugins/check_tcp.c:546 |
| 160 | msgid "SSL support not available. Install OpenSSL and recompile." | 120 | msgid "SSL support not available. Install OpenSSL and recompile." |
| 161 | msgstr "" | 121 | msgstr "" |
| 162 | 122 | ||
| 163 | #: plugins/check_tcp.c:574 | 123 | #: plugins/check_tcp.c:554 |
| 164 | msgid "You must provide a server address\n" | 124 | msgid "You must provide a server address\n" |
| 165 | msgstr "" | 125 | msgstr "" |
| 166 | 126 | ||
| 167 | #: plugins/check_tcp.c:592 | 127 | #: plugins/check_tcp.c:572 |
| 168 | msgid "ERROR: Cannot create SSL context.\n" | 128 | msgid "ERROR: Cannot create SSL context.\n" |
| 169 | msgstr "" | 129 | msgstr "" |
| 170 | 130 | ||
| 171 | #: plugins/check_tcp.c:618 | 131 | #: plugins/check_tcp.c:598 |
| 172 | msgid "ERROR: Cannot initiate SSL handshake.\n" | 132 | msgid "ERROR: Cannot initiate SSL handshake.\n" |
| 173 | msgstr "" | 133 | msgstr "" |
| @@ -6,7 +6,8 @@ | |||
| 6 | msgid "" | 6 | msgid "" |
| 7 | msgstr "" | 7 | msgstr "" |
| 8 | "Project-Id-Version: nagios-plugins 1.3.99\n" | 8 | "Project-Id-Version: nagios-plugins 1.3.99\n" |
| 9 | "POT-Creation-Date: 2003-07-26 01:27-0400\n" | 9 | "Report-Msgid-Bugs-To: \n" |
| 10 | "POT-Creation-Date: 2003-08-08 21:40-0700\n" | ||
| 10 | "PO-Revision-Date: 2003-07-25 06:55-0400\n" | 11 | "PO-Revision-Date: 2003-07-25 06:55-0400\n" |
| 11 | "Last-Translator: Pierre-Antoine Angelini <paangelini@users.sourceforge.net>\n" | 12 | "Last-Translator: Pierre-Antoine Angelini <paangelini@users.sourceforge.net>\n" |
| 12 | "Language-Team: French <traduc@traduc.org>\n" | 13 | "Language-Team: French <traduc@traduc.org>\n" |
| @@ -18,55 +19,22 @@ msgstr "" | |||
| 18 | #, fuzzy, c-format | 19 | #, fuzzy, c-format |
| 19 | msgid "" | 20 | msgid "" |
| 20 | "Usage: %s -H host -p port [-w <warning time>] [-c <critical time>]\n" | 21 | "Usage: %s -H host -p port [-w <warning time>] [-c <critical time>]\n" |
| 21 | "\t[-s <send string>] [-e <expect string>] [-q <quit string>]\n" | 22 | " [-s <send string>] [-e <expect string>] [-q <quit string>]\n" |
| 22 | "\t[-m <maximum bytes>] [-d <delay>]\t[-t <timeout seconds>]\n" | 23 | " [-m <maximum bytes>] [-d <delay>] [-t <timeout seconds>]\n" |
| 23 | "\t[-r <refuse state>] [-v] [-4|-6]\n" | 24 | " [-r <refuse state>] [-v] [-4|-6]\n" |
| 24 | msgstr "" | 25 | msgstr "" |
| 25 | "-H host -p port [-w warn_time] [-c crit_time] [-s send_string]\n" | 26 | "-H host -p port [-w warn_time] [-c crit_time] [-s send_string]\n" |
| 26 | "\t[-e expect_string] [-q quit_string] [-m maxbytes] [-d delay]\n" | 27 | "\t[-e expect_string] [-q quit_string] [-m maxbytes] [-d delay]\n" |
| 27 | "\t[-t to_sec] [-r refuse_state] [-v] [-4|-6]\n" | 28 | "\t[-t to_sec] [-r refuse_state] [-v] [-4|-6]\n" |
| 28 | 29 | ||
| 29 | #: plugins/check_tcp.c:113 | 30 | #: plugins/check_tcp.c:114 |
| 30 | #, c-format | ||
| 31 | msgid "" | ||
| 32 | "Copyright (c) %s Nagios Plugin Development Team\n" | ||
| 33 | "\t<%s>\n" | ||
| 34 | "\n" | ||
| 35 | msgstr "" | ||
| 36 | |||
| 37 | #: plugins/check_tcp.c:118 | ||
| 38 | #, fuzzy, c-format | 31 | #, fuzzy, c-format |
| 39 | msgid "" | 32 | msgid "" |
| 40 | "This plugin tests %s connections with the specified host.\n" | 33 | "This plugin tests %s connections with the specified host.\n" |
| 41 | "\n" | 34 | "\n" |
| 42 | msgstr "Le plugin tests a %s connection with l'host specified\n" | 35 | msgstr "Le plugin tests a %s connection with l'host specified\n" |
| 43 | 36 | ||
| 44 | #: plugins/check_tcp.c:124 | 37 | #: plugins/check_tcp.c:125 |
| 45 | #, fuzzy | ||
| 46 | msgid "" | ||
| 47 | "\n" | ||
| 48 | "Options:\n" | ||
| 49 | " -H, --hostname=ADDRESS\n" | ||
| 50 | " Host name argument for servers using host headers (use numeric\n" | ||
| 51 | " address if possible to bypass DNS lookup).\n" | ||
| 52 | " -p, --port=INTEGER\n" | ||
| 53 | " Port number\n" | ||
| 54 | " -4, --use-ipv4\n" | ||
| 55 | " Use IPv4 connection\n" | ||
| 56 | " -6, --use-ipv6\n" | ||
| 57 | " Use IPv6 connection\n" | ||
| 58 | msgstr "" | ||
| 59 | " -H, --hostname=ADDRESS\n" | ||
| 60 | " Host name argument for servers using host headers (use numeric\n" | ||
| 61 | " address if possible to bypass DNS lookup).\n" | ||
| 62 | " -p, --port=INTEGER\n" | ||
| 63 | " Port number\n" | ||
| 64 | " -4, --use-ipv4\n" | ||
| 65 | " Use IPv4 connection\n" | ||
| 66 | " -6, --use-ipv6\n" | ||
| 67 | " Use IPv6 connection\n" | ||
| 68 | |||
| 69 | #: plugins/check_tcp.c:136 | ||
| 70 | msgid "" | 38 | msgid "" |
| 71 | " -s, --send=STRING\n" | 39 | " -s, --send=STRING\n" |
| 72 | " String to send to the server\n" | 40 | " String to send to the server\n" |
| @@ -82,7 +50,8 @@ msgstr "" | |||
| 82 | " -q, --quit=STRING\n" | 50 | " -q, --quit=STRING\n" |
| 83 | " String to send server to initiate a clean close of the connection\n" | 51 | " String to send server to initiate a clean close of the connection\n" |
| 84 | 52 | ||
| 85 | #: plugins/check_tcp.c:144 | 53 | #: plugins/check_tcp.c:133 |
| 54 | #, fuzzy | ||
| 86 | msgid "" | 55 | msgid "" |
| 87 | " -r, --refuse=ok|warn|crit\n" | 56 | " -r, --refuse=ok|warn|crit\n" |
| 88 | " Accept tcp refusals with states ok, warn, crit (default: crit)\n" | 57 | " Accept tcp refusals with states ok, warn, crit (default: crit)\n" |
| @@ -90,10 +59,6 @@ msgid "" | |||
| 90 | " Close connection once more than this number of bytes are received\n" | 59 | " Close connection once more than this number of bytes are received\n" |
| 91 | " -d, --delay=INTEGER\n" | 60 | " -d, --delay=INTEGER\n" |
| 92 | " Seconds to wait between sending string and polling for response\n" | 61 | " Seconds to wait between sending string and polling for response\n" |
| 93 | " -w, --warning=DOUBLE\n" | ||
| 94 | " Response time to result in warning status (seconds)\n" | ||
| 95 | " -c, --critical=DOUBLE\n" | ||
| 96 | " Response time to result in critical status (seconds)\n" | ||
| 97 | msgstr "" | 62 | msgstr "" |
| 98 | " -r, --refuse=ok|warn|crit\n" | 63 | " -r, --refuse=ok|warn|crit\n" |
| 99 | " Accept tcp refusals with states ok, warn, crit (default: crit)\n" | 64 | " Accept tcp refusals with states ok, warn, crit (default: crit)\n" |
| @@ -106,105 +71,127 @@ msgstr "" | |||
| 106 | " -c, --critical=DOUBLE\n" | 71 | " -c, --critical=DOUBLE\n" |
| 107 | " Response time to result in critical status (seconds)\n" | 72 | " Response time to result in critical status (seconds)\n" |
| 108 | 73 | ||
| 109 | #: plugins/check_tcp.c:156 | 74 | #: plugins/check_tcp.c:254 |
| 110 | #, c-format | ||
| 111 | msgid "" | ||
| 112 | " -t, --timeout=INTEGER\n" | ||
| 113 | " Seconds before connection times out (default: %d)\n" | ||
| 114 | " -v, --verbose\n" | ||
| 115 | " Show details for command-line debugging (Nagios may truncate output)\n" | ||
| 116 | " -h, --help\n" | ||
| 117 | " Print detailed help screen\n" | ||
| 118 | " -V, --version\n" | ||
| 119 | " Print version information\n" | ||
| 120 | "\n" | ||
| 121 | msgstr "" | ||
| 122 | " -t, --timeout=INTEGER\n" | ||
| 123 | " Seconds before connection times out (default: %d)\n" | ||
| 124 | " -v, --verbose\n" | ||
| 125 | " Show details for command-line debugging (Nagios may truncate output)\n" | ||
| 126 | " -h, --help\n" | ||
| 127 | " Print detailed help screen\n" | ||
| 128 | " -V, --version\n" | ||
| 129 | " Print version information\n" | ||
| 130 | "\n" | ||
| 131 | |||
| 132 | #: plugins/check_tcp.c:274 | ||
| 133 | msgid "ERROR: Generic check_tcp called with unknown service\n" | 75 | msgid "ERROR: Generic check_tcp called with unknown service\n" |
| 134 | msgstr "" | 76 | msgstr "" |
| 135 | 77 | ||
| 136 | #: plugins/check_tcp.c:283 | 78 | #: plugins/check_tcp.c:263 |
| 137 | msgid "Could not parse arguments\n" | 79 | msgid "Could not parse arguments\n" |
| 138 | msgstr "" | 80 | msgstr "" |
| 139 | 81 | ||
| 140 | #: plugins/check_tcp.c:346 | 82 | #: plugins/check_tcp.c:326 |
| 141 | msgid "No data received from host\n" | 83 | msgid "No data received from host\n" |
| 142 | msgstr "" | 84 | msgstr "" |
| 143 | 85 | ||
| 144 | #: plugins/check_tcp.c:358 | 86 | #: plugins/check_tcp.c:338 |
| 145 | msgid "Invalid response from host\n" | 87 | msgid "Invalid response from host\n" |
| 146 | msgstr "" | 88 | msgstr "" |
| 147 | 89 | ||
| 148 | #: plugins/check_tcp.c:396 | 90 | #: plugins/check_tcp.c:376 |
| 149 | #, c-format | 91 | #, c-format |
| 150 | msgid "%s %s%s - %.3f second response time on port %d" | 92 | msgid "%s %s%s - %.3f second response time on port %d" |
| 151 | msgstr "" | 93 | msgstr "" |
| 152 | 94 | ||
| 153 | #: plugins/check_tcp.c:472 | 95 | #: plugins/check_tcp.c:452 |
| 154 | #, c-format | 96 | #, c-format |
| 155 | msgid "" | 97 | msgid "" |
| 156 | "%s: Unknown argument: %s\n" | 98 | "%s: Unknown argument: %s\n" |
| 157 | "\n" | 99 | "\n" |
| 158 | msgstr "" | 100 | msgstr "" |
| 159 | 101 | ||
| 160 | #: plugins/check_tcp.c:491 | 102 | #: plugins/check_tcp.c:471 |
| 161 | msgid "IPv6 support not available\n" | 103 | msgid "IPv6 support not available\n" |
| 162 | msgstr "" | 104 | msgstr "" |
| 163 | 105 | ||
| 164 | #: plugins/check_tcp.c:496 | 106 | #: plugins/check_tcp.c:476 |
| 165 | msgid "invalid host name or address" | 107 | msgid "invalid host name or address" |
| 166 | msgstr "" | 108 | msgstr "" |
| 167 | 109 | ||
| 168 | #: plugins/check_tcp.c:501 | 110 | #: plugins/check_tcp.c:481 |
| 169 | msgid "Critical threshold must be a nonnegative integer\n" | 111 | msgid "Critical threshold must be a nonnegative integer\n" |
| 170 | msgstr "" | 112 | msgstr "" |
| 171 | 113 | ||
| 172 | #: plugins/check_tcp.c:507 | 114 | #: plugins/check_tcp.c:487 |
| 173 | msgid "Warning threshold must be a nonnegative integer\n" | 115 | msgid "Warning threshold must be a nonnegative integer\n" |
| 174 | msgstr "" | 116 | msgstr "" |
| 175 | 117 | ||
| 176 | #: plugins/check_tcp.c:521 | 118 | #: plugins/check_tcp.c:501 |
| 177 | msgid "Timeout interval must be a positive integer\n" | 119 | msgid "Timeout interval must be a positive integer\n" |
| 178 | msgstr "" | 120 | msgstr "" |
| 179 | 121 | ||
| 180 | #: plugins/check_tcp.c:526 | 122 | #: plugins/check_tcp.c:506 |
| 181 | msgid "Server port must be a positive integer\n" | 123 | msgid "Server port must be a positive integer\n" |
| 182 | msgstr "" | 124 | msgstr "" |
| 183 | 125 | ||
| 184 | #: plugins/check_tcp.c:542 | 126 | #: plugins/check_tcp.c:522 |
| 185 | msgid "Maxbytes must be a positive integer\n" | 127 | msgid "Maxbytes must be a positive integer\n" |
| 186 | msgstr "" | 128 | msgstr "" |
| 187 | 129 | ||
| 188 | #: plugins/check_tcp.c:555 | 130 | #: plugins/check_tcp.c:535 |
| 189 | msgid "Refuse mut be one of ok, warn, crit\n" | 131 | msgid "Refuse mut be one of ok, warn, crit\n" |
| 190 | msgstr "" | 132 | msgstr "" |
| 191 | 133 | ||
| 192 | #: plugins/check_tcp.c:561 | 134 | #: plugins/check_tcp.c:541 |
| 193 | msgid "Delay must be a positive integer\n" | 135 | msgid "Delay must be a positive integer\n" |
| 194 | msgstr "" | 136 | msgstr "" |
| 195 | 137 | ||
| 196 | #: plugins/check_tcp.c:566 | 138 | #: plugins/check_tcp.c:546 |
| 197 | msgid "SSL support not available. Install OpenSSL and recompile." | 139 | msgid "SSL support not available. Install OpenSSL and recompile." |
| 198 | msgstr "" | 140 | msgstr "" |
| 199 | 141 | ||
| 200 | #: plugins/check_tcp.c:574 | 142 | #: plugins/check_tcp.c:554 |
| 201 | msgid "You must provide a server address\n" | 143 | msgid "You must provide a server address\n" |
| 202 | msgstr "" | 144 | msgstr "" |
| 203 | 145 | ||
| 204 | #: plugins/check_tcp.c:592 | 146 | #: plugins/check_tcp.c:572 |
| 205 | msgid "ERROR: Cannot create SSL context.\n" | 147 | msgid "ERROR: Cannot create SSL context.\n" |
| 206 | msgstr "" | 148 | msgstr "" |
| 207 | 149 | ||
| 208 | #: plugins/check_tcp.c:618 | 150 | #: plugins/check_tcp.c:598 |
| 209 | msgid "ERROR: Cannot initiate SSL handshake.\n" | 151 | msgid "ERROR: Cannot initiate SSL handshake.\n" |
| 210 | msgstr "" | 152 | msgstr "" |
| 153 | |||
| 154 | #, fuzzy | ||
| 155 | #~ msgid "" | ||
| 156 | #~ "\n" | ||
| 157 | #~ "Options:\n" | ||
| 158 | #~ " -H, --hostname=ADDRESS\n" | ||
| 159 | #~ " Host name argument for servers using host headers (use numeric\n" | ||
| 160 | #~ " address if possible to bypass DNS lookup).\n" | ||
| 161 | #~ " -p, --port=INTEGER\n" | ||
| 162 | #~ " Port number\n" | ||
| 163 | #~ " -4, --use-ipv4\n" | ||
| 164 | #~ " Use IPv4 connection\n" | ||
| 165 | #~ " -6, --use-ipv6\n" | ||
| 166 | #~ " Use IPv6 connection\n" | ||
| 167 | #~ msgstr "" | ||
| 168 | #~ " -H, --hostname=ADDRESS\n" | ||
| 169 | #~ " Host name argument for servers using host headers (use numeric\n" | ||
| 170 | #~ " address if possible to bypass DNS lookup).\n" | ||
| 171 | #~ " -p, --port=INTEGER\n" | ||
| 172 | #~ " Port number\n" | ||
| 173 | #~ " -4, --use-ipv4\n" | ||
| 174 | #~ " Use IPv4 connection\n" | ||
| 175 | #~ " -6, --use-ipv6\n" | ||
| 176 | #~ " Use IPv6 connection\n" | ||
| 177 | |||
| 178 | #~ msgid "" | ||
| 179 | #~ " -t, --timeout=INTEGER\n" | ||
| 180 | #~ " Seconds before connection times out (default: %d)\n" | ||
| 181 | #~ " -v, --verbose\n" | ||
| 182 | #~ " Show details for command-line debugging (Nagios may truncate output)\n" | ||
| 183 | #~ " -h, --help\n" | ||
| 184 | #~ " Print detailed help screen\n" | ||
| 185 | #~ " -V, --version\n" | ||
| 186 | #~ " Print version information\n" | ||
| 187 | #~ "\n" | ||
| 188 | #~ msgstr "" | ||
| 189 | #~ " -t, --timeout=INTEGER\n" | ||
| 190 | #~ " Seconds before connection times out (default: %d)\n" | ||
| 191 | #~ " -v, --verbose\n" | ||
| 192 | #~ " Show details for command-line debugging (Nagios may truncate output)\n" | ||
| 193 | #~ " -h, --help\n" | ||
| 194 | #~ " Print detailed help screen\n" | ||
| 195 | #~ " -V, --version\n" | ||
| 196 | #~ " Print version information\n" | ||
| 197 | #~ "\n" | ||
