diff --git a/NPTest.pm b/NPTest.pm index 54a535e..c0897d8 100644 --- a/NPTest.pm +++ b/NPTest.pm @@ -460,6 +460,7 @@ sub SaveCache my( $dataDumper ) = new Data::Dumper( [ \%CACHE ] ); $dataDumper->Terse(1); + $dataDumper->Sortkeys(1); print $fileHandle $dataDumper->Dump(); @@ -615,7 +616,10 @@ sub testCmd { my $class = shift; my $command = shift or die "No command passed to testCmd"; my $object = $class->new; - + + local $SIG{'ALRM'} = sub { die("timeout in command: $command"); }; + alarm(120); # no test should take longer than 120 seconds + my $output = `$command`; $object->return_code($? >> 8); $_ = $? & 127; @@ -625,6 +629,8 @@ sub testCmd { chomp $output; $object->output($output); + alarm(0); + my ($pkg, $file, $line) = caller(0); print "Testing: $command", $/; if ($ENV{'NPTEST_DEBUG'}) { diff --git a/THANKS b/THANKS index baca202..ddbcf9f 100644 --- a/THANKS +++ b/THANKS @@ -2,16 +2,16 @@ This software is brought to you by the Nagios Plugins Development Team. However, there have been many contributors to this project. Everyone below has helped in raising bug reports, creating patches or contributing new plugins. -dag rob?le Randy O'Meara -fabiodds Diego Elio Pettenò +fabiodds +dag rob?le Oskar Ahner Lance Albertson David Alden +Patrick Allen Rodger Allen Paul Allen -Patrick Allen Felipe Gustavo de Almeida Michael Almond Michael Anthon @@ -56,9 +56,9 @@ Stephane Chazelas Eric Chen Alwyn Cherrington Ben Clewett +Ollie Cook Garry Cook Charlie Cook -Ollie Cook Jason Crawford David Croft Robert Dale @@ -91,8 +91,8 @@ Paulo Afonso Graner Fessel Paulo Fessel James Fidell Roman Fiedler -Johan Fischer Bernhard Fischer +Johan Fischer Matthias Flacke Martin Foster Felix Frank @@ -164,8 +164,8 @@ Guenther Mair Pawel Malachowski Michael Markstaller John Marquart -Jason Martin Ernst-Dieter Martin +Jason Martin Christopher Maser Mathieu Masseboeuf Alexander Matey diff --git a/lib/tests/test_tcp.c b/lib/tests/test_tcp.c index 6cf9394..114252b 100644 --- a/lib/tests/test_tcp.c +++ b/lib/tests/test_tcp.c @@ -21,11 +21,12 @@ #include "tap.h" int -main (int argc, char **argv) +main(void) { - char** server_expect; + char **server_expect; int server_expect_count = 3; - plan_tests(8); + + plan_tests(9); server_expect = malloc(sizeof(char*) * server_expect_count); @@ -33,24 +34,25 @@ main (int argc, char **argv) server_expect[1] = strdup("bb"); server_expect[2] = strdup("CC"); - ok(np_expect_match("AA bb CC XX", server_expect, server_expect_count, FALSE, TRUE, FALSE) == TRUE, + ok(np_expect_match("AA bb CC XX", server_expect, server_expect_count, NP_MATCH_EXACT) == NP_MATCH_SUCCESS, "Test matching any string at the beginning (first expect string)"); - ok(np_expect_match("bb AA CC XX", server_expect, server_expect_count, FALSE, TRUE, FALSE) == TRUE, + ok(np_expect_match("bb AA CC XX", server_expect, server_expect_count, NP_MATCH_EXACT) == NP_MATCH_SUCCESS, "Test matching any string at the beginning (second expect string)"); - ok(np_expect_match("XX bb AA CC XX", server_expect, server_expect_count, FALSE, TRUE, FALSE) == FALSE, + ok(np_expect_match("b", server_expect, server_expect_count, NP_MATCH_EXACT) == NP_MATCH_RETRY, + "Test matching any string at the beginning (substring match)"); + ok(np_expect_match("XX bb AA CC XX", server_expect, server_expect_count, NP_MATCH_EXACT) == NP_MATCH_FAILURE, "Test with strings not matching at the beginning"); - ok(np_expect_match("XX CC XX", server_expect, server_expect_count, FALSE, TRUE, FALSE) == FALSE, + ok(np_expect_match("XX CC XX", server_expect, server_expect_count, NP_MATCH_EXACT) == NP_MATCH_FAILURE, "Test matching any string"); - ok(np_expect_match("XX", server_expect, server_expect_count, FALSE, FALSE, FALSE) == FALSE, + ok(np_expect_match("XX", server_expect, server_expect_count, 0) == NP_MATCH_RETRY, "Test not matching any string"); - ok(np_expect_match("XX AA bb CC XX", server_expect, server_expect_count, TRUE, FALSE, FALSE) == TRUE, + ok(np_expect_match("XX AA bb CC XX", server_expect, server_expect_count, NP_MATCH_ALL) == NP_MATCH_SUCCESS, "Test matching all strings"); - ok(np_expect_match("XX bb CC XX", server_expect, server_expect_count, TRUE, FALSE, FALSE) == FALSE, + ok(np_expect_match("XX bb CC XX", server_expect, server_expect_count, NP_MATCH_ALL) == NP_MATCH_RETRY, "Test not matching all strings"); - ok(np_expect_match("XX XX", server_expect, server_expect_count, TRUE, FALSE, FALSE) == FALSE, + ok(np_expect_match("XX XX", server_expect, server_expect_count, NP_MATCH_ALL) == NP_MATCH_RETRY, "Test not matching any string (testing all)"); return exit_status(); } - diff --git a/lib/utils_tcp.c b/lib/utils_tcp.c index 8589ce6..46ad7f7 100644 --- a/lib/utils_tcp.c +++ b/lib/utils_tcp.c @@ -3,7 +3,7 @@ * Library for check_tcp * * License: GPL -* Copyright (c) 1999-2007 Nagios Plugins Development Team +* Copyright (c) 1999-2013 Nagios Plugins Development Team * * Description: * @@ -29,28 +29,47 @@ #include "common.h" #include "utils_tcp.h" -int -np_expect_match(char* status, char** server_expect, int expect_count, int all, int exact_match, int verbose) -{ - int match = 0; - int i; - for (i = 0; i < expect_count; i++) { - if (verbose) - printf ("looking for [%s] %s [%s]\n", server_expect[i], - (exact_match) ? "in beginning of" : "anywhere in", - status); +#define VERBOSE(message) \ + do { \ + if (flags & NP_MATCH_VERBOSE) \ + puts(message); \ + } while (0) - if ((exact_match && !strncmp(status, server_expect[i], strlen(server_expect[i]))) || - (! exact_match && strstr(status, server_expect[i]))) - { - if(verbose) puts("found it"); - match += 1; - } else - if(verbose) puts("couldn't find it"); +enum np_match_result +np_expect_match(char *status, char **server_expect, int expect_count, int flags) +{ + int i, match = 0, partial = 0; + + for (i = 0; i < expect_count; i++) { + if (flags & NP_MATCH_VERBOSE) + printf("looking for [%s] %s [%s]\n", server_expect[i], + (flags & NP_MATCH_EXACT) ? + "in beginning of" : "anywhere in", + status); + + if (flags & NP_MATCH_EXACT) { + if (strncmp(status, server_expect[i], strlen(server_expect[i])) == 0) { + VERBOSE("found it"); + match++; + continue; + } else if (strncmp(status, server_expect[i], strlen(status)) == 0) { + VERBOSE("found a substring"); + partial++; + continue; + } + } else if (strstr(status, server_expect[i]) != NULL) { + VERBOSE("found it"); + match++; + continue; + } + VERBOSE("couldn't find it"); } - if ((all == TRUE && match == expect_count) || - (! all && match >= 1)) { - return TRUE; - } else - return FALSE; + + if ((flags & NP_MATCH_ALL && match == expect_count) || + (!(flags & NP_MATCH_ALL) && match >= 1)) + return NP_MATCH_SUCCESS; + else if (partial > 0 || !(flags & NP_MATCH_EXACT)) + return NP_MATCH_RETRY; + else + return NP_MATCH_FAILURE; } diff --git a/lib/utils_tcp.h b/lib/utils_tcp.h index b0eb8be..0328a9c 100644 --- a/lib/utils_tcp.h +++ b/lib/utils_tcp.h @@ -1,4 +1,22 @@ /* Header file for utils_tcp */ -int np_expect_match(char* status, char** server_expect, int server_expect_count, - int all, int exact_match, int verbose); +#define NP_MATCH_ALL 0x1 +#define NP_MATCH_EXACT 0x2 +#define NP_MATCH_VERBOSE 0x4 + +/* + * The NP_MATCH_RETRY state indicates that matching might succeed if + * np_expect_match() is called with a longer input string. This allows the + * caller to decide whether it makes sense to wait for additional data from the + * server. + */ +enum np_match_result { + NP_MATCH_FAILURE, + NP_MATCH_SUCCESS, + NP_MATCH_RETRY +}; + +enum np_match_result np_expect_match(char *status, + char **server_expect, + int server_expect_count, + int flags); diff --git a/pkg/solaris/pkginfo b/pkg/solaris/pkginfo index 41bd5e7..cdba5be 100644 --- a/pkg/solaris/pkginfo +++ b/pkg/solaris/pkginfo @@ -2,11 +2,11 @@ PKG="NGOSplugin" NAME="nagios-plugins" DESC="Nagios network monitoring plugins" ARCH="unknown" -VERSION="1.4.16,REV=2013.09.10.23.12" +VERSION="1.4.16,REV=2013.09.13.00.16" CATEGORY="application" VENDOR="Nagios Plugin Development Team" EMAIL="nagiosplug-devel@lists.sourceforge.net" -PSTAMP="nag20130910231216" +PSTAMP="nag20130913001644" BASEDIR="/" CLASSES="none" diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index 0bc810d..52ad31e 100644 --- a/plugins/check_snmp.c +++ b/plugins/check_snmp.c @@ -33,6 +33,7 @@ const char *copyright = "1999-2007"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" +#include "runcmd.h" #include "utils.h" #include "utils_cmd.h" @@ -330,9 +331,18 @@ main (int argc, char **argv) if (verbose) printf ("%s\n", cl_hidden_auth); + /* Set signal handling and alarm */ + if (signal (SIGALRM, runcmd_timeout_alarm_handler) == SIG_ERR) { + usage4 (_("Cannot catch SIGALRM")); + } + alarm(timeout_interval * retries + 5); + /* Run the command */ return_code = cmd_run_array (command_line, &chld_out, &chld_err, 0); + /* disable alarm again */ + alarm(0); + /* Due to net-snmp sometimes showing stderr messages with poorly formed MIBs, only return state unknown if return code is non zero or there is no stdout. Do this way so that if there is stderr, will get added to output, which helps problem diagnosis diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c index 9e62638..e7342f3 100644 --- a/plugins/check_tcp.c +++ b/plugins/check_tcp.c @@ -3,7 +3,7 @@ * Nagios check_tcp plugin * * License: GPL -* Copyright (c) 1999-2008 Nagios Plugins Development Team +* Copyright (c) 1999-2013 Nagios Plugins Development Team * * Description: * @@ -82,15 +82,14 @@ static int sd = 0; #define MAXBUF 1024 static char buffer[MAXBUF]; static int expect_mismatch_state = STATE_WARNING; +static int match_flags = NP_MATCH_EXACT; #define FLAG_SSL 0x01 #define FLAG_VERBOSE 0x02 -#define FLAG_EXACT_MATCH 0x04 -#define FLAG_TIME_WARN 0x08 -#define FLAG_TIME_CRIT 0x10 -#define FLAG_HIDE_OUTPUT 0x20 -#define FLAG_MATCH_ALL 0x40 -static size_t flags = FLAG_EXACT_MATCH; +#define FLAG_TIME_WARN 0x04 +#define FLAG_TIME_CRIT 0x08 +#define FLAG_HIDE_OUTPUT 0x10 +static size_t flags; int main (int argc, char **argv) @@ -278,30 +277,32 @@ main (int argc, char **argv) status = realloc(status, len + i + 1); memcpy(&status[len], buffer, i); len += i; + status[len] = '\0'; /* stop reading if user-forced */ if (maxbytes && len >= maxbytes) break; + + if ((match = np_expect_match(status, + server_expect, + server_expect_count, + match_flags)) != NP_MATCH_RETRY) + break; } + if (match == NP_MATCH_RETRY) + match = NP_MATCH_FAILURE; /* no data when expected, so return critical */ if (len == 0) die (STATE_CRITICAL, _("No data received from host\n")); - /* force null-termination and strip whitespace from end of output */ - status[len--] = '\0'; /* print raw output if we're debugging */ if(flags & FLAG_VERBOSE) printf("received %d bytes from host\n#-raw-recv-------#\n%s\n#-raw-recv-------#\n", (int)len + 1, status); - while(isspace(status[len])) status[len--] = '\0'; - - match = np_expect_match(status, - server_expect, - server_expect_count, - (flags & FLAG_MATCH_ALL ? TRUE : FALSE), - (flags & FLAG_EXACT_MATCH ? TRUE : FALSE), - (flags & FLAG_VERBOSE ? TRUE : FALSE)); + /* strip whitespace from end of output */ + while(--len > 0 && isspace(status[len])) + status[len] = '\0'; } if (server_quit != NULL) { @@ -321,7 +322,7 @@ main (int argc, char **argv) result = STATE_WARNING; /* did we get the response we hoped? */ - if(match == FALSE && result != STATE_CRITICAL) + if(match == NP_MATCH_FAILURE && result != STATE_CRITICAL) result = expect_mismatch_state; /* reset the alarm */ @@ -332,10 +333,10 @@ main (int argc, char **argv) * the response we were looking for. if-else */ printf("%s %s - ", SERVICE, state_text(result)); - if(match == FALSE && len && !(flags & FLAG_HIDE_OUTPUT)) + if(match == NP_MATCH_FAILURE && len && !(flags & FLAG_HIDE_OUTPUT)) printf("Unexpected response from host/socket: %s", status); else { - if(match == FALSE) + if(match == NP_MATCH_FAILURE) printf("Unexpected response from host/socket on "); else printf("%.3f second response time on ", elapsed_time); @@ -345,13 +346,13 @@ main (int argc, char **argv) printf("socket %s", server_address); } - if (match != FALSE && !(flags & FLAG_HIDE_OUTPUT) && len) + if (match != NP_MATCH_FAILURE && !(flags & FLAG_HIDE_OUTPUT) && len) printf (" [%s]", status); /* perf-data doesn't apply when server doesn't talk properly, * so print all zeroes on warn and crit. Use fperfdata since * localisation settings can make different outputs */ - if(match == FALSE) + if(match == NP_MATCH_FAILURE) printf ("|%s", fperfdata ("time", elapsed_time, "s", (flags & FLAG_TIME_WARN ? TRUE : FALSE), 0, @@ -450,6 +451,7 @@ process_arguments (int argc, char **argv) exit (STATE_OK); case 'v': /* verbose mode */ flags |= FLAG_VERBOSE; + match_flags |= NP_MATCH_VERBOSE; break; case '4': address_family = AF_INET; @@ -506,7 +508,7 @@ process_arguments (int argc, char **argv) xasprintf(&server_send, "%s", optarg); break; case 'e': /* expect string (may be repeated) */ - flags &= ~FLAG_EXACT_MATCH; + match_flags &= ~NP_MATCH_EXACT; if (server_expect_count == 0) server_expect = malloc (sizeof (char *) * (++server_expect_count)); else @@ -584,7 +586,7 @@ process_arguments (int argc, char **argv) #endif break; case 'A': - flags |= FLAG_MATCH_ALL; + match_flags |= NP_MATCH_ALL; break; } } diff --git a/plugins/t/check_tcp.t b/plugins/t/check_tcp.t index c100cad..0e6a964 100644 --- a/plugins/t/check_tcp.t +++ b/plugins/t/check_tcp.t @@ -9,7 +9,18 @@ use Test; use NPTest; use vars qw($tests); -BEGIN {$tests = 14; plan tests => $tests} +my $has_ipv6; +BEGIN { + $tests = 11; + # do we have ipv6 + `ping6 -c 1 2a02:2e0:3fe:100::7 2>&1`; + if($? == 0) { + $has_ipv6 = 1; + $tests += 3; + } + plan tests => $tests; +} + my $host_tcp_http = getTestParameter( "host_tcp_http", "NP_HOST_TCP_HTTP", "localhost", "A host providing the HTTP Service (a web server)" ); @@ -27,7 +38,6 @@ my $failedExpect = '/^TCP WARNING\s-\sUnexpected response from host/socket on po my $t; $t += checkCmd( "./check_tcp $host_tcp_http -p 80 -wt 300 -ct 600", 0, $successOutput ); -$t += checkCmd( "./check_tcp $host_tcp_http -p 80 -wt 300 -ct 600 -6 ", 0, $successOutput ); $t += checkCmd( "./check_tcp $host_tcp_http -p 81 -wt 0 -ct 0 -to 1", 2 ); # use invalid port for this test $t += checkCmd( "./check_tcp $host_nonresponsive -p 80 -wt 0 -ct 0 -to 1", 2 ); $t += checkCmd( "./check_tcp $hostname_invalid -p 80 -wt 0 -ct 0 -to 1", 2 ); @@ -35,11 +45,16 @@ $t += checkCmd( "./check_tcp -S -D 1 -H www.verisign.com -p 443", 0 $t += checkCmd( "./check_tcp -S -D 9000,1 -H www.verisign.com -p 443", 1 ); $t += checkCmd( "./check_tcp -S -D 9000 -H www.verisign.com -p 443", 1 ); $t += checkCmd( "./check_tcp -S -D 9000,8999 -H www.verisign.com -p 443", 2 ); -$t += checkCmd( "./check_tcp -6 -p 80 www.heise.de", 0 ); # Need the \r\n to make it more standards compliant with web servers. Need the various quotes # so that perl doesn't interpret the \r\n and is passed onto command line correctly $t += checkCmd( "./check_tcp $host_tcp_http -p 80 -E -s ".'"GET / HTTP/1.1\r\n\r\n"'." -e 'ThisShouldntMatch' -j", 1, $failedExpect ); +# IPv6 checks +if($has_ipv6) { + $t += checkCmd( "./check_tcp $host_tcp_http -p 80 -wt 300 -ct 600 -6 ", 0, $successOutput ); + $t += checkCmd( "./check_tcp -6 -p 80 www.heise.de", 0 ); +} + exit(0) if defined($Test::Harness::VERSION); exit($tests - $t); diff --git a/po/de.gmo b/po/de.gmo index d30ab6e..b3c6cd7 100644 Binary files a/po/de.gmo and b/po/de.gmo differ diff --git a/po/de.po b/po/de.po index 474ba96..156028a 100644 --- a/po/de.po +++ b/po/de.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: nagiosplug\n" "Report-Msgid-Bugs-To: nagiosplug-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2013-09-10 23:13+0200\n" +"POT-Creation-Date: 2013-09-13 00:18+0200\n" "PO-Revision-Date: 2004-12-23 17:46+0100\n" "Last-Translator: <>\n" "Language-Team: English \n" @@ -29,15 +29,15 @@ msgstr "" #: plugins/check_nwstat.c:173 plugins/check_overcr.c:102 #: plugins/check_pgsql.c:172 plugins/check_ping.c:95 plugins/check_procs.c:171 #: plugins/check_radius.c:160 plugins/check_real.c:80 plugins/check_smtp.c:144 -#: plugins/check_snmp.c:239 plugins/check_ssh.c:73 plugins/check_swap.c:110 -#: plugins/check_tcp.c:212 plugins/check_time.c:78 plugins/check_ups.c:122 +#: plugins/check_snmp.c:240 plugins/check_ssh.c:73 plugins/check_swap.c:110 +#: plugins/check_tcp.c:211 plugins/check_time.c:78 plugins/check_ups.c:122 #: plugins/check_users.c:77 plugins/negate.c:214 plugins-root/check_dhcp.c:270 msgid "Could not parse arguments" msgstr "Argumente konnten nicht ausgewertet werden" #: plugins/check_by_ssh.c:90 plugins/check_dig.c:82 plugins/check_dns.c:95 #: plugins/check_nagios.c:95 plugins/check_pgsql.c:178 plugins/check_ping.c:99 -#: plugins/check_procs.c:186 plugins/negate.c:79 +#: plugins/check_procs.c:186 plugins/check_snmp.c:336 plugins/negate.c:79 msgid "Cannot catch SIGALRM" msgstr "Konnte SIGALRM nicht erhalten" @@ -64,15 +64,15 @@ msgstr "" #: plugins/check_by_ssh.c:220 plugins/check_disk.c:476 #: plugins/check_http.c:278 plugins/check_ldap.c:293 plugins/check_pgsql.c:311 #: plugins/check_procs.c:429 plugins/check_radius.c:308 -#: plugins/check_real.c:356 plugins/check_smtp.c:581 plugins/check_snmp.c:726 -#: plugins/check_ssh.c:138 plugins/check_tcp.c:489 plugins/check_time.c:302 +#: plugins/check_real.c:356 plugins/check_smtp.c:581 plugins/check_snmp.c:736 +#: plugins/check_ssh.c:138 plugins/check_tcp.c:491 plugins/check_time.c:302 #: plugins/check_ups.c:556 plugins/negate.c:164 msgid "Timeout interval must be a positive integer" msgstr "Timeout interval muss ein positiver Integer sein" #: plugins/check_by_ssh.c:230 plugins/check_pgsql.c:341 #: plugins/check_radius.c:272 plugins/check_real.c:327 -#: plugins/check_smtp.c:506 plugins/check_tcp.c:495 plugins/check_time.c:296 +#: plugins/check_smtp.c:506 plugins/check_tcp.c:497 plugins/check_time.c:296 #: plugins/check_ups.c:518 msgid "Port must be a positive integer" msgstr "Port muss ein positiver Integer sein" @@ -243,8 +243,8 @@ msgstr "" #: plugins/check_overcr.c:467 plugins/check_pgsql.c:578 #: plugins/check_ping.c:603 plugins/check_procs.c:773 #: plugins/check_radius.c:385 plugins/check_real.c:451 -#: plugins/check_smtp.c:843 plugins/check_snmp.c:1197 plugins/check_ssh.c:309 -#: plugins/check_swap.c:558 plugins/check_tcp.c:668 plugins/check_time.c:371 +#: plugins/check_smtp.c:843 plugins/check_snmp.c:1207 plugins/check_ssh.c:309 +#: plugins/check_swap.c:558 plugins/check_tcp.c:670 plugins/check_time.c:371 #: plugins/check_ups.c:660 plugins/check_users.c:240 #: plugins/check_ide_smart.c:640 plugins/negate.c:295 plugins/urlize.c:197 #: plugins-root/check_dhcp.c:1417 plugins-root/check_icmp.c:1354 @@ -297,7 +297,7 @@ msgstr "" #: plugins/check_mrtgtraf.c:361 plugins/check_mysql.c:558 #: plugins/check_nt.c:758 plugins/check_ntp.c:865 plugins/check_ntp_peer.c:696 #: plugins/check_ntp_time.c:626 plugins/check_nwstat.c:1670 -#: plugins/check_overcr.c:456 plugins/check_snmp.c:1168 +#: plugins/check_overcr.c:456 plugins/check_snmp.c:1178 #: plugins/check_swap.c:547 plugins/check_ups.c:642 plugins/negate.c:277 #: plugins-root/check_icmp.c:1329 msgid "Notes:" @@ -1153,8 +1153,8 @@ msgid "file does not exist or is not readable" msgstr "" #: plugins/check_http.c:310 plugins/check_http.c:315 plugins/check_http.c:321 -#: plugins/check_smtp.c:600 plugins/check_tcp.c:560 plugins/check_tcp.c:564 -#: plugins/check_tcp.c:570 +#: plugins/check_smtp.c:600 plugins/check_tcp.c:562 plugins/check_tcp.c:566 +#: plugins/check_tcp.c:572 msgid "Invalid certificate expiration period" msgstr "Ungültiger Zertifikatsablauftermin" @@ -1164,7 +1164,7 @@ msgid "" "(SSLv3)" msgstr "" -#: plugins/check_http.c:354 plugins/check_tcp.c:583 +#: plugins/check_http.c:354 plugins/check_tcp.c:585 #, fuzzy msgid "Invalid option - SSL is not available" msgstr "Ungültige Option - SSL ist nicht verfügbar\n" @@ -1189,7 +1189,7 @@ msgstr "" #: plugins/check_http.c:464 plugins/check_ntp.c:722 #: plugins/check_ntp_peer.c:513 plugins/check_ntp_time.c:512 -#: plugins/check_smtp.c:621 plugins/check_ssh.c:149 plugins/check_tcp.c:461 +#: plugins/check_smtp.c:621 plugins/check_ssh.c:149 plugins/check_tcp.c:463 msgid "IPv6 support not available" msgstr "IPv6 Unterstützung nicht vorhanden" @@ -4246,7 +4246,7 @@ msgstr "Ung msgid "Invalid REAL response received from host on port %d\n" msgstr "" -#: plugins/check_real.c:184 plugins/check_tcp.c:289 +#: plugins/check_real.c:184 plugins/check_tcp.c:297 #, c-format msgid "No data received from host\n" msgstr "" @@ -4361,7 +4361,7 @@ msgstr "" msgid "SMTP UNKNOWN - Cannot read EHLO response via TLS." msgstr "" -#: plugins/check_smtp.c:303 plugins/check_snmp.c:796 +#: plugins/check_smtp.c:303 plugins/check_snmp.c:806 #, c-format msgid "Could Not Compile Regular Expression" msgstr "" @@ -4371,7 +4371,7 @@ msgstr "" msgid "SMTP %s - Invalid response '%s' to command '%s'\n" msgstr "" -#: plugins/check_smtp.c:316 plugins/check_snmp.c:501 +#: plugins/check_smtp.c:316 plugins/check_snmp.c:511 #, c-format msgid "Execute Error: %s\n" msgstr "" @@ -4493,7 +4493,7 @@ msgstr "" msgid "FQDN used for HELO" msgstr "" -#: plugins/check_smtp.c:809 plugins/check_tcp.c:649 +#: plugins/check_smtp.c:809 plugins/check_tcp.c:651 msgid "Minimum number of days a certificate has to be valid." msgstr "" @@ -4529,303 +4529,303 @@ msgstr "" msgid "STATE_WARNING return values." msgstr "" -#: plugins/check_snmp.c:168 plugins/check_snmp.c:572 +#: plugins/check_snmp.c:169 plugins/check_snmp.c:582 msgid "Cannot malloc" msgstr "" -#: plugins/check_snmp.c:346 +#: plugins/check_snmp.c:356 #, fuzzy, c-format msgid "External command error: %s\n" msgstr "Papierfehler" -#: plugins/check_snmp.c:351 +#: plugins/check_snmp.c:361 #, c-format msgid "External command error with no output (return code: %d)\n" msgstr "" -#: plugins/check_snmp.c:454 +#: plugins/check_snmp.c:464 #, fuzzy, c-format msgid "No valid data returned (%s)\n" msgstr "Keine Daten empfangen %s\n" -#: plugins/check_snmp.c:465 +#: plugins/check_snmp.c:475 msgid "Time duration between plugin calls is invalid" msgstr "" -#: plugins/check_snmp.c:578 +#: plugins/check_snmp.c:588 msgid "Cannot asprintf()" msgstr "" -#: plugins/check_snmp.c:584 +#: plugins/check_snmp.c:594 msgid "Cannot realloc()" msgstr "" -#: plugins/check_snmp.c:600 +#: plugins/check_snmp.c:610 msgid "No previous data to calculate rate - assume okay" msgstr "" -#: plugins/check_snmp.c:741 +#: plugins/check_snmp.c:751 #, fuzzy msgid "Retries interval must be a positive integer" msgstr "Time interval muss ein positiver Integer sein" -#: plugins/check_snmp.c:821 +#: plugins/check_snmp.c:831 #, fuzzy, c-format msgid "Could not reallocate labels[%d]" msgstr "Konnte addr nicht zuweisen\n" -#: plugins/check_snmp.c:834 +#: plugins/check_snmp.c:844 #, fuzzy msgid "Could not reallocate labels\n" msgstr "Konnte·url·nicht·zuweisen\n" -#: plugins/check_snmp.c:850 +#: plugins/check_snmp.c:860 #, fuzzy, c-format msgid "Could not reallocate units [%d]\n" msgstr "Konnte·url·nicht·zuweisen\n" -#: plugins/check_snmp.c:862 +#: plugins/check_snmp.c:872 msgid "Could not realloc() units\n" msgstr "" -#: plugins/check_snmp.c:879 +#: plugins/check_snmp.c:889 #, fuzzy msgid "Rate multiplier must be a positive integer" msgstr "Paketgröße muss ein positiver Integer sein" -#: plugins/check_snmp.c:937 +#: plugins/check_snmp.c:947 #, fuzzy msgid "No host specified\n" msgstr "" "Kein Hostname angegeben\n" "\n" -#: plugins/check_snmp.c:941 +#: plugins/check_snmp.c:951 #, fuzzy msgid "No OIDs specified\n" msgstr "" "Kein Hostname angegeben\n" "\n" -#: plugins/check_snmp.c:963 +#: plugins/check_snmp.c:973 msgid "Invalid seclevel" msgstr "" -#: plugins/check_snmp.c:970 plugins/check_snmp.c:973 plugins/check_snmp.c:991 +#: plugins/check_snmp.c:980 plugins/check_snmp.c:983 plugins/check_snmp.c:1001 #, c-format msgid "Required parameter: %s\n" msgstr "" -#: plugins/check_snmp.c:1012 +#: plugins/check_snmp.c:1022 msgid "Invalid SNMP version" msgstr "" -#: plugins/check_snmp.c:1029 +#: plugins/check_snmp.c:1039 msgid "Unbalanced quotes\n" msgstr "" -#: plugins/check_snmp.c:1078 +#: plugins/check_snmp.c:1088 msgid "Check status of remote machines and obtain system information via SNMP" msgstr "" -#: plugins/check_snmp.c:1091 +#: plugins/check_snmp.c:1101 msgid "Use SNMP GETNEXT instead of SNMP GET" msgstr "" -#: plugins/check_snmp.c:1093 +#: plugins/check_snmp.c:1103 msgid "SNMP protocol version" msgstr "" -#: plugins/check_snmp.c:1095 +#: plugins/check_snmp.c:1105 msgid "SNMPv3 securityLevel" msgstr "" -#: plugins/check_snmp.c:1097 +#: plugins/check_snmp.c:1107 msgid "SNMPv3 auth proto" msgstr "" -#: plugins/check_snmp.c:1099 +#: plugins/check_snmp.c:1109 msgid "SNMPv3 priv proto (default DES)" msgstr "" -#: plugins/check_snmp.c:1103 +#: plugins/check_snmp.c:1113 msgid "Optional community string for SNMP communication" msgstr "" -#: plugins/check_snmp.c:1104 +#: plugins/check_snmp.c:1114 msgid "default is" msgstr "" -#: plugins/check_snmp.c:1106 +#: plugins/check_snmp.c:1116 msgid "SNMPv3 username" msgstr "" -#: plugins/check_snmp.c:1108 +#: plugins/check_snmp.c:1118 msgid "SNMPv3 authentication password" msgstr "" -#: plugins/check_snmp.c:1110 +#: plugins/check_snmp.c:1120 msgid "SNMPv3 privacy password" msgstr "" -#: plugins/check_snmp.c:1114 +#: plugins/check_snmp.c:1124 msgid "Object identifier(s) or SNMP variables whose value you wish to query" msgstr "" -#: plugins/check_snmp.c:1116 +#: plugins/check_snmp.c:1126 msgid "" "List of MIBS to be loaded (default = none if using numeric OIDs or 'ALL'" msgstr "" -#: plugins/check_snmp.c:1117 +#: plugins/check_snmp.c:1127 msgid "for symbolic OIDs.)" msgstr "" -#: plugins/check_snmp.c:1119 +#: plugins/check_snmp.c:1129 msgid "Delimiter to use when parsing returned data. Default is" msgstr "" -#: plugins/check_snmp.c:1120 +#: plugins/check_snmp.c:1130 msgid "Any data on the right hand side of the delimiter is considered" msgstr "" -#: plugins/check_snmp.c:1121 +#: plugins/check_snmp.c:1131 msgid "to be the data that should be used in the evaluation." msgstr "" -#: plugins/check_snmp.c:1125 +#: plugins/check_snmp.c:1135 #, fuzzy msgid "Warning threshold range(s)" msgstr "Warning threshold Integer sein" -#: plugins/check_snmp.c:1127 +#: plugins/check_snmp.c:1137 #, fuzzy msgid "Critical threshold range(s)" msgstr "Critical threshold muss ein Integer sein" -#: plugins/check_snmp.c:1129 -msgid "Enable rate calculation. See 'Rate Calculation' below" -msgstr "" - -#: plugins/check_snmp.c:1131 -msgid "" -"Converts rate per second. For example, set to 60 to convert to per minute" -msgstr "" - -#: plugins/check_snmp.c:1133 -msgid "Add/substract the specified OFFSET to numeric sensor data" -msgstr "" - -#: plugins/check_snmp.c:1137 -msgid "Return OK state (for that OID) if STRING is an exact match" -msgstr "" - #: plugins/check_snmp.c:1139 -msgid "" -"Return OK state (for that OID) if extended regular expression REGEX matches" +msgid "Enable rate calculation. See 'Rate Calculation' below" msgstr "" #: plugins/check_snmp.c:1141 msgid "" -"Return OK state (for that OID) if case-insensitive extended REGEX matches" +"Converts rate per second. For example, set to 60 to convert to per minute" msgstr "" #: plugins/check_snmp.c:1143 -msgid "Invert search result (CRITICAL if found)" +msgid "Add/substract the specified OFFSET to numeric sensor data" msgstr "" #: plugins/check_snmp.c:1147 -msgid "Prefix label for output from plugin" +msgid "Return OK state (for that OID) if STRING is an exact match" msgstr "" #: plugins/check_snmp.c:1149 -msgid "Units label(s) for output data (e.g., 'sec.')." +msgid "" +"Return OK state (for that OID) if extended regular expression REGEX matches" msgstr "" #: plugins/check_snmp.c:1151 +msgid "" +"Return OK state (for that OID) if case-insensitive extended REGEX matches" +msgstr "" + +#: plugins/check_snmp.c:1153 +msgid "Invert search result (CRITICAL if found)" +msgstr "" + +#: plugins/check_snmp.c:1157 +msgid "Prefix label for output from plugin" +msgstr "" + +#: plugins/check_snmp.c:1159 +msgid "Units label(s) for output data (e.g., 'sec.')." +msgstr "" + +#: plugins/check_snmp.c:1161 msgid "Separates output on multiple OID requests" msgstr "" -#: plugins/check_snmp.c:1155 +#: plugins/check_snmp.c:1165 msgid "Number of retries to be used in the requests" msgstr "" -#: plugins/check_snmp.c:1158 +#: plugins/check_snmp.c:1168 msgid "Label performance data with OIDs instead of --label's" msgstr "" -#: plugins/check_snmp.c:1163 +#: plugins/check_snmp.c:1173 msgid "" "This plugin uses the 'snmpget' command included with the NET-SNMP package." msgstr "" -#: plugins/check_snmp.c:1164 +#: plugins/check_snmp.c:1174 msgid "" "if you don't have the package installed, you will need to download it from" msgstr "" -#: plugins/check_snmp.c:1165 +#: plugins/check_snmp.c:1175 msgid "http://net-snmp.sourceforge.net before you can use this plugin." msgstr "" -#: plugins/check_snmp.c:1169 +#: plugins/check_snmp.c:1179 msgid "" "- Multiple OIDs (and labels) may be indicated by a comma or space-delimited " msgstr "" -#: plugins/check_snmp.c:1170 +#: plugins/check_snmp.c:1180 msgid "list (lists with internal spaces must be quoted)." msgstr "" -#: plugins/check_snmp.c:1174 +#: plugins/check_snmp.c:1184 msgid "" "- When checking multiple OIDs, separate ranges by commas like '-w " "1:10,1:,:20'" msgstr "" -#: plugins/check_snmp.c:1175 +#: plugins/check_snmp.c:1185 msgid "- Note that only one string and one regex may be checked at present" msgstr "" -#: plugins/check_snmp.c:1176 +#: plugins/check_snmp.c:1186 msgid "" "- All evaluation methods other than PR, STR, and SUBSTR expect that the value" msgstr "" -#: plugins/check_snmp.c:1177 +#: plugins/check_snmp.c:1187 msgid "returned from the SNMP query is an unsigned integer." msgstr "" -#: plugins/check_snmp.c:1180 +#: plugins/check_snmp.c:1190 msgid "Rate Calculation:" msgstr "" -#: plugins/check_snmp.c:1181 +#: plugins/check_snmp.c:1191 msgid "In many places, SNMP returns counters that are only meaningful when" msgstr "" -#: plugins/check_snmp.c:1182 +#: plugins/check_snmp.c:1192 msgid "calculating the counter difference since the last check. check_snmp" msgstr "" -#: plugins/check_snmp.c:1183 +#: plugins/check_snmp.c:1193 msgid "saves the last state information in a file so that the rate per second" msgstr "" -#: plugins/check_snmp.c:1184 +#: plugins/check_snmp.c:1194 msgid "can be calculated. Use the --rate option to save state information." msgstr "" -#: plugins/check_snmp.c:1185 +#: plugins/check_snmp.c:1195 msgid "" "On the first run, there will be no prior state - this will return with OK." msgstr "" -#: plugins/check_snmp.c:1186 +#: plugins/check_snmp.c:1196 msgid "The state is uniquely determined by the arguments to the plugin, so" msgstr "" -#: plugins/check_snmp.c:1187 +#: plugins/check_snmp.c:1197 msgid "changing the arguments will create a new state file." msgstr "" @@ -4946,108 +4946,108 @@ msgstr "" msgid "On AIX, if -a is specified, uses lsps -a, otherwise uses lsps -s." msgstr "" -#: plugins/check_tcp.c:200 +#: plugins/check_tcp.c:199 msgid "CRITICAL - Generic check_tcp called with unknown service\n" msgstr "" -#: plugins/check_tcp.c:224 +#: plugins/check_tcp.c:223 msgid "With UDP checks, a send/expect string must be specified." msgstr "" -#: plugins/check_tcp.c:416 +#: plugins/check_tcp.c:417 msgid "No arguments found" msgstr "" -#: plugins/check_tcp.c:518 +#: plugins/check_tcp.c:520 msgid "Maxbytes must be a positive integer" msgstr "Maxbytes muss ein positiver Integer sein" -#: plugins/check_tcp.c:536 +#: plugins/check_tcp.c:538 msgid "Refuse must be one of ok, warn, crit" msgstr "" -#: plugins/check_tcp.c:546 +#: plugins/check_tcp.c:548 msgid "Mismatch must be one of ok, warn, crit" msgstr "" -#: plugins/check_tcp.c:552 +#: plugins/check_tcp.c:554 msgid "Delay must be a positive integer" msgstr "Delay muss ein positiver Integer sein" -#: plugins/check_tcp.c:597 +#: plugins/check_tcp.c:599 #, fuzzy msgid "You must provide a server address" msgstr "%s: Hostname muss angegeben werden\n" -#: plugins/check_tcp.c:599 +#: plugins/check_tcp.c:601 #, fuzzy msgid "Invalid hostname, address or socket" msgstr "Ungültige(r) Hostname/Adresse" -#: plugins/check_tcp.c:613 +#: plugins/check_tcp.c:615 #, fuzzy, c-format msgid "" "This plugin tests %s connections with the specified host (or unix socket).\n" "\n" msgstr "Dieses plugin testet Gameserververbindungen zum angegebenen Host." -#: plugins/check_tcp.c:626 +#: plugins/check_tcp.c:628 msgid "" "Can use \\n, \\r, \\t or \\ in send or quit string. Must come before send or " "quit option" msgstr "" -#: plugins/check_tcp.c:627 +#: plugins/check_tcp.c:629 msgid "Default: nothing added to send, \\r\\n added to end of quit" msgstr "" -#: plugins/check_tcp.c:629 +#: plugins/check_tcp.c:631 msgid "String to send to the server" msgstr "" -#: plugins/check_tcp.c:631 +#: plugins/check_tcp.c:633 msgid "String to expect in server response" msgstr "" -#: plugins/check_tcp.c:631 +#: plugins/check_tcp.c:633 msgid "(may be repeated)" msgstr "" -#: plugins/check_tcp.c:633 +#: plugins/check_tcp.c:635 msgid "All expect strings need to occur in server response. Default is any" msgstr "" -#: plugins/check_tcp.c:635 +#: plugins/check_tcp.c:637 msgid "String to send server to initiate a clean close of the connection" msgstr "" -#: plugins/check_tcp.c:637 +#: plugins/check_tcp.c:639 msgid "Accept TCP refusals with states ok, warn, crit (default: crit)" msgstr "" -#: plugins/check_tcp.c:639 +#: plugins/check_tcp.c:641 msgid "" "Accept expected string mismatches with states ok, warn, crit (default: warn)" msgstr "" -#: plugins/check_tcp.c:641 +#: plugins/check_tcp.c:643 #, fuzzy msgid "Hide output from TCP socket" msgstr "Konnte TCP socket nicht öffnen\n" -#: plugins/check_tcp.c:643 +#: plugins/check_tcp.c:645 msgid "Close connection once more than this number of bytes are received" msgstr "" -#: plugins/check_tcp.c:645 +#: plugins/check_tcp.c:647 msgid "Seconds to wait between sending string and polling for response" msgstr "" -#: plugins/check_tcp.c:650 +#: plugins/check_tcp.c:652 msgid "1st is #days for warning, 2nd is critical (if not specified - 0)." msgstr "" -#: plugins/check_tcp.c:652 +#: plugins/check_tcp.c:654 msgid "Use SSL for the connection." msgstr "" diff --git a/po/fr.gmo b/po/fr.gmo index 9ebdff5..cf3f489 100644 Binary files a/po/fr.gmo and b/po/fr.gmo differ diff --git a/po/fr.po b/po/fr.po index b5ecf53..a88a1e0 100644 --- a/po/fr.po +++ b/po/fr.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: fr\n" "Report-Msgid-Bugs-To: nagiosplug-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2013-09-10 23:13+0200\n" +"POT-Creation-Date: 2013-09-13 00:18+0200\n" "PO-Revision-Date: 2010-04-21 23:38-0400\n" "Last-Translator: Thomas Guyot-Sionnest \n" "Language-Team: Nagios Plugin Development Mailing List \n" "Language-Team: LANGUAGE \n" @@ -28,15 +28,15 @@ msgstr "" #: plugins/check_nwstat.c:173 plugins/check_overcr.c:102 #: plugins/check_pgsql.c:172 plugins/check_ping.c:95 plugins/check_procs.c:171 #: plugins/check_radius.c:160 plugins/check_real.c:80 plugins/check_smtp.c:144 -#: plugins/check_snmp.c:239 plugins/check_ssh.c:73 plugins/check_swap.c:110 -#: plugins/check_tcp.c:212 plugins/check_time.c:78 plugins/check_ups.c:122 +#: plugins/check_snmp.c:240 plugins/check_ssh.c:73 plugins/check_swap.c:110 +#: plugins/check_tcp.c:211 plugins/check_time.c:78 plugins/check_ups.c:122 #: plugins/check_users.c:77 plugins/negate.c:214 plugins-root/check_dhcp.c:270 msgid "Could not parse arguments" msgstr "" #: plugins/check_by_ssh.c:90 plugins/check_dig.c:82 plugins/check_dns.c:95 #: plugins/check_nagios.c:95 plugins/check_pgsql.c:178 plugins/check_ping.c:99 -#: plugins/check_procs.c:186 plugins/negate.c:79 +#: plugins/check_procs.c:186 plugins/check_snmp.c:336 plugins/negate.c:79 msgid "Cannot catch SIGALRM" msgstr "" @@ -63,15 +63,15 @@ msgstr "" #: plugins/check_by_ssh.c:220 plugins/check_disk.c:476 #: plugins/check_http.c:278 plugins/check_ldap.c:293 plugins/check_pgsql.c:311 #: plugins/check_procs.c:429 plugins/check_radius.c:308 -#: plugins/check_real.c:356 plugins/check_smtp.c:581 plugins/check_snmp.c:726 -#: plugins/check_ssh.c:138 plugins/check_tcp.c:489 plugins/check_time.c:302 +#: plugins/check_real.c:356 plugins/check_smtp.c:581 plugins/check_snmp.c:736 +#: plugins/check_ssh.c:138 plugins/check_tcp.c:491 plugins/check_time.c:302 #: plugins/check_ups.c:556 plugins/negate.c:164 msgid "Timeout interval must be a positive integer" msgstr "" #: plugins/check_by_ssh.c:230 plugins/check_pgsql.c:341 #: plugins/check_radius.c:272 plugins/check_real.c:327 -#: plugins/check_smtp.c:506 plugins/check_tcp.c:495 plugins/check_time.c:296 +#: plugins/check_smtp.c:506 plugins/check_tcp.c:497 plugins/check_time.c:296 #: plugins/check_ups.c:518 msgid "Port must be a positive integer" msgstr "" @@ -234,8 +234,8 @@ msgstr "" #: plugins/check_overcr.c:467 plugins/check_pgsql.c:578 #: plugins/check_ping.c:603 plugins/check_procs.c:773 #: plugins/check_radius.c:385 plugins/check_real.c:451 -#: plugins/check_smtp.c:843 plugins/check_snmp.c:1197 plugins/check_ssh.c:309 -#: plugins/check_swap.c:558 plugins/check_tcp.c:668 plugins/check_time.c:371 +#: plugins/check_smtp.c:843 plugins/check_snmp.c:1207 plugins/check_ssh.c:309 +#: plugins/check_swap.c:558 plugins/check_tcp.c:670 plugins/check_time.c:371 #: plugins/check_ups.c:660 plugins/check_users.c:240 #: plugins/check_ide_smart.c:640 plugins/negate.c:295 plugins/urlize.c:197 #: plugins-root/check_dhcp.c:1417 plugins-root/check_icmp.c:1354 @@ -288,7 +288,7 @@ msgstr "" #: plugins/check_mrtgtraf.c:361 plugins/check_mysql.c:558 #: plugins/check_nt.c:758 plugins/check_ntp.c:865 plugins/check_ntp_peer.c:696 #: plugins/check_ntp_time.c:626 plugins/check_nwstat.c:1670 -#: plugins/check_overcr.c:456 plugins/check_snmp.c:1168 +#: plugins/check_overcr.c:456 plugins/check_snmp.c:1178 #: plugins/check_swap.c:547 plugins/check_ups.c:642 plugins/negate.c:277 #: plugins-root/check_icmp.c:1329 msgid "Notes:" @@ -1114,8 +1114,8 @@ msgid "file does not exist or is not readable" msgstr "" #: plugins/check_http.c:310 plugins/check_http.c:315 plugins/check_http.c:321 -#: plugins/check_smtp.c:600 plugins/check_tcp.c:560 plugins/check_tcp.c:564 -#: plugins/check_tcp.c:570 +#: plugins/check_smtp.c:600 plugins/check_tcp.c:562 plugins/check_tcp.c:566 +#: plugins/check_tcp.c:572 msgid "Invalid certificate expiration period" msgstr "" @@ -1125,7 +1125,7 @@ msgid "" "(SSLv3)" msgstr "" -#: plugins/check_http.c:354 plugins/check_tcp.c:583 +#: plugins/check_http.c:354 plugins/check_tcp.c:585 msgid "Invalid option - SSL is not available" msgstr "" @@ -1149,7 +1149,7 @@ msgstr "" #: plugins/check_http.c:464 plugins/check_ntp.c:722 #: plugins/check_ntp_peer.c:513 plugins/check_ntp_time.c:512 -#: plugins/check_smtp.c:621 plugins/check_ssh.c:149 plugins/check_tcp.c:461 +#: plugins/check_smtp.c:621 plugins/check_ssh.c:149 plugins/check_tcp.c:463 msgid "IPv6 support not available" msgstr "" @@ -4145,7 +4145,7 @@ msgstr "" msgid "Invalid REAL response received from host on port %d\n" msgstr "" -#: plugins/check_real.c:184 plugins/check_tcp.c:289 +#: plugins/check_real.c:184 plugins/check_tcp.c:297 #, c-format msgid "No data received from host\n" msgstr "" @@ -4255,7 +4255,7 @@ msgstr "" msgid "SMTP UNKNOWN - Cannot read EHLO response via TLS." msgstr "" -#: plugins/check_smtp.c:303 plugins/check_snmp.c:796 +#: plugins/check_smtp.c:303 plugins/check_snmp.c:806 #, c-format msgid "Could Not Compile Regular Expression" msgstr "" @@ -4265,7 +4265,7 @@ msgstr "" msgid "SMTP %s - Invalid response '%s' to command '%s'\n" msgstr "" -#: plugins/check_smtp.c:316 plugins/check_snmp.c:501 +#: plugins/check_smtp.c:316 plugins/check_snmp.c:511 #, c-format msgid "Execute Error: %s\n" msgstr "" @@ -4380,7 +4380,7 @@ msgstr "" msgid "FQDN used for HELO" msgstr "" -#: plugins/check_smtp.c:809 plugins/check_tcp.c:649 +#: plugins/check_smtp.c:809 plugins/check_tcp.c:651 msgid "Minimum number of days a certificate has to be valid." msgstr "" @@ -4416,292 +4416,292 @@ msgstr "" msgid "STATE_WARNING return values." msgstr "" -#: plugins/check_snmp.c:168 plugins/check_snmp.c:572 +#: plugins/check_snmp.c:169 plugins/check_snmp.c:582 msgid "Cannot malloc" msgstr "" -#: plugins/check_snmp.c:346 +#: plugins/check_snmp.c:356 #, c-format msgid "External command error: %s\n" msgstr "" -#: plugins/check_snmp.c:351 +#: plugins/check_snmp.c:361 #, c-format msgid "External command error with no output (return code: %d)\n" msgstr "" -#: plugins/check_snmp.c:454 +#: plugins/check_snmp.c:464 #, c-format msgid "No valid data returned (%s)\n" msgstr "" -#: plugins/check_snmp.c:465 +#: plugins/check_snmp.c:475 msgid "Time duration between plugin calls is invalid" msgstr "" -#: plugins/check_snmp.c:578 +#: plugins/check_snmp.c:588 msgid "Cannot asprintf()" msgstr "" -#: plugins/check_snmp.c:584 +#: plugins/check_snmp.c:594 msgid "Cannot realloc()" msgstr "" -#: plugins/check_snmp.c:600 +#: plugins/check_snmp.c:610 msgid "No previous data to calculate rate - assume okay" msgstr "" -#: plugins/check_snmp.c:741 +#: plugins/check_snmp.c:751 msgid "Retries interval must be a positive integer" msgstr "" -#: plugins/check_snmp.c:821 +#: plugins/check_snmp.c:831 #, c-format msgid "Could not reallocate labels[%d]" msgstr "" -#: plugins/check_snmp.c:834 +#: plugins/check_snmp.c:844 msgid "Could not reallocate labels\n" msgstr "" -#: plugins/check_snmp.c:850 +#: plugins/check_snmp.c:860 #, c-format msgid "Could not reallocate units [%d]\n" msgstr "" -#: plugins/check_snmp.c:862 +#: plugins/check_snmp.c:872 msgid "Could not realloc() units\n" msgstr "" -#: plugins/check_snmp.c:879 +#: plugins/check_snmp.c:889 msgid "Rate multiplier must be a positive integer" msgstr "" -#: plugins/check_snmp.c:937 +#: plugins/check_snmp.c:947 msgid "No host specified\n" msgstr "" -#: plugins/check_snmp.c:941 +#: plugins/check_snmp.c:951 msgid "No OIDs specified\n" msgstr "" -#: plugins/check_snmp.c:963 +#: plugins/check_snmp.c:973 msgid "Invalid seclevel" msgstr "" -#: plugins/check_snmp.c:970 plugins/check_snmp.c:973 plugins/check_snmp.c:991 +#: plugins/check_snmp.c:980 plugins/check_snmp.c:983 plugins/check_snmp.c:1001 #, c-format msgid "Required parameter: %s\n" msgstr "" -#: plugins/check_snmp.c:1012 +#: plugins/check_snmp.c:1022 msgid "Invalid SNMP version" msgstr "" -#: plugins/check_snmp.c:1029 +#: plugins/check_snmp.c:1039 msgid "Unbalanced quotes\n" msgstr "" -#: plugins/check_snmp.c:1078 +#: plugins/check_snmp.c:1088 msgid "Check status of remote machines and obtain system information via SNMP" msgstr "" -#: plugins/check_snmp.c:1091 +#: plugins/check_snmp.c:1101 msgid "Use SNMP GETNEXT instead of SNMP GET" msgstr "" -#: plugins/check_snmp.c:1093 +#: plugins/check_snmp.c:1103 msgid "SNMP protocol version" msgstr "" -#: plugins/check_snmp.c:1095 +#: plugins/check_snmp.c:1105 msgid "SNMPv3 securityLevel" msgstr "" -#: plugins/check_snmp.c:1097 +#: plugins/check_snmp.c:1107 msgid "SNMPv3 auth proto" msgstr "" -#: plugins/check_snmp.c:1099 +#: plugins/check_snmp.c:1109 msgid "SNMPv3 priv proto (default DES)" msgstr "" -#: plugins/check_snmp.c:1103 +#: plugins/check_snmp.c:1113 msgid "Optional community string for SNMP communication" msgstr "" -#: plugins/check_snmp.c:1104 +#: plugins/check_snmp.c:1114 msgid "default is" msgstr "" -#: plugins/check_snmp.c:1106 +#: plugins/check_snmp.c:1116 msgid "SNMPv3 username" msgstr "" -#: plugins/check_snmp.c:1108 +#: plugins/check_snmp.c:1118 msgid "SNMPv3 authentication password" msgstr "" -#: plugins/check_snmp.c:1110 +#: plugins/check_snmp.c:1120 msgid "SNMPv3 privacy password" msgstr "" -#: plugins/check_snmp.c:1114 +#: plugins/check_snmp.c:1124 msgid "Object identifier(s) or SNMP variables whose value you wish to query" msgstr "" -#: plugins/check_snmp.c:1116 +#: plugins/check_snmp.c:1126 msgid "" "List of MIBS to be loaded (default = none if using numeric OIDs or 'ALL'" msgstr "" -#: plugins/check_snmp.c:1117 +#: plugins/check_snmp.c:1127 msgid "for symbolic OIDs.)" msgstr "" -#: plugins/check_snmp.c:1119 +#: plugins/check_snmp.c:1129 msgid "Delimiter to use when parsing returned data. Default is" msgstr "" -#: plugins/check_snmp.c:1120 +#: plugins/check_snmp.c:1130 msgid "Any data on the right hand side of the delimiter is considered" msgstr "" -#: plugins/check_snmp.c:1121 +#: plugins/check_snmp.c:1131 msgid "to be the data that should be used in the evaluation." msgstr "" -#: plugins/check_snmp.c:1125 +#: plugins/check_snmp.c:1135 msgid "Warning threshold range(s)" msgstr "" -#: plugins/check_snmp.c:1127 +#: plugins/check_snmp.c:1137 msgid "Critical threshold range(s)" msgstr "" -#: plugins/check_snmp.c:1129 -msgid "Enable rate calculation. See 'Rate Calculation' below" -msgstr "" - -#: plugins/check_snmp.c:1131 -msgid "" -"Converts rate per second. For example, set to 60 to convert to per minute" -msgstr "" - -#: plugins/check_snmp.c:1133 -msgid "Add/substract the specified OFFSET to numeric sensor data" -msgstr "" - -#: plugins/check_snmp.c:1137 -msgid "Return OK state (for that OID) if STRING is an exact match" -msgstr "" - #: plugins/check_snmp.c:1139 -msgid "" -"Return OK state (for that OID) if extended regular expression REGEX matches" +msgid "Enable rate calculation. See 'Rate Calculation' below" msgstr "" #: plugins/check_snmp.c:1141 msgid "" -"Return OK state (for that OID) if case-insensitive extended REGEX matches" +"Converts rate per second. For example, set to 60 to convert to per minute" msgstr "" #: plugins/check_snmp.c:1143 -msgid "Invert search result (CRITICAL if found)" +msgid "Add/substract the specified OFFSET to numeric sensor data" msgstr "" #: plugins/check_snmp.c:1147 -msgid "Prefix label for output from plugin" +msgid "Return OK state (for that OID) if STRING is an exact match" msgstr "" #: plugins/check_snmp.c:1149 -msgid "Units label(s) for output data (e.g., 'sec.')." +msgid "" +"Return OK state (for that OID) if extended regular expression REGEX matches" msgstr "" #: plugins/check_snmp.c:1151 +msgid "" +"Return OK state (for that OID) if case-insensitive extended REGEX matches" +msgstr "" + +#: plugins/check_snmp.c:1153 +msgid "Invert search result (CRITICAL if found)" +msgstr "" + +#: plugins/check_snmp.c:1157 +msgid "Prefix label for output from plugin" +msgstr "" + +#: plugins/check_snmp.c:1159 +msgid "Units label(s) for output data (e.g., 'sec.')." +msgstr "" + +#: plugins/check_snmp.c:1161 msgid "Separates output on multiple OID requests" msgstr "" -#: plugins/check_snmp.c:1155 +#: plugins/check_snmp.c:1165 msgid "Number of retries to be used in the requests" msgstr "" -#: plugins/check_snmp.c:1158 +#: plugins/check_snmp.c:1168 msgid "Label performance data with OIDs instead of --label's" msgstr "" -#: plugins/check_snmp.c:1163 +#: plugins/check_snmp.c:1173 msgid "" "This plugin uses the 'snmpget' command included with the NET-SNMP package." msgstr "" -#: plugins/check_snmp.c:1164 +#: plugins/check_snmp.c:1174 msgid "" "if you don't have the package installed, you will need to download it from" msgstr "" -#: plugins/check_snmp.c:1165 +#: plugins/check_snmp.c:1175 msgid "http://net-snmp.sourceforge.net before you can use this plugin." msgstr "" -#: plugins/check_snmp.c:1169 +#: plugins/check_snmp.c:1179 msgid "" "- Multiple OIDs (and labels) may be indicated by a comma or space-delimited " msgstr "" -#: plugins/check_snmp.c:1170 +#: plugins/check_snmp.c:1180 msgid "list (lists with internal spaces must be quoted)." msgstr "" -#: plugins/check_snmp.c:1174 +#: plugins/check_snmp.c:1184 msgid "" "- When checking multiple OIDs, separate ranges by commas like '-w " "1:10,1:,:20'" msgstr "" -#: plugins/check_snmp.c:1175 +#: plugins/check_snmp.c:1185 msgid "- Note that only one string and one regex may be checked at present" msgstr "" -#: plugins/check_snmp.c:1176 +#: plugins/check_snmp.c:1186 msgid "" "- All evaluation methods other than PR, STR, and SUBSTR expect that the value" msgstr "" -#: plugins/check_snmp.c:1177 +#: plugins/check_snmp.c:1187 msgid "returned from the SNMP query is an unsigned integer." msgstr "" -#: plugins/check_snmp.c:1180 +#: plugins/check_snmp.c:1190 msgid "Rate Calculation:" msgstr "" -#: plugins/check_snmp.c:1181 +#: plugins/check_snmp.c:1191 msgid "In many places, SNMP returns counters that are only meaningful when" msgstr "" -#: plugins/check_snmp.c:1182 +#: plugins/check_snmp.c:1192 msgid "calculating the counter difference since the last check. check_snmp" msgstr "" -#: plugins/check_snmp.c:1183 +#: plugins/check_snmp.c:1193 msgid "saves the last state information in a file so that the rate per second" msgstr "" -#: plugins/check_snmp.c:1184 +#: plugins/check_snmp.c:1194 msgid "can be calculated. Use the --rate option to save state information." msgstr "" -#: plugins/check_snmp.c:1185 +#: plugins/check_snmp.c:1195 msgid "" "On the first run, there will be no prior state - this will return with OK." msgstr "" -#: plugins/check_snmp.c:1186 +#: plugins/check_snmp.c:1196 msgid "The state is uniquely determined by the arguments to the plugin, so" msgstr "" -#: plugins/check_snmp.c:1187 +#: plugins/check_snmp.c:1197 msgid "changing the arguments will create a new state file." msgstr "" @@ -4820,105 +4820,105 @@ msgstr "" msgid "On AIX, if -a is specified, uses lsps -a, otherwise uses lsps -s." msgstr "" -#: plugins/check_tcp.c:200 +#: plugins/check_tcp.c:199 msgid "CRITICAL - Generic check_tcp called with unknown service\n" msgstr "" -#: plugins/check_tcp.c:224 +#: plugins/check_tcp.c:223 msgid "With UDP checks, a send/expect string must be specified." msgstr "" -#: plugins/check_tcp.c:416 +#: plugins/check_tcp.c:417 msgid "No arguments found" msgstr "" -#: plugins/check_tcp.c:518 +#: plugins/check_tcp.c:520 msgid "Maxbytes must be a positive integer" msgstr "" -#: plugins/check_tcp.c:536 +#: plugins/check_tcp.c:538 msgid "Refuse must be one of ok, warn, crit" msgstr "" -#: plugins/check_tcp.c:546 +#: plugins/check_tcp.c:548 msgid "Mismatch must be one of ok, warn, crit" msgstr "" -#: plugins/check_tcp.c:552 +#: plugins/check_tcp.c:554 msgid "Delay must be a positive integer" msgstr "" -#: plugins/check_tcp.c:597 +#: plugins/check_tcp.c:599 msgid "You must provide a server address" msgstr "" -#: plugins/check_tcp.c:599 +#: plugins/check_tcp.c:601 msgid "Invalid hostname, address or socket" msgstr "" -#: plugins/check_tcp.c:613 +#: plugins/check_tcp.c:615 #, c-format msgid "" "This plugin tests %s connections with the specified host (or unix socket).\n" "\n" msgstr "" -#: plugins/check_tcp.c:626 +#: plugins/check_tcp.c:628 msgid "" "Can use \\n, \\r, \\t or \\ in send or quit string. Must come before send or " "quit option" msgstr "" -#: plugins/check_tcp.c:627 +#: plugins/check_tcp.c:629 msgid "Default: nothing added to send, \\r\\n added to end of quit" msgstr "" -#: plugins/check_tcp.c:629 +#: plugins/check_tcp.c:631 msgid "String to send to the server" msgstr "" -#: plugins/check_tcp.c:631 +#: plugins/check_tcp.c:633 msgid "String to expect in server response" msgstr "" -#: plugins/check_tcp.c:631 +#: plugins/check_tcp.c:633 msgid "(may be repeated)" msgstr "" -#: plugins/check_tcp.c:633 +#: plugins/check_tcp.c:635 msgid "All expect strings need to occur in server response. Default is any" msgstr "" -#: plugins/check_tcp.c:635 +#: plugins/check_tcp.c:637 msgid "String to send server to initiate a clean close of the connection" msgstr "" -#: plugins/check_tcp.c:637 +#: plugins/check_tcp.c:639 msgid "Accept TCP refusals with states ok, warn, crit (default: crit)" msgstr "" -#: plugins/check_tcp.c:639 +#: plugins/check_tcp.c:641 msgid "" "Accept expected string mismatches with states ok, warn, crit (default: warn)" msgstr "" -#: plugins/check_tcp.c:641 +#: plugins/check_tcp.c:643 msgid "Hide output from TCP socket" msgstr "" -#: plugins/check_tcp.c:643 +#: plugins/check_tcp.c:645 msgid "Close connection once more than this number of bytes are received" msgstr "" -#: plugins/check_tcp.c:645 +#: plugins/check_tcp.c:647 msgid "Seconds to wait between sending string and polling for response" msgstr "" -#: plugins/check_tcp.c:650 +#: plugins/check_tcp.c:652 msgid "1st is #days for warning, 2nd is critical (if not specified - 0)." msgstr "" -#: plugins/check_tcp.c:652 +#: plugins/check_tcp.c:654 msgid "Use SSL for the connection." msgstr ""