diff options
164 files changed, 6486 insertions, 4238 deletions
@@ -21,7 +21,7 @@ NP-VERSION-FILE | |||
21 | /Makefile | 21 | /Makefile |
22 | /Makefile.in | 22 | /Makefile.in |
23 | /missing | 23 | /missing |
24 | /nagios-plugins.spec | 24 | /monitoring-plugins.spec |
25 | /stamp-h1 | 25 | /stamp-h1 |
26 | /test.pl | 26 | /test.pl |
27 | /THANKS | 27 | /THANKS |
@@ -81,6 +81,7 @@ NP-VERSION-FILE | |||
81 | /gl/stdio.h | 81 | /gl/stdio.h |
82 | /gl/stdlib.h | 82 | /gl/stdlib.h |
83 | /gl/string.h | 83 | /gl/string.h |
84 | /gl/strings.h | ||
84 | /gl/sys_socket.h | 85 | /gl/sys_socket.h |
85 | /gl/sys_stat.h | 86 | /gl/sys_stat.h |
86 | /gl/sys | 87 | /gl/sys |
@@ -93,7 +94,7 @@ NP-VERSION-FILE | |||
93 | # /lib/ | 94 | # /lib/ |
94 | /lib/.deps | 95 | /lib/.deps |
95 | /lib/getopt.h | 96 | /lib/getopt.h |
96 | /lib/libnagiosplug.a | 97 | /lib/libmonitoringplug.a |
97 | /lib/Makefile | 98 | /lib/Makefile |
98 | /lib/Makefile.in | 99 | /lib/Makefile.in |
99 | 100 | ||
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..02fa084 --- /dev/null +++ b/.travis.yml | |||
@@ -0,0 +1,52 @@ | |||
1 | language: c | ||
2 | |||
3 | before_install: | ||
4 | - sudo apt-get update -qq | ||
5 | - sudo apt-get purge -qq gawk | ||
6 | |||
7 | install: | ||
8 | - sudo apt-get install -qq --no-install-recommends perl autotools-dev libdbi-dev libldap2-dev libpq-dev libmysqlclient-dev libradiusclient-ng-dev libkrb5-dev libnet-snmp-perl procps | ||
9 | - sudo apt-get install -qq --no-install-recommends libdbi0-dev libdbd-sqlite3 libssl-dev dnsutils snmp-mibs-downloader | ||
10 | - sudo apt-get install -qq --no-install-recommends fping snmp netcat smbclient fping pure-ftpd apache2 postfix | ||
11 | - sudo apt-get install -qq --no-install-recommends autoconf automake | ||
12 | |||
13 | before_script: | ||
14 | - tools/setup | ||
15 | - ./configure | ||
16 | - make | ||
17 | - export NPTEST_CACHE="$(pwd)/plugins/t/NPTest.cache.travis" | ||
18 | - ssh-keygen -t dsa -N "" -f ~/.ssh/id_dsa | ||
19 | - cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys | ||
20 | - ssh-keyscan localhost >> ~/.ssh/known_hosts | ||
21 | - touch ~/.ssh/config | ||
22 | - sudo rm -f /usr/share/mibs/ietf/SNMPv2-PDU /usr/share/mibs/ietf/IPSEC-SPD-MIB /usr/share/mibs/ietf/IPATM-IPMC-MIB /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB | ||
23 | - sudo mkdir -p /var/lib/snmp/mib_indexes | ||
24 | |||
25 | script: | ||
26 | - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then make test; fi | ||
27 | |||
28 | notifications: | ||
29 | irc: | ||
30 | channels: | ||
31 | - "chat.freenode.net#Monitoring-Plugins" | ||
32 | on_success: change | ||
33 | on_failure: always | ||
34 | skip_join: true | ||
35 | email: | ||
36 | - team@monitoring-plugins.org | ||
37 | |||
38 | env: | ||
39 | global: | ||
40 | # This is the encrypted COVERITY_SCAN_TOKEN, created via the "travis | ||
41 | # encrypt" command using the project repository's public key. | ||
42 | - secure: "ggJ9c/VfKcwtrwz/My+ne4My7D8g3qi3vz5Hh+yLiri0+oIXCy313ZD6ssIEY/5beQZEOnuHhBgBJd/Y3clSQNc2M9fRNc+wxOkIO992lgnY0MZJN3y9MLfpqUbTClhU9Fst0qXQqGpI6UI8yz1tj7yKi7DPrycJLRrjMpyTfyo=" | ||
43 | |||
44 | addons: | ||
45 | coverity_scan: | ||
46 | project: | ||
47 | name: "monitoring-plugins/monitoring-plugins" | ||
48 | description: "Monitoring Plugins" | ||
49 | notification_email: team@monitoring-plugins.org | ||
50 | build_command_prepend: tools/setup && ./configure | ||
51 | build_command: make | ||
52 | branch_pattern: coverity.* | ||
diff --git a/ACKNOWLEDGEMENTS b/ACKNOWLEDGEMENTS index 7b8dbe2..50c714c 100644 --- a/ACKNOWLEDGEMENTS +++ b/ACKNOWLEDGEMENTS | |||
@@ -1,6 +1,6 @@ | |||
1 | This file contains the origin of code copied verbatim into some or all of the Nagios plugins. | 1 | This file contains the origin of code copied verbatim into some or all of the Monitoring Plugins. |
2 | 2 | ||
3 | The NagiosPlugin team thanks the original authors. | 3 | The Monitoring Plugins team thanks the original authors. |
4 | 4 | ||
5 | Copied code is cited in the source by indented comments of the form | 5 | Copied code is cited in the source by indented comments of the form |
6 | 6 | ||
@@ -1,4 +1,4 @@ | |||
1 | The Nagios Plugins are brought to you by the Nagios Plugins Development Team. | 1 | The Monitoring Plugins are brought to you by the Monitoring Plugins Development Team. |
2 | 2 | ||
3 | Jeremy T. Bouse | 3 | Jeremy T. Bouse |
4 | Peter Bray | 4 | Peter Bray |
@@ -11,6 +11,7 @@ Subhendu Ghosh | |||
11 | Thomas Guyot-Sionnest | 11 | Thomas Guyot-Sionnest |
12 | Stanley Hopcroft | 12 | Stanley Hopcroft |
13 | Matthew Kent | 13 | Matthew Kent |
14 | Sam Kottler | ||
14 | Harper Mann | 15 | Harper Mann |
15 | Benoit Mortier | 16 | Benoit Mortier |
16 | Sven Nierlein | 17 | Sven Nierlein |
@@ -12,8 +12,8 @@ Foundation Coding standards (which are currently available at | |||
12 | http://www.gnu.org/prep/standards_toc.html). We also follow most of | 12 | http://www.gnu.org/prep/standards_toc.html). We also follow most of |
13 | the FSF guidelines. Developers may suggest deviations from the FSF | 13 | the FSF guidelines. Developers may suggest deviations from the FSF |
14 | style recommendations, which will be considered by open discussion on | 14 | style recommendations, which will be considered by open discussion on |
15 | the nagiosplug-devel mailing list. Any such deviations will apply to | 15 | the Monitoring Plugins devel mailing list. Any such deviations will |
16 | the entire code base to ensure consistency. | 16 | apply to the entire code base to ensure consistency. |
17 | 17 | ||
18 | Currently, the exceptions to FSF recommendations are roughly equivalent | 18 | Currently, the exceptions to FSF recommendations are roughly equivalent |
19 | to GNU indent with invoked as 'indent -ts 2 -br'. Specifically, the | 19 | to GNU indent with invoked as 'indent -ts 2 -br'. Specifically, the |
@@ -15,12 +15,10 @@ A: All plugins that comply with minimal development guideline for | |||
15 | this project include detailed version information. When executed | 15 | this project include detailed version information. When executed |
16 | with the '-V' option, a version string will be printed: | 16 | with the '-V' option, a version string will be printed: |
17 | 17 | ||
18 | check_radius (nagios-plugins 1.3.0-alpha1) 1.11 | 18 | check_radius v1.4.16 (monitoring-plugins 1.4.16) |
19 | 19 | ||
20 | Note that this string include both the assigned package release | 20 | All bug reports and help requests should reference this |
21 | name and the CVS-generated revision for the individual plugin. | 21 | information. |
22 | Authors should strictly adhere to this format. All bug reports | ||
23 | and help requests should reference this information. | ||
24 | 22 | ||
25 | 23 | ||
26 | Q: What information do I need to include when asking for help or | 24 | Q: What information do I need to include when asking for help or |
@@ -34,7 +32,7 @@ A: At a minimum, the output from 'uname -a' and the version string | |||
34 | Q: I'm using Redhat Linux (or some other RPM-based distribution). | 32 | Q: I'm using Redhat Linux (or some other RPM-based distribution). |
35 | Which packages should I install? | 33 | Which packages should I install? |
36 | 34 | ||
37 | A: The package nagios-plugins-<version>.<arch>.rpm contains only | 35 | A: The package monitoring-plugins-<version>.<arch>.rpm contains only |
38 | those plugins that should work on any POSIX compliant system. In | 36 | those plugins that should work on any POSIX compliant system. In |
39 | other words, you should be able to install this package on your | 37 | other words, you should be able to install this package on your |
40 | system, no matter what else is or in not installed. | 38 | system, no matter what else is or in not installed. |
@@ -44,7 +42,7 @@ A: The package nagios-plugins-<version>.<arch>.rpm contains only | |||
44 | each dependency could be installed cleanly, but many people | 42 | each dependency could be installed cleanly, but many people |
45 | found that this resulted in too many packages. So in the end, | 43 | found that this resulted in too many packages. So in the end, |
46 | all the non-POSIX plugins were folded into one RPM | 44 | all the non-POSIX plugins were folded into one RPM |
47 | (nagios-plugins-<version>.<arch>.rpm). Most people will need to | 45 | (monitoring-plugins-<version>.<arch>.rpm). Most people will need to |
48 | use RPM's '--nodeps' option to install this package. | 46 | use RPM's '--nodeps' option to install this package. |
49 | 47 | ||
50 | 48 | ||
@@ -61,10 +59,10 @@ Q: I prefer to build my own RPMs. Do I need to install all of the | |||
61 | 59 | ||
62 | A: Beginning with the 1.2.9-1 release, you may run | 60 | A: Beginning with the 1.2.9-1 release, you may run |
63 | 61 | ||
64 | rpm --define 'custom 1' -ta nagios-plugins-<release>.tar.gz | 62 | rpm --define 'custom 1' -ta monitoring-plugins-<release>.tar.gz |
65 | 63 | ||
66 | In prior releases, you must unpack the tarball and build the | 64 | In prior releases, you must unpack the tarball and build the |
67 | RPM using nagios-custom.spec with 'rpm -ba'. | 65 | RPM using monitoring-custom.spec with 'rpm -ba'. |
68 | 66 | ||
69 | 67 | ||
70 | Q: I get an error like | 68 | Q: I get an error like |
@@ -86,8 +84,8 @@ A: Commonly, system administrators will make security as tight as | |||
86 | 84 | ||
87 | Q: I have a plugin to offer. What can I do? | 85 | Q: I have a plugin to offer. What can I do? |
88 | 86 | ||
89 | A: You can make it available on NagiosExchange (http://nagiosexchange.org) | 87 | A: You can make it available on MonitoringExchange (http://monitoringexchange.org) |
90 | where other people can find it for use. | 88 | where other people can find it for use. |
91 | 89 | ||
92 | You can also get feedback on improving the plugin via the | 90 | You can also get feedback on improving the plugin via the |
93 | nagiosplug-devel@lists.sourceforge.net mailing list. | 91 | devel@monitoring-plugins.org mailing list. |
diff --git a/Makefile.am b/Makefile.am index 98542b9..517068c 100644 --- a/Makefile.am +++ b/Makefile.am | |||
@@ -5,7 +5,7 @@ SUBDIRS = gl tap lib plugins plugins-scripts plugins-root po @PERLMODS_DIR@ | |||
5 | EXTRA_DIST = config.rpath \ | 5 | EXTRA_DIST = config.rpath \ |
6 | ABOUT-NLS ACKNOWLEDGEMENTS AUTHORS CODING ChangeLog FAQ LEGAL NEWS \ | 6 | ABOUT-NLS ACKNOWLEDGEMENTS AUTHORS CODING ChangeLog FAQ LEGAL NEWS \ |
7 | NP-VERSION-GEN REQUIREMENTS SUPPORT THANKS \ | 7 | NP-VERSION-GEN REQUIREMENTS SUPPORT THANKS \ |
8 | NPTest.pm pkg nagios-plugins.spec \ | 8 | NPTest.pm pkg monitoring-plugins.spec \ |
9 | config_test/Makefile config_test/run_tests config_test/child_test.c \ | 9 | config_test/Makefile config_test/run_tests config_test/child_test.c \ |
10 | perlmods tools/build_perl_modules \ | 10 | perlmods tools/build_perl_modules \ |
11 | tools/tinderbox_build | 11 | tools/tinderbox_build |
@@ -51,7 +51,7 @@ solpkg: | |||
51 | cd $(BUILDDIR) && $(PERL) ../$(PKGSCRIPT) ../$(PACKDIR) | 51 | cd $(BUILDDIR) && $(PERL) ../$(PKGSCRIPT) ../$(PACKDIR) |
52 | 52 | ||
53 | THANKS: THANKS.in | 53 | THANKS: THANKS.in |
54 | @echo "This software is brought to you by the Nagios Plugins Development Team. However," > $@ | 54 | @echo "This software is brought to you by the Monitoring Plugins Development Team. However," > $@ |
55 | @echo "there have been many contributors to this project. Everyone below has helped in " >> $@ | 55 | @echo "there have been many contributors to this project. Everyone below has helped in " >> $@ |
56 | @echo "raising bug reports, creating patches or contributing new plugins." >> $@ | 56 | @echo "raising bug reports, creating patches or contributing new plugins." >> $@ |
57 | @echo "" >> $@ | 57 | @echo "" >> $@ |
@@ -1,6 +1,51 @@ | |||
1 | This file documents the major additions and syntax changes between releases. | 1 | This file documents the major additions and syntax changes between releases. |
2 | 2 | ||
3 | ... | 3 | 2.0 ... |
4 | ENHANCEMENTS | ||
5 | check_mailq now supports auto detection of qmail, postfix, exim and nullmailer with | ||
6 | fallback to sendmail | ||
7 | check_ide_smart now defaults to plugin output, original output appended with -v | ||
8 | Extra-Opts are now enabled by default, see: | ||
9 | https://www.monitoring-plugins.org/doc/extra-opts.html | ||
10 | check_swap now supports a configurable state when there is no swap | ||
11 | check_radius now supports the FreeRADIUS Client library | ||
12 | New check_mysql_query -f option to specify a client options file | ||
13 | New check_mysql_query -g option to specify a client options group | ||
14 | Add performance data to check_mysql_query | ||
15 | New check_file_age -i/--ignore-missing option to return OK on nonexistent files | ||
16 | Make check_ping, check_users, and check_disk work on Windows | ||
17 | |||
18 | FIXES | ||
19 | Don't let e.g. check_http's -C option reset SSL version if e.g. -S 1 -C 5 is specified | ||
20 | Don't have check_http's -N option expect an argument | ||
21 | check_ide_smart could disable offline auto tests but could not re-enable them. | ||
22 | For this reason all SMART command modes have been disabled. | ||
23 | check_dig: fix wrong IPv6 arguments order (Stéphane Bortzmeyer) | ||
24 | check_dig: make sure not to give up too early when a timeout is specified with -t | ||
25 | check_log: don't stumble over log lines that include a "%" character | ||
26 | check_nt: add UPTIME to perfdata | ||
27 | Handle negative values properly with check_snmp | ||
28 | Handle SNMPv3 noAuthNoPriv properly with check_snmp | ||
29 | Fix compilation with GnuTLS | ||
30 | |||
31 | WARNINGS | ||
32 | New default installation prefix: /usr/local instead of /usr/local/nagios | ||
33 | check_procs now ignores its parent process to avoid unexpected results when invoked via certain shells | ||
34 | utils.sh no longer defines ECH | ||
35 | check_ide_smart -q/--quiet and -n/--nagios (Nagios-compatile output) are now deprecated | ||
36 | but accepted for backward-compatibility | ||
37 | check_ide_smart -0/--auto-off, -1/--auto-on and -i/--immediate: options have | ||
38 | been disabled because they were broken | ||
39 | State retention: the NAGIOS_PLUGIN_STATE_DIRECTORY environment variable has been | ||
40 | renamed MP_STATE_PATH. The old variable will continue to work in v1.6.x | ||
41 | Add the UID of the invoking user to the state retention file path. This helps solving | ||
42 | permission issues when different users run the same plugin | ||
43 | check_swap used to allow returning OK on a system without swap when only percent thresholds | ||
44 | were used. This is no longer the case and one must now use -n/--no-swap=<state> | ||
45 | The Perl and Shell plugins now use the PATH specified via ./configure's --trusted-path | ||
46 | option, or "/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin" by default | ||
47 | |||
48 | 1.5 2nd October 2013 | ||
4 | ENHANCEMENTS | 49 | ENHANCEMENTS |
5 | New check_dbi plugin for checking an (SQL) database using DBI | 50 | New check_dbi plugin for checking an (SQL) database using DBI |
6 | Let OpenSSL load its configuration file (see the OPENSSL_config(3) man page) | 51 | Let OpenSSL load its configuration file (see the OPENSSL_config(3) man page) |
@@ -46,6 +91,7 @@ This file documents the major additions and syntax changes between releases. | |||
46 | WARNINGS | 91 | WARNINGS |
47 | check_http behaviour of -k/--header changed since it does not seperate multiple headers by semicolons anymore. Use multiple -k switches instead. | 92 | check_http behaviour of -k/--header changed since it does not seperate multiple headers by semicolons anymore. Use multiple -k switches instead. |
48 | check_http's --proxy_authorization option is now called --proxy-authorization (it was always documented this way) | 93 | check_http's --proxy_authorization option is now called --proxy-authorization (it was always documented this way) |
94 | The contrib directory has been removed from this distribution | ||
49 | 95 | ||
50 | 1.4.16 27th June 2012 | 96 | 1.4.16 27th June 2012 |
51 | ENHANCEMENTS | 97 | ENHANCEMENTS |
@@ -287,7 +333,7 @@ This file documents the major additions and syntax changes between releases. | |||
287 | check_icmp fix for *BSD when running for long time | 333 | check_icmp fix for *BSD when running for long time |
288 | check_ping times out 1 second quicker if host is unreachable | 334 | check_ping times out 1 second quicker if host is unreachable |
289 | Root plugins installed with world executable | 335 | Root plugins installed with world executable |
290 | check_sybase from contrib now maintained in NagiosExchange | 336 | check_sybase from contrib now maintained in MonitoringExchange |
291 | --with-nagios-user/group reinstated ./configure option | 337 | --with-nagios-user/group reinstated ./configure option |
292 | New --without-world-permissions ./configure option | 338 | New --without-world-permissions ./configure option |
293 | 339 | ||
@@ -311,7 +357,7 @@ This file documents the major additions and syntax changes between releases. | |||
311 | New C based check_ntp. The perl version is now deprecated. | 357 | New C based check_ntp. The perl version is now deprecated. |
312 | New check_apt plugin | 358 | New check_apt plugin |
313 | Notice: plugins in contrib/ will start to be removed from this distribution. | 359 | Notice: plugins in contrib/ will start to be removed from this distribution. |
314 | Please check at http://www.nagiosexchange.org for contributed plugins | 360 | Please check at http://www.monitoringexchange.org for contributed plugins |
315 | Major bug fixes to check_disk where values were incorrectly calculated and alerted on. | 361 | Major bug fixes to check_disk where values were incorrectly calculated and alerted on. |
316 | check_udp2 removed. check_udp is now linked to check_tcp.c | 362 | check_udp2 removed. check_udp is now linked to check_tcp.c |
317 | check_mailq now errors if the sub-program run returns non-zero return code. This would appear | 363 | check_mailq now errors if the sub-program run returns non-zero return code. This would appear |
diff --git a/NP-VERSION-GEN b/NP-VERSION-GEN index c50c26b..ae507e4 100755 --- a/NP-VERSION-GEN +++ b/NP-VERSION-GEN | |||
@@ -6,7 +6,7 @@ | |||
6 | SRC_ROOT=`dirname $0` | 6 | SRC_ROOT=`dirname $0` |
7 | 7 | ||
8 | NPVF=NP-VERSION-FILE | 8 | NPVF=NP-VERSION-FILE |
9 | DEF_VER=1.4.16.git | 9 | DEF_VER=1.5.git |
10 | 10 | ||
11 | LF=' | 11 | LF=' |
12 | ' | 12 | ' |
@@ -1,12 +1,12 @@ | |||
1 | package NPTest; | 1 | package NPTest; |
2 | 2 | ||
3 | # | 3 | # |
4 | # Helper Functions for testing Nagios Plugins | 4 | # Helper Functions for testing Monitoring Plugins |
5 | # | 5 | # |
6 | 6 | ||
7 | require Exporter; | 7 | require Exporter; |
8 | @ISA = qw(Exporter); | 8 | @ISA = qw(Exporter); |
9 | @EXPORT = qw(getTestParameter checkCmd skipMissingCmd); | 9 | @EXPORT = qw(getTestParameter checkCmd skipMissingCmd skipMsg); |
10 | @EXPORT_OK = qw(DetermineTestHarnessDirectory TestsFrom SetCacheFilename); | 10 | @EXPORT_OK = qw(DetermineTestHarnessDirectory TestsFrom SetCacheFilename); |
11 | 11 | ||
12 | use strict; | 12 | use strict; |
@@ -25,21 +25,21 @@ $VERSION = "1556."; # must be all one line, for MakeMaker | |||
25 | 25 | ||
26 | =head1 NAME | 26 | =head1 NAME |
27 | 27 | ||
28 | NPTest - Simplify the testing of Nagios Plugins | 28 | NPTest - Simplify the testing of Monitoring Plugins |
29 | 29 | ||
30 | =head1 DESCRIPTION | 30 | =head1 DESCRIPTION |
31 | 31 | ||
32 | This modules provides convenience functions to assist in the testing | 32 | This modules provides convenience functions to assist in the testing |
33 | of Nagios Plugins, making the testing code easier to read and write; | 33 | of Monitoring Plugins, making the testing code easier to read and write; |
34 | hopefully encouraging the development of a more complete test suite for | 34 | hopefully encouraging the development of a more complete test suite for |
35 | the Nagios Plugins. It is based on the patterns of testing seen in the | 35 | the Monitoring Plugins. It is based on the patterns of testing seen in the |
36 | 1.4.0 release, and continues to use the L<Test> module as the basis of | 36 | 1.4.0 release, and continues to use the L<Test> module as the basis of |
37 | testing. | 37 | testing. |
38 | 38 | ||
39 | =head1 FUNCTIONS | 39 | =head1 FUNCTIONS |
40 | 40 | ||
41 | This module defines three public functions, C<getTestParameter(...)>, | 41 | This module defines four public functions, C<getTestParameter(...)>, |
42 | C<checkCmd(...)> and C<skipMissingCmd(...)>. These are exported by | 42 | C<checkCmd(...)>, C<skipMissingCmd(...)> and C<skipMsg(...)>. These are exported by |
43 | default via the C<use NPTest;> statement. | 43 | default via the C<use NPTest;> statement. |
44 | 44 | ||
45 | =over | 45 | =over |
@@ -92,7 +92,7 @@ Testing of results would be done in your test script, not in this module. | |||
92 | This function is obsolete. Use C<testCmd()> instead. | 92 | This function is obsolete. Use C<testCmd()> instead. |
93 | 93 | ||
94 | This function attempts to encompass the majority of test styles used | 94 | This function attempts to encompass the majority of test styles used |
95 | in testing Nagios Plugins. As each plug-in is a separate command, the | 95 | in testing Monitoring Plugins. As each plug-in is a separate command, the |
96 | typical tests we wish to perform are against the exit status of the | 96 | typical tests we wish to perform are against the exit status of the |
97 | command and the output (if any) it generated. Simplifying these tests | 97 | command and the output (if any) it generated. Simplifying these tests |
98 | into a single function call, makes the test harness easier to read and | 98 | into a single function call, makes the test harness easier to read and |
@@ -132,7 +132,7 @@ of either C<Test::ok(...)> or C<Test::skip(...)>, so remember this | |||
132 | when counting the number of tests to place in the C<Test::plan(...)> | 132 | when counting the number of tests to place in the C<Test::plan(...)> |
133 | call. | 133 | call. |
134 | 134 | ||
135 | Many Nagios Plugins test network services, some of which may not be | 135 | Many Monitoring Plugins test network services, some of which may not be |
136 | present on all systems. To cater for this, C<checkCmd(...)> allows the | 136 | present on all systems. To cater for this, C<checkCmd(...)> allows the |
137 | tester to define exceptions based on the command's exit status. These | 137 | tester to define exceptions based on the command's exit status. These |
138 | exceptions are provided to skip tests if the test case developer | 138 | exceptions are provided to skip tests if the test case developer |
@@ -185,6 +185,15 @@ of times. | |||
185 | 185 | ||
186 | =back | 186 | =back |
187 | 187 | ||
188 | =item C<skipMsg(...)> | ||
189 | |||
190 | If for any reason the test harness must C<Test::skip()> some | ||
191 | or all of the tests in a given test harness this function provides a | ||
192 | simple iterator to issue an appropriate message the requested number | ||
193 | of times. | ||
194 | |||
195 | =back | ||
196 | |||
188 | =head1 SEE ALSO | 197 | =head1 SEE ALSO |
189 | 198 | ||
190 | L<Test> | 199 | L<Test> |
@@ -199,7 +208,7 @@ Copyright (c) 2005 Peter Bray. All rights reserved. | |||
199 | 208 | ||
200 | This package is free software and is provided "as is" without express | 209 | This package is free software and is provided "as is" without express |
201 | or implied warranty. It may be used, redistributed and/or modified | 210 | or implied warranty. It may be used, redistributed and/or modified |
202 | under the same terms as the Nagios Plugins release. | 211 | under the same terms as the Monitoring Plugins release. |
203 | 212 | ||
204 | =cut | 213 | =cut |
205 | 214 | ||
@@ -304,6 +313,20 @@ sub skipMissingCmd | |||
304 | return $testStatus; | 313 | return $testStatus; |
305 | } | 314 | } |
306 | 315 | ||
316 | sub skipMsg | ||
317 | { | ||
318 | my( $msg, $count ) = @_; | ||
319 | |||
320 | my $testStatus; | ||
321 | |||
322 | for ( 1 .. $count ) | ||
323 | { | ||
324 | $testStatus += skip( $msg, 1 ); | ||
325 | } | ||
326 | |||
327 | return $testStatus; | ||
328 | } | ||
329 | |||
307 | sub getTestParameter | 330 | sub getTestParameter |
308 | { | 331 | { |
309 | my( $param, $envvar, $default, $brief, $scoped ); | 332 | my( $param, $envvar, $default, $brief, $scoped ); |
@@ -347,7 +370,7 @@ sub getTestParameter | |||
347 | } | 370 | } |
348 | 371 | ||
349 | # Set "none" if no terminal attached (eg, tinderbox build servers when new variables set) | 372 | # Set "none" if no terminal attached (eg, tinderbox build servers when new variables set) |
350 | return "" unless (-t STDERR); | 373 | return "" unless (-t STDIN); |
351 | 374 | ||
352 | my $userResponse = ""; | 375 | my $userResponse = ""; |
353 | 376 | ||
@@ -438,7 +461,7 @@ sub LoadCache | |||
438 | 461 | ||
439 | chomp($fileContents); | 462 | chomp($fileContents); |
440 | my( $contentsRef ) = eval $fileContents; | 463 | my( $contentsRef ) = eval $fileContents; |
441 | %CACHE = %{$contentsRef}; | 464 | %CACHE = %{$contentsRef} if (defined($contentsRef)); |
442 | 465 | ||
443 | } | 466 | } |
444 | 467 | ||
@@ -494,27 +517,36 @@ sub SetCacheFilename | |||
494 | 517 | ||
495 | sub DetermineTestHarnessDirectory | 518 | sub DetermineTestHarnessDirectory |
496 | { | 519 | { |
497 | my( $userSupplied ) = @_; | 520 | my( @userSupplied ) = @_; |
521 | my @dirs; | ||
498 | 522 | ||
499 | # User Supplied | 523 | # User Supplied |
500 | if ( defined( $userSupplied ) && $userSupplied ) | 524 | if ( @userSupplied > 0 ) |
501 | { | 525 | { |
502 | if ( -d $userSupplied ) | 526 | for my $u ( @userSupplied ) |
503 | { | ||
504 | return $userSupplied; | ||
505 | } | ||
506 | else | ||
507 | { | 527 | { |
508 | return undef; # userSupplied is invalid -> FAIL | 528 | if ( -d $u ) |
529 | { | ||
530 | push ( @dirs, $u ); | ||
531 | } | ||
509 | } | 532 | } |
510 | } | 533 | } |
511 | 534 | ||
512 | # Simple Case : "t" is a subdirectory of the current directory | 535 | # Simple Cases: "t" and tests are subdirectories of the current directory |
513 | if ( -d "./t" ) | 536 | if ( -d "./t" ) |
514 | { | 537 | { |
515 | return "./t"; | 538 | push ( @dirs, "./t"); |
539 | } | ||
540 | if ( -d "./tests" ) | ||
541 | { | ||
542 | push ( @dirs, "./tests"); | ||
516 | } | 543 | } |
517 | 544 | ||
545 | if ( @dirs > 0 ) | ||
546 | { | ||
547 | return @dirs; | ||
548 | } | ||
549 | |||
518 | # To be honest I don't understand which case satisfies the | 550 | # To be honest I don't understand which case satisfies the |
519 | # original code in test.pl : when $tstdir == `pwd` w.r.t. | 551 | # original code in test.pl : when $tstdir == `pwd` w.r.t. |
520 | # $tstdir =~ s|^(.*)/([^/]+)/?$|$1/$2|; and if (-d "../../$2/t") | 552 | # $tstdir =~ s|^(.*)/([^/]+)/?$|$1/$2|; and if (-d "../../$2/t") |
@@ -526,7 +558,7 @@ sub DetermineTestHarnessDirectory | |||
526 | 558 | ||
527 | if ( $pwd =~ m|/t$| ) | 559 | if ( $pwd =~ m|/t$| ) |
528 | { | 560 | { |
529 | return $pwd; | 561 | push ( @dirs, $pwd ); |
530 | 562 | ||
531 | # The alternate that might work better is | 563 | # The alternate that might work better is |
532 | # chdir( ".." ); | 564 | # chdir( ".." ); |
@@ -535,7 +567,7 @@ sub DetermineTestHarnessDirectory | |||
535 | # to be tested is in the current directory (ie "./check_disk ....") | 567 | # to be tested is in the current directory (ie "./check_disk ....") |
536 | } | 568 | } |
537 | 569 | ||
538 | return undef; | 570 | return @dirs; |
539 | } | 571 | } |
540 | 572 | ||
541 | sub TestsFrom | 573 | sub TestsFrom |
@@ -618,12 +650,13 @@ sub only_output { | |||
618 | } | 650 | } |
619 | 651 | ||
620 | sub testCmd { | 652 | sub testCmd { |
621 | my $class = shift; | 653 | my $class = shift; |
622 | my $command = shift or die "No command passed to testCmd"; | 654 | my $command = shift or die "No command passed to testCmd"; |
655 | my $timeout = shift || 120; | ||
623 | my $object = $class->new; | 656 | my $object = $class->new; |
624 | 657 | ||
625 | local $SIG{'ALRM'} = sub { die("timeout in command: $command"); }; | 658 | local $SIG{'ALRM'} = sub { die("timeout in command: $command"); }; |
626 | alarm(120); # no test should take longer than 120 seconds | 659 | alarm($timeout); # no test should take longer than 120 seconds |
627 | 660 | ||
628 | my $output = `$command`; | 661 | my $output = `$command`; |
629 | $object->return_code($? >> 8); | 662 | $object->return_code($? >> 8); |
@@ -1,9 +1,9 @@ | |||
1 | Nagios Plugins | 1 | Monitoring Plugins |
2 | ============== | 2 | ================== |
3 | 3 | ||
4 | * For instructions on installing these plugins for use with Nagios, | 4 | * For instructions on installing these plugins for use with your monitoring |
5 | see below. In addition, generic instructions for the GNU toolchain can be | 5 | system, see below. In addition, generic instructions for the GNU |
6 | found in the `INSTALL` file. | 6 | toolchain can be found in the `INSTALL` file. |
7 | 7 | ||
8 | * For major changes between releases, read the `NEWS` file. | 8 | * For major changes between releases, read the `NEWS` file. |
9 | 9 | ||
@@ -21,19 +21,20 @@ Nagios Plugins | |||
21 | 21 | ||
22 | You can check for the latest plugins at: | 22 | You can check for the latest plugins at: |
23 | 23 | ||
24 | * <https://sourceforge.net/projects/nagiosplug/> | 24 | * <https://www.monitoring-plugins.org/> |
25 | 25 | ||
26 | Send an email to <nagiosplug-help@lists.sourceforge.net> for assistance. | 26 | Send an email to <help@monitoring-plugins.org> for assistance. Please |
27 | Please include the OS type and version that you are using. Also, run the | 27 | include the OS type and version that you are using. Also, run the plugin |
28 | plugin with the `-vvv` option and provide the resulting version information. | 28 | with the `-vvv` option and provide the resulting version information. Of |
29 | Of course, there may be additional diagnostic information required as well. | 29 | course, there may be additional diagnostic information required as well. |
30 | Use good judgment. | 30 | Use good judgment. |
31 | 31 | ||
32 | Send an email to <nagiosplug-devel@lists.sourceforge.net> for developer | 32 | Send an email to <devel@monitoring-plugins.org> for developer discussions. |
33 | discussions. | ||
34 | 33 | ||
35 | For patch submissions and bug reports, please use the appropriate resources | 34 | For patch submissions and bug reports, please use the appropriate resources |
36 | at <https://github.com/nagios-plugins/nagios-plugins>. | 35 | at: |
36 | |||
37 | * <https://github.com/monitoring-plugins> | ||
37 | 38 | ||
38 | 39 | ||
39 | Installation Instructions | 40 | Installation Instructions |
@@ -45,17 +46,17 @@ Installation Instructions | |||
45 | ./tools/setup | 46 | ./tools/setup |
46 | 47 | ||
47 | For more detail, see the developer guidelines at | 48 | For more detail, see the developer guidelines at |
48 | <http://nagiosplug.sourceforge.net/developer-guidelines.html>. | 49 | <https://www.monitoring-plugins.org/doc/guidelines.html>. |
49 | 50 | ||
50 | 2. Run the configure script to initialize variables and create a Makefile, | 51 | 2. Run the configure script to initialize variables and create a Makefile, |
51 | etc. | 52 | etc. |
52 | 53 | ||
53 | ./configure --prefix=BASEDIRECTORY --with-cgiurl=SOMEURL | 54 | ./configure --prefix=BASEDIRECTORY --with-cgiurl=SOMEURL |
54 | 55 | ||
55 | Replace `BASEDIRECTORY` with the path of the directory under which Nagios | 56 | Replace `BASEDIRECTORY` with the path of the directory under which your |
56 | is installed (default is `/usr/local/nagios`), and replace `SOMEURL` with | 57 | monitoring system is installed (default is `/usr/local`), and replace |
57 | the path used to access the Nagios CGIs with a web browser (default is | 58 | `SOMEURL` with the path used to access the monitoring system CGIs with a |
58 | `/nagios/cgi-bin`). | 59 | web browser (default is `/nagios/cgi-bin`). |
59 | 60 | ||
60 | 3. Compile the plugins with the following command: | 61 | 3. Compile the plugins with the following command: |
61 | 62 | ||
@@ -77,14 +78,21 @@ Installation Instructions | |||
77 | make install-root | 78 | make install-root |
78 | 79 | ||
79 | That's it! If you have any problems or questions, feel free to send an | 80 | That's it! If you have any problems or questions, feel free to send an |
80 | email to <nagiosplug-help@lists.sourceforge.net>. | 81 | email to <help@monitoring-plugins.org>. |
82 | |||
81 | 83 | ||
84 | License Notice | ||
85 | -------------- | ||
82 | 86 | ||
83 | License Stuff | 87 | You can redistribute and/or modify this software under the terms of the GNU |
84 | ------------- | 88 | General Public License as published by the Free Software Foundation; either |
89 | version 3 of the License, or (at your option) any later version; with the | ||
90 | additional exemption that compiling, linking, and/or using OpenSSL is | ||
91 | allowed. | ||
85 | 92 | ||
86 | This software is released under the GNU General Public License, Version 3, | 93 | This software is distributed in the hope that it will be useful, but WITHOUT |
87 | with the additional exemption that compiling, linking and/or using OpenSSL | 94 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
88 | is allowed. | 95 | FITNESS FOR A PARTICULAR PURPOSE. |
89 | 96 | ||
90 | See the `COPYING` file for the complete GPLv3 text. | 97 | See the `COPYING` file for the complete text of the GNU General Public |
98 | License, version 3. | ||
diff --git a/REQUIREMENTS b/REQUIREMENTS index 1f673e9..303fd62 100644 --- a/REQUIREMENTS +++ b/REQUIREMENTS | |||
@@ -1,4 +1,4 @@ | |||
1 | Nagios Plugin Requirements | 1 | Monitoring Plugins Requirements |
2 | -------------------------- | 2 | -------------------------- |
3 | 3 | ||
4 | Some plugins require that you have additional programs and/or | 4 | Some plugins require that you have additional programs and/or |
@@ -50,14 +50,16 @@ check_dbi: | |||
50 | http://libdbi.sourceforge.net/ | 50 | http://libdbi.sourceforge.net/ |
51 | 51 | ||
52 | check_radius: | 52 | check_radius: |
53 | - Requires the radiusclient-ng library available from: | 53 | - Requires the FreeRADIUS Client library available from: |
54 | http://developer.berlios.de/projects/radiusclient-ng/ | 54 | http://freeradius.org/freeradius-client/ |
55 | - As an alternative, the radiusclient-ng library may be used: | ||
56 | http://sourceforge.net/projects/radiusclient-ng.berlios/ | ||
55 | - This plugin also works with the original radiusclient library from | 57 | - This plugin also works with the original radiusclient library from |
56 | ftp://ftp.cityline.net/pub/radiusclient/ | 58 | ftp://ftp.cityline.net/pub/radiusclient/ |
57 | RPM (rpmfind): radiusclient 0.3.2, radiusclient-devel-0.3.2 | 59 | RPM (rpmfind): radiusclient 0.3.2, radiusclient-devel-0.3.2 |
58 | Unless you're using a distro-maintained version of this library you | 60 | However, you probably want to use the FreeRADIUS Client library, as |
59 | probably want to use radiusclient-ng. The original radiusclient library is | 61 | both radiusclient and radiusclient-ng are unmaintained and have known |
60 | unmaintained and has many known issues, particularly with 64bit systems. | 62 | issues. |
61 | 63 | ||
62 | check_snmp: | 64 | check_snmp: |
63 | - Requires the NET-SNMP package available from | 65 | - Requires the NET-SNMP package available from |
@@ -1,14 +1,14 @@ | |||
1 | SUPPORT | 1 | SUPPORT |
2 | 2 | ||
3 | Using the mailing lists and tracker databases at SourceForge are the | 3 | Using the mailing lists and issue tracker at GitHub are the |
4 | best ways to obtain direct support for the Nagios Plugins. There may | 4 | best ways to obtain direct support for the Monitoring Plugins. There may |
5 | also be commercial support options available to you -- check | 5 | also be commercial support options available to you -- check |
6 | http://www.nagios.org/ to track the current status of commercial | 6 | http://www.nagios.org/ to track the current status of commercial |
7 | support offerings. | 7 | support offerings. |
8 | 8 | ||
9 | There are two mailing lists associated with Nagios Plugin development: | 9 | There are two mailing lists associated with Monitoring Plugins development: |
10 | 'help' (mailto:nagiosplug-help@lists.sourceforge.net), and 'devel' | 10 | 'help' (mailto:help@monitoring-plugins.org), and 'devel' |
11 | (mailto:nagiosplug-devel@lists.sourceforge.net). Unless you are fairly | 11 | (mailto:help@monitoring-plugins.org). Unless you are fairly |
12 | certain you have found a bug or that you are requesting a new feature, | 12 | certain you have found a bug or that you are requesting a new feature, |
13 | please direct support requests to 'help'. | 13 | please direct support requests to 'help'. |
14 | 14 | ||
@@ -18,14 +18,15 @@ their time to fix bug and provide feature requests, it is generally in | |||
18 | you interest to do a modest amount of legwork before posting to either | 18 | you interest to do a modest amount of legwork before posting to either |
19 | of these lists. | 19 | of these lists. |
20 | 20 | ||
21 | Plugins that are in the contrib directories are provided as-is. We will | 21 | Plugins that are in the contrib directories are provided as-is. We will |
22 | try to help, but sometimes the plugins have dependencies that the nagios-plugin | 22 | try to help, but sometimes the plugins have dependencies that the monitoring-plugin |
23 | developers do not have access to. You may be able to try the authors | 23 | developers do not have access to. You may be able to try the authors |
24 | directly. | 24 | directly. |
25 | 25 | ||
26 | In brief, always provide the version of the software that you are | 26 | In brief, always provide the version of the software that you are |
27 | using, and when requesting features or reporting bugs, first check to | 27 | using, and when requesting features or reporting bugs, first check to |
28 | see that the issue has not already been addressed in the CVS tree. | 28 | see that the issue has not already been addressed in the current Git |
29 | code. | ||
29 | 30 | ||
30 | GETTING HELP | 31 | GETTING HELP |
31 | 32 | ||
@@ -33,7 +34,7 @@ Requests to 'help' require posting the version number of the | |||
33 | plugin. The best place to include the version information is in the | 34 | plugin. The best place to include the version information is in the |
34 | subject. A good post would have a subject like: | 35 | subject. A good post would have a subject like: |
35 | 36 | ||
36 | Can I use SSL with check_imap (nagios-plugins 1.3.0-beta2) 1.12 | 37 | Can I use SSL with check_imap (monitoring-plugins 1.3.0-beta2) 1.12 |
37 | 38 | ||
38 | If you do not include the version of the plugin, you risk having your | 39 | If you do not include the version of the plugin, you risk having your |
39 | post silently ignored. | 40 | post silently ignored. |
@@ -47,19 +48,19 @@ REPORTING BUGS AND SUBMITTING PATCHES | |||
47 | 48 | ||
48 | Bug reports, investigations of possible bugs, feature requests, and | 49 | Bug reports, investigations of possible bugs, feature requests, and |
49 | patch submissions should be submitted to the development list at | 50 | patch submissions should be submitted to the development list at |
50 | mailto:nagiosplug-devel@lists.sourceforge.net. Please raise a tracker first | 51 | mailto:devel@monitoring-plugins.org. Please raise an issue first |
51 | in Sourceforge, otherwise your email is likely to be missed over time. | 52 | in GitHub, otherwise your email is likely to be missed over time. |
52 | 53 | ||
53 | You should identify the version, preferably in the subject line. | 54 | You should identify the version, preferably in the subject line. |
54 | However, to best use developer resources, it is suggested that you | 55 | However, to best use developer resources, it is suggested that you |
55 | reference your report to one of the following sources: | 56 | reference your report to one of the following sources: |
56 | 57 | ||
57 | 1) The most recent release, including beta's | 58 | 1) The most recent release, including beta's |
58 | 59 | ||
59 | 2) The twice-daily snapshots (there's a link provided on | 60 | 2) The current snapshots (there's a link provided on |
60 | http://nagiosplug.sourceforge.net) | 61 | https://www.monitoring-plugins.org/download.html) |
61 | 62 | ||
62 | 3) The current CVS tree from sourceforge | 63 | 3) The current Git code from GitHub |
63 | 64 | ||
64 | (This does not mean you should run any of these sources in a | 65 | (This does not mean you should run any of these sources in a |
65 | production environment - the latter two you clearly should | 66 | production environment - the latter two you clearly should |
@@ -69,7 +70,7 @@ which are most recent.) | |||
69 | 70 | ||
70 | From experience, I know that most bugs can be fixed with only a few | 71 | From experience, I know that most bugs can be fixed with only a few |
71 | more moments work than it takes to determine if the bug is still | 72 | more moments work than it takes to determine if the bug is still |
72 | present in the CVS tree. If you can save a developer the expense of | 73 | present in the Git tree. If you can save a developer the expense of |
73 | that time, you ensure that bugs are fixed more rapidly, and thus you | 74 | that time, you ensure that bugs are fixed more rapidly, and thus you |
74 | ensure your problem resolution is reflected in a stable release more | 75 | ensure your problem resolution is reflected in a stable release more |
75 | quickly. | 76 | quickly. |
@@ -301,4 +301,21 @@ Pall Sigurdsson | |||
301 | Sebastian Schmidt | 301 | Sebastian Schmidt |
302 | Simon Kainz | 302 | Simon Kainz |
303 | Steve Weinreich | 303 | Steve Weinreich |
304 | Geoff Oakham | ||
304 | Tim Laszlo | 305 | Tim Laszlo |
306 | Stéphane Bortzmeyer | ||
307 | Luca Corti | ||
308 | Jethro Carr | ||
309 | Evgeni Golov | ||
310 | Oskar Liljeblad | ||
311 | Andrew Widdersheim | ||
312 | Anton Lofgren | ||
313 | Damian Myerscough | ||
314 | Davide Madrisan | ||
315 | Gunnar Beutner | ||
316 | Joseph Gooch | ||
317 | Lars Vogdt | ||
318 | Ricardo Maraschini | ||
319 | Spenser Reinhardt | ||
320 | Stephane Lapie | ||
321 | Tilmann Bubeck | ||
diff --git a/configure.in b/configure.ac index 4479c2d..87d43fd 100644 --- a/configure.in +++ b/configure.ac | |||
@@ -1,19 +1,19 @@ | |||
1 | dnl Process this file with autoconf to produce a configure script. | 1 | dnl Process this file with autoconf to produce a configure script. |
2 | AC_PREREQ(2.59) | 2 | AC_PREREQ(2.59) |
3 | AC_INIT(nagios-plugins,1.4.16) | 3 | AC_INIT(monitoring-plugins,1.5) |
4 | AC_CONFIG_SRCDIR(NPTest.pm) | 4 | AC_CONFIG_SRCDIR(NPTest.pm) |
5 | AC_CONFIG_FILES([gl/Makefile | 5 | AC_CONFIG_FILES([gl/Makefile |
6 | nagios-plugins.spec]) | 6 | monitoring-plugins.spec]) |
7 | AC_CONFIG_AUX_DIR(build-aux) | 7 | AC_CONFIG_AUX_DIR(build-aux) |
8 | AM_INIT_AUTOMAKE([1.8.3]) | 8 | AM_INIT_AUTOMAKE([1.8.3]) |
9 | AM_CONFIG_HEADER(config.h) | 9 | AM_MAINTAINER_MODE([enable]) |
10 | AC_CONFIG_HEADERS([config.h]) | ||
10 | AC_CANONICAL_HOST | 11 | AC_CANONICAL_HOST |
11 | 12 | ||
13 | DEFAULT_PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin" | ||
12 | RELEASE=1 | 14 | RELEASE=1 |
13 | AC_SUBST(RELEASE) | 15 | AC_SUBST(RELEASE) |
14 | 16 | ||
15 | AC_PREFIX_DEFAULT(/usr/local/nagios) | ||
16 | |||
17 | dnl Deprecated configure options | 17 | dnl Deprecated configure options |
18 | 18 | ||
19 | 19 | ||
@@ -58,10 +58,10 @@ AC_SUBST(PLUGIN_TEST)dnl | |||
58 | SCRIPT_TEST=`echo $srcdir/plugins-scripts/t/*.t|sed -e 's,\.*/plugins-scripts/,,g'` | 58 | SCRIPT_TEST=`echo $srcdir/plugins-scripts/t/*.t|sed -e 's,\.*/plugins-scripts/,,g'` |
59 | AC_SUBST(SCRIPT_TEST)dnl | 59 | AC_SUBST(SCRIPT_TEST)dnl |
60 | 60 | ||
61 | WARRANTY="The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\ncopies of the plugins under the terms of the GNU General Public License.\nFor more information about these matters, see the file named COPYING.\n" | 61 | WARRANTY="The Monitoring Plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\ncopies of the plugins under the terms of the GNU General Public License.\nFor more information about these matters, see the file named COPYING.\n" |
62 | AC_SUBST(WARRANTY) | 62 | AC_SUBST(WARRANTY) |
63 | 63 | ||
64 | SUPPORT="Send email to nagios-users@lists.sourceforge.net if you have questions\nregarding use of this software. To submit patches or suggest improvements,\nsend email to nagiosplug-devel@lists.sourceforge.net.\nPlease include version information with all correspondence (when possible,\nuse output from the --version option of the plugin itself).\n" | 64 | SUPPORT="Send email to help@monitoring-plugins.org if you have questions regarding use\nof this software. To submit patches or suggest improvements, send email to\ndevel@monitoring-plugins.org. Please include version information with all\ncorrespondence (when possible, use output from the --version option of the\nplugin itself).\n" |
65 | AC_SUBST(SUPPORT) | 65 | AC_SUBST(SUPPORT) |
66 | 66 | ||
67 | dnl CGIURL has changed for Nagios with 1.0 beta | 67 | dnl CGIURL has changed for Nagios with 1.0 beta |
@@ -75,9 +75,9 @@ AC_DEFINE_UNQUOTED(CGIURL,"$CGIURL",[URL of CGI programs]) | |||
75 | 75 | ||
76 | AC_ARG_WITH(trusted_path, | 76 | AC_ARG_WITH(trusted_path, |
77 | ACX_HELP_STRING([--with-trusted-path=PATH], | 77 | ACX_HELP_STRING([--with-trusted-path=PATH], |
78 | [sets trusted path for executables called by scripts (default=/bin:/sbin:/usr/bin:/usr/sbin)]), | 78 | [sets trusted path for executables called by scripts]), |
79 | with_trusted_path=$withval, | 79 | with_trusted_path=$withval, |
80 | with_trusted_path=/bin:/sbin:/usr/bin:/usr/sbin) | 80 | with_trusted_path=$DEFAULT_PATH) |
81 | AC_SUBST(with_trusted_path) | 81 | AC_SUBST(with_trusted_path) |
82 | 82 | ||
83 | EXTRAS= | 83 | EXTRAS= |
@@ -90,6 +90,7 @@ ac_cv_uname_m=`uname -m` | |||
90 | ac_cv_uname_s=`uname -s` | 90 | ac_cv_uname_s=`uname -s` |
91 | ac_cv_uname_r=`uname -r` | 91 | ac_cv_uname_r=`uname -r` |
92 | ac_cv_uname_v=`uname -v` | 92 | ac_cv_uname_v=`uname -v` |
93 | ac_cv_uname_o=`uname -o` | ||
93 | 94 | ||
94 | PKG_ARCH=`uname -p` | 95 | PKG_ARCH=`uname -p` |
95 | REV_DATESTAMP=`date '+%Y.%m.%d.%H.%M'` | 96 | REV_DATESTAMP=`date '+%Y.%m.%d.%H.%M'` |
@@ -111,10 +112,7 @@ fi | |||
111 | AC_SUBST(NP_RELEASE) | 112 | AC_SUBST(NP_RELEASE) |
112 | 113 | ||
113 | dnl Checks for programs. | 114 | dnl Checks for programs. |
114 | AC_PATH_PROG(PYTHON,python) | ||
115 | AC_PATH_PROG(SH,sh) | ||
116 | AC_PATH_PROG(PERL,perl) | 115 | AC_PATH_PROG(PERL,perl) |
117 | AC_PATH_PROG(LIBGNUTLS_CONFIG,libgnutls-config) | ||
118 | AC_PATH_PROG(HOSTNAME,hostname) | 116 | AC_PATH_PROG(HOSTNAME,hostname) |
119 | AC_PATH_PROG(BASENAME,basename) | 117 | AC_PATH_PROG(BASENAME,basename) |
120 | 118 | ||
@@ -194,7 +192,7 @@ AC_ARG_ENABLE(extra-opts, | |||
194 | AC_HELP_STRING([--enable-extra-opts], | 192 | AC_HELP_STRING([--enable-extra-opts], |
195 | [Enables parsing of plugins ini config files for extra options (default: no)]), | 193 | [Enables parsing of plugins ini config files for extra options (default: no)]), |
196 | [enable_extra_opts=$enableval], | 194 | [enable_extra_opts=$enableval], |
197 | [enable_extra_opts=no]) | 195 | [enable_extra_opts=yes]) |
198 | AM_CONDITIONAL([USE_PARSE_INI],[test "$enable_extra_opts" = "yes"]) | 196 | AM_CONDITIONAL([USE_PARSE_INI],[test "$enable_extra_opts" = "yes"]) |
199 | if test "$enable_extra_opts" = "yes" ; then | 197 | if test "$enable_extra_opts" = "yes" ; then |
200 | AC_DEFINE(NP_EXTRA_OPTS,[1],[Enable INI file parsing.]) | 198 | AC_DEFINE(NP_EXTRA_OPTS,[1],[Enable INI file parsing.]) |
@@ -241,7 +239,7 @@ if test "$ac_cv_lib_crypt_main" = "yes" -a "x$PGSQL" != "xno"; then | |||
241 | else | 239 | else |
242 | AC_SUBST(PGLIBS) | 240 | AC_SUBST(PGLIBS) |
243 | AC_SUBST(PGINCLUDE) | 241 | AC_SUBST(PGINCLUDE) |
244 | EXTRAS="$EXTRAS check_pgsql" | 242 | EXTRAS="$EXTRAS check_pgsql\$(EXEEXT)" |
245 | fi | 243 | fi |
246 | else | 244 | else |
247 | AC_MSG_WARN([Skipping PostgreSQL plugin (check_pgsql)]) | 245 | AC_MSG_WARN([Skipping PostgreSQL plugin (check_pgsql)]) |
@@ -261,7 +259,7 @@ AS_IF([test "x$with_dbi" != "xno"], [ | |||
261 | _SAVEDLIBS="$LIBS" | 259 | _SAVEDLIBS="$LIBS" |
262 | AC_CHECK_LIB(dbi,dbi_initialize) | 260 | AC_CHECK_LIB(dbi,dbi_initialize) |
263 | if test "$ac_cv_lib_dbi_dbi_initialize" = "yes"; then | 261 | if test "$ac_cv_lib_dbi_dbi_initialize" = "yes"; then |
264 | EXTRAS="$EXTRAS check_dbi" | 262 | EXTRAS="$EXTRAS check_dbi\$(EXEEXT)" |
265 | DBILIBS="-ldbi" | 263 | DBILIBS="-ldbi" |
266 | AC_SUBST(DBILIBS) | 264 | AC_SUBST(DBILIBS) |
267 | else | 265 | else |
@@ -276,20 +274,27 @@ AC_ARG_WITH([radius], [AS_HELP_STRING([--without-radius], [Skips the radius plug | |||
276 | dnl Check for radius libraries | 274 | dnl Check for radius libraries |
277 | AS_IF([test "x$with_radius" != "xno"], [ | 275 | AS_IF([test "x$with_radius" != "xno"], [ |
278 | _SAVEDLIBS="$LIBS" | 276 | _SAVEDLIBS="$LIBS" |
279 | AC_CHECK_LIB(radiusclient,rc_read_config) | 277 | AC_CHECK_LIB(freeradius-client,rc_read_config) |
280 | if test "$ac_cv_lib_radiusclient_rc_read_config" = "yes"; then | 278 | if test "$ac_cv_lib_freeradius_client_rc_read_config" = "yes"; then |
281 | EXTRAS="$EXTRAS check_radius" | 279 | EXTRAS="$EXTRAS check_radius\$(EXEEXT)" |
282 | RADIUSLIBS="-lradiusclient" | 280 | RADIUSLIBS="-lfreeradius-client" |
283 | AC_SUBST(RADIUSLIBS) | 281 | AC_SUBST(RADIUSLIBS) |
284 | else | 282 | else |
285 | AC_CHECK_LIB(radiusclient-ng,rc_read_config) | 283 | AC_CHECK_LIB(radiusclient-ng,rc_read_config) |
286 | if test "$ac_cv_lib_radiusclient_ng_rc_read_config" = "yes"; then | 284 | if test "$ac_cv_lib_radiusclient_ng_rc_read_config" = "yes"; then |
287 | EXTRAS="$EXTRAS check_radius" | 285 | EXTRAS="$EXTRAS check_radius\$(EXEEXT)" |
288 | RADIUSLIBS="-lradiusclient-ng" | 286 | RADIUSLIBS="-lradiusclient-ng" |
289 | AC_SUBST(RADIUSLIBS) | 287 | AC_SUBST(RADIUSLIBS) |
290 | else | 288 | else |
291 | AC_MSG_WARN([Skipping radius plugin]) | 289 | AC_CHECK_LIB(radiusclient,rc_read_config) |
292 | AC_MSG_WARN([install radius libs to compile this plugin (see REQUIREMENTS).]) | 290 | if test "$ac_cv_lib_radiusclient_rc_read_config" = "yes"; then |
291 | EXTRAS="$EXTRAS check_radius\$(EXEEXT)" | ||
292 | RADIUSLIBS="-lradiusclient" | ||
293 | AC_SUBST(RADIUSLIBS) | ||
294 | else | ||
295 | AC_MSG_WARN([Skipping radius plugin]) | ||
296 | AC_MSG_WARN([install radius libs to compile this plugin (see REQUIREMENTS).]) | ||
297 | fi | ||
293 | fi | 298 | fi |
294 | fi | 299 | fi |
295 | LIBS="$_SAVEDLIBS" | 300 | LIBS="$_SAVEDLIBS" |
@@ -307,7 +312,7 @@ AS_IF([test "x$with_ldap" != "xno"], [ | |||
307 | AC_SUBST(LDAPLIBS) | 312 | AC_SUBST(LDAPLIBS) |
308 | AC_SUBST(LDAPINCLUDE) | 313 | AC_SUBST(LDAPINCLUDE) |
309 | AC_CHECK_FUNCS(ldap_set_option) | 314 | AC_CHECK_FUNCS(ldap_set_option) |
310 | EXTRAS="$EXTRAS check_ldap" | 315 | EXTRAS="$EXTRAS check_ldap\$(EXEEXT)" |
311 | AC_CHECK_FUNCS(ldap_init ldap_set_option ldap_get_option ldap_start_tls_s) | 316 | AC_CHECK_FUNCS(ldap_init ldap_set_option ldap_get_option ldap_start_tls_s) |
312 | else | 317 | else |
313 | AC_MSG_WARN([Skipping LDAP plugin]) | 318 | AC_MSG_WARN([Skipping LDAP plugin]) |
@@ -344,7 +349,7 @@ case $host in | |||
344 | esac | 349 | esac |
345 | 350 | ||
346 | if test "$FOUNDINCLUDE" = "yes" ; then | 351 | if test "$FOUNDINCLUDE" = "yes" ; then |
347 | EXTRAS="$EXTRAS check_ide_smart" | 352 | EXTRAS="$EXTRAS check_ide_smart\$(EXEEXT)" |
348 | fi | 353 | fi |
349 | 354 | ||
350 | dnl Check for mysql libraries | 355 | dnl Check for mysql libraries |
@@ -353,7 +358,7 @@ if test $with_mysql = "no" ; then | |||
353 | AC_MSG_WARN([Skipping mysql plugin]) | 358 | AC_MSG_WARN([Skipping mysql plugin]) |
354 | AC_MSG_WARN([install mysql client libs to compile this plugin (see REQUIREMENTS).]) | 359 | AC_MSG_WARN([install mysql client libs to compile this plugin (see REQUIREMENTS).]) |
355 | else | 360 | else |
356 | EXTRAS="$EXTRAS check_mysql check_mysql_query" | 361 | EXTRAS="$EXTRAS check_mysql\$(EXEEXT) check_mysql_query\$(EXEEXT)" |
357 | MYSQLINCLUDE="$np_mysql_include" | 362 | MYSQLINCLUDE="$np_mysql_include" |
358 | MYSQLLIBS="$np_mysql_libs" | 363 | MYSQLLIBS="$np_mysql_libs" |
359 | MYSQLCFLAGS="$np_mysql_cflags" | 364 | MYSQLCFLAGS="$np_mysql_cflags" |
@@ -366,8 +371,16 @@ dnl Check for headers used by check_users | |||
366 | AC_CHECK_HEADERS(utmpx.h) | 371 | AC_CHECK_HEADERS(utmpx.h) |
367 | AM_CONDITIONAL([HAVE_UTMPX], [test "$ac_cv_header_utmpx_h" = "yes"]) | 372 | AM_CONDITIONAL([HAVE_UTMPX], [test "$ac_cv_header_utmpx_h" = "yes"]) |
368 | 373 | ||
374 | AC_CHECK_HEADERS(wtsapi32.h, [], [], [#include <windows.h>]) | ||
375 | AM_CONDITIONAL([HAVE_WTS32API], [test "$ac_cv_header_wtsapi32_h" = "yes"]) | ||
376 | |||
377 | if test "$ac_cv_header_wtsapi32_h" = "yes"; then | ||
378 | WTSAPI32LIBS="-lwtsapi32" | ||
379 | AC_SUBST(WTSAPI32LIBS) | ||
380 | fi | ||
381 | |||
369 | dnl Fallback to who(1) if the system doesn't provide an utmpx(5) interface | 382 | dnl Fallback to who(1) if the system doesn't provide an utmpx(5) interface |
370 | if test "$ac_cv_header_utmpx_h" = "no" | 383 | if test "$ac_cv_header_utmpx_h" = "no" -a "$ac_cv_header_wtsapi32_h" = "no" |
371 | then | 384 | then |
372 | AC_PATH_PROG(PATH_TO_WHO,who) | 385 | AC_PATH_PROG(PATH_TO_WHO,who) |
373 | 386 | ||
@@ -503,8 +516,6 @@ dnl check for gnutls if openssl isn't found (or is disabled) | |||
503 | if test ! "$FOUNDOPENSSL" = "yes" && test ! "$with_gnutls" = "no"; then | 516 | if test ! "$FOUNDOPENSSL" = "yes" && test ! "$with_gnutls" = "no"; then |
504 | if test ! "$with_gnutls" = ""; then | 517 | if test ! "$with_gnutls" = ""; then |
505 | CPPFLAGS="$CPPFLAGS -I${with_gnutls}/include" | 518 | CPPFLAGS="$CPPFLAGS -I${with_gnutls}/include" |
506 | elif test ! "$LIBGNUTLS_CONFIG" = ""; then | ||
507 | CPPFLAGS="$CPPFLAGS -I`$LIBGNUTLS_CONFIG --prefix`" | ||
508 | fi | 519 | fi |
509 | AC_CHECK_HEADERS([gnutls/openssl.h],FOUNDGNUTLS="yes",) | 520 | AC_CHECK_HEADERS([gnutls/openssl.h],FOUNDGNUTLS="yes",) |
510 | if test "$FOUNDGNUTLS" = "yes"; then | 521 | if test "$FOUNDGNUTLS" = "yes"; then |
@@ -648,14 +659,14 @@ elif test "$ac_cv_uname_s" = "SunOS"; then | |||
648 | ac_cv_ps_format="%s %d %d %d %d %d %f %s %n" | 659 | ac_cv_ps_format="%s %d %d %d %d %d %f %s %n" |
649 | ac_cv_ps_varlist="[procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" | 660 | ac_cv_ps_varlist="[procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" |
650 | ac_cv_ps_cols=9 | 661 | ac_cv_ps_cols=9 |
651 | AC_MSG_RESULT([using nagios-plugins internal ps command (pst3) for solaris]) | 662 | AC_MSG_RESULT([using monitoring-plugins internal ps command (pst3) for solaris]) |
652 | if test `isainfo -b` = 64 ; then | 663 | if test `isainfo -b` = 64 ; then |
653 | pst3_use_64bit=1 | 664 | pst3_use_64bit=1 |
654 | AC_MSG_NOTICE([using 64bit pst3]) | 665 | AC_MSG_NOTICE([using 64bit pst3]) |
655 | else | 666 | else |
656 | AC_MSG_NOTICE([using 32bit pst3]) | 667 | AC_MSG_NOTICE([using 32bit pst3]) |
657 | fi | 668 | fi |
658 | EXTRAS_ROOT="$EXTRAS_ROOT pst3" | 669 | EXTRAS_ROOT="$EXTRAS_ROOT pst3\$(EXEEXT)" |
659 | 670 | ||
660 | if test "$pst3_use_64bit" = 1; then | 671 | if test "$pst3_use_64bit" = 1; then |
661 | dnl Test if we can actually compile code in 64bit | 672 | dnl Test if we can actually compile code in 64bit |
@@ -980,7 +991,7 @@ if test -n "$ac_cv_ps_varlist" ; then | |||
980 | [Format string for scanning ps output in check_procs]) | 991 | [Format string for scanning ps output in check_procs]) |
981 | AC_DEFINE_UNQUOTED(PS_COLS,$ac_cv_ps_cols, | 992 | AC_DEFINE_UNQUOTED(PS_COLS,$ac_cv_ps_cols, |
982 | [Number of columns in ps command]) | 993 | [Number of columns in ps command]) |
983 | EXTRAS="$EXTRAS check_procs check_nagios" | 994 | EXTRAS="$EXTRAS check_procs check_nagios\$(EXEEXT)" |
984 | if echo "$ac_cv_ps_varlist" | grep "procetime" >/dev/null; then | 995 | if echo "$ac_cv_ps_varlist" | grep "procetime" >/dev/null; then |
985 | AC_DEFINE(PS_USES_PROCETIME,"yes", | 996 | AC_DEFINE(PS_USES_PROCETIME,"yes", |
986 | [Whether the ps utility uses the "procetime" field]) | 997 | [Whether the ps utility uses the "procetime" field]) |
@@ -1014,6 +1025,13 @@ then | |||
1014 | ac_cv_ping_packets_first=yes | 1025 | ac_cv_ping_packets_first=yes |
1015 | fi | 1026 | fi |
1016 | 1027 | ||
1028 | elif [[ "z$ac_cv_uname_o" = "zCygwin" ]] | ||
1029 | then | ||
1030 | with_ping_command="$PATH_TO_PING -n %d -w %d000 %s" | ||
1031 | ac_cv_ping_packets_first=yes | ||
1032 | ac_cv_ping_has_timeout=yes | ||
1033 | AC_MSG_RESULT([$with_ping_command]) | ||
1034 | |||
1017 | elif [[ "z$ac_cv_uname_s" = "zUnixWare" ]] && \ | 1035 | elif [[ "z$ac_cv_uname_s" = "zUnixWare" ]] && \ |
1018 | $PATH_TO_PING -n -s 127.0.0.1 56 1 2>/dev/null | \ | 1036 | $PATH_TO_PING -n -s 127.0.0.1 56 1 2>/dev/null | \ |
1019 | egrep -i "^round-trip|^rtt" >/dev/null | 1037 | egrep -i "^round-trip|^rtt" >/dev/null |
@@ -1027,7 +1045,7 @@ elif $PATH_TO_PING -n -U -w 10 -c 1 127.0.0.1 2>/dev/null | \ | |||
1027 | then | 1045 | then |
1028 | with_ping_command="$PATH_TO_PING -n -U -w %d -c %d %s" | 1046 | with_ping_command="$PATH_TO_PING -n -U -w %d -c %d %s" |
1029 | ac_cv_ping_packets_first=yes | 1047 | ac_cv_ping_packets_first=yes |
1030 | ac_cv_ping_has_timeout=yes | 1048 | ac_cv_ping_has_timeout=yes |
1031 | AC_MSG_RESULT([$with_ping_command]) | 1049 | AC_MSG_RESULT([$with_ping_command]) |
1032 | 1050 | ||
1033 | elif $PATH_TO_PING -n -U -c 1 127.0.0.1 2>/dev/null | \ | 1051 | elif $PATH_TO_PING -n -U -c 1 127.0.0.1 2>/dev/null | \ |
@@ -1124,7 +1142,11 @@ then | |||
1124 | then | 1142 | then |
1125 | ac_cv_ping6_packets_first=yes | 1143 | ac_cv_ping6_packets_first=yes |
1126 | fi | 1144 | fi |
1127 | 1145 | elif [[ "z$ac_cv_uname_o" = "zCygwin" -a "x$PATH_TO_PING" != "x" ]]; then | |
1146 | with_ping6_command="$PATH_TO_PING -6 -n %d -w %d000 %s" | ||
1147 | ac_cv_ping6_packets_first=yes | ||
1148 | ac_cv_ping_has_timeout=yes | ||
1149 | AC_MSG_RESULT([$with_ping6_command]) | ||
1128 | elif test "x$PATH_TO_PING6" != "x"; then | 1150 | elif test "x$PATH_TO_PING6" != "x"; then |
1129 | if [[ "z$ac_cv_uname_s" = "zUnixWare" ]] && \ | 1151 | if [[ "z$ac_cv_uname_s" = "zUnixWare" ]] && \ |
1130 | $PATH_TO_PING6 -n -s ::1 56 1 2>/dev/null | \ | 1152 | $PATH_TO_PING6 -n -s ::1 56 1 2>/dev/null | \ |
@@ -1302,7 +1324,7 @@ else | |||
1302 | fi | 1324 | fi |
1303 | 1325 | ||
1304 | if test -n "$ac_cv_nslookup_command"; then | 1326 | if test -n "$ac_cv_nslookup_command"; then |
1305 | EXTRAS="$EXTRAS check_dns" | 1327 | EXTRAS="$EXTRAS check_dns\$(EXEEXT)" |
1306 | AC_DEFINE_UNQUOTED(NSLOOKUP_COMMAND,"$ac_cv_nslookup_command", [path and args for nslookup]) | 1328 | AC_DEFINE_UNQUOTED(NSLOOKUP_COMMAND,"$ac_cv_nslookup_command", [path and args for nslookup]) |
1307 | fi | 1329 | fi |
1308 | 1330 | ||
@@ -1362,7 +1384,7 @@ AC_ARG_WITH(snmpget_command, | |||
1362 | if test -n "$PATH_TO_SNMPGET" | 1384 | if test -n "$PATH_TO_SNMPGET" |
1363 | then | 1385 | then |
1364 | AC_DEFINE_UNQUOTED(PATH_TO_SNMPGET,"$PATH_TO_SNMPGET",[path to snmpget binary]) | 1386 | AC_DEFINE_UNQUOTED(PATH_TO_SNMPGET,"$PATH_TO_SNMPGET",[path to snmpget binary]) |
1365 | EXTRAS="$EXTRAS check_hpjd check_snmp" | 1387 | EXTRAS="$EXTRAS check_hpjd check_snmp\$(EXEEXT)" |
1366 | else | 1388 | else |
1367 | AC_MSG_WARN([Get snmpget from http://net-snmp.sourceforge.net to make check_hpjd and check_snmp plugins]) | 1389 | AC_MSG_WARN([Get snmpget from http://net-snmp.sourceforge.net to make check_hpjd and check_snmp plugins]) |
1368 | fi | 1390 | fi |
@@ -1394,12 +1416,12 @@ AC_ARG_WITH(qstat_command, | |||
1394 | if test -x "$PATH_TO_QUAKESTAT" | 1416 | if test -x "$PATH_TO_QUAKESTAT" |
1395 | then | 1417 | then |
1396 | ac_cv_path_to_qstat="$PATH_TO_QUAKESTAT" | 1418 | ac_cv_path_to_qstat="$PATH_TO_QUAKESTAT" |
1397 | EXTRAS="$EXTRAS check_game" | 1419 | EXTRAS="$EXTRAS check_game\$(EXEEXT)" |
1398 | 1420 | ||
1399 | elif test -n "$PATH_TO_QSTAT" | 1421 | elif test -n "$PATH_TO_QSTAT" |
1400 | then | 1422 | then |
1401 | ac_cv_path_to_qstat="$PATH_TO_QSTAT" | 1423 | ac_cv_path_to_qstat="$PATH_TO_QSTAT" |
1402 | EXTRAS="$EXTRAS check_game" | 1424 | EXTRAS="$EXTRAS check_game\$(EXEEXT)" |
1403 | else | 1425 | else |
1404 | AC_MSG_WARN([Get qstat from http://www.activesw.com/people/steve/qstat.html in order to make check_game plugin]) | 1426 | AC_MSG_WARN([Get qstat from http://www.activesw.com/people/steve/qstat.html in order to make check_game plugin]) |
1405 | fi | 1427 | fi |
@@ -1423,7 +1445,7 @@ AC_ARG_WITH(fping6_command, | |||
1423 | if test -n "$PATH_TO_FPING" | 1445 | if test -n "$PATH_TO_FPING" |
1424 | then | 1446 | then |
1425 | AC_DEFINE_UNQUOTED(PATH_TO_FPING,"$PATH_TO_FPING",[path to fping]) | 1447 | AC_DEFINE_UNQUOTED(PATH_TO_FPING,"$PATH_TO_FPING",[path to fping]) |
1426 | EXTRAS="$EXTRAS check_fping" | 1448 | EXTRAS="$EXTRAS check_fping\$(EXEEXT)" |
1427 | if test x"$with_ipv6" != xno && test -n "$PATH_TO_FPING6"; then | 1449 | if test x"$with_ipv6" != xno && test -n "$PATH_TO_FPING6"; then |
1428 | AC_DEFINE_UNQUOTED(PATH_TO_FPING6,"$PATH_TO_FPING6",[path to fping6]) | 1450 | AC_DEFINE_UNQUOTED(PATH_TO_FPING6,"$PATH_TO_FPING6",[path to fping6]) |
1429 | fi | 1451 | fi |
@@ -1438,7 +1460,7 @@ AC_ARG_WITH(ssh_command, | |||
1438 | if test -n "$PATH_TO_SSH" | 1460 | if test -n "$PATH_TO_SSH" |
1439 | then | 1461 | then |
1440 | AC_DEFINE_UNQUOTED(SSH_COMMAND,"$PATH_TO_SSH",[path to ssh binary]) | 1462 | AC_DEFINE_UNQUOTED(SSH_COMMAND,"$PATH_TO_SSH",[path to ssh binary]) |
1441 | EXTRAS="$EXTRAS check_by_ssh" | 1463 | EXTRAS="$EXTRAS check_by_ssh\$(EXEEXT)" |
1442 | else | 1464 | else |
1443 | AC_MSG_WARN([Get ssh in order to make check_by_ssh plugin]) | 1465 | AC_MSG_WARN([Get ssh in order to make check_by_ssh plugin]) |
1444 | fi | 1466 | fi |
@@ -1574,7 +1596,7 @@ AC_CHECK_MEMBERS([struct swapent.se_nblks],,,[ | |||
1574 | 1596 | ||
1575 | if test "$ac_cv_have_decl_swapctl" = "yes"; | 1597 | if test "$ac_cv_have_decl_swapctl" = "yes"; |
1576 | then | 1598 | then |
1577 | EXTRAS="$EXTRAS check_swap" | 1599 | EXTRAS="$EXTRAS check_swap\$(EXEEXT)" |
1578 | AC_MSG_CHECKING([for 2-arg (SVR4) swapctl]) | 1600 | AC_MSG_CHECKING([for 2-arg (SVR4) swapctl]) |
1579 | if test "$ac_cv_type_swaptbl_t" = "yes" -a \ | 1601 | if test "$ac_cv_type_swaptbl_t" = "yes" -a \ |
1580 | "$ac_cv_type_swapent_t" = "yes"; | 1602 | "$ac_cv_type_swapent_t" = "yes"; |
@@ -1630,7 +1652,7 @@ dnl | |||
1630 | if test "x$ac_cv_have_swap" != "x" | 1652 | if test "x$ac_cv_have_swap" != "x" |
1631 | then | 1653 | then |
1632 | AC_DEFINE(HAVE_SWAP,1,[Define if swap/swapinfo command is found]) | 1654 | AC_DEFINE(HAVE_SWAP,1,[Define if swap/swapinfo command is found]) |
1633 | EXTRAS="$EXTRAS check_swap" | 1655 | EXTRAS="$EXTRAS check_swap\$(EXEEXT)" |
1634 | fi | 1656 | fi |
1635 | if test "x$ac_cv_swap_command" != "x" | 1657 | if test "x$ac_cv_swap_command" != "x" |
1636 | then | 1658 | then |
@@ -1662,7 +1684,7 @@ fi | |||
1662 | if test -n "$ac_cv_proc_meminfo"; then | 1684 | if test -n "$ac_cv_proc_meminfo"; then |
1663 | AC_DEFINE(HAVE_PROC_MEMINFO,1,[Define if we have /proc/meminfo]) | 1685 | AC_DEFINE(HAVE_PROC_MEMINFO,1,[Define if we have /proc/meminfo]) |
1664 | AC_DEFINE_UNQUOTED(PROC_MEMINFO,"$ac_cv_proc_meminfo",[path to /proc/meminfo if name changes]) | 1686 | AC_DEFINE_UNQUOTED(PROC_MEMINFO,"$ac_cv_proc_meminfo",[path to /proc/meminfo if name changes]) |
1665 | EXTRAS="$EXTRAS check_swap" | 1687 | EXTRAS="$EXTRAS check_swap\$(EXEEXT)" |
1666 | fi | 1688 | fi |
1667 | 1689 | ||
1668 | AC_PATH_PROG(PATH_TO_DIG,dig) | 1690 | AC_PATH_PROG(PATH_TO_DIG,dig) |
@@ -1670,7 +1692,7 @@ AC_ARG_WITH(dig_command, | |||
1670 | ACX_HELP_STRING([--with-dig-command=PATH], | 1692 | ACX_HELP_STRING([--with-dig-command=PATH], |
1671 | [Path to dig command]), PATH_TO_DIG=$withval) | 1693 | [Path to dig command]), PATH_TO_DIG=$withval) |
1672 | if test -n "$PATH_TO_DIG"; then | 1694 | if test -n "$PATH_TO_DIG"; then |
1673 | EXTRAS="$EXTRAS check_dig" | 1695 | EXTRAS="$EXTRAS check_dig\$(EXEEXT)" |
1674 | AC_DEFINE_UNQUOTED(PATH_TO_DIG,"$PATH_TO_DIG",[Path to dig command, if present]) | 1696 | AC_DEFINE_UNQUOTED(PATH_TO_DIG,"$PATH_TO_DIG",[Path to dig command, if present]) |
1675 | fi | 1697 | fi |
1676 | 1698 | ||
@@ -1682,12 +1704,12 @@ AC_ARG_WITH(apt-get_command, | |||
1682 | with_apt_get_command=$PATH_TO_APTGET) | 1704 | with_apt_get_command=$PATH_TO_APTGET) |
1683 | AC_DEFINE_UNQUOTED(PATH_TO_APTGET,"$PATH_TO_APTGET",[Path to apt-get command, if present]) | 1705 | AC_DEFINE_UNQUOTED(PATH_TO_APTGET,"$PATH_TO_APTGET",[Path to apt-get command, if present]) |
1684 | if test -n "$PATH_TO_APTGET" ; then | 1706 | if test -n "$PATH_TO_APTGET" ; then |
1685 | EXTRAS="$EXTRAS check_apt" | 1707 | EXTRAS="$EXTRAS check_apt\$(EXEEXT)" |
1686 | fi | 1708 | fi |
1687 | 1709 | ||
1688 | 1710 | ||
1689 | if test -f $srcdir/plugins/check_nt.c ; then | 1711 | if test -f $srcdir/plugins/check_nt.c ; then |
1690 | EXTRAS="$EXTRAS check_nt" | 1712 | EXTRAS="$EXTRAS check_nt\$(EXEEXT)" |
1691 | fi | 1713 | fi |
1692 | 1714 | ||
1693 | 1715 | ||
@@ -1731,7 +1753,7 @@ AC_ARG_ENABLE(redhat-pthread-workaround, | |||
1731 | [ac_cv_enable_redhat_pthread_workaround=test]) | 1753 | [ac_cv_enable_redhat_pthread_workaround=test]) |
1732 | if test "$ac_cv_enable_redhat_pthread_workaround" = "test" ; then | 1754 | if test "$ac_cv_enable_redhat_pthread_workaround" = "test" ; then |
1733 | if echo $ac_cv_uname_r | egrep "\.EL(smp)?$" >/dev/null 2>&1 ; then | 1755 | if echo $ac_cv_uname_r | egrep "\.EL(smp)?$" >/dev/null 2>&1 ; then |
1734 | AC_MSG_NOTICE([See http://nagiosplugins.org/faq/compile/configure_appears_to_hang if this next part takes a long time]) | 1756 | AC_MSG_NOTICE([See https://www.monitoring-plugins.org/doc/faq/configure-hangs.html if this next part takes a long time]) |
1735 | AC_MSG_CHECKING(for redhat spopen problem) | 1757 | AC_MSG_CHECKING(for redhat spopen problem) |
1736 | ( cd config_test && make && make test ) > /dev/null 2>&1 | 1758 | ( cd config_test && make && make test ) > /dev/null 2>&1 |
1737 | if test $? -eq 0 ; then | 1759 | if test $? -eq 0 ; then |
@@ -1748,7 +1770,7 @@ fi | |||
1748 | dnl Perl modules | 1770 | dnl Perl modules |
1749 | AC_ARG_ENABLE(perl-modules, | 1771 | AC_ARG_ENABLE(perl-modules, |
1750 | AC_HELP_STRING([--enable-perl-modules], | 1772 | AC_HELP_STRING([--enable-perl-modules], |
1751 | [Enables installation of Nagios::Plugin and its dependencies (default: no)]), | 1773 | [Enables installation of Monitoring::Plugin and its dependencies (default: no)]), |
1752 | [enable_perl_modules=$enableval], | 1774 | [enable_perl_modules=$enableval], |
1753 | [enable_perl_modules=no]) | 1775 | [enable_perl_modules=no]) |
1754 | if test "$enable_perl_modules" = "yes" ; then | 1776 | if test "$enable_perl_modules" = "yes" ; then |
@@ -1783,7 +1805,6 @@ AC_OUTPUT( | |||
1783 | lib/tests/Makefile | 1805 | lib/tests/Makefile |
1784 | plugins-root/Makefile | 1806 | plugins-root/Makefile |
1785 | plugins-scripts/Makefile | 1807 | plugins-scripts/Makefile |
1786 | plugins-scripts/subst | ||
1787 | plugins-scripts/utils.pm | 1808 | plugins-scripts/utils.pm |
1788 | plugins-scripts/utils.sh | 1809 | plugins-scripts/utils.sh |
1789 | perlmods/Makefile | 1810 | perlmods/Makefile |
diff --git a/doc/LEAVERS b/doc/LEAVERS index 13382c9..a52a600 100644 --- a/doc/LEAVERS +++ b/doc/LEAVERS | |||
@@ -3,13 +3,12 @@ LEAVERS | |||
3 | These are the steps for someone leaving the team. | 3 | These are the steps for someone leaving the team. |
4 | 4 | ||
5 | Leaver has to: | 5 | Leaver has to: |
6 | - Update all current tracker items | 6 | - Update all current issues on GitHub |
7 | 7 | ||
8 | Administration tasks: | 8 | Administration tasks: |
9 | - Reassign leaver's tracker items to project lead | 9 | - Reassign leaver's tracker items to project lead |
10 | - Remove from Sourceforge's list of developers. This will include CVS access. Do not | 10 | - Remove from GitHub's project members. This will include Git access. |
11 | need to remove from CVS avail file | 11 | - Remove access from project server |
12 | - Remove access from repos.or.cz for all three Git repositories | ||
13 | - If applicable, remove from mailing list administrators | 12 | - If applicable, remove from mailing list administrators |
14 | - Keep on nagiosplug-team mailing list, unless specifically requested to be removed | 13 | - Keep on team mailing list, unless specifically requested to be removed |
15 | 14 | ||
diff --git a/doc/NEW_STARTERS b/doc/NEW_STARTERS index 6247c82..2c5aac8 100644 --- a/doc/NEW_STARTERS +++ b/doc/NEW_STARTERS | |||
@@ -4,12 +4,12 @@ These are the steps for adding someone to the team. | |||
4 | 4 | ||
5 | Need to know: | 5 | Need to know: |
6 | - Name | 6 | - Name |
7 | - Primary email for nagiosplug-team mailings | 7 | - Primary email for team mailings |
8 | - Sourceforge id | 8 | - GitHub account |
9 | - Type of member (translator, developer, release manager, project administrator) | 9 | - Type of member (translator, developer, release manager, project administrator) |
10 | 10 | ||
11 | 1. Add member to nagiosplug-team mailing list (https://lists.sourceforge.net/lists/admin/nagiosplug-team) | 11 | 1. Add member to team mailing list (https://www.monitoring-plugins.org/list/listinfo/team/) |
12 | and to the nagiosplug-checkins mailing list (https://lists.sourceforge.net/lists/admin/nagiosplug-checkins, | 12 | and to the commits mailing list (https://www.monitoring-plugins.org/list/listinfo/commits/), |
13 | add sourceforge email address via Privacy Options->Sender filters) | 13 | add sourceforge email address via Privacy Options->Sender filters) |
14 | 2. Add Sourceforge access: | 14 | 2. Add Sourceforge access: |
15 | - Translator: CVS access, Shell access, Release Tech (no) | 15 | - Translator: CVS access, Shell access, Release Tech (no) |
@@ -18,8 +18,7 @@ Need to know: | |||
18 | Update Developer Permissions. | 18 | Update Developer Permissions. |
19 | For each tracker, set to Technician (need to add all trackers first, then change to | 19 | For each tracker, set to Technician (need to add all trackers first, then change to |
20 | technician for each one) | 20 | technician for each one) |
21 | 3. Add to CVS avail file: | 21 | 3. Create account on project server |
22 | - Translator: Add member to translation files | 22 | - Add public ssh keys |
23 | - Developer: Add member to CVSROOT/avail for all files | ||
24 | 4. Add Git access on repos.or.cz | 23 | 4. Add Git access on repos.or.cz |
25 | 5. Send email to nagiosplug-team introducing new member | 24 | 5. Send email to team introducing new member |
diff --git a/doc/RELEASING b/doc/RELEASING index 34bed93..1eaec9d 100644 --- a/doc/RELEASING +++ b/doc/RELEASING | |||
@@ -1,8 +1,5 @@ | |||
1 | NOTES ON RELEASING NEW VERSION OF NAGIOSPLUG | 1 | NOTES ON RELEASING NEW VERSION OF NAGIOSPLUG |
2 | 2 | ||
3 | NB: A copy of this document is located at: | ||
4 | http://nagiosplugins.org/node/96 | ||
5 | |||
6 | *** Pre-release | 3 | *** Pre-release |
7 | git pull | 4 | git pull |
8 | . tools/devmode, if feeling adventurous | 5 | . tools/devmode, if feeling adventurous |
@@ -24,15 +21,15 @@ git push origin master | |||
24 | git push origin release-1.4.14 | 21 | git push origin release-1.4.14 |
25 | 22 | ||
26 | *** Checkout new version | 23 | *** Checkout new version |
27 | rm -fr /tmp/nagioslug | 24 | rm -fr /tmp/monitoringlug |
28 | # If you need to checkout the tag, don't forget to "checkout master" later to | 25 | # If you need to checkout the tag, don't forget to "checkout master" later to |
29 | # get back to your development branch: | 26 | # get back to your development branch: |
30 | git checkout tags/release-1.4.14 | 27 | git checkout tags/release-1.4.14 |
31 | # Beware: the trailing slash of --prefix is REQUIRED | 28 | # Beware: the trailing slash of --prefix is REQUIRED |
32 | git checkout-index --prefix=/tmp/nagioslug/ -a | 29 | git checkout-index --prefix=/tmp/monitoringlug/ -a |
33 | 30 | ||
34 | *** Build the tarball | 31 | *** Build the tarball |
35 | cd /tmp/nagioslug | 32 | cd /tmp/monitoringlug |
36 | tools/setup | 33 | tools/setup |
37 | ./configure | 34 | ./configure |
38 | make dist | 35 | make dist |
@@ -43,7 +40,7 @@ SF username and password | |||
43 | cd /uploads | 40 | cd /uploads |
44 | put file | 41 | put file |
45 | 42 | ||
46 | SF -> Submit News about release. Make sure it is called "Nagios Plugins" (with those caps) | 43 | SF -> Submit News about release. Make sure it is called "Monitoring Plugins" (with those caps) |
47 | Link to download at http://sourceforge.net/project/showfiles.php?group_id=29880 | 44 | Link to download at http://sourceforge.net/project/showfiles.php?group_id=29880 |
48 | Include contents of NEWS for this release | 45 | Include contents of NEWS for this release |
49 | List all people on team involved. | 46 | List all people on team involved. |
@@ -60,5 +57,5 @@ Step 3: *.tar.gz, Platform Independent, Source .gz | |||
60 | Step 4: Send notice | 57 | Step 4: Send notice |
61 | 58 | ||
62 | *** Announce new release | 59 | *** Announce new release |
63 | Send email to nagiosplug-help, nagios-announce with the news text | 60 | Send email to help, announce with the news text |
64 | Add a news item to http://nagiosplugins.org | 61 | Add a news item to https://monitoring-plugins.org |
diff --git a/doc/developer-guidelines.sgml b/doc/developer-guidelines.sgml index 61b9f17..d934028 100644 --- a/doc/developer-guidelines.sgml +++ b/doc/developer-guidelines.sgml | |||
@@ -1,18 +1,18 @@ | |||
1 | <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN" > | 1 | <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN" > |
2 | <book> | 2 | <book> |
3 | <title>Nagios Plugin Development Guidelines</title> | 3 | <title>Monitoring Plugins Development Guidelines</title> |
4 | 4 | ||
5 | <bookinfo> | 5 | <bookinfo> |
6 | <authorgroup> | 6 | <authorgroup> |
7 | <author> | 7 | <author> |
8 | <affiliation> | 8 | <affiliation> |
9 | <orgname>Nagios Plugins Development Team</orgname> | 9 | <orgname>Monitoring Plugins Development Team</orgname> |
10 | </affiliation> | 10 | </affiliation> |
11 | </author> | 11 | </author> |
12 | </authorgroup> | 12 | </authorgroup> |
13 | 13 | ||
14 | <pubdate>2013</pubdate> | 14 | <pubdate>2013</pubdate> |
15 | <title>Nagios Plugin Development Guidelines</title> | 15 | <title>Monitoring Plugins Development Guidelines</title> |
16 | 16 | ||
17 | <revhistory> | 17 | <revhistory> |
18 | <revision> | 18 | <revision> |
@@ -23,7 +23,7 @@ | |||
23 | 23 | ||
24 | <copyright> | 24 | <copyright> |
25 | <year>2000 - 2013</year> | 25 | <year>2000 - 2013</year> |
26 | <holder>Nagios Plugins Development Team</holder> | 26 | <holder>Monitoring Plugins Development Team</holder> |
27 | </copyright> | 27 | </copyright> |
28 | 28 | ||
29 | </bookinfo> | 29 | </bookinfo> |
@@ -34,8 +34,8 @@ | |||
34 | the plugin developers and encourage the standarization of the | 34 | the plugin developers and encourage the standarization of the |
35 | different kind of plugins: C, shell, perl, python, etc.</para> | 35 | different kind of plugins: C, shell, perl, python, etc.</para> |
36 | 36 | ||
37 | <para>Nagios Plugin Development Guidelines Copyright (C) 2000-2013 | 37 | <para>Monitoring Plugins Development Guidelines Copyright (C) 2000-2013 |
38 | (Nagios Plugins Team)</para> | 38 | (Monitoring Plugins Team)</para> |
39 | 39 | ||
40 | <para>Permission is granted to make and distribute verbatim | 40 | <para>Permission is granted to make and distribute verbatim |
41 | copies of this manual provided the copyright notice and this | 41 | copies of this manual provided the copyright notice and this |
@@ -48,8 +48,8 @@ | |||
48 | <article> | 48 | <article> |
49 | <section id="DevRequirements"><title>Development platform requirements</title> | 49 | <section id="DevRequirements"><title>Development platform requirements</title> |
50 | <para> | 50 | <para> |
51 | Nagios Plugins are developed to the GNU standard, so any OS which is supported by GNU | 51 | Monitoring Plugins are developed to the GNU standard, so any OS which is supported by GNU |
52 | should run the plugins. While the requirements for compiling the Nagios Plugins release | 52 | should run the plugins. While the requirements for compiling the Monitoring Plugins release |
53 | are very basic, developing from the Git repository requires additional software to be | 53 | are very basic, developing from the Git repository requires additional software to be |
54 | installed. These are the minimum levels of software required: | 54 | installed. These are the minimum levels of software required: |
55 | 55 | ||
@@ -152,7 +152,7 @@ | |||
152 | <section><title>Plugin Return Codes</title> | 152 | <section><title>Plugin Return Codes</title> |
153 | <para>The return codes below are based on the POSIX spec of returning | 153 | <para>The return codes below are based on the POSIX spec of returning |
154 | a positive value. Netsaint prior to v0.0.7 supported non-POSIX | 154 | a positive value. Netsaint prior to v0.0.7 supported non-POSIX |
155 | compliant return code of "-1" for unknown. Nagios supports POSIX return | 155 | compliant return code of "-1" for unknown. Nagios supports POSIX return |
156 | codes by default.</para> | 156 | codes by default.</para> |
157 | 157 | ||
158 | <para>Note: Some plugins will on occasion print on STDOUT that an error | 158 | <para>Note: Some plugins will on occasion print on STDOUT that an error |
@@ -379,7 +379,7 @@ | |||
379 | </listitem> | 379 | </listitem> |
380 | </orderedlist> | 380 | </orderedlist> |
381 | 381 | ||
382 | <para>It is up to third party programs to convert the Nagios Plugins | 382 | <para>It is up to third party programs to convert the Monitoring Plugins |
383 | performance data into graphs.</para> | 383 | performance data into graphs.</para> |
384 | </section> | 384 | </section> |
385 | 385 | ||
@@ -678,11 +678,6 @@ To run a test, from the top level directory, run "make test". This will run | |||
678 | all the current tests and report an overall success rate. | 678 | all the current tests and report an overall success rate. |
679 | </para> | 679 | </para> |
680 | 680 | ||
681 | <para> | ||
682 | See the <ulink url="http://tinderbox.opsera.com">Nagios Plugins Tinderbox server</ulink> | ||
683 | for the daily test results. | ||
684 | </para> | ||
685 | |||
686 | <section><title>Test cases for plugins</title> | 681 | <section><title>Test cases for plugins</title> |
687 | <para>These use perl's Test::More. To do a one time test, run "cd plugins && perl t/check_disk.t". | 682 | <para>These use perl's Test::More. To do a one time test, run "cd plugins && perl t/check_disk.t". |
688 | </para> | 683 | </para> |
@@ -699,7 +694,7 @@ This runs the test in a summary format. | |||
699 | 694 | ||
700 | <para> | 695 | <para> |
701 | For a good and amusing tutorial on using Test::More, see this | 696 | For a good and amusing tutorial on using Test::More, see this |
702 | <ulink url="http://search.cpan.org/~mschwern/Test-Simple-0.62/lib/Test/Tutorial.pod"> | 697 | <ulink url="http://search.cpan.org/dist/Test-Simple/lib/Test/Tutorial.pod"> |
703 | link</ulink> | 698 | link</ulink> |
704 | </para> | 699 | </para> |
705 | 700 | ||
@@ -720,7 +715,7 @@ properly on non-FreeBSD systems. Install with 'CPPFLAGS="-UHAVE_LIBPTHREAD" ./co | |||
720 | </para> | 715 | </para> |
721 | 716 | ||
722 | <para> | 717 | <para> |
723 | When you run Nagios Plugins' configure, it will look for the tap library and will automatically | 718 | When you run Monitoring Plugins' configure, it will look for the tap library and will automatically |
724 | setup the tests. Run "make test" to run all the tests. | 719 | setup the tests. Run "make test" to run all the tests. |
725 | </para> | 720 | </para> |
726 | </section> | 721 | </section> |
@@ -752,9 +747,9 @@ setup the tests. Run "make test" to run all the tests. | |||
752 | </section> | 747 | </section> |
753 | 748 | ||
754 | <section><title>Commit Messages</title> | 749 | <section><title>Commit Messages</title> |
755 | <para>If the change is due to a contribution, please quote the contributor's name | 750 | <para>If the change is due to a contribution, please quote the contributor's name |
756 | and, if applicable, add the SourceForge Tracker number. Don't forget to | 751 | and, if applicable, add the GitHub Issue Tracker number. Don't forget to |
757 | update the THANKS.in file.</para> | 752 | update the THANKS.in file.</para> |
758 | <para>If you have a change that is useful for noting in the next release, please | 753 | <para>If you have a change that is useful for noting in the next release, please |
759 | update the NEWS file.</para> | 754 | update the NEWS file.</para> |
760 | <para>All commits will be written to a ChangeLog at release time. | 755 | <para>All commits will be written to a ChangeLog at release time. |
@@ -765,7 +760,7 @@ update the THANKS.in file.</para> | |||
765 | <para>To make the job easier for translators, please follow these guidelines:</para> | 760 | <para>To make the job easier for translators, please follow these guidelines:</para> |
766 | <orderedlist> | 761 | <orderedlist> |
767 | <listitem><para> | 762 | <listitem><para> |
768 | Before creating new strings, check the po/nagios-plugins.pot file to | 763 | Before creating new strings, check the po/monitoring-plugins.pot file to |
769 | see if a similar string | 764 | see if a similar string |
770 | already exists | 765 | already exists |
771 | </para></listitem> | 766 | </para></listitem> |
@@ -795,15 +790,15 @@ update the THANKS.in file.</para> | |||
795 | version you are using. For new features, please supply a diff against | 790 | version you are using. For new features, please supply a diff against |
796 | the Git "master" branch.</para> | 791 | the Git "master" branch.</para> |
797 | 792 | ||
798 | <para>Patches should be submitted via | 793 | <para>Patches should be submitted via |
799 | <ulink url="http://sourceforge.net/tracker/?group_id=29880&atid=397599">SourceForge's | 794 | <ulink url="https://github.com/monitoring-plugins/monitoring-plugins/pulls">GitHub's |
800 | tracker system for Nagiosplug patches</ulink> | 795 | Pull requests for Monitoring Plugins</ulink> |
801 | and be announced to the nagiosplug-devel mailing list.</para> | 796 | </para> |
802 | 797 | ||
803 | <para>Submission of a patch implies that the submmitter acknowledges that they | 798 | <para>Submission of a patch implies that the submmitter acknowledges that they |
804 | are the author of the code (or have permission from the author to release the code) | 799 | are the author of the code (or have permission from the author to release the code) |
805 | and agree that the code can be released under the GPL. The copyright for the changes will | 800 | and agree that the code can be released under the GPL. The copyright for the changes will |
806 | then revert to the Nagios Plugin Development Team - this is required so that any copyright | 801 | then revert to the Monitoring Plugins Development Team - this is required so that any copyright |
807 | infringements can be investigated quickly without contacting a huge list of copyright holders. | 802 | infringements can be investigated quickly without contacting a huge list of copyright holders. |
808 | Credit will always be given for any patches through a THANKS file in the distribution.</para> | 803 | Credit will always be given for any patches through a THANKS file in the distribution.</para> |
809 | </section> | 804 | </section> |
@@ -811,22 +806,22 @@ update the THANKS.in file.</para> | |||
811 | 806 | ||
812 | <section id="Contributedplugins"><title>Contributed plugins</title> | 807 | <section id="Contributedplugins"><title>Contributed plugins</title> |
813 | <para>Plugins that have been contributed to the project and | 808 | <para>Plugins that have been contributed to the project and |
814 | distributed with the Nagios Plugin files are held in the contrib/ directory and are not installed | 809 | distributed with the Monitoring Plugins files are held in the contrib/ directory and are not installed |
815 | by default. These plugins are not officially supported by the team. | 810 | by default. These plugins are not officially supported by the team. |
816 | The current policy is that these plugins should be owned and maintained by the original | 811 | The current policy is that these plugins should be owned and maintained by the original |
817 | contributor, preferably hosted on <ulink url="http://exchange.nagios.org">Nagios Exchange</ulink>. | 812 | contributor, preferably hosted on <ulink url="http://monitoringexchange.org">Monitoring Exchange</ulink>. |
818 | </para> | 813 | </para> |
819 | <para>If patches or bugs are raised to an contributed plugin, we will start communications with the | 814 | <para>If patches or bugs are raised to an contributed plugin, we will start communications with the |
820 | original contributor, but seek to remove the plugin from our distribution. | 815 | original contributor, but seek to remove the plugin from our distribution. |
821 | </para> | 816 | </para> |
822 | <para>The aim is to distribute only code that the Nagios Plugin team are responsible for. | 817 | <para>The aim is to distribute only code that the Monitoring Plugins team are responsible for. |
823 | </para> | 818 | </para> |
824 | </section> | 819 | </section> |
825 | 820 | ||
826 | <section id="Newplugins"><title>New plugins</title> | 821 | <section id="Newplugins"><title>New plugins</title> |
827 | <para>If you would like others to use your plugins, please add it to | 822 | <para>If you would like others to use your plugins, please add it to |
828 | the official 3rd party plugin repository, | 823 | the official 3rd party plugin repository, |
829 | <ulink url="http://exchange.nagios.org">Nagios Exchange</ulink>. | 824 | <ulink url="http://monitoringexchange.org">Monitoring Exchange</ulink>. |
830 | </para> | 825 | </para> |
831 | 826 | ||
832 | <para>We are not accepting requests for inclusion of plugins into | 827 | <para>We are not accepting requests for inclusion of plugins into |
@@ -837,7 +832,7 @@ update the THANKS.in file.</para> | |||
837 | <orderedlist> | 832 | <orderedlist> |
838 | <listitem> | 833 | <listitem> |
839 | <para>Include copyright and license information in all files. Copyright must be solely | 834 | <para>Include copyright and license information in all files. Copyright must be solely |
840 | granted to the Nagios Plugin Development Team</para> | 835 | granted to the Monitoring Plugins Development Team</para> |
841 | </listitem> | 836 | </listitem> |
842 | <listitem> | 837 | <listitem> |
843 | <para>The standard command options are supported (--help, --version, | 838 | <para>The standard command options are supported (--help, --version, |
diff --git a/gl/Makefile.am b/gl/Makefile.am index c2e8e5a..54abb4c 100644 --- a/gl/Makefile.am +++ b/gl/Makefile.am | |||
@@ -21,7 +21,7 @@ | |||
21 | # the same distribution terms as the rest of that program. | 21 | # the same distribution terms as the rest of that program. |
22 | # | 22 | # |
23 | # Generated by gnulib-tool. | 23 | # Generated by gnulib-tool. |
24 | # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files base64 crypto/sha1 dirname environ floorf fsusage getaddrinfo gethostname getloadavg getopt-gnu gettext mountlist regex setenv strsep timegm unsetenv vasprintf vsnprintf | 24 | # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files base64 crypto/sha1 dirname environ floorf fsusage getaddrinfo gethostname getloadavg getopt-gnu gettext idpriv-droptemp mountlist regex setenv strcase strsep timegm unsetenv vasprintf vsnprintf |
25 | 25 | ||
26 | AUTOMAKE_OPTIONS = 1.9.6 gnits subdir-objects | 26 | AUTOMAKE_OPTIONS = 1.9.6 gnits subdir-objects |
27 | 27 | ||
@@ -402,6 +402,14 @@ EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath | |||
402 | 402 | ||
403 | ## end gnulib module havelib | 403 | ## end gnulib module havelib |
404 | 404 | ||
405 | ## begin gnulib module idpriv-droptemp | ||
406 | |||
407 | libgnu_a_SOURCES += idpriv-droptemp.c | ||
408 | |||
409 | EXTRA_DIST += idpriv.h | ||
410 | |||
411 | ## end gnulib module idpriv-droptemp | ||
412 | |||
405 | ## begin gnulib module inet_ntop | 413 | ## begin gnulib module inet_ntop |
406 | 414 | ||
407 | 415 | ||
@@ -1536,6 +1544,15 @@ EXTRA_DIST += stdlib.in.h | |||
1536 | 1544 | ||
1537 | ## end gnulib module stdlib | 1545 | ## end gnulib module stdlib |
1538 | 1546 | ||
1547 | ## begin gnulib module strcase | ||
1548 | |||
1549 | |||
1550 | EXTRA_DIST += strcasecmp.c strncasecmp.c | ||
1551 | |||
1552 | EXTRA_libgnu_a_SOURCES += strcasecmp.c strncasecmp.c | ||
1553 | |||
1554 | ## end gnulib module strcase | ||
1555 | |||
1539 | ## begin gnulib module streq | 1556 | ## begin gnulib module streq |
1540 | 1557 | ||
1541 | 1558 | ||
@@ -1661,6 +1678,37 @@ EXTRA_DIST += string.in.h | |||
1661 | 1678 | ||
1662 | ## end gnulib module string | 1679 | ## end gnulib module string |
1663 | 1680 | ||
1681 | ## begin gnulib module strings | ||
1682 | |||
1683 | BUILT_SOURCES += strings.h | ||
1684 | |||
1685 | # We need the following in order to create <strings.h> when the system | ||
1686 | # doesn't have one that works with the given compiler. | ||
1687 | strings.h: strings.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) | ||
1688 | $(AM_V_GEN)rm -f $@-t $@ && \ | ||
1689 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ | ||
1690 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ | ||
1691 | -e 's|@''HAVE_STRINGS_H''@|$(HAVE_STRINGS_H)|g' \ | ||
1692 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | ||
1693 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | ||
1694 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | ||
1695 | -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \ | ||
1696 | -e 's|@''GNULIB_FFS''@|$(GNULIB_FFS)|g' \ | ||
1697 | -e 's|@''HAVE_FFS''@|$(HAVE_FFS)|g' \ | ||
1698 | -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \ | ||
1699 | -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \ | ||
1700 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ | ||
1701 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ | ||
1702 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ | ||
1703 | < $(srcdir)/strings.in.h; \ | ||
1704 | } > $@-t && \ | ||
1705 | mv $@-t $@ | ||
1706 | MOSTLYCLEANFILES += strings.h strings.h-t | ||
1707 | |||
1708 | EXTRA_DIST += strings.in.h | ||
1709 | |||
1710 | ## end gnulib module strings | ||
1711 | |||
1664 | ## begin gnulib module strndup | 1712 | ## begin gnulib module strndup |
1665 | 1713 | ||
1666 | 1714 | ||
diff --git a/gl/idpriv-droptemp.c b/gl/idpriv-droptemp.c new file mode 100644 index 0000000..13d1064 --- /dev/null +++ b/gl/idpriv-droptemp.c | |||
@@ -0,0 +1,204 @@ | |||
1 | /* Dropping uid/gid privileges of the current process temporarily. | ||
2 | Copyright (C) 2009-2013 Free Software Foundation, Inc. | ||
3 | |||
4 | This program is free software: you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation; either version 3 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ | ||
16 | |||
17 | #include <config.h> | ||
18 | |||
19 | #include "idpriv.h" | ||
20 | |||
21 | #include <errno.h> | ||
22 | #include <stdlib.h> | ||
23 | #include <sys/types.h> | ||
24 | #include <unistd.h> | ||
25 | |||
26 | /* The privileged uid and gid that the process had earlier. */ | ||
27 | #if HAVE_GETUID | ||
28 | static int saved_uid = -1; | ||
29 | #endif | ||
30 | #if HAVE_GETGID | ||
31 | static int saved_gid = -1; | ||
32 | #endif | ||
33 | |||
34 | int | ||
35 | idpriv_temp_drop (void) | ||
36 | { | ||
37 | #if HAVE_GETEUID && HAVE_GETEGID && (HAVE_SETRESUID || HAVE_SETREUID) && (HAVE_SETRESGID || HAVE_SETREGID) | ||
38 | int uid = getuid (); | ||
39 | int gid = getgid (); | ||
40 | |||
41 | /* Find out about the privileged uid and gid at the first call. */ | ||
42 | if (saved_uid == -1) | ||
43 | saved_uid = geteuid (); | ||
44 | if (saved_gid == -1) | ||
45 | saved_gid = getegid (); | ||
46 | |||
47 | /* Drop the gid privilege first, because in some cases the gid privilege | ||
48 | cannot be dropped after the uid privilege has been dropped. */ | ||
49 | |||
50 | /* This is for executables that have the setgid bit set. */ | ||
51 | # if HAVE_SETRESGID /* glibc, FreeBSD, OpenBSD, HP-UX */ | ||
52 | if (setresgid (-1, gid, saved_gid) < 0) | ||
53 | return -1; | ||
54 | # else /* Mac OS X, NetBSD, AIX, IRIX, Solaris >= 2.5, OSF/1, Cygwin */ | ||
55 | if (setregid (-1, gid) < 0) | ||
56 | return -1; | ||
57 | # endif | ||
58 | |||
59 | /* This is for executables that have the setuid bit set. */ | ||
60 | # if HAVE_SETRESUID /* glibc, FreeBSD, OpenBSD, HP-UX */ | ||
61 | /* See <http://www.usenix.org/events/sec02/full_papers/chen/chen.pdf> | ||
62 | figure 14. */ | ||
63 | if (setresuid (-1, uid, saved_uid) < 0) | ||
64 | return -1; | ||
65 | # else /* Mac OS X, NetBSD, AIX, IRIX, Solaris >= 2.5, OSF/1, Cygwin */ | ||
66 | if (setreuid (-1, uid) < 0) | ||
67 | return -1; | ||
68 | # endif | ||
69 | |||
70 | /* Verify that the privileges have really been dropped. | ||
71 | This verification is here for security reasons. Doesn't matter if it | ||
72 | takes a couple of system calls. | ||
73 | When the verification fails, it indicates that we need to use different | ||
74 | API in the code above. Therefore 'abort ()', not 'return -1'. */ | ||
75 | # if HAVE_GETRESUID /* glibc, FreeBSD, OpenBSD, HP-UX */ | ||
76 | { | ||
77 | uid_t real; | ||
78 | uid_t effective; | ||
79 | uid_t saved; | ||
80 | if (getresuid (&real, &effective, &saved) < 0 | ||
81 | || real != uid | ||
82 | || effective != uid | ||
83 | || saved != saved_uid) | ||
84 | abort (); | ||
85 | } | ||
86 | # else | ||
87 | # if HAVE_GETEUID | ||
88 | if (geteuid () != uid) | ||
89 | abort (); | ||
90 | # endif | ||
91 | if (getuid () != uid) | ||
92 | abort (); | ||
93 | # endif | ||
94 | # if HAVE_GETRESGID /* glibc, FreeBSD, OpenBSD, HP-UX */ | ||
95 | { | ||
96 | uid_t real; | ||
97 | uid_t effective; | ||
98 | uid_t saved; | ||
99 | if (getresgid (&real, &effective, &saved) < 0 | ||
100 | || real != gid | ||
101 | || effective != gid | ||
102 | || saved != saved_gid) | ||
103 | abort (); | ||
104 | } | ||
105 | # else | ||
106 | # if HAVE_GETEGID | ||
107 | if (getegid () != gid) | ||
108 | abort (); | ||
109 | # endif | ||
110 | if (getgid () != gid) | ||
111 | abort (); | ||
112 | # endif | ||
113 | |||
114 | return 0; | ||
115 | #else | ||
116 | errno = ENOSYS; | ||
117 | return -1; | ||
118 | #endif | ||
119 | } | ||
120 | |||
121 | int | ||
122 | idpriv_temp_restore (void) | ||
123 | { | ||
124 | #if HAVE_GETEUID && HAVE_GETEGID && (HAVE_SETRESUID || HAVE_SETREUID) && (HAVE_SETRESGID || HAVE_SETREGID) | ||
125 | int uid = getuid (); | ||
126 | int gid = getgid (); | ||
127 | |||
128 | if (saved_uid == -1 || saved_gid == -1) | ||
129 | /* Caller error: idpriv_temp_drop was never invoked. */ | ||
130 | abort (); | ||
131 | |||
132 | /* Acquire the gid privilege last, because in some cases the gid privilege | ||
133 | cannot be acquired before the uid privilege has been acquired. */ | ||
134 | |||
135 | /* This is for executables that have the setuid bit set. */ | ||
136 | # if HAVE_SETRESUID /* glibc, FreeBSD, OpenBSD, HP-UX */ | ||
137 | /* See <http://www.usenix.org/events/sec02/full_papers/chen/chen.pdf> | ||
138 | figure 14. */ | ||
139 | if (setresuid (-1, saved_uid, -1) < 0) | ||
140 | return -1; | ||
141 | # else /* Mac OS X, NetBSD, AIX, IRIX, Solaris >= 2.5, OSF/1, Cygwin */ | ||
142 | if (setreuid (-1, saved_uid) < 0) | ||
143 | return -1; | ||
144 | # endif | ||
145 | |||
146 | /* This is for executables that have the setgid bit set. */ | ||
147 | # if HAVE_SETRESGID /* glibc, FreeBSD, OpenBSD, HP-UX */ | ||
148 | if (setresgid (-1, saved_gid, -1) < 0) | ||
149 | return -1; | ||
150 | # else /* Mac OS X, NetBSD, AIX, IRIX, Solaris >= 2.5, OSF/1, Cygwin */ | ||
151 | if (setregid (-1, saved_gid) < 0) | ||
152 | return -1; | ||
153 | # endif | ||
154 | |||
155 | /* Verify that the privileges have really been acquired. | ||
156 | This verification is here for security reasons. Doesn't matter if it | ||
157 | takes a couple of system calls. | ||
158 | When the verification fails, it indicates that we need to use different | ||
159 | API in the code above. Therefore 'abort ()', not 'return -1'. */ | ||
160 | # if HAVE_GETRESUID /* glibc, FreeBSD, OpenBSD, HP-UX */ | ||
161 | { | ||
162 | uid_t real; | ||
163 | uid_t effective; | ||
164 | uid_t saved; | ||
165 | if (getresuid (&real, &effective, &saved) < 0 | ||
166 | || real != uid | ||
167 | || effective != saved_uid | ||
168 | || saved != saved_uid) | ||
169 | abort (); | ||
170 | } | ||
171 | # else | ||
172 | # if HAVE_GETEUID | ||
173 | if (geteuid () != saved_uid) | ||
174 | abort (); | ||
175 | # endif | ||
176 | if (getuid () != uid) | ||
177 | abort (); | ||
178 | # endif | ||
179 | # if HAVE_GETRESGID /* glibc, FreeBSD, OpenBSD, HP-UX */ | ||
180 | { | ||
181 | uid_t real; | ||
182 | uid_t effective; | ||
183 | uid_t saved; | ||
184 | if (getresgid (&real, &effective, &saved) < 0 | ||
185 | || real != gid | ||
186 | || effective != saved_gid | ||
187 | || saved != saved_gid) | ||
188 | abort (); | ||
189 | } | ||
190 | # else | ||
191 | # if HAVE_GETEGID | ||
192 | if (getegid () != saved_gid) | ||
193 | abort (); | ||
194 | # endif | ||
195 | if (getgid () != gid) | ||
196 | abort (); | ||
197 | # endif | ||
198 | |||
199 | return 0; | ||
200 | #else | ||
201 | errno = ENOSYS; | ||
202 | return -1; | ||
203 | #endif | ||
204 | } | ||
diff --git a/gl/idpriv.h b/gl/idpriv.h new file mode 100644 index 0000000..f454a2c --- /dev/null +++ b/gl/idpriv.h | |||
@@ -0,0 +1,116 @@ | |||
1 | /* Dropping uid/gid privileges of the current process. | ||
2 | Copyright (C) 2009-2013 Free Software Foundation, Inc. | ||
3 | |||
4 | This program is free software: you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation; either version 3 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ | ||
16 | |||
17 | #ifndef _IDPRIV_H | ||
18 | #define _IDPRIV_H | ||
19 | |||
20 | #ifdef __cplusplus | ||
21 | extern "C" { | ||
22 | #endif | ||
23 | |||
24 | /* This module allows programs which are installed with setuid or setgid bit | ||
25 | (and which therefore initially run with an effective user id or group id | ||
26 | different from the one of the current user) to drop their uid or gid | ||
27 | privilege, either permanently or temporarily. | ||
28 | |||
29 | It is absolutely necessary to minimize the amount of code that is running | ||
30 | with escalated privileges (e.g. with effective uid = root). The reason is | ||
31 | that any bug or exploit in a part of a program that is running with | ||
32 | escalated privileges is a security vulnerability that - upon discovery - | ||
33 | puts the users in danger and requires immediate fixing. Then consider that | ||
34 | there's a bug every 10 or 20 lines of code on average... | ||
35 | |||
36 | For programs that temporarily drop privileges but have the ability to | ||
37 | restore them later, there are additionally the dangers that | ||
38 | - Any bug in the non-privileged part of the program may be used to | ||
39 | create invalid data structures that will trigger security | ||
40 | vulnerabilities in the privileged part of the program. | ||
41 | - Code execution exploits in the non-privileged part of the program may | ||
42 | be used to invoke the function that restores high privileges and then | ||
43 | execute additional arbitrary code. | ||
44 | |||
45 | 1) The usual, and reasonably safe, way to minimize the amount of code | ||
46 | running with privileges is to create a separate executable, with setuid | ||
47 | or setgid bit, that contains only code for the tasks that require | ||
48 | privileges (and,of course, strict checking of the arguments, so that the | ||
49 | program cannot be abused). The main program is installed without setuid | ||
50 | or setgid bit. | ||
51 | |||
52 | 2) A less safe way is to do some privileged tasks at the beginning of the | ||
53 | program's run, and drop privileges permanently as soon as possible. | ||
54 | |||
55 | Note: There may still be security issues if the privileged task puts | ||
56 | sensitive data into the process memory or opens communication channels | ||
57 | to restricted facilities. | ||
58 | |||
59 | 3) The most unsafe way is to drop privileges temporarily for most of the | ||
60 | main program but to re-enable them for the duration of privileged tasks. | ||
61 | |||
62 | As explained above, this approach has uncontrollable dangers for | ||
63 | security. | ||
64 | |||
65 | This approach is normally not usable in multithreaded programs, because | ||
66 | you cannot know what kind of system calls the other threads could be | ||
67 | doing during the time the privileges are enabled. | ||
68 | |||
69 | With approach 1, you don't need gnulib modules. | ||
70 | With approach 2, you need the gnulib module 'idpriv-drop'. | ||
71 | With approach 3, you need the gnulib module 'idpriv-droptemp'. But really, | ||
72 | you should better stay away from this approach. | ||
73 | */ | ||
74 | |||
75 | /* For more in-depth discussion of these topics, see the papers/articles | ||
76 | * Hao Chen, David Wagner, Drew Dean: Setuid Demystified | ||
77 | <http://www.usenix.org/events/sec02/full_papers/chen/chen.pdf> | ||
78 | * Dan Tsafrir, Dilma da Silva, David Wagner: The Murky Issue of Changing | ||
79 | Process Identity: Revising "Setuid Demystified" | ||
80 | <http://www.eecs.berkeley.edu/~daw/papers/setuid-login08b.pdf> | ||
81 | <http://code.google.com/p/change-process-identity/> | ||
82 | * Dhruv Mohindra: Observe correct revocation order while relinquishing | ||
83 | privileges | ||
84 | <https://www.securecoding.cert.org/confluence/display/seccode/POS36-C.+Observe+correct+revocation+order+while+relinquishing+privileges> | ||
85 | */ | ||
86 | |||
87 | |||
88 | /* For approach 2. */ | ||
89 | |||
90 | /* Drop the uid and gid privileges of the current process. | ||
91 | Return 0 if successful, or -1 with errno set upon failure. The recommended | ||
92 | handling of failure is to terminate the process. */ | ||
93 | extern int idpriv_drop (void); | ||
94 | |||
95 | |||
96 | /* For approach 3. */ | ||
97 | |||
98 | /* Drop the uid and gid privileges of the current process in a way that allows | ||
99 | them to be restored later. | ||
100 | Return 0 if successful, or -1 with errno set upon failure. The recommended | ||
101 | handling of failure is to terminate the process. */ | ||
102 | extern int idpriv_temp_drop (void); | ||
103 | |||
104 | /* Restore the uid and gid privileges of the current process. | ||
105 | Return 0 if successful, or -1 with errno set upon failure. The recommended | ||
106 | handling of failure is to not perform the actions that require the escalated | ||
107 | privileges. */ | ||
108 | extern int idpriv_temp_restore (void); | ||
109 | |||
110 | |||
111 | #ifdef __cplusplus | ||
112 | } | ||
113 | #endif | ||
114 | |||
115 | |||
116 | #endif /* _IDPRIV_H */ | ||
diff --git a/gl/m4/gnulib-cache.m4 b/gl/m4/gnulib-cache.m4 index 2ed3509..d6fca2a 100644 --- a/gl/m4/gnulib-cache.m4 +++ b/gl/m4/gnulib-cache.m4 | |||
@@ -27,7 +27,7 @@ | |||
27 | 27 | ||
28 | 28 | ||
29 | # Specification in the form of a command-line invocation: | 29 | # Specification in the form of a command-line invocation: |
30 | # gnulib-tool --import --dir=. --lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files base64 crypto/sha1 dirname environ floorf fsusage getaddrinfo gethostname getloadavg getopt-gnu gettext mountlist regex setenv strsep timegm unsetenv vasprintf vsnprintf | 30 | # gnulib-tool --import --dir=. --lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files base64 crypto/sha1 dirname environ floorf fsusage getaddrinfo gethostname getloadavg getopt-gnu gettext idpriv-droptemp mountlist regex setenv strcase strsep timegm unsetenv vasprintf vsnprintf |
31 | 31 | ||
32 | # Specification in the form of a few gnulib-tool.m4 macro invocations: | 32 | # Specification in the form of a few gnulib-tool.m4 macro invocations: |
33 | gl_LOCAL_DIR([]) | 33 | gl_LOCAL_DIR([]) |
@@ -43,9 +43,11 @@ gl_MODULES([ | |||
43 | getloadavg | 43 | getloadavg |
44 | getopt-gnu | 44 | getopt-gnu |
45 | gettext | 45 | gettext |
46 | idpriv-droptemp | ||
46 | mountlist | 47 | mountlist |
47 | regex | 48 | regex |
48 | setenv | 49 | setenv |
50 | strcase | ||
49 | strsep | 51 | strsep |
50 | timegm | 52 | timegm |
51 | unsetenv | 53 | unsetenv |
diff --git a/gl/m4/gnulib-comp.m4 b/gl/m4/gnulib-comp.m4 index f23f769..67a8156 100644 --- a/gl/m4/gnulib-comp.m4 +++ b/gl/m4/gnulib-comp.m4 | |||
@@ -28,7 +28,7 @@ | |||
28 | # other built files. | 28 | # other built files. |
29 | 29 | ||
30 | 30 | ||
31 | # This macro should be invoked from ./configure.in, in the section | 31 | # This macro should be invoked from ./configure.ac, in the section |
32 | # "Checks for programs", right after AC_PROG_CC, and certainly before | 32 | # "Checks for programs", right after AC_PROG_CC, and certainly before |
33 | # any checks for libraries, header files, types and library functions. | 33 | # any checks for libraries, header files, types and library functions. |
34 | AC_DEFUN([gl_EARLY], | 34 | AC_DEFUN([gl_EARLY], |
@@ -70,6 +70,7 @@ AC_DEFUN([gl_EARLY], | |||
70 | # Code from module gettext-h: | 70 | # Code from module gettext-h: |
71 | # Code from module havelib: | 71 | # Code from module havelib: |
72 | # Code from module hostent: | 72 | # Code from module hostent: |
73 | # Code from module idpriv-droptemp: | ||
73 | # Code from module include_next: | 74 | # Code from module include_next: |
74 | # Code from module inet_ntop: | 75 | # Code from module inet_ntop: |
75 | # Code from module intprops: | 76 | # Code from module intprops: |
@@ -119,10 +120,12 @@ AC_DEFUN([gl_EARLY], | |||
119 | # Code from module stdint: | 120 | # Code from module stdint: |
120 | # Code from module stdio: | 121 | # Code from module stdio: |
121 | # Code from module stdlib: | 122 | # Code from module stdlib: |
123 | # Code from module strcase: | ||
122 | # Code from module streq: | 124 | # Code from module streq: |
123 | # Code from module strerror: | 125 | # Code from module strerror: |
124 | # Code from module strerror-override: | 126 | # Code from module strerror-override: |
125 | # Code from module string: | 127 | # Code from module string: |
128 | # Code from module strings: | ||
126 | # Code from module strndup: | 129 | # Code from module strndup: |
127 | # Code from module strnlen: | 130 | # Code from module strnlen: |
128 | # Code from module strsep: | 131 | # Code from module strsep: |
@@ -151,7 +154,7 @@ AC_DEFUN([gl_EARLY], | |||
151 | # Code from module xstrndup: | 154 | # Code from module xstrndup: |
152 | ]) | 155 | ]) |
153 | 156 | ||
154 | # This macro should be invoked from ./configure.in, in the section | 157 | # This macro should be invoked from ./configure.ac, in the section |
155 | # "Check for header files, types and library functions". | 158 | # "Check for header files, types and library functions". |
156 | AC_DEFUN([gl_INIT], | 159 | AC_DEFUN([gl_INIT], |
157 | [ | 160 | [ |
@@ -256,6 +259,7 @@ AC_DEFUN([gl_INIT], | |||
256 | AC_SUBST([LIBINTL]) | 259 | AC_SUBST([LIBINTL]) |
257 | AC_SUBST([LTLIBINTL]) | 260 | AC_SUBST([LTLIBINTL]) |
258 | gl_HOSTENT | 261 | gl_HOSTENT |
262 | gl_IDPRIV | ||
259 | gl_FUNC_INET_NTOP | 263 | gl_FUNC_INET_NTOP |
260 | if test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1; then | 264 | if test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1; then |
261 | AC_LIBOBJ([inet_ntop]) | 265 | AC_LIBOBJ([inet_ntop]) |
@@ -377,6 +381,15 @@ AC_DEFUN([gl_INIT], | |||
377 | gl_STDINT_H | 381 | gl_STDINT_H |
378 | gl_STDIO_H | 382 | gl_STDIO_H |
379 | gl_STDLIB_H | 383 | gl_STDLIB_H |
384 | gl_STRCASE | ||
385 | if test $HAVE_STRCASECMP = 0; then | ||
386 | AC_LIBOBJ([strcasecmp]) | ||
387 | gl_PREREQ_STRCASECMP | ||
388 | fi | ||
389 | if test $HAVE_STRNCASECMP = 0; then | ||
390 | AC_LIBOBJ([strncasecmp]) | ||
391 | gl_PREREQ_STRNCASECMP | ||
392 | fi | ||
380 | gl_FUNC_STRERROR | 393 | gl_FUNC_STRERROR |
381 | if test $REPLACE_STRERROR = 1; then | 394 | if test $REPLACE_STRERROR = 1; then |
382 | AC_LIBOBJ([strerror]) | 395 | AC_LIBOBJ([strerror]) |
@@ -390,6 +403,7 @@ AC_DEFUN([gl_INIT], | |||
390 | gl_PREREQ_SYS_H_WINSOCK2 | 403 | gl_PREREQ_SYS_H_WINSOCK2 |
391 | fi | 404 | fi |
392 | gl_HEADER_STRING_H | 405 | gl_HEADER_STRING_H |
406 | gl_HEADER_STRINGS_H | ||
393 | gl_FUNC_STRNDUP | 407 | gl_FUNC_STRNDUP |
394 | if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then | 408 | if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then |
395 | AC_LIBOBJ([strndup]) | 409 | AC_LIBOBJ([strndup]) |
@@ -646,6 +660,8 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
646 | lib/glthread/lock.c | 660 | lib/glthread/lock.c |
647 | lib/glthread/lock.h | 661 | lib/glthread/lock.h |
648 | lib/glthread/threadlib.c | 662 | lib/glthread/threadlib.c |
663 | lib/idpriv-droptemp.c | ||
664 | lib/idpriv.h | ||
649 | lib/inet_ntop.c | 665 | lib/inet_ntop.c |
650 | lib/intprops.h | 666 | lib/intprops.h |
651 | lib/itold.c | 667 | lib/itold.c |
@@ -706,12 +722,15 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
706 | lib/stdio.in.h | 722 | lib/stdio.in.h |
707 | lib/stdlib.in.h | 723 | lib/stdlib.in.h |
708 | lib/str-two-way.h | 724 | lib/str-two-way.h |
725 | lib/strcasecmp.c | ||
709 | lib/streq.h | 726 | lib/streq.h |
710 | lib/strerror-override.c | 727 | lib/strerror-override.c |
711 | lib/strerror-override.h | 728 | lib/strerror-override.h |
712 | lib/strerror.c | 729 | lib/strerror.c |
713 | lib/string.in.h | 730 | lib/string.in.h |
731 | lib/strings.in.h | ||
714 | lib/stripslash.c | 732 | lib/stripslash.c |
733 | lib/strncasecmp.c | ||
715 | lib/strndup.c | 734 | lib/strndup.c |
716 | lib/strnlen.c | 735 | lib/strnlen.c |
717 | lib/strsep.c | 736 | lib/strsep.c |
@@ -775,6 +794,7 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
775 | m4/gnulib-common.m4 | 794 | m4/gnulib-common.m4 |
776 | m4/hostent.m4 | 795 | m4/hostent.m4 |
777 | m4/iconv.m4 | 796 | m4/iconv.m4 |
797 | m4/idpriv.m4 | ||
778 | m4/include_next.m4 | 798 | m4/include_next.m4 |
779 | m4/inet_ntop.m4 | 799 | m4/inet_ntop.m4 |
780 | m4/intdiv0.m4 | 800 | m4/intdiv0.m4 |
@@ -845,8 +865,10 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
845 | m4/stdint_h.m4 | 865 | m4/stdint_h.m4 |
846 | m4/stdio_h.m4 | 866 | m4/stdio_h.m4 |
847 | m4/stdlib_h.m4 | 867 | m4/stdlib_h.m4 |
868 | m4/strcase.m4 | ||
848 | m4/strerror.m4 | 869 | m4/strerror.m4 |
849 | m4/string_h.m4 | 870 | m4/string_h.m4 |
871 | m4/strings_h.m4 | ||
850 | m4/strndup.m4 | 872 | m4/strndup.m4 |
851 | m4/strnlen.m4 | 873 | m4/strnlen.m4 |
852 | m4/strsep.m4 | 874 | m4/strsep.m4 |
diff --git a/gl/m4/idpriv.m4 b/gl/m4/idpriv.m4 new file mode 100644 index 0000000..167f523 --- /dev/null +++ b/gl/m4/idpriv.m4 | |||
@@ -0,0 +1,14 @@ | |||
1 | # idpriv.m4 serial 1 | ||
2 | dnl Copyright (C) 2009-2013 Free Software Foundation, Inc. | ||
3 | dnl This file is free software; the Free Software Foundation | ||
4 | dnl gives unlimited permission to copy and/or distribute it, | ||
5 | dnl with or without modifications, as long as this notice is preserved. | ||
6 | |||
7 | AC_DEFUN([gl_IDPRIV], | ||
8 | [ | ||
9 | dnl Persuade glibc <unistd.h> to declare {get,set}res{uid,gid}. | ||
10 | AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) | ||
11 | |||
12 | AC_CHECK_FUNCS_ONCE([getuid geteuid getresuid getgid getegid getresgid]) | ||
13 | AC_CHECK_FUNCS_ONCE([setresuid setreuid seteuid setresgid setregid setegid]) | ||
14 | ]) | ||
diff --git a/gl/m4/strcase.m4 b/gl/m4/strcase.m4 new file mode 100644 index 0000000..22bf57c --- /dev/null +++ b/gl/m4/strcase.m4 | |||
@@ -0,0 +1,45 @@ | |||
1 | # strcase.m4 serial 11 | ||
2 | dnl Copyright (C) 2002, 2005-2013 Free Software Foundation, Inc. | ||
3 | dnl This file is free software; the Free Software Foundation | ||
4 | dnl gives unlimited permission to copy and/or distribute it, | ||
5 | dnl with or without modifications, as long as this notice is preserved. | ||
6 | |||
7 | AC_DEFUN([gl_STRCASE], | ||
8 | [ | ||
9 | gl_FUNC_STRCASECMP | ||
10 | gl_FUNC_STRNCASECMP | ||
11 | ]) | ||
12 | |||
13 | AC_DEFUN([gl_FUNC_STRCASECMP], | ||
14 | [ | ||
15 | AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS]) | ||
16 | AC_CHECK_FUNCS([strcasecmp]) | ||
17 | if test $ac_cv_func_strcasecmp = no; then | ||
18 | HAVE_STRCASECMP=0 | ||
19 | fi | ||
20 | ]) | ||
21 | |||
22 | AC_DEFUN([gl_FUNC_STRNCASECMP], | ||
23 | [ | ||
24 | AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS]) | ||
25 | AC_CHECK_FUNCS([strncasecmp]) | ||
26 | if test $ac_cv_func_strncasecmp = yes; then | ||
27 | HAVE_STRNCASECMP=1 | ||
28 | else | ||
29 | HAVE_STRNCASECMP=0 | ||
30 | fi | ||
31 | AC_CHECK_DECLS([strncasecmp]) | ||
32 | if test $ac_cv_have_decl_strncasecmp = no; then | ||
33 | HAVE_DECL_STRNCASECMP=0 | ||
34 | fi | ||
35 | ]) | ||
36 | |||
37 | # Prerequisites of lib/strcasecmp.c. | ||
38 | AC_DEFUN([gl_PREREQ_STRCASECMP], [ | ||
39 | : | ||
40 | ]) | ||
41 | |||
42 | # Prerequisites of lib/strncasecmp.c. | ||
43 | AC_DEFUN([gl_PREREQ_STRNCASECMP], [ | ||
44 | : | ||
45 | ]) | ||
diff --git a/gl/m4/strings_h.m4 b/gl/m4/strings_h.m4 new file mode 100644 index 0000000..76ef242 --- /dev/null +++ b/gl/m4/strings_h.m4 | |||
@@ -0,0 +1,52 @@ | |||
1 | # Configure a replacement for <strings.h>. | ||
2 | # serial 6 | ||
3 | |||
4 | # Copyright (C) 2007, 2009-2013 Free Software Foundation, Inc. | ||
5 | # This file is free software; the Free Software Foundation | ||
6 | # gives unlimited permission to copy and/or distribute it, | ||
7 | # with or without modifications, as long as this notice is preserved. | ||
8 | |||
9 | AC_DEFUN([gl_HEADER_STRINGS_H], | ||
10 | [ | ||
11 | dnl Use AC_REQUIRE here, so that the default behavior below is expanded | ||
12 | dnl once only, before all statements that occur in other macros. | ||
13 | AC_REQUIRE([gl_HEADER_STRINGS_H_BODY]) | ||
14 | ]) | ||
15 | |||
16 | AC_DEFUN([gl_HEADER_STRINGS_H_BODY], | ||
17 | [ | ||
18 | AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS]) | ||
19 | |||
20 | gl_CHECK_NEXT_HEADERS([strings.h]) | ||
21 | if test $ac_cv_header_strings_h = yes; then | ||
22 | HAVE_STRINGS_H=1 | ||
23 | else | ||
24 | HAVE_STRINGS_H=0 | ||
25 | fi | ||
26 | AC_SUBST([HAVE_STRINGS_H]) | ||
27 | |||
28 | dnl Check for declarations of anything we want to poison if the | ||
29 | dnl corresponding gnulib module is not in use. | ||
30 | gl_WARN_ON_USE_PREPARE([[ | ||
31 | /* Minix 3.1.8 has a bug: <sys/types.h> must be included before | ||
32 | <strings.h>. */ | ||
33 | #include <sys/types.h> | ||
34 | #include <strings.h> | ||
35 | ]], [ffs strcasecmp strncasecmp]) | ||
36 | ]) | ||
37 | |||
38 | AC_DEFUN([gl_STRINGS_MODULE_INDICATOR], | ||
39 | [ | ||
40 | dnl Use AC_REQUIRE here, so that the default settings are expanded once only. | ||
41 | AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS]) | ||
42 | gl_MODULE_INDICATOR_SET_VARIABLE([$1]) | ||
43 | ]) | ||
44 | |||
45 | AC_DEFUN([gl_HEADER_STRINGS_H_DEFAULTS], | ||
46 | [ | ||
47 | GNULIB_FFS=0; AC_SUBST([GNULIB_FFS]) | ||
48 | dnl Assume proper GNU behavior unless another module says otherwise. | ||
49 | HAVE_FFS=1; AC_SUBST([HAVE_FFS]) | ||
50 | HAVE_STRCASECMP=1; AC_SUBST([HAVE_STRCASECMP]) | ||
51 | HAVE_DECL_STRNCASECMP=1; AC_SUBST([HAVE_DECL_STRNCASECMP]) | ||
52 | ]) | ||
diff --git a/gl/strcasecmp.c b/gl/strcasecmp.c new file mode 100644 index 0000000..0f0a742 --- /dev/null +++ b/gl/strcasecmp.c | |||
@@ -0,0 +1,62 @@ | |||
1 | /* Case-insensitive string comparison function. | ||
2 | Copyright (C) 1998-1999, 2005-2007, 2009-2013 Free Software Foundation, Inc. | ||
3 | |||
4 | This program is free software; you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation; either version 3, or (at your option) | ||
7 | any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program; if not, see <http://www.gnu.org/licenses/>. */ | ||
16 | |||
17 | #include <config.h> | ||
18 | |||
19 | /* Specification. */ | ||
20 | #include <string.h> | ||
21 | |||
22 | #include <ctype.h> | ||
23 | #include <limits.h> | ||
24 | |||
25 | #define TOLOWER(Ch) (isupper (Ch) ? tolower (Ch) : (Ch)) | ||
26 | |||
27 | /* Compare strings S1 and S2, ignoring case, returning less than, equal to or | ||
28 | greater than zero if S1 is lexicographically less than, equal to or greater | ||
29 | than S2. | ||
30 | Note: This function does not work with multibyte strings! */ | ||
31 | |||
32 | int | ||
33 | strcasecmp (const char *s1, const char *s2) | ||
34 | { | ||
35 | const unsigned char *p1 = (const unsigned char *) s1; | ||
36 | const unsigned char *p2 = (const unsigned char *) s2; | ||
37 | unsigned char c1, c2; | ||
38 | |||
39 | if (p1 == p2) | ||
40 | return 0; | ||
41 | |||
42 | do | ||
43 | { | ||
44 | c1 = TOLOWER (*p1); | ||
45 | c2 = TOLOWER (*p2); | ||
46 | |||
47 | if (c1 == '\0') | ||
48 | break; | ||
49 | |||
50 | ++p1; | ||
51 | ++p2; | ||
52 | } | ||
53 | while (c1 == c2); | ||
54 | |||
55 | if (UCHAR_MAX <= INT_MAX) | ||
56 | return c1 - c2; | ||
57 | else | ||
58 | /* On machines where 'char' and 'int' are types of the same size, the | ||
59 | difference of two 'unsigned char' values - including the sign bit - | ||
60 | doesn't fit in an 'int'. */ | ||
61 | return (c1 > c2 ? 1 : c1 < c2 ? -1 : 0); | ||
62 | } | ||
diff --git a/gl/strings.in.h b/gl/strings.in.h new file mode 100644 index 0000000..4469f86 --- /dev/null +++ b/gl/strings.in.h | |||
@@ -0,0 +1,122 @@ | |||
1 | /* A substitute <strings.h>. | ||
2 | |||
3 | Copyright (C) 2007-2013 Free Software Foundation, Inc. | ||
4 | |||
5 | This program is free software; you can redistribute it and/or modify | ||
6 | it under the terms of the GNU General Public License as published by | ||
7 | the Free Software Foundation; either version 3, or (at your option) | ||
8 | any later version. | ||
9 | |||
10 | This program is distributed in the hope that it will be useful, | ||
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | GNU General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU General Public License | ||
16 | along with this program; if not, see <http://www.gnu.org/licenses/>. */ | ||
17 | |||
18 | #ifndef _@GUARD_PREFIX@_STRINGS_H | ||
19 | |||
20 | #if __GNUC__ >= 3 | ||
21 | @PRAGMA_SYSTEM_HEADER@ | ||
22 | #endif | ||
23 | @PRAGMA_COLUMNS@ | ||
24 | |||
25 | /* Minix 3.1.8 has a bug: <sys/types.h> must be included before <strings.h>. | ||
26 | But avoid namespace pollution on glibc systems. */ | ||
27 | #if defined __minix && !defined __GLIBC__ | ||
28 | # include <sys/types.h> | ||
29 | #endif | ||
30 | |||
31 | /* The include_next requires a split double-inclusion guard. */ | ||
32 | #if @HAVE_STRINGS_H@ | ||
33 | # @INCLUDE_NEXT@ @NEXT_STRINGS_H@ | ||
34 | #endif | ||
35 | |||
36 | #ifndef _@GUARD_PREFIX@_STRINGS_H | ||
37 | #define _@GUARD_PREFIX@_STRINGS_H | ||
38 | |||
39 | #if ! @HAVE_DECL_STRNCASECMP@ | ||
40 | /* Get size_t. */ | ||
41 | # include <stddef.h> | ||
42 | #endif | ||
43 | |||
44 | |||
45 | /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ | ||
46 | |||
47 | /* The definition of _GL_ARG_NONNULL is copied here. */ | ||
48 | |||
49 | /* The definition of _GL_WARN_ON_USE is copied here. */ | ||
50 | |||
51 | #ifdef __cplusplus | ||
52 | extern "C" { | ||
53 | #endif | ||
54 | |||
55 | |||
56 | /* Find the index of the least-significant set bit. */ | ||
57 | #if @GNULIB_FFS@ | ||
58 | # if !@HAVE_FFS@ | ||
59 | _GL_FUNCDECL_SYS (ffs, int, (int i)); | ||
60 | # endif | ||
61 | _GL_CXXALIAS_SYS (ffs, int, (int i)); | ||
62 | _GL_CXXALIASWARN (ffs); | ||
63 | #elif defined GNULIB_POSIXCHECK | ||
64 | # undef ffs | ||
65 | # if HAVE_RAW_DECL_FFS | ||
66 | _GL_WARN_ON_USE (ffs, "ffs is not portable - use the ffs module"); | ||
67 | # endif | ||
68 | #endif | ||
69 | |||
70 | /* Compare strings S1 and S2, ignoring case, returning less than, equal to or | ||
71 | greater than zero if S1 is lexicographically less than, equal to or greater | ||
72 | than S2. | ||
73 | Note: This function does not work in multibyte locales. */ | ||
74 | #if ! @HAVE_STRCASECMP@ | ||
75 | extern int strcasecmp (char const *s1, char const *s2) | ||
76 | _GL_ARG_NONNULL ((1, 2)); | ||
77 | #endif | ||
78 | #if defined GNULIB_POSIXCHECK | ||
79 | /* strcasecmp() does not work with multibyte strings: | ||
80 | POSIX says that it operates on "strings", and "string" in POSIX is defined | ||
81 | as a sequence of bytes, not of characters. */ | ||
82 | # undef strcasecmp | ||
83 | # if HAVE_RAW_DECL_STRCASECMP | ||
84 | _GL_WARN_ON_USE (strcasecmp, "strcasecmp cannot work correctly on character " | ||
85 | "strings in multibyte locales - " | ||
86 | "use mbscasecmp if you care about " | ||
87 | "internationalization, or use c_strcasecmp , " | ||
88 | "gnulib module c-strcase) if you want a locale " | ||
89 | "independent function"); | ||
90 | # endif | ||
91 | #endif | ||
92 | |||
93 | /* Compare no more than N bytes of strings S1 and S2, ignoring case, | ||
94 | returning less than, equal to or greater than zero if S1 is | ||
95 | lexicographically less than, equal to or greater than S2. | ||
96 | Note: This function cannot work correctly in multibyte locales. */ | ||
97 | #if ! @HAVE_DECL_STRNCASECMP@ | ||
98 | extern int strncasecmp (char const *s1, char const *s2, size_t n) | ||
99 | _GL_ARG_NONNULL ((1, 2)); | ||
100 | #endif | ||
101 | #if defined GNULIB_POSIXCHECK | ||
102 | /* strncasecmp() does not work with multibyte strings: | ||
103 | POSIX says that it operates on "strings", and "string" in POSIX is defined | ||
104 | as a sequence of bytes, not of characters. */ | ||
105 | # undef strncasecmp | ||
106 | # if HAVE_RAW_DECL_STRNCASECMP | ||
107 | _GL_WARN_ON_USE (strncasecmp, "strncasecmp cannot work correctly on character " | ||
108 | "strings in multibyte locales - " | ||
109 | "use mbsncasecmp or mbspcasecmp if you care about " | ||
110 | "internationalization, or use c_strncasecmp , " | ||
111 | "gnulib module c-strcase) if you want a locale " | ||
112 | "independent function"); | ||
113 | # endif | ||
114 | #endif | ||
115 | |||
116 | |||
117 | #ifdef __cplusplus | ||
118 | } | ||
119 | #endif | ||
120 | |||
121 | #endif /* _@GUARD_PREFIX@_STRING_H */ | ||
122 | #endif /* _@GUARD_PREFIX@_STRING_H */ | ||
diff --git a/gl/strncasecmp.c b/gl/strncasecmp.c new file mode 100644 index 0000000..35840bc --- /dev/null +++ b/gl/strncasecmp.c | |||
@@ -0,0 +1,62 @@ | |||
1 | /* strncasecmp.c -- case insensitive string comparator | ||
2 | Copyright (C) 1998-1999, 2005-2007, 2009-2013 Free Software Foundation, Inc. | ||
3 | |||
4 | This program is free software; you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation; either version 3, or (at your option) | ||
7 | any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program; if not, see <http://www.gnu.org/licenses/>. */ | ||
16 | |||
17 | #include <config.h> | ||
18 | |||
19 | /* Specification. */ | ||
20 | #include <string.h> | ||
21 | |||
22 | #include <ctype.h> | ||
23 | #include <limits.h> | ||
24 | |||
25 | #define TOLOWER(Ch) (isupper (Ch) ? tolower (Ch) : (Ch)) | ||
26 | |||
27 | /* Compare no more than N bytes of strings S1 and S2, ignoring case, | ||
28 | returning less than, equal to or greater than zero if S1 is | ||
29 | lexicographically less than, equal to or greater than S2. | ||
30 | Note: This function cannot work correctly in multibyte locales. */ | ||
31 | |||
32 | int | ||
33 | strncasecmp (const char *s1, const char *s2, size_t n) | ||
34 | { | ||
35 | register const unsigned char *p1 = (const unsigned char *) s1; | ||
36 | register const unsigned char *p2 = (const unsigned char *) s2; | ||
37 | unsigned char c1, c2; | ||
38 | |||
39 | if (p1 == p2 || n == 0) | ||
40 | return 0; | ||
41 | |||
42 | do | ||
43 | { | ||
44 | c1 = TOLOWER (*p1); | ||
45 | c2 = TOLOWER (*p2); | ||
46 | |||
47 | if (--n == 0 || c1 == '\0') | ||
48 | break; | ||
49 | |||
50 | ++p1; | ||
51 | ++p2; | ||
52 | } | ||
53 | while (c1 == c2); | ||
54 | |||
55 | if (UCHAR_MAX <= INT_MAX) | ||
56 | return c1 - c2; | ||
57 | else | ||
58 | /* On machines where 'char' and 'int' are types of the same size, the | ||
59 | difference of two 'unsigned char' values - including the sign bit - | ||
60 | doesn't fit in an 'int'. */ | ||
61 | return (c1 > c2 ? 1 : c1 < c2 ? -1 : 0); | ||
62 | } | ||
diff --git a/lib/Makefile.am b/lib/Makefile.am index 99fa591..01d73a6 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am | |||
@@ -2,19 +2,18 @@ | |||
2 | 2 | ||
3 | SUBDIRS = . tests | 3 | SUBDIRS = . tests |
4 | 4 | ||
5 | noinst_LIBRARIES = libnagiosplug.a | 5 | noinst_LIBRARIES = libmonitoringplug.a |
6 | 6 | ||
7 | AM_CPPFLAGS = -DNP_STATE_DIR_PREFIX=\"$(localstatedir)\" | 7 | AM_CPPFLAGS = -DNP_STATE_DIR_PREFIX=\"$(localstatedir)\" \ |
8 | -I$(srcdir) -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins | ||
8 | 9 | ||
9 | libnagiosplug_a_SOURCES = utils_base.c utils_disk.c utils_tcp.c utils_cmd.c | 10 | libmonitoringplug_a_SOURCES = utils_base.c utils_disk.c utils_tcp.c utils_cmd.c |
10 | EXTRA_DIST = utils_base.h utils_disk.h utils_tcp.h utils_cmd.h parse_ini.h extra_opts.h | 11 | EXTRA_DIST = utils_base.h utils_disk.h utils_tcp.h utils_cmd.h parse_ini.h extra_opts.h |
11 | 12 | ||
12 | if USE_PARSE_INI | 13 | if USE_PARSE_INI |
13 | libnagiosplug_a_SOURCES += parse_ini.c extra_opts.c | 14 | libmonitoringplug_a_SOURCES += parse_ini.c extra_opts.c |
14 | endif USE_PARSE_INI | 15 | endif USE_PARSE_INI |
15 | 16 | ||
16 | INCLUDES = -I$(srcdir) -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins | ||
17 | |||
18 | test test-debug: | 17 | test test-debug: |
19 | cd tests && make $@ | 18 | cd tests && make $@ |
20 | 19 | ||
diff --git a/lib/extra_opts.c b/lib/extra_opts.c index 2939c7a..f4d5e66 100644 --- a/lib/extra_opts.c +++ b/lib/extra_opts.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios-plugins extra_opts library | 3 | * Monitoring Plugins extra_opts library |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2007 Nagios Plugins Development Team | 6 | * Copyright (c) 2007 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * This program is free software: you can redistribute it and/or modify | 8 | * This program is free software: you can redistribute it and/or modify |
9 | * it under the terms of the GNU General Public License as published by | 9 | * it under the terms of the GNU General Public License as published by |
diff --git a/lib/extra_opts.h b/lib/extra_opts.h index 4bb7b73..8ff14a1 100644 --- a/lib/extra_opts.h +++ b/lib/extra_opts.h | |||
@@ -2,7 +2,7 @@ | |||
2 | #define _EXTRA_OPTS_H_ | 2 | #define _EXTRA_OPTS_H_ |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * extra_opts.h: routines for loading nagios-plugin defaults from ini | 5 | * extra_opts.h: routines for loading monitoring-plugin defaults from ini |
6 | * configuration files. | 6 | * configuration files. |
7 | */ | 7 | */ |
8 | 8 | ||
diff --git a/lib/parse_ini.c b/lib/parse_ini.c index 004396f..25abc89 100644 --- a/lib/parse_ini.c +++ b/lib/parse_ini.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios-plugins parse_ini library | 3 | * Monitoring Plugins parse_ini library |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2007 Nagios Plugins Development Team | 6 | * Copyright (c) 2007 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * This program is free software: you can redistribute it and/or modify | 8 | * This program is free software: you can redistribute it and/or modify |
9 | * it under the terms of the GNU General Public License as published by | 9 | * it under the terms of the GNU General Public License as published by |
@@ -22,16 +22,15 @@ | |||
22 | *****************************************************************************/ | 22 | *****************************************************************************/ |
23 | 23 | ||
24 | #include "common.h" | 24 | #include "common.h" |
25 | #include "idpriv.h" | ||
25 | #include "utils_base.h" | 26 | #include "utils_base.h" |
26 | #include "parse_ini.h" | 27 | #include "parse_ini.h" |
27 | #include <ctype.h> | ||
28 | 28 | ||
29 | #include <ctype.h> | ||
29 | #include <sys/types.h> | 30 | #include <sys/types.h> |
30 | #include <sys/stat.h> | 31 | #include <sys/stat.h> |
31 | #include <unistd.h> | 32 | #include <unistd.h> |
32 | 33 | ||
33 | /* TODO: die like N::P if config file is not found */ | ||
34 | |||
35 | /* np_ini_info contains the result of parsing a "locator" in the format | 34 | /* np_ini_info contains the result of parsing a "locator" in the format |
36 | * [stanza_name][@config_filename] (check_foo@/etc/foo.ini, for example) | 35 | * [stanza_name][@config_filename] (check_foo@/etc/foo.ini, for example) |
37 | */ | 36 | */ |
@@ -40,254 +39,314 @@ typedef struct { | |||
40 | char *stanza; | 39 | char *stanza; |
41 | } np_ini_info; | 40 | } np_ini_info; |
42 | 41 | ||
42 | static char *default_ini_file_names[] = { | ||
43 | "monitoring-plugins.ini", | ||
44 | "plugins.ini", | ||
45 | "nagios-plugins.ini", | ||
46 | NULL | ||
47 | }; | ||
48 | |||
49 | static char *default_ini_path_names[] = { | ||
50 | "/usr/local/etc/monitoring-plugins/monitoring-plugins.ini", | ||
51 | "/usr/local/etc/monitoring-plugins.ini", | ||
52 | "/etc/monitoring-plugins/monitoring-plugins.ini", | ||
53 | "/etc/monitoring-plugins.ini", | ||
54 | /* deprecated path names (for backward compatibility): */ | ||
55 | "/etc/nagios/plugins.ini", | ||
56 | "/usr/local/nagios/etc/plugins.ini", | ||
57 | "/usr/local/etc/nagios/plugins.ini", | ||
58 | "/etc/opt/nagios/plugins.ini", | ||
59 | "/etc/nagios-plugins.ini", | ||
60 | "/usr/local/etc/nagios-plugins.ini", | ||
61 | "/etc/opt/nagios-plugins.ini", | ||
62 | NULL | ||
63 | }; | ||
64 | |||
43 | /* eat all characters from a FILE pointer until n is encountered */ | 65 | /* eat all characters from a FILE pointer until n is encountered */ |
44 | #define GOBBLE_TO(f, c, n) do { (c)=fgetc((f)); } while((c)!=EOF && (c)!=(n)) | 66 | #define GOBBLE_TO(f, c, n) do { (c)=fgetc((f)); } while((c)!=EOF && (c)!=(n)) |
45 | 67 | ||
46 | /* internal function that returns the constructed defaults options */ | 68 | /* internal function that returns the constructed defaults options */ |
47 | static int read_defaults(FILE *f, const char *stanza, np_arg_list **opts); | 69 | static int read_defaults(FILE *f, const char *stanza, np_arg_list **opts); |
70 | |||
48 | /* internal function that converts a single line into options format */ | 71 | /* internal function that converts a single line into options format */ |
49 | static int add_option(FILE *f, np_arg_list **optlst); | 72 | static int add_option(FILE *f, np_arg_list **optlst); |
50 | /* internal function to find default file */ | ||
51 | static char* default_file(void); | ||
52 | /* internal function to stat() files */ | ||
53 | static int test_file(const char* env, int len, const char* file, char* temp_file); | ||
54 | 73 | ||
55 | /* parse_locator decomposes a string of the form | 74 | /* internal functions to find default file */ |
75 | static char *default_file(void); | ||
76 | static char *default_file_in_path(void); | ||
77 | |||
78 | /* | ||
79 | * Parse_locator decomposes a string of the form | ||
56 | * [stanza][@filename] | 80 | * [stanza][@filename] |
57 | * into its seperate parts | 81 | * into its seperate parts. |
58 | */ | 82 | */ |
59 | static void parse_locator(const char *locator, const char *def_stanza, np_ini_info *i){ | 83 | static void |
60 | size_t locator_len=0, stanza_len=0; | 84 | parse_locator(const char *locator, const char *def_stanza, np_ini_info *i) |
85 | { | ||
86 | size_t locator_len = 0, stanza_len = 0; | ||
61 | 87 | ||
62 | /* if locator is NULL we'll use default values */ | 88 | /* if locator is NULL we'll use default values */ |
63 | if(locator){ | 89 | if (locator != NULL) { |
64 | locator_len=strlen(locator); | 90 | locator_len = strlen(locator); |
65 | stanza_len=strcspn(locator, "@"); | 91 | stanza_len = strcspn(locator, "@"); |
66 | } | 92 | } |
67 | /* if a non-default stanza is provided */ | 93 | /* if a non-default stanza is provided */ |
68 | if(stanza_len>0){ | 94 | if (stanza_len > 0) { |
69 | i->stanza=(char*)malloc(sizeof(char)*(stanza_len+1)); | 95 | i->stanza = malloc(sizeof(char) * (stanza_len + 1)); |
70 | strncpy(i->stanza, locator, stanza_len); | 96 | strncpy(i->stanza, locator, stanza_len); |
71 | i->stanza[stanza_len]='\0'; | 97 | i->stanza[stanza_len] = '\0'; |
72 | } else { /* otherwise we use the default stanza */ | 98 | } else /* otherwise we use the default stanza */ |
73 | i->stanza=strdup(def_stanza); | 99 | i->stanza = strdup(def_stanza); |
74 | } | ||
75 | /* if there is no @file part */ | ||
76 | if(stanza_len==locator_len){ | ||
77 | i->file=default_file(); | ||
78 | if(strcmp(i->file, "") == 0){ | ||
79 | die(STATE_UNKNOWN, _("Cannot find '%s' or '%s' in any standard location.\n"), NP_DEFAULT_INI_FILENAME1, NP_DEFAULT_INI_FILENAME2); | ||
80 | } | ||
81 | } else { | ||
82 | i->file=strdup(&(locator[stanza_len+1])); | ||
83 | } | ||
84 | 100 | ||
85 | if(i->file==NULL || i->stanza==NULL){ | 101 | if (i->stanza == NULL) |
86 | die(STATE_UNKNOWN, _("malloc() failed!\n")); | 102 | die(STATE_UNKNOWN, _("malloc() failed!\n")); |
87 | } | 103 | |
104 | /* check whether there's an @file part */ | ||
105 | i->file = stanza_len == locator_len | ||
106 | ? default_file() | ||
107 | : strdup(&(locator[stanza_len + 1])); | ||
108 | if (i->file == NULL || i->file[0] == '\0') | ||
109 | die(STATE_UNKNOWN, | ||
110 | _("Cannot find config file in any standard location.\n")); | ||
88 | } | 111 | } |
89 | 112 | ||
90 | /* this is the externally visible function used by extra_opts */ | 113 | /* |
91 | np_arg_list* np_get_defaults(const char *locator, const char *default_section){ | 114 | * This is the externally visible function used by extra_opts. |
92 | FILE *inifile=NULL; | 115 | */ |
93 | np_arg_list *defaults=NULL; | 116 | np_arg_list * |
117 | np_get_defaults(const char *locator, const char *default_section) | ||
118 | { | ||
119 | FILE *inifile = NULL; | ||
120 | np_arg_list *defaults = NULL; | ||
94 | np_ini_info i; | 121 | np_ini_info i; |
122 | int is_suid_plugin = mp_suid(); | ||
95 | 123 | ||
96 | parse_locator(locator, default_section, &i); | 124 | if (is_suid_plugin && idpriv_temp_drop() == -1) |
97 | /* if a file was specified or if we're using the default file */ | 125 | die(STATE_UNKNOWN, _("Cannot drop privileges: %s\n"), |
98 | if(i.file != NULL && strlen(i.file) > 0){ | 126 | strerror(errno)); |
99 | if(strcmp(i.file, "-")==0){ | ||
100 | inifile=stdin; | ||
101 | } else { | ||
102 | inifile=fopen(i.file, "r"); | ||
103 | } | ||
104 | if(inifile==NULL) die(STATE_UNKNOWN, _("Can't read config file")); | ||
105 | if(read_defaults(inifile, i.stanza, &defaults)==FALSE) | ||
106 | die(STATE_UNKNOWN, _("Invalid section '%s' in config file '%s'\n"), i.stanza, i.file); | ||
107 | 127 | ||
108 | free(i.file); | 128 | parse_locator(locator, default_section, &i); |
109 | if(inifile!=stdin) fclose(inifile); | 129 | inifile = strcmp(i.file, "-") == 0 ? stdin : fopen(i.file, "r"); |
110 | } | 130 | |
131 | if (inifile == NULL) | ||
132 | die(STATE_UNKNOWN, _("Can't read config file: %s\n"), | ||
133 | strerror(errno)); | ||
134 | if (read_defaults(inifile, i.stanza, &defaults) == FALSE) | ||
135 | die(STATE_UNKNOWN, | ||
136 | _("Invalid section '%s' in config file '%s'\n"), i.stanza, | ||
137 | i.file); | ||
138 | |||
139 | free(i.file); | ||
140 | if (inifile != stdin) | ||
141 | fclose(inifile); | ||
111 | free(i.stanza); | 142 | free(i.stanza); |
143 | if (is_suid_plugin && idpriv_temp_restore() == -1) | ||
144 | die(STATE_UNKNOWN, _("Cannot restore privileges: %s\n"), | ||
145 | strerror(errno)); | ||
146 | |||
112 | return defaults; | 147 | return defaults; |
113 | } | 148 | } |
114 | 149 | ||
115 | /* read_defaults is where the meat of the parsing takes place. | 150 | /* |
151 | * The read_defaults() function is where the meat of the parsing takes place. | ||
116 | * | 152 | * |
117 | * note that this may be called by a setuid binary, so we need to | 153 | * Note that this may be called by a setuid binary, so we need to |
118 | * be extra careful about user-supplied input (i.e. avoiding possible | 154 | * be extra careful about user-supplied input (i.e. avoiding possible |
119 | * format string vulnerabilities, etc) | 155 | * format string vulnerabilities, etc). |
120 | */ | 156 | */ |
121 | static int read_defaults(FILE *f, const char *stanza, np_arg_list **opts){ | 157 | static int |
122 | int c, status=FALSE; | 158 | read_defaults(FILE *f, const char *stanza, np_arg_list **opts) |
159 | { | ||
160 | int c, status = FALSE; | ||
123 | size_t i, stanza_len; | 161 | size_t i, stanza_len; |
124 | enum { NOSTANZA, WRONGSTANZA, RIGHTSTANZA } stanzastate=NOSTANZA; | 162 | enum { NOSTANZA, WRONGSTANZA, RIGHTSTANZA } stanzastate = NOSTANZA; |
125 | 163 | ||
126 | stanza_len=strlen(stanza); | 164 | stanza_len = strlen(stanza); |
127 | 165 | ||
128 | /* our little stanza-parsing state machine. */ | 166 | /* our little stanza-parsing state machine */ |
129 | while((c=fgetc(f))!=EOF){ | 167 | while ((c = fgetc(f)) != EOF) { |
130 | /* gobble up leading whitespace */ | 168 | /* gobble up leading whitespace */ |
131 | if(isspace(c)) continue; | 169 | if (isspace(c)) |
132 | switch(c){ | 170 | continue; |
171 | switch (c) { | ||
133 | /* globble up coment lines */ | 172 | /* globble up coment lines */ |
134 | case ';': | 173 | case ';': |
135 | case '#': | 174 | case '#': |
136 | GOBBLE_TO(f, c, '\n'); | 175 | GOBBLE_TO(f, c, '\n'); |
137 | break; | 176 | break; |
138 | /* start of a stanza. check to see if it matches */ | 177 | /* start of a stanza, check to see if it matches */ |
139 | case '[': | 178 | case '[': |
140 | stanzastate=WRONGSTANZA; | 179 | stanzastate = WRONGSTANZA; |
141 | for(i=0; i<stanza_len; i++){ | 180 | for (i = 0; i < stanza_len; i++) { |
142 | c=fgetc(f); | 181 | c = fgetc(f); |
143 | /* Strip leading whitespace */ | 182 | /* strip leading whitespace */ |
144 | if(i==0) for(c; isspace(c); c=fgetc(f)); | 183 | if (i == 0) |
145 | /* nope, read to the end of the line */ | 184 | for (; isspace(c); c = fgetc(f)) |
146 | if(c!=stanza[i]) { | 185 | continue; |
147 | GOBBLE_TO(f, c, '\n'); | 186 | /* nope, read to the end of the line */ |
148 | break; | 187 | if (c != stanza[i]) { |
149 | } | 188 | GOBBLE_TO(f, c, '\n'); |
150 | } | 189 | break; |
151 | /* if it matched up to here and the next char is ']'... */ | ||
152 | if(i==stanza_len){ | ||
153 | c=fgetc(f); | ||
154 | /* Strip trailing whitespace */ | ||
155 | for(c; isspace(c); c=fgetc(f)); | ||
156 | if(c==']') stanzastate=RIGHTSTANZA; | ||
157 | } | 190 | } |
158 | break; | 191 | } |
192 | /* if it matched up to here and the next char is ']'... */ | ||
193 | if (i == stanza_len) { | ||
194 | c = fgetc(f); | ||
195 | /* strip trailing whitespace */ | ||
196 | for (; isspace(c); c = fgetc(f)) | ||
197 | continue; | ||
198 | if (c == ']') | ||
199 | stanzastate = RIGHTSTANZA; | ||
200 | } | ||
201 | break; | ||
159 | /* otherwise, we're in the body of a stanza or a parse error */ | 202 | /* otherwise, we're in the body of a stanza or a parse error */ |
160 | default: | 203 | default: |
161 | switch(stanzastate){ | 204 | switch (stanzastate) { |
162 | /* we never found the start of the first stanza, so | 205 | /* we never found the start of the first stanza, so |
163 | * we're dealing with a config error | 206 | * we're dealing with a config error |
164 | */ | 207 | */ |
165 | case NOSTANZA: | 208 | case NOSTANZA: |
166 | die(STATE_UNKNOWN, _("Config file error")); | 209 | die(STATE_UNKNOWN, "%s\n", |
167 | break; | 210 | _("Config file error")); |
168 | /* we're in a stanza, but for a different plugin */ | 211 | /* we're in a stanza, but for a different plugin */ |
169 | case WRONGSTANZA: | 212 | case WRONGSTANZA: |
170 | GOBBLE_TO(f, c, '\n'); | 213 | GOBBLE_TO(f, c, '\n'); |
171 | break; | 214 | break; |
172 | /* okay, this is where we start taking the config */ | 215 | /* okay, this is where we start taking the config */ |
173 | case RIGHTSTANZA: | 216 | case RIGHTSTANZA: |
174 | ungetc(c, f); | 217 | ungetc(c, f); |
175 | if(add_option(f, opts)){ | 218 | if (add_option(f, opts)) { |
176 | die(STATE_UNKNOWN, _("Config file error")); | 219 | die(STATE_UNKNOWN, "%s\n", |
177 | } | 220 | _("Config file error")); |
178 | status=TRUE; | ||
179 | break; | ||
180 | } | 221 | } |
222 | status = TRUE; | ||
181 | break; | 223 | break; |
224 | } | ||
225 | break; | ||
182 | } | 226 | } |
183 | } | 227 | } |
184 | return status; | 228 | return status; |
185 | } | 229 | } |
186 | 230 | ||
187 | /* | 231 | /* |
188 | * read one line of input in the format | 232 | * Read one line of input in the format |
189 | * ^option[[:space:]]*(=[[:space:]]*value)? | 233 | * ^option[[:space:]]*(=[[:space:]]*value)? |
190 | * and creates it as a cmdline argument | 234 | * and create it as a cmdline argument |
191 | * --option[=value] | 235 | * --option[=value] |
192 | * appending it to the linked list optbuf. | 236 | * appending it to the linked list optbuf. |
193 | */ | 237 | */ |
194 | static int add_option(FILE *f, np_arg_list **optlst){ | 238 | static int |
195 | np_arg_list *opttmp=*optlst, *optnew; | 239 | add_option(FILE *f, np_arg_list **optlst) |
196 | char *linebuf=NULL, *lineend=NULL, *optptr=NULL, *optend=NULL; | 240 | { |
197 | char *eqptr=NULL, *valptr=NULL, *spaceptr=NULL, *valend=NULL; | 241 | np_arg_list *opttmp = *optlst, *optnew; |
198 | short done_reading=0, equals=0, value=0; | 242 | char *linebuf = NULL, *lineend = NULL, *optptr = NULL, *optend = NULL; |
199 | size_t cfg_len=0, read_sz=8, linebuf_sz=0, read_pos=0; | 243 | char *eqptr = NULL, *valptr = NULL, *valend = NULL; |
200 | size_t opt_len=0, val_len=0; | 244 | short done_reading = 0, equals = 0, value = 0; |
245 | size_t cfg_len = 0, read_sz = 8, linebuf_sz = 0, read_pos = 0; | ||
246 | size_t opt_len = 0, val_len = 0; | ||
201 | 247 | ||
202 | /* read one line from the file */ | 248 | /* read one line from the file */ |
203 | while(!done_reading){ | 249 | while (!done_reading) { |
204 | /* grow if necessary */ | 250 | /* grow if necessary */ |
205 | if(linebuf==NULL || read_pos+read_sz >= linebuf_sz){ | 251 | if (linebuf == NULL || read_pos + read_sz >= linebuf_sz) { |
206 | linebuf_sz=(linebuf_sz>0)?linebuf_sz<<1:read_sz; | 252 | linebuf_sz = linebuf_sz > 0 ? linebuf_sz << 1 : read_sz; |
207 | linebuf=realloc(linebuf, linebuf_sz); | 253 | linebuf = realloc(linebuf, linebuf_sz); |
208 | if(linebuf==NULL) die(STATE_UNKNOWN, _("malloc() failed!\n")); | 254 | if (linebuf == NULL) |
255 | die(STATE_UNKNOWN, _("malloc() failed!\n")); | ||
209 | } | 256 | } |
210 | if(fgets(&linebuf[read_pos], read_sz, f)==NULL) done_reading=1; | 257 | if (fgets(&linebuf[read_pos], (int)read_sz, f) == NULL) |
258 | done_reading = 1; | ||
211 | else { | 259 | else { |
212 | read_pos=strlen(linebuf); | 260 | read_pos = strlen(linebuf); |
213 | if(linebuf[read_pos-1]=='\n') { | 261 | if (linebuf[read_pos - 1] == '\n') { |
214 | linebuf[--read_pos]='\0'; | 262 | linebuf[--read_pos] = '\0'; |
215 | done_reading=1; | 263 | done_reading = 1; |
216 | } | 264 | } |
217 | } | 265 | } |
218 | } | 266 | } |
219 | lineend=&linebuf[read_pos]; | 267 | lineend = &linebuf[read_pos]; |
220 | /* all that to read one line. isn't C fun? :) now comes the parsing :/ */ | 268 | /* all that to read one line, isn't C fun? :) now comes the parsing :/ */ |
221 | 269 | ||
222 | /* skip leading whitespace */ | 270 | /* skip leading whitespace */ |
223 | for(optptr=linebuf; optptr<lineend && isspace(*optptr); optptr++); | 271 | for (optptr = linebuf; optptr < lineend && isspace(*optptr); optptr++) |
272 | continue; | ||
224 | /* continue to '=' or EOL, watching for spaces that might precede it */ | 273 | /* continue to '=' or EOL, watching for spaces that might precede it */ |
225 | for(eqptr=optptr; eqptr<lineend && *eqptr!='='; eqptr++){ | 274 | for (eqptr = optptr; eqptr < lineend && *eqptr != '='; eqptr++) { |
226 | if(isspace(*eqptr) && optend==NULL) optend=eqptr; | 275 | if (isspace(*eqptr) && optend == NULL) |
227 | else optend=NULL; | 276 | optend = eqptr; |
277 | else | ||
278 | optend = NULL; | ||
228 | } | 279 | } |
229 | if(optend==NULL) optend=eqptr; | 280 | if (optend == NULL) |
281 | optend = eqptr; | ||
230 | --optend; | 282 | --optend; |
231 | /* ^[[:space:]]*=foo is a syntax error */ | 283 | /* ^[[:space:]]*=foo is a syntax error */ |
232 | if(optptr==eqptr) die(STATE_UNKNOWN, _("Config file error\n")); | 284 | if (optptr == eqptr) |
285 | die(STATE_UNKNOWN, "%s\n", _("Config file error")); | ||
233 | /* continue from '=' to start of value or EOL */ | 286 | /* continue from '=' to start of value or EOL */ |
234 | for(valptr=eqptr+1; valptr<lineend && isspace(*valptr); valptr++); | 287 | for (valptr = eqptr + 1; valptr < lineend && isspace(*valptr); |
288 | valptr++) | ||
289 | continue; | ||
235 | /* continue to the end of value */ | 290 | /* continue to the end of value */ |
236 | for(valend=valptr; valend<lineend; valend++); | 291 | for (valend = valptr; valend < lineend; valend++) |
292 | continue; | ||
237 | --valend; | 293 | --valend; |
238 | /* Finally trim off trailing spaces */ | 294 | /* finally trim off trailing spaces */ |
239 | for(valend; isspace(*valend); valend--); | 295 | for (; isspace(*valend); valend--) |
296 | continue; | ||
240 | /* calculate the length of "--foo" */ | 297 | /* calculate the length of "--foo" */ |
241 | opt_len=1+optend-optptr; | 298 | opt_len = (size_t)(1 + optend - optptr); |
242 | /* 1-character params needs only one dash */ | 299 | /* 1-character params needs only one dash */ |
243 | if(opt_len==1) | 300 | if (opt_len == 1) |
244 | cfg_len=1+(opt_len); | 301 | cfg_len = 1 + (opt_len); |
245 | else | 302 | else |
246 | cfg_len=2+(opt_len); | 303 | cfg_len = 2 + (opt_len); |
247 | /* if valptr<lineend then we have to also allocate space for "=bar" */ | 304 | /* if valptr<lineend then we have to also allocate space for "=bar" */ |
248 | if(valptr<lineend) { | 305 | if (valptr < lineend) { |
249 | equals=value=1; | 306 | equals = value = 1; |
250 | val_len=1+valend-valptr; | 307 | val_len = (size_t)(1 + valend - valptr); |
251 | cfg_len+=1+val_len; | 308 | cfg_len += 1 + val_len; |
252 | } | 309 | } |
253 | /* if valptr==valend then we have "=" but no "bar" */ | 310 | /* if valptr==valend then we have "=" but no "bar" */ |
254 | else if(valptr==lineend) { | 311 | else if (valptr == lineend) { |
255 | equals=1; | 312 | equals = 1; |
256 | cfg_len+=1; | 313 | cfg_len += 1; |
257 | } | 314 | } |
258 | /* A line with no equal sign isn't valid */ | 315 | /* a line with no equal sign isn't valid */ |
259 | if(equals==0) die(STATE_UNKNOWN, _("Config file error\n")); | 316 | if (equals == 0) |
317 | die(STATE_UNKNOWN, "%s\n", _("Config file error")); | ||
260 | 318 | ||
261 | /* okay, now we have all the info we need, so we create a new np_arg_list | 319 | /* okay, now we have all the info we need, so we create a new np_arg_list |
262 | * element and set the argument... | 320 | * element and set the argument... |
263 | */ | 321 | */ |
264 | optnew=(np_arg_list *)malloc(sizeof(np_arg_list)); | 322 | optnew = malloc(sizeof(np_arg_list)); |
265 | optnew->next=NULL; | 323 | optnew->next = NULL; |
266 | 324 | ||
267 | read_pos=0; | 325 | read_pos = 0; |
268 | optnew->arg=(char *)malloc(cfg_len+1); | 326 | optnew->arg = malloc(cfg_len + 1); |
269 | /* 1-character params needs only one dash */ | 327 | /* 1-character params needs only one dash */ |
270 | if(opt_len==1) { | 328 | if (opt_len == 1) { |
271 | strncpy(&optnew->arg[read_pos], "-", 1); | 329 | strncpy(&optnew->arg[read_pos], "-", 1); |
272 | read_pos+=1; | 330 | read_pos += 1; |
273 | } else { | 331 | } else { |
274 | strncpy(&optnew->arg[read_pos], "--", 2); | 332 | strncpy(&optnew->arg[read_pos], "--", 2); |
275 | read_pos+=2; | 333 | read_pos += 2; |
276 | } | 334 | } |
277 | strncpy(&optnew->arg[read_pos], optptr, opt_len); read_pos+=opt_len; | 335 | strncpy(&optnew->arg[read_pos], optptr, opt_len); |
278 | if(value) { | 336 | read_pos += opt_len; |
279 | optnew->arg[read_pos++]='='; | 337 | if (value) { |
280 | strncpy(&optnew->arg[read_pos], valptr, val_len); read_pos+=val_len; | 338 | optnew->arg[read_pos++] = '='; |
339 | strncpy(&optnew->arg[read_pos], valptr, val_len); | ||
340 | read_pos += val_len; | ||
281 | } | 341 | } |
282 | optnew->arg[read_pos]='\0'; | 342 | optnew->arg[read_pos] = '\0'; |
283 | 343 | ||
284 | /* ...and put that to the end of the list */ | 344 | /* ...and put that to the end of the list */ |
285 | if(*optlst==NULL) { | 345 | if (*optlst == NULL) |
286 | *optlst=optnew; | 346 | *optlst = optnew; |
287 | } else { | 347 | else { |
288 | while(opttmp->next!=NULL) { | 348 | while (opttmp->next != NULL) |
289 | opttmp=opttmp->next; | 349 | opttmp = opttmp->next; |
290 | } | ||
291 | opttmp->next = optnew; | 350 | opttmp->next = optnew; |
292 | } | 351 | } |
293 | 352 | ||
@@ -295,72 +354,42 @@ static int add_option(FILE *f, np_arg_list **optlst){ | |||
295 | return 0; | 354 | return 0; |
296 | } | 355 | } |
297 | 356 | ||
298 | static char* default_file(void){ | 357 | static char * |
299 | struct stat sb; | 358 | default_file(void) |
300 | char *np_env=NULL, *default_file=NULL; | 359 | { |
301 | char temp_file[MAX_INPUT_BUFFER]; | 360 | char **p, *ini_file; |
302 | size_t len; | 361 | |
303 | 362 | if ((ini_file = getenv("MP_CONFIG_FILE")) != NULL || | |
304 | if((np_env=getenv("NAGIOS_CONFIG_PATH"))!=NULL) { | 363 | (ini_file = default_file_in_path()) != NULL) |
305 | /* skip any starting colon... */ | 364 | return ini_file; |
306 | while(*np_env==':') np_env++; | 365 | for (p = default_ini_path_names; *p != NULL; p++) |
307 | /* Look for NP_DEFAULT_INI_FILENAME1 and NP_DEFAULT_INI_FILENAME2 in | 366 | if (access(*p, F_OK) == 0) |
308 | * every PATHs defined (colon-separated). | 367 | return *p; |
309 | */ | 368 | return NULL; |
310 | while((len=strcspn(np_env,":"))>0){ | ||
311 | /* Test NP_DEFAULT_INI_FILENAME[1-2] in current np_env token */ | ||
312 | if(test_file(np_env,len,NP_DEFAULT_INI_FILENAME1,temp_file)==1 || | ||
313 | test_file(np_env,len,NP_DEFAULT_INI_FILENAME2,temp_file)==1){ | ||
314 | default_file=strdup(temp_file); | ||
315 | break; | ||
316 | } | ||
317 | |||
318 | /* Move on to the next token */ | ||
319 | np_env+=len; | ||
320 | while(*np_env==':') np_env++; | ||
321 | } /* while(...) */ | ||
322 | } /* if(getenv("NAGIOS_CONFIG_PATH")) */ | ||
323 | |||
324 | /* Look for NP_DEFAULT_INI_FILENAME1 in NP_DEFAULT_INI_NAGIOS_PATH[1-4] */ | ||
325 | if(!default_file){ | ||
326 | if(test_file(NP_DEFAULT_INI_NAGIOS_PATH1,strlen(NP_DEFAULT_INI_NAGIOS_PATH1),NP_DEFAULT_INI_FILENAME1,temp_file)==1 || | ||
327 | test_file(NP_DEFAULT_INI_NAGIOS_PATH2,strlen(NP_DEFAULT_INI_NAGIOS_PATH2),NP_DEFAULT_INI_FILENAME1,temp_file)==1 || | ||
328 | test_file(NP_DEFAULT_INI_NAGIOS_PATH3,strlen(NP_DEFAULT_INI_NAGIOS_PATH3),NP_DEFAULT_INI_FILENAME1,temp_file)==1 || | ||
329 | test_file(NP_DEFAULT_INI_NAGIOS_PATH4,strlen(NP_DEFAULT_INI_NAGIOS_PATH4),NP_DEFAULT_INI_FILENAME1,temp_file)==1) | ||
330 | default_file=strdup(temp_file); | ||
331 | } | ||
332 | |||
333 | /* Look for NP_DEFAULT_INI_FILENAME2 in NP_DEFAULT_INI_PATH[1-3] */ | ||
334 | if(!default_file){ | ||
335 | if(test_file(NP_DEFAULT_INI_PATH1,strlen(NP_DEFAULT_INI_PATH1),NP_DEFAULT_INI_FILENAME2,temp_file)==1 || | ||
336 | test_file(NP_DEFAULT_INI_PATH2,strlen(NP_DEFAULT_INI_PATH2),NP_DEFAULT_INI_FILENAME2,temp_file)==1 || | ||
337 | test_file(NP_DEFAULT_INI_PATH3,strlen(NP_DEFAULT_INI_PATH3),NP_DEFAULT_INI_FILENAME2,temp_file)==1) | ||
338 | default_file=strdup(temp_file); | ||
339 | } | ||
340 | |||
341 | /* Return default_file or empty string (should return NULL if we want plugins | ||
342 | * to die there)... | ||
343 | */ | ||
344 | if(default_file) | ||
345 | return default_file; | ||
346 | return ""; | ||
347 | } | 369 | } |
348 | 370 | ||
349 | /* put together len bytes from env and the filename and test for its | 371 | static char * |
350 | * existence. Returns 1 if found, 0 if not and -1 if test wasn't performed. | 372 | default_file_in_path(void) |
351 | */ | 373 | { |
352 | static int test_file(const char* env, int len, const char* file, char* temp_file){ | 374 | char *config_path, **file; |
353 | struct stat sb; | 375 | char *dir, *ini_file, *tokens; |
354 | 376 | ||
355 | /* test if len + filelen + '/' + '\0' fits in temp_file */ | 377 | if ((config_path = getenv("NAGIOS_CONFIG_PATH")) == NULL) |
356 | if((len+strlen(file)+2)>MAX_INPUT_BUFFER) return -1; | 378 | return NULL; |
357 | 379 | /* shall we spit out a warning that NAGIOS_CONFIG_PATH is deprecated? */ | |
358 | strncpy(temp_file,env,len); | 380 | |
359 | temp_file[len]='\0'; | 381 | if ((tokens = strdup(config_path)) == NULL) |
360 | strncat(temp_file,"/",len+1); | 382 | die(STATE_UNKNOWN, "%s\n", _("Insufficient Memory")); |
361 | strncat(temp_file,file,len+strlen(file)+1); | 383 | for (dir = strtok(tokens, ":"); dir != NULL; dir = strtok(NULL, ":")) { |
362 | 384 | for (file = default_ini_file_names; *file != NULL; file++) { | |
363 | if(stat(temp_file, &sb) != -1) return 1; | 385 | if ((asprintf(&ini_file, "%s/%s", dir, *file)) < 0) |
364 | return 0; | 386 | die(STATE_UNKNOWN, "%s\n", _("Insufficient Memory")); |
387 | if (access(ini_file, F_OK) == 0) { | ||
388 | free(tokens); | ||
389 | return ini_file; | ||
390 | } | ||
391 | } | ||
392 | } | ||
393 | free(tokens); | ||
394 | return NULL; | ||
365 | } | 395 | } |
366 | |||
diff --git a/lib/parse_ini.h b/lib/parse_ini.h index e0ba816..e37601b 100644 --- a/lib/parse_ini.h +++ b/lib/parse_ini.h | |||
@@ -2,7 +2,7 @@ | |||
2 | #define _PARSE_INI_H_ | 2 | #define _PARSE_INI_H_ |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * parse_ini.h: routines for loading nagios-plugin defaults from ini | 5 | * parse_ini.h: routines for loading monitoring-plugin defaults from ini |
6 | * configuration files. | 6 | * configuration files. |
7 | */ | 7 | */ |
8 | 8 | ||
@@ -13,50 +13,10 @@ typedef struct np_arg_el { | |||
13 | struct np_arg_el *next; | 13 | struct np_arg_el *next; |
14 | } np_arg_list; | 14 | } np_arg_list; |
15 | 15 | ||
16 | /* FIXME: This is in plugins/common.c. Should be eventually moved to lib/ | ||
17 | * (although for this particular one a configure settings should be ideal) | ||
18 | */ | ||
19 | #ifndef MAX_INPUT_BUFFER | ||
20 | # define MAX_INPUT_BUFFER 8192 | ||
21 | #endif /* MAX_INPUT_BUFFER */ | ||
22 | |||
23 | /* Filenames (see below) */ | ||
24 | #ifndef NP_DEFAULT_INI_FILENAME1 | ||
25 | # define NP_DEFAULT_INI_FILENAME1 "plugins.ini" | ||
26 | #endif /* NP_DEFAULT_INI_FILENAME1 */ | ||
27 | #ifndef NP_DEFAULT_INI_FILENAME2 | ||
28 | # define NP_DEFAULT_INI_FILENAME2 "nagios-plugins.ini" | ||
29 | #endif /* NP_DEFAULT_INI_FILENAME2 */ | ||
30 | |||
31 | /* Config paths ending in nagios (search for NP_DEFAULT_INI_FILENAME1) */ | ||
32 | #ifndef NP_DEFAULT_INI_NAGIOS_PATH1 | ||
33 | # define NP_DEFAULT_INI_NAGIOS_PATH1 "/etc/nagios" | ||
34 | #endif /* NP_DEFAULT_INI_NAGIOS_PATH1 */ | ||
35 | #ifndef NP_DEFAULT_INI_NAGIOS_PATH2 | ||
36 | # define NP_DEFAULT_INI_NAGIOS_PATH2 "/usr/local/nagios/etc" | ||
37 | #endif /* NP_DEFAULT_INI_NAGIOS_PATH2 */ | ||
38 | #ifndef NP_DEFAULT_INI_NAGIOS_PATH3 | ||
39 | # define NP_DEFAULT_INI_NAGIOS_PATH3 "/usr/local/etc/nagios" | ||
40 | #endif /* NP_DEFAULT_INI_NAGIOS_PATH3 */ | ||
41 | #ifndef NP_DEFAULT_INI_NAGIOS_PATH4 | ||
42 | # define NP_DEFAULT_INI_NAGIOS_PATH4 "/etc/opt/nagios" | ||
43 | #endif /* NP_DEFAULT_INI_NAGIOS_PATH4 */ | ||
44 | |||
45 | /* Config paths not ending in nagios (search for NP_DEFAULT_INI_FILENAME2) */ | ||
46 | #ifndef NP_DEFAULT_INI_PATH1 | ||
47 | # define NP_DEFAULT_INI_PATH1 "/etc" | ||
48 | #endif /* NP_DEFAULT_INI_PATH1 */ | ||
49 | #ifndef NP_DEFAULT_INI_PATH2 | ||
50 | # define NP_DEFAULT_INI_PATH2 "/usr/local/etc" | ||
51 | #endif /* NP_DEFAULT_INI_PATH2 */ | ||
52 | #ifndef NP_DEFAULT_INI_PATH3 | ||
53 | # define NP_DEFAULT_INI_PATH3 "/etc/opt" | ||
54 | #endif /* NP_DEFAULT_INI_PATH3 */ | ||
55 | |||
56 | /* np_load_defaults: load the default configuration (if present) for | 16 | /* np_load_defaults: load the default configuration (if present) for |
57 | * a plugin from the ini file | 17 | * a plugin from the ini file |
58 | */ | 18 | */ |
59 | np_arg_list* np_get_defaults(const char *locator, const char *default_section); | 19 | np_arg_list *np_get_defaults(const char *locator, const char *default_section); |
60 | 20 | ||
61 | #endif /* _PARSE_INI_H_ */ | 21 | #endif /* _PARSE_INI_H_ */ |
62 | 22 | ||
diff --git a/lib/tests/Makefile.am b/lib/tests/Makefile.am index 1af5891..a8d7ade 100644 --- a/lib/tests/Makefile.am +++ b/lib/tests/Makefile.am | |||
@@ -5,9 +5,8 @@ noinst_PROGRAMS = @EXTRA_TEST@ | |||
5 | TESTS = @EXTRA_TEST@ | 5 | TESTS = @EXTRA_TEST@ |
6 | check_PROGRAMS = @EXTRA_TEST@ | 6 | check_PROGRAMS = @EXTRA_TEST@ |
7 | 7 | ||
8 | AM_CPPFLAGS = -DNP_STATE_DIR_PREFIX=\"$(localstatedir)\" | 8 | AM_CPPFLAGS = -DNP_STATE_DIR_PREFIX=\"$(localstatedir)\" \ |
9 | 9 | -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins | |
10 | INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins | ||
11 | 10 | ||
12 | EXTRA_PROGRAMS = test_utils test_disk test_tcp test_cmd test_base64 test_ini1 test_ini3 test_opts1 test_opts2 test_opts3 | 11 | EXTRA_PROGRAMS = test_utils test_disk test_tcp test_cmd test_base64 test_ini1 test_ini3 test_opts1 test_opts2 test_opts3 |
13 | 12 | ||
@@ -28,7 +27,7 @@ endif | |||
28 | 27 | ||
29 | AM_CFLAGS = -g -I$(top_srcdir)/lib -I$(top_srcdir)/gl $(tap_cflags) | 28 | AM_CFLAGS = -g -I$(top_srcdir)/lib -I$(top_srcdir)/gl $(tap_cflags) |
30 | AM_LDFLAGS = $(tap_ldflags) -ltap | 29 | AM_LDFLAGS = $(tap_ldflags) -ltap |
31 | LDADD = $(top_srcdir)/lib/libnagiosplug.a $(top_srcdir)/gl/libgnu.a | 30 | LDADD = $(top_srcdir)/lib/libmonitoringplug.a $(top_srcdir)/gl/libgnu.a |
32 | 31 | ||
33 | SOURCES = test_utils.c test_disk.c test_tcp.c test_cmd.c test_base64.c test_ini1.c test_ini3.c test_opts1.c test_opts2.c test_opts3.c | 32 | SOURCES = test_utils.c test_disk.c test_tcp.c test_cmd.c test_base64.c test_ini1.c test_ini3.c test_opts1.c test_opts2.c test_opts3.c |
34 | 33 | ||
diff --git a/lib/tests/test_base64.t b/lib/tests/test_base64.t index 4b9236f..4ad6473 100755 --- a/lib/tests/test_base64.t +++ b/lib/tests/test_base64.t | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/usr/bin/perl | 1 | #!/usr/bin/perl |
2 | use Test::More; | 2 | use Test::More; |
3 | if (! -e "./test_base64") { | 3 | if (! -e "./test_base64") { |
4 | plan skip_all => "./test_base64 not compiled - please install tap library to test"; | 4 | plan skip_all => "./test_base64 not compiled - please enable libtap library to test"; |
5 | } | 5 | } |
6 | exec "./test_base64"; | 6 | exec "./test_base64"; |
diff --git a/lib/tests/test_cmd.t b/lib/tests/test_cmd.t index 4dd54ef..c50dded 100644 --- a/lib/tests/test_cmd.t +++ b/lib/tests/test_cmd.t | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/usr/bin/perl | 1 | #!/usr/bin/perl |
2 | use Test::More; | 2 | use Test::More; |
3 | if (! -e "./test_cmd") { | 3 | if (! -e "./test_cmd") { |
4 | plan skip_all => "./test_cmd not compiled - please install tap library to test"; | 4 | plan skip_all => "./test_cmd not compiled - please enable libtap library to test"; |
5 | } | 5 | } |
6 | exec "./test_cmd"; | 6 | exec "./test_cmd"; |
diff --git a/lib/tests/test_disk.t b/lib/tests/test_disk.t index d32567a..da84dfd 100755 --- a/lib/tests/test_disk.t +++ b/lib/tests/test_disk.t | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/usr/bin/perl | 1 | #!/usr/bin/perl |
2 | use Test::More; | 2 | use Test::More; |
3 | if (! -e "./test_disk") { | 3 | if (! -e "./test_disk") { |
4 | plan skip_all => "./test_disk not compiled - please install tap library to test"; | 4 | plan skip_all => "./test_disk not compiled - please enable libtap library to test"; |
5 | } | 5 | } |
6 | exec "./test_disk"; | 6 | exec "./test_disk"; |
diff --git a/lib/tests/test_ini1.t b/lib/tests/test_ini1.t index d481011..25baed9 100755 --- a/lib/tests/test_ini1.t +++ b/lib/tests/test_ini1.t | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/usr/bin/perl | 1 | #!/usr/bin/perl |
2 | use Test::More; | 2 | use Test::More; |
3 | if (! -e "./test_ini1") { | 3 | if (! -e "./test_ini1") { |
4 | plan skip_all => "./test_ini not compiled - please install tap library and/or enable parse-ini to test"; | 4 | plan skip_all => "./test_ini not compiled - please enable libtap library and/or extra-opts to test"; |
5 | } | 5 | } |
6 | exec "./test_ini1"; | 6 | exec "./test_ini1"; |
diff --git a/lib/tests/test_ini3.t b/lib/tests/test_ini3.t index 4b0be4c..a2ca94a 100755 --- a/lib/tests/test_ini3.t +++ b/lib/tests/test_ini3.t | |||
@@ -4,7 +4,7 @@ use strict; | |||
4 | use warnings; | 4 | use warnings; |
5 | 5 | ||
6 | if (! -e "./test_ini3") { | 6 | if (! -e "./test_ini3") { |
7 | plan skip_all => "./test_ini not compiled - please install tap library and/or enable parse-ini to test"; | 7 | plan skip_all => "./test_ini not compiled - please enable libtap library and/or extra-opts to test"; |
8 | } | 8 | } |
9 | 9 | ||
10 | # array of argument arrays | 10 | # array of argument arrays |
diff --git a/lib/tests/test_opts1.t b/lib/tests/test_opts1.t index 52eed94..1934f12 100755 --- a/lib/tests/test_opts1.t +++ b/lib/tests/test_opts1.t | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/usr/bin/perl | 1 | #!/usr/bin/perl |
2 | use Test::More; | 2 | use Test::More; |
3 | if (! -e "./test_opts1") { | 3 | if (! -e "./test_opts1") { |
4 | plan skip_all => "./test_opts1 not compiled - please install tap library and/or enable parse-ini to test"; | 4 | plan skip_all => "./test_opts1 not compiled - please enable libtap library and/or extra-opts to test"; |
5 | } | 5 | } |
6 | exec "./test_opts1"; | 6 | exec "./test_opts1"; |
diff --git a/lib/tests/test_opts2.t b/lib/tests/test_opts2.t index f7444f6..59b9fdb 100755 --- a/lib/tests/test_opts2.t +++ b/lib/tests/test_opts2.t | |||
@@ -1,7 +1,7 @@ | |||
1 | #!/usr/bin/perl | 1 | #!/usr/bin/perl |
2 | use Test::More; | 2 | use Test::More; |
3 | if (! -e "./test_opts2") { | 3 | if (! -e "./test_opts2") { |
4 | plan skip_all => "./test_opts2 not compiled - please install tap library and/or enable parse-ini to test"; | 4 | plan skip_all => "./test_opts2 not compiled - please enable libtap library and/or extra-opts to test"; |
5 | } | 5 | } |
6 | $ENV{"NAGIOS_CONFIG_PATH"} = "."; | 6 | $ENV{"NAGIOS_CONFIG_PATH"} = "."; |
7 | exec "./test_opts2"; | 7 | exec "./test_opts2"; |
diff --git a/lib/tests/test_opts3.t b/lib/tests/test_opts3.t index fa7876d..8d974ca 100755 --- a/lib/tests/test_opts3.t +++ b/lib/tests/test_opts3.t | |||
@@ -4,7 +4,7 @@ use strict; | |||
4 | use warnings; | 4 | use warnings; |
5 | 5 | ||
6 | if (! -e "./test_opts3") { | 6 | if (! -e "./test_opts3") { |
7 | plan skip_all => "./test_opts3 not compiled - please install tap library and/or enable parse-ini to test"; | 7 | plan skip_all => "./test_opts3 not compiled - please enable libtap library and/or extra-opts to test"; |
8 | } | 8 | } |
9 | 9 | ||
10 | # array of argument arrays | 10 | # array of argument arrays |
diff --git a/lib/tests/test_tcp.t b/lib/tests/test_tcp.t index 8f34b67..e5e12fc 100755 --- a/lib/tests/test_tcp.t +++ b/lib/tests/test_tcp.t | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/usr/bin/perl | 1 | #!/usr/bin/perl |
2 | use Test::More; | 2 | use Test::More; |
3 | if (! -e "./test_tcp") { | 3 | if (! -e "./test_tcp") { |
4 | plan skip_all => "./test_tcp not compiled - please install tap library to test"; | 4 | plan skip_all => "./test_tcp not compiled - please enable libtap library to test"; |
5 | } | 5 | } |
6 | exec "./test_tcp"; | 6 | exec "./test_tcp"; |
diff --git a/lib/tests/test_utils.c b/lib/tests/test_utils.c index 79e1110..f35b7e2 100644 --- a/lib/tests/test_utils.c +++ b/lib/tests/test_utils.c | |||
@@ -21,6 +21,7 @@ | |||
21 | 21 | ||
22 | #include "tap.h" | 22 | #include "tap.h" |
23 | 23 | ||
24 | #include <unistd.h> | ||
24 | #include <sys/types.h> | 25 | #include <sys/types.h> |
25 | #include <sys/stat.h> | 26 | #include <sys/stat.h> |
26 | 27 | ||
@@ -29,31 +30,32 @@ | |||
29 | int | 30 | int |
30 | main (int argc, char **argv) | 31 | main (int argc, char **argv) |
31 | { | 32 | { |
33 | char state_path[1024]; | ||
32 | range *range; | 34 | range *range; |
33 | double temp; | 35 | double temp; |
34 | thresholds *thresholds = NULL; | 36 | thresholds *thresholds = NULL; |
35 | int rc; | 37 | int i, rc; |
36 | char *temp_string; | 38 | char *temp_string; |
37 | state_key *temp_state_key = NULL; | 39 | state_key *temp_state_key = NULL; |
38 | state_data *temp_state_data; | 40 | state_data *temp_state_data; |
39 | time_t current_time; | 41 | time_t current_time; |
40 | 42 | ||
41 | plan_tests(150); | 43 | plan_tests(185); |
42 | 44 | ||
43 | ok( this_nagios_plugin==NULL, "nagios_plugin not initialised"); | 45 | ok( this_monitoring_plugin==NULL, "monitoring_plugin not initialised"); |
44 | 46 | ||
45 | np_init( "check_test", argc, argv ); | 47 | np_init( "check_test", argc, argv ); |
46 | 48 | ||
47 | ok( this_nagios_plugin!=NULL, "nagios_plugin now initialised"); | 49 | ok( this_monitoring_plugin!=NULL, "monitoring_plugin now initialised"); |
48 | ok( !strcmp(this_nagios_plugin->plugin_name, "check_test"), "plugin name initialised" ); | 50 | ok( !strcmp(this_monitoring_plugin->plugin_name, "check_test"), "plugin name initialised" ); |
49 | 51 | ||
50 | ok( this_nagios_plugin->argc==argc, "Argc set" ); | 52 | ok( this_monitoring_plugin->argc==argc, "Argc set" ); |
51 | ok( this_nagios_plugin->argv==argv, "Argv set" ); | 53 | ok( this_monitoring_plugin->argv==argv, "Argv set" ); |
52 | 54 | ||
53 | np_set_args(0,0); | 55 | np_set_args(0,0); |
54 | 56 | ||
55 | ok( this_nagios_plugin->argc==0, "argc changed" ); | 57 | ok( this_monitoring_plugin->argc==0, "argc changed" ); |
56 | ok( this_nagios_plugin->argv==0, "argv changed" ); | 58 | ok( this_monitoring_plugin->argv==0, "argv changed" ); |
57 | 59 | ||
58 | np_set_args(argc, argv); | 60 | np_set_args(argc, argv); |
59 | 61 | ||
@@ -182,6 +184,21 @@ main (int argc, char **argv) | |||
182 | ok( get_status(30.0001, thresholds) == STATE_WARNING, "30.0001 - warning"); | 184 | ok( get_status(30.0001, thresholds) == STATE_WARNING, "30.0001 - warning"); |
183 | ok( get_status(69, thresholds) == STATE_CRITICAL, "69 - critical"); | 185 | ok( get_status(69, thresholds) == STATE_CRITICAL, "69 - critical"); |
184 | 186 | ||
187 | rc = _set_thresholds(&thresholds, "-10:-2", "-30:20"); | ||
188 | ok( rc == 0, "Thresholds ('-30:20', '-10:-2') set"); | ||
189 | ok( thresholds->warning->start == -10, "Warning start set correctly"); | ||
190 | ok( thresholds->warning->end == -2, "Warning end set correctly"); | ||
191 | ok( thresholds->critical->start == -30, "Critical start set correctly"); | ||
192 | ok( thresholds->critical->end == 20, "Critical end set correctly"); | ||
193 | ok( get_status(-31, thresholds) == STATE_CRITICAL, "-31 - critical"); | ||
194 | ok( get_status(-29, thresholds) == STATE_WARNING, "-29 - warning"); | ||
195 | ok( get_status(-11, thresholds) == STATE_WARNING, "-11 - warning"); | ||
196 | ok( get_status(-10, thresholds) == STATE_OK, "-10 - ok"); | ||
197 | ok( get_status(-2, thresholds) == STATE_OK, "-2 - ok"); | ||
198 | ok( get_status(-1, thresholds) == STATE_WARNING, "-1 - warning"); | ||
199 | ok( get_status(19, thresholds) == STATE_WARNING, "19 - warning"); | ||
200 | ok( get_status(21, thresholds) == STATE_CRITICAL, "21 - critical"); | ||
201 | |||
185 | char *test; | 202 | char *test; |
186 | test = np_escaped_string("bob\\n"); | 203 | test = np_escaped_string("bob\\n"); |
187 | ok( strcmp(test, "bob\n") == 0, "bob\\n ok"); | 204 | ok( strcmp(test, "bob\n") == 0, "bob\\n ok"); |
@@ -296,23 +313,23 @@ main (int argc, char **argv) | |||
296 | diag( "You are probably running in wrong directory. Must run as ./test_utils" ); | 313 | diag( "You are probably running in wrong directory. Must run as ./test_utils" ); |
297 | 314 | ||
298 | 315 | ||
299 | this_nagios_plugin->argc=4; | 316 | this_monitoring_plugin->argc=4; |
300 | this_nagios_plugin->argv[0] = "./test_utils"; | 317 | this_monitoring_plugin->argv[0] = "./test_utils"; |
301 | this_nagios_plugin->argv[1] = "here"; | 318 | this_monitoring_plugin->argv[1] = "here"; |
302 | this_nagios_plugin->argv[2] = "--and"; | 319 | this_monitoring_plugin->argv[2] = "--and"; |
303 | this_nagios_plugin->argv[3] = "now"; | 320 | this_monitoring_plugin->argv[3] = "now"; |
304 | temp_string = (char *) _np_state_generate_key(); | 321 | temp_string = (char *) _np_state_generate_key(); |
305 | ok(!strcmp(temp_string, "94b5e17bf5abf51cb15aff5f69b96f2f8dac5ecd"), "Got based on expected argv" ); | 322 | ok(!strcmp(temp_string, "94b5e17bf5abf51cb15aff5f69b96f2f8dac5ecd"), "Got based on expected argv" ); |
306 | 323 | ||
307 | unsetenv("NAGIOS_PLUGIN_STATE_DIRECTORY"); | 324 | unsetenv("MP_STATE_PATH"); |
308 | temp_string = (char *) _np_state_calculate_location_prefix(); | 325 | temp_string = (char *) _np_state_calculate_location_prefix(); |
309 | ok(!strcmp(temp_string, NP_STATE_DIR_PREFIX), "Got default directory" ); | 326 | ok(!strcmp(temp_string, NP_STATE_DIR_PREFIX), "Got default directory" ); |
310 | 327 | ||
311 | setenv("NAGIOS_PLUGIN_STATE_DIRECTORY", "", 1); | 328 | setenv("MP_STATE_PATH", "", 1); |
312 | temp_string = (char *) _np_state_calculate_location_prefix(); | 329 | temp_string = (char *) _np_state_calculate_location_prefix(); |
313 | ok(!strcmp(temp_string, NP_STATE_DIR_PREFIX), "Got default directory even with empty string" ); | 330 | ok(!strcmp(temp_string, NP_STATE_DIR_PREFIX), "Got default directory even with empty string" ); |
314 | 331 | ||
315 | setenv("NAGIOS_PLUGIN_STATE_DIRECTORY", "/usr/local/nagios/var", 1); | 332 | setenv("MP_STATE_PATH", "/usr/local/nagios/var", 1); |
316 | temp_string = (char *) _np_state_calculate_location_prefix(); | 333 | temp_string = (char *) _np_state_calculate_location_prefix(); |
317 | ok(!strcmp(temp_string, "/usr/local/nagios/var"), "Got default directory" ); | 334 | ok(!strcmp(temp_string, "/usr/local/nagios/var"), "Got default directory" ); |
318 | 335 | ||
@@ -320,36 +337,38 @@ main (int argc, char **argv) | |||
320 | 337 | ||
321 | ok(temp_state_key==NULL, "temp_state_key initially empty"); | 338 | ok(temp_state_key==NULL, "temp_state_key initially empty"); |
322 | 339 | ||
323 | this_nagios_plugin->argc=1; | 340 | this_monitoring_plugin->argc=1; |
324 | this_nagios_plugin->argv[0] = "./test_utils"; | 341 | this_monitoring_plugin->argv[0] = "./test_utils"; |
325 | np_enable_state(NULL, 51); | 342 | np_enable_state(NULL, 51); |
326 | temp_state_key = this_nagios_plugin->state; | 343 | temp_state_key = this_monitoring_plugin->state; |
327 | ok( !strcmp(temp_state_key->plugin_name, "check_test"), "Got plugin name" ); | 344 | ok( !strcmp(temp_state_key->plugin_name, "check_test"), "Got plugin name" ); |
328 | ok( !strcmp(temp_state_key->name, "83d877b6cdfefb5d6f06101fd6fe76762f21792c"), "Got generated filename" ); | 345 | ok( !strcmp(temp_state_key->name, "83d877b6cdfefb5d6f06101fd6fe76762f21792c"), "Got generated filename" ); |
329 | 346 | ||
330 | 347 | ||
331 | np_enable_state("allowedchars_in_keyname", 77); | 348 | np_enable_state("allowedchars_in_keyname", 77); |
332 | temp_state_key = this_nagios_plugin->state; | 349 | temp_state_key = this_monitoring_plugin->state; |
350 | sprintf(state_path, "/usr/local/nagios/var/%lu/check_test/allowedchars_in_keyname", (unsigned long)geteuid()); | ||
333 | ok( !strcmp(temp_state_key->plugin_name, "check_test"), "Got plugin name" ); | 351 | ok( !strcmp(temp_state_key->plugin_name, "check_test"), "Got plugin name" ); |
334 | ok( !strcmp(temp_state_key->name, "allowedchars_in_keyname"), "Got key name with valid chars" ); | 352 | ok( !strcmp(temp_state_key->name, "allowedchars_in_keyname"), "Got key name with valid chars" ); |
335 | ok( !strcmp(temp_state_key->_filename, "/usr/local/nagios/var/check_test/allowedchars_in_keyname"), "Got internal filename" ); | 353 | ok( !strcmp(temp_state_key->_filename, state_path), "Got internal filename" ); |
336 | 354 | ||
337 | 355 | ||
338 | /* Don't do this test just yet. Will die */ | 356 | /* Don't do this test just yet. Will die */ |
339 | /* | 357 | /* |
340 | np_enable_state("bad^chars$in@here", 77); | 358 | np_enable_state("bad^chars$in@here", 77); |
341 | temp_state_key = this_nagios_plugin->state; | 359 | temp_state_key = this_monitoring_plugin->state; |
342 | ok( !strcmp(temp_state_key->name, "bad_chars_in_here"), "Got key name with bad chars replaced" ); | 360 | ok( !strcmp(temp_state_key->name, "bad_chars_in_here"), "Got key name with bad chars replaced" ); |
343 | */ | 361 | */ |
344 | 362 | ||
345 | np_enable_state("funnykeyname", 54); | 363 | np_enable_state("funnykeyname", 54); |
346 | temp_state_key = this_nagios_plugin->state; | 364 | temp_state_key = this_monitoring_plugin->state; |
365 | sprintf(state_path, "/usr/local/nagios/var/%lu/check_test/funnykeyname", (unsigned long)geteuid()); | ||
347 | ok( !strcmp(temp_state_key->plugin_name, "check_test"), "Got plugin name" ); | 366 | ok( !strcmp(temp_state_key->plugin_name, "check_test"), "Got plugin name" ); |
348 | ok( !strcmp(temp_state_key->name, "funnykeyname"), "Got key name" ); | 367 | ok( !strcmp(temp_state_key->name, "funnykeyname"), "Got key name" ); |
349 | 368 | ||
350 | 369 | ||
351 | 370 | ||
352 | ok( !strcmp(temp_state_key->_filename, "/usr/local/nagios/var/check_test/funnykeyname"), "Got internal filename" ); | 371 | ok( !strcmp(temp_state_key->_filename, state_path), "Got internal filename" ); |
353 | ok( temp_state_key->data_version==54, "Version set" ); | 372 | ok( temp_state_key->data_version==54, "Version set" ); |
354 | 373 | ||
355 | temp_state_data = np_state_read(); | 374 | temp_state_data = np_state_read(); |
@@ -367,9 +386,9 @@ main (int argc, char **argv) | |||
367 | 386 | ||
368 | temp_state_key->_filename="var/statefile"; | 387 | temp_state_key->_filename="var/statefile"; |
369 | temp_state_data = np_state_read(); | 388 | temp_state_data = np_state_read(); |
370 | ok( this_nagios_plugin->state->state_data!=NULL, "Got state data now" ) || diag("Are you running in right directory? Will get coredump next if not"); | 389 | ok( this_monitoring_plugin->state->state_data!=NULL, "Got state data now" ) || diag("Are you running in right directory? Will get coredump next if not"); |
371 | ok( this_nagios_plugin->state->state_data->time==1234567890, "Got time" ); | 390 | ok( this_monitoring_plugin->state->state_data->time==1234567890, "Got time" ); |
372 | ok( !strcmp((char *)this_nagios_plugin->state->state_data->data, "String to read"), "Data as expected" ); | 391 | ok( !strcmp((char *)this_monitoring_plugin->state->state_data->data, "String to read"), "Data as expected" ); |
373 | 392 | ||
374 | temp_state_key->data_version=53; | 393 | temp_state_key->data_version=53; |
375 | temp_state_data = np_state_read(); | 394 | temp_state_data = np_state_read(); |
@@ -379,7 +398,7 @@ main (int argc, char **argv) | |||
379 | temp_state_key->_filename="var/nonexistant"; | 398 | temp_state_key->_filename="var/nonexistant"; |
380 | temp_state_data = np_state_read(); | 399 | temp_state_data = np_state_read(); |
381 | ok( temp_state_data==NULL, "Missing file gives NULL" ); | 400 | ok( temp_state_data==NULL, "Missing file gives NULL" ); |
382 | ok( this_nagios_plugin->state->state_data==NULL, "No state information" ); | 401 | ok( this_monitoring_plugin->state->state_data==NULL, "No state information" ); |
383 | 402 | ||
384 | temp_state_key->_filename="var/oldformat"; | 403 | temp_state_key->_filename="var/oldformat"; |
385 | temp_state_data = np_state_read(); | 404 | temp_state_data = np_state_read(); |
@@ -426,7 +445,7 @@ main (int argc, char **argv) | |||
426 | temp_state_data = np_state_read(); | 445 | temp_state_data = np_state_read(); |
427 | /* Check time is set to current_time */ | 446 | /* Check time is set to current_time */ |
428 | ok(system("cmp var/generated var/statefile > /dev/null")!=0, "Generated file should be different this time"); | 447 | ok(system("cmp var/generated var/statefile > /dev/null")!=0, "Generated file should be different this time"); |
429 | ok(this_nagios_plugin->state->state_data->time-current_time<=1, "Has time generated from current time"); | 448 | ok(this_monitoring_plugin->state->state_data->time-current_time<=1, "Has time generated from current time"); |
430 | 449 | ||
431 | 450 | ||
432 | /* Don't know how to automatically test this. Need to be able to redefine die and catch the error */ | 451 | /* Don't know how to automatically test this. Need to be able to redefine die and catch the error */ |
@@ -438,7 +457,54 @@ main (int argc, char **argv) | |||
438 | 457 | ||
439 | np_cleanup(); | 458 | np_cleanup(); |
440 | 459 | ||
441 | ok( this_nagios_plugin==NULL, "Free'd this_nagios_plugin" ); | 460 | ok(this_monitoring_plugin==NULL, "Free'd this_monitoring_plugin"); |
461 | |||
462 | ok(mp_suid() == FALSE, "Test aren't suid"); | ||
463 | |||
464 | /* base states with random case */ | ||
465 | char *states[] = { | ||
466 | "Ok", | ||
467 | "wArnINg", | ||
468 | "cRiTIcaL", | ||
469 | "UnKNoWN", | ||
470 | NULL | ||
471 | }; | ||
472 | |||
473 | for (i=0; states[i]!=NULL; i++) { | ||
474 | /* out of the random case states, create the lower and upper versions + numeric string one */ | ||
475 | char *statelower = strdup(states[i]); | ||
476 | char *stateupper = strdup(states[i]); | ||
477 | char statenum[2]; | ||
478 | char *temp_ptr; | ||
479 | for (temp_ptr = statelower; *temp_ptr; temp_ptr++) { | ||
480 | *temp_ptr = tolower(*temp_ptr); | ||
481 | } | ||
482 | for (temp_ptr = stateupper; *temp_ptr; temp_ptr++) { | ||
483 | *temp_ptr = toupper(*temp_ptr); | ||
484 | } | ||
485 | snprintf(statenum, 2, "%i", i); | ||
486 | |||
487 | /* Base test names, we'll append the state string */ | ||
488 | char testname[64] = "Translate state string: "; | ||
489 | int tlen = strlen(testname); | ||
490 | |||
491 | strcpy(testname+tlen, states[i]); | ||
492 | ok(i==mp_translate_state(states[i]), testname); | ||
493 | |||
494 | strcpy(testname+tlen, statelower); | ||
495 | ok(i==mp_translate_state(statelower), testname); | ||
496 | |||
497 | strcpy(testname+tlen, stateupper); | ||
498 | ok(i==mp_translate_state(stateupper), testname); | ||
499 | |||
500 | strcpy(testname+tlen, statenum); | ||
501 | ok(i==mp_translate_state(statenum), testname); | ||
502 | } | ||
503 | ok(ERROR==mp_translate_state("warningfewgw"), "Translate state string with garbage"); | ||
504 | ok(ERROR==mp_translate_state("00"), "Translate state string: bad numeric string 1"); | ||
505 | ok(ERROR==mp_translate_state("01"), "Translate state string: bad numeric string 2"); | ||
506 | ok(ERROR==mp_translate_state("10"), "Translate state string: bad numeric string 3"); | ||
507 | ok(ERROR==mp_translate_state(""), "Translate state string: empty string"); | ||
442 | 508 | ||
443 | return exit_status(); | 509 | return exit_status(); |
444 | } | 510 | } |
diff --git a/lib/tests/test_utils.t b/lib/tests/test_utils.t index 152eb71..e2a9311 100755 --- a/lib/tests/test_utils.t +++ b/lib/tests/test_utils.t | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/usr/bin/perl | 1 | #!/usr/bin/perl |
2 | use Test::More; | 2 | use Test::More; |
3 | if (! -e "./test_utils") { | 3 | if (! -e "./test_utils") { |
4 | plan skip_all => "./test_utils not compiled - please install tap library to test"; | 4 | plan skip_all => "./test_utils not compiled - please enable libtap library to test"; |
5 | } | 5 | } |
6 | exec "./test_utils"; | 6 | exec "./test_utils"; |
diff --git a/lib/utils_base.c b/lib/utils_base.c index 54463e9..55d35fd 100644 --- a/lib/utils_base.c +++ b/lib/utils_base.c | |||
@@ -3,7 +3,7 @@ | |||
3 | * utils_base.c | 3 | * utils_base.c |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2006 Nagios Plugins Development Team | 6 | * Copyright (c) 2006 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Library of useful functions for plugins | 8 | * Library of useful functions for plugins |
9 | * | 9 | * |
@@ -30,56 +30,58 @@ | |||
30 | #include <ctype.h> | 30 | #include <ctype.h> |
31 | #include <fcntl.h> | 31 | #include <fcntl.h> |
32 | #include <sys/stat.h> | 32 | #include <sys/stat.h> |
33 | #include <unistd.h> | ||
34 | #include <sys/types.h> | ||
33 | 35 | ||
34 | #define np_free(ptr) { if(ptr) { free(ptr); ptr = NULL; } } | 36 | #define np_free(ptr) { if(ptr) { free(ptr); ptr = NULL; } } |
35 | 37 | ||
36 | nagios_plugin *this_nagios_plugin=NULL; | 38 | monitoring_plugin *this_monitoring_plugin=NULL; |
37 | 39 | ||
38 | int _np_state_read_file(FILE *); | 40 | int _np_state_read_file(FILE *); |
39 | 41 | ||
40 | void np_init( char *plugin_name, int argc, char **argv ) { | 42 | void np_init( char *plugin_name, int argc, char **argv ) { |
41 | if (this_nagios_plugin==NULL) { | 43 | if (this_monitoring_plugin==NULL) { |
42 | this_nagios_plugin = calloc(1, sizeof(nagios_plugin)); | 44 | this_monitoring_plugin = calloc(1, sizeof(monitoring_plugin)); |
43 | if (this_nagios_plugin==NULL) { | 45 | if (this_monitoring_plugin==NULL) { |
44 | die(STATE_UNKNOWN, _("Cannot allocate memory: %s"), | 46 | die(STATE_UNKNOWN, _("Cannot allocate memory: %s"), |
45 | strerror(errno)); | 47 | strerror(errno)); |
46 | } | 48 | } |
47 | this_nagios_plugin->plugin_name = strdup(plugin_name); | 49 | this_monitoring_plugin->plugin_name = strdup(plugin_name); |
48 | if (this_nagios_plugin->plugin_name==NULL) | 50 | if (this_monitoring_plugin->plugin_name==NULL) |
49 | die(STATE_UNKNOWN, _("Cannot execute strdup: %s"), strerror(errno)); | 51 | die(STATE_UNKNOWN, _("Cannot execute strdup: %s"), strerror(errno)); |
50 | this_nagios_plugin->argc = argc; | 52 | this_monitoring_plugin->argc = argc; |
51 | this_nagios_plugin->argv = argv; | 53 | this_monitoring_plugin->argv = argv; |
52 | } | 54 | } |
53 | } | 55 | } |
54 | 56 | ||
55 | void np_set_args( int argc, char **argv ) { | 57 | void np_set_args( int argc, char **argv ) { |
56 | if (this_nagios_plugin==NULL) | 58 | if (this_monitoring_plugin==NULL) |
57 | die(STATE_UNKNOWN, _("This requires np_init to be called")); | 59 | die(STATE_UNKNOWN, _("This requires np_init to be called")); |
58 | 60 | ||
59 | this_nagios_plugin->argc = argc; | 61 | this_monitoring_plugin->argc = argc; |
60 | this_nagios_plugin->argv = argv; | 62 | this_monitoring_plugin->argv = argv; |
61 | } | 63 | } |
62 | 64 | ||
63 | 65 | ||
64 | void np_cleanup() { | 66 | void np_cleanup() { |
65 | if (this_nagios_plugin!=NULL) { | 67 | if (this_monitoring_plugin!=NULL) { |
66 | if(this_nagios_plugin->state!=NULL) { | 68 | if(this_monitoring_plugin->state!=NULL) { |
67 | if(this_nagios_plugin->state->state_data) { | 69 | if(this_monitoring_plugin->state->state_data) { |
68 | np_free(this_nagios_plugin->state->state_data->data); | 70 | np_free(this_monitoring_plugin->state->state_data->data); |
69 | np_free(this_nagios_plugin->state->state_data); | 71 | np_free(this_monitoring_plugin->state->state_data); |
70 | } | 72 | } |
71 | np_free(this_nagios_plugin->state->name); | 73 | np_free(this_monitoring_plugin->state->name); |
72 | np_free(this_nagios_plugin->state); | 74 | np_free(this_monitoring_plugin->state); |
73 | } | 75 | } |
74 | np_free(this_nagios_plugin->plugin_name); | 76 | np_free(this_monitoring_plugin->plugin_name); |
75 | np_free(this_nagios_plugin); | 77 | np_free(this_monitoring_plugin); |
76 | } | 78 | } |
77 | this_nagios_plugin=NULL; | 79 | this_monitoring_plugin=NULL; |
78 | } | 80 | } |
79 | 81 | ||
80 | /* Hidden function to get a pointer to this_nagios_plugin for testing */ | 82 | /* Hidden function to get a pointer to this_monitoring_plugin for testing */ |
81 | void _get_nagios_plugin( nagios_plugin **pointer ){ | 83 | void _get_monitoring_plugin( monitoring_plugin **pointer ){ |
82 | *pointer = this_nagios_plugin; | 84 | *pointer = this_monitoring_plugin; |
83 | } | 85 | } |
84 | 86 | ||
85 | void | 87 | void |
@@ -89,7 +91,7 @@ die (int result, const char *fmt, ...) | |||
89 | va_start (ap, fmt); | 91 | va_start (ap, fmt); |
90 | vprintf (fmt, ap); | 92 | vprintf (fmt, ap); |
91 | va_end (ap); | 93 | va_end (ap); |
92 | if(this_nagios_plugin!=NULL) { | 94 | if(this_monitoring_plugin!=NULL) { |
93 | np_cleanup(); | 95 | np_cleanup(); |
94 | } | 96 | } |
95 | exit (result); | 97 | exit (result); |
@@ -367,6 +369,23 @@ char *np_extract_value(const char *varlist, const char *name, char sep) { | |||
367 | return value; | 369 | return value; |
368 | } | 370 | } |
369 | 371 | ||
372 | |||
373 | /* | ||
374 | * Read a string representing a state (ok, warning... or numeric: 0, 1) and | ||
375 | * return the corresponding STATE_ value or ERROR) | ||
376 | */ | ||
377 | int mp_translate_state (char *state_text) { | ||
378 | if (!strcasecmp(state_text,"OK") || !strcmp(state_text,"0")) | ||
379 | return STATE_OK; | ||
380 | if (!strcasecmp(state_text,"WARNING") || !strcmp(state_text,"1")) | ||
381 | return STATE_WARNING; | ||
382 | if (!strcasecmp(state_text,"CRITICAL") || !strcmp(state_text,"2")) | ||
383 | return STATE_CRITICAL; | ||
384 | if (!strcasecmp(state_text,"UNKNOWN") || !strcmp(state_text,"3")) | ||
385 | return STATE_UNKNOWN; | ||
386 | return ERROR; | ||
387 | } | ||
388 | |||
370 | /* | 389 | /* |
371 | * Returns a string to use as a keyname, based on an md5 hash of argv, thus | 390 | * Returns a string to use as a keyname, based on an md5 hash of argv, thus |
372 | * hopefully a unique key per service/plugin invocation. Use the extra-opts | 391 | * hopefully a unique key per service/plugin invocation. Use the extra-opts |
@@ -375,14 +394,14 @@ char *np_extract_value(const char *varlist, const char *name, char sep) { | |||
375 | char *_np_state_generate_key() { | 394 | char *_np_state_generate_key() { |
376 | struct sha1_ctx ctx; | 395 | struct sha1_ctx ctx; |
377 | int i; | 396 | int i; |
378 | char **argv = this_nagios_plugin->argv; | 397 | char **argv = this_monitoring_plugin->argv; |
379 | unsigned char result[20]; | 398 | unsigned char result[20]; |
380 | char keyname[41]; | 399 | char keyname[41]; |
381 | char *p=NULL; | 400 | char *p=NULL; |
382 | 401 | ||
383 | sha1_init_ctx(&ctx); | 402 | sha1_init_ctx(&ctx); |
384 | 403 | ||
385 | for(i=0; i<this_nagios_plugin->argc; i++) { | 404 | for(i=0; i<this_monitoring_plugin->argc; i++) { |
386 | sha1_process_bytes(argv[i], strlen(argv[i]), &ctx); | 405 | sha1_process_bytes(argv[i], strlen(argv[i]), &ctx); |
387 | } | 406 | } |
388 | 407 | ||
@@ -401,9 +420,9 @@ char *_np_state_generate_key() { | |||
401 | } | 420 | } |
402 | 421 | ||
403 | void _cleanup_state_data() { | 422 | void _cleanup_state_data() { |
404 | if (this_nagios_plugin->state->state_data!=NULL) { | 423 | if (this_monitoring_plugin->state->state_data!=NULL) { |
405 | np_free(this_nagios_plugin->state->state_data->data); | 424 | np_free(this_monitoring_plugin->state->state_data->data); |
406 | np_free(this_nagios_plugin->state->state_data); | 425 | np_free(this_monitoring_plugin->state->state_data); |
407 | } | 426 | } |
408 | } | 427 | } |
409 | 428 | ||
@@ -415,9 +434,18 @@ void _cleanup_state_data() { | |||
415 | char* _np_state_calculate_location_prefix(){ | 434 | char* _np_state_calculate_location_prefix(){ |
416 | char *env_dir; | 435 | char *env_dir; |
417 | 436 | ||
418 | env_dir = getenv("NAGIOS_PLUGIN_STATE_DIRECTORY"); | 437 | /* Do not allow passing MP_STATE_PATH in setuid plugins |
419 | if(env_dir && env_dir[0] != '\0') | 438 | * for security reasons */ |
420 | return env_dir; | 439 | if (mp_suid() == FALSE) { |
440 | env_dir = getenv("MP_STATE_PATH"); | ||
441 | if(env_dir && env_dir[0] != '\0') | ||
442 | return env_dir; | ||
443 | /* This is the former ENV, for backward-compatibility */ | ||
444 | env_dir = getenv("NAGIOS_PLUGIN_STATE_DIRECTORY"); | ||
445 | if(env_dir && env_dir[0] != '\0') | ||
446 | return env_dir; | ||
447 | } | ||
448 | |||
421 | return NP_STATE_DIR_PREFIX; | 449 | return NP_STATE_DIR_PREFIX; |
422 | } | 450 | } |
423 | 451 | ||
@@ -432,7 +460,7 @@ void np_enable_state(char *keyname, int expected_data_version) { | |||
432 | char *temp_keyname = NULL; | 460 | char *temp_keyname = NULL; |
433 | char *p=NULL; | 461 | char *p=NULL; |
434 | 462 | ||
435 | if(this_nagios_plugin==NULL) | 463 | if(this_monitoring_plugin==NULL) |
436 | die(STATE_UNKNOWN, _("This requires np_init to be called")); | 464 | die(STATE_UNKNOWN, _("This requires np_init to be called")); |
437 | 465 | ||
438 | this_state = (state_key *) calloc(1, sizeof(state_key)); | 466 | this_state = (state_key *) calloc(1, sizeof(state_key)); |
@@ -456,15 +484,17 @@ void np_enable_state(char *keyname, int expected_data_version) { | |||
456 | p++; | 484 | p++; |
457 | } | 485 | } |
458 | this_state->name=temp_keyname; | 486 | this_state->name=temp_keyname; |
459 | this_state->plugin_name=this_nagios_plugin->plugin_name; | 487 | this_state->plugin_name=this_monitoring_plugin->plugin_name; |
460 | this_state->data_version=expected_data_version; | 488 | this_state->data_version=expected_data_version; |
461 | this_state->state_data=NULL; | 489 | this_state->state_data=NULL; |
462 | 490 | ||
463 | /* Calculate filename */ | 491 | /* Calculate filename */ |
464 | asprintf(&temp_filename, "%s/%s/%s", _np_state_calculate_location_prefix(), this_nagios_plugin->plugin_name, this_state->name); | 492 | asprintf(&temp_filename, "%s/%lu/%s/%s", |
493 | _np_state_calculate_location_prefix(), (unsigned long)geteuid(), | ||
494 | this_monitoring_plugin->plugin_name, this_state->name); | ||
465 | this_state->_filename=temp_filename; | 495 | this_state->_filename=temp_filename; |
466 | 496 | ||
467 | this_nagios_plugin->state = this_state; | 497 | this_monitoring_plugin->state = this_state; |
468 | } | 498 | } |
469 | 499 | ||
470 | /* | 500 | /* |
@@ -479,11 +509,11 @@ state_data *np_state_read() { | |||
479 | FILE *statefile; | 509 | FILE *statefile; |
480 | int rc = FALSE; | 510 | int rc = FALSE; |
481 | 511 | ||
482 | if(this_nagios_plugin==NULL) | 512 | if(this_monitoring_plugin==NULL) |
483 | die(STATE_UNKNOWN, _("This requires np_init to be called")); | 513 | die(STATE_UNKNOWN, _("This requires np_init to be called")); |
484 | 514 | ||
485 | /* Open file. If this fails, no previous state found */ | 515 | /* Open file. If this fails, no previous state found */ |
486 | statefile = fopen( this_nagios_plugin->state->_filename, "r" ); | 516 | statefile = fopen( this_monitoring_plugin->state->_filename, "r" ); |
487 | if(statefile!=NULL) { | 517 | if(statefile!=NULL) { |
488 | 518 | ||
489 | this_state_data = (state_data *) calloc(1, sizeof(state_data)); | 519 | this_state_data = (state_data *) calloc(1, sizeof(state_data)); |
@@ -492,7 +522,7 @@ state_data *np_state_read() { | |||
492 | strerror(errno)); | 522 | strerror(errno)); |
493 | 523 | ||
494 | this_state_data->data=NULL; | 524 | this_state_data->data=NULL; |
495 | this_nagios_plugin->state->state_data = this_state_data; | 525 | this_monitoring_plugin->state->state_data = this_state_data; |
496 | 526 | ||
497 | rc = _np_state_read_file(statefile); | 527 | rc = _np_state_read_file(statefile); |
498 | 528 | ||
@@ -503,10 +533,10 @@ state_data *np_state_read() { | |||
503 | _cleanup_state_data(); | 533 | _cleanup_state_data(); |
504 | } | 534 | } |
505 | 535 | ||
506 | return this_nagios_plugin->state->state_data; | 536 | return this_monitoring_plugin->state->state_data; |
507 | } | 537 | } |
508 | 538 | ||
509 | /* | 539 | /* |
510 | * Read the state file | 540 | * Read the state file |
511 | */ | 541 | */ |
512 | int _np_state_read_file(FILE *f) { | 542 | int _np_state_read_file(FILE *f) { |
@@ -544,7 +574,7 @@ int _np_state_read_file(FILE *f) { | |||
544 | break; | 574 | break; |
545 | case STATE_DATA_VERSION: | 575 | case STATE_DATA_VERSION: |
546 | i=atoi(line); | 576 | i=atoi(line); |
547 | if(i != this_nagios_plugin->state->data_version) | 577 | if(i != this_monitoring_plugin->state->data_version) |
548 | failure++; | 578 | failure++; |
549 | else | 579 | else |
550 | expected=STATE_DATA_TIME; | 580 | expected=STATE_DATA_TIME; |
@@ -555,13 +585,13 @@ int _np_state_read_file(FILE *f) { | |||
555 | if(data_time > current_time) | 585 | if(data_time > current_time) |
556 | failure++; | 586 | failure++; |
557 | else { | 587 | else { |
558 | this_nagios_plugin->state->state_data->time = data_time; | 588 | this_monitoring_plugin->state->state_data->time = data_time; |
559 | expected=STATE_DATA_TEXT; | 589 | expected=STATE_DATA_TEXT; |
560 | } | 590 | } |
561 | break; | 591 | break; |
562 | case STATE_DATA_TEXT: | 592 | case STATE_DATA_TEXT: |
563 | this_nagios_plugin->state->state_data->data = strdup(line); | 593 | this_monitoring_plugin->state->state_data->data = strdup(line); |
564 | if(this_nagios_plugin->state->state_data->data==NULL) | 594 | if(this_monitoring_plugin->state->state_data->data==NULL) |
565 | die(STATE_UNKNOWN, _("Cannot execute strdup: %s"), strerror(errno)); | 595 | die(STATE_UNKNOWN, _("Cannot execute strdup: %s"), strerror(errno)); |
566 | expected=STATE_DATA_END; | 596 | expected=STATE_DATA_END; |
567 | status=TRUE; | 597 | status=TRUE; |
@@ -596,8 +626,8 @@ void np_state_write_string(time_t data_time, char *data_string) { | |||
596 | current_time=data_time; | 626 | current_time=data_time; |
597 | 627 | ||
598 | /* If file doesn't currently exist, create directories */ | 628 | /* If file doesn't currently exist, create directories */ |
599 | if(access(this_nagios_plugin->state->_filename,F_OK)!=0) { | 629 | if(access(this_monitoring_plugin->state->_filename,F_OK)!=0) { |
600 | asprintf(&directories, "%s", this_nagios_plugin->state->_filename); | 630 | asprintf(&directories, "%s", this_monitoring_plugin->state->_filename); |
601 | if(directories==NULL) | 631 | if(directories==NULL) |
602 | die(STATE_UNKNOWN, _("Cannot allocate memory: %s"), | 632 | die(STATE_UNKNOWN, _("Cannot allocate memory: %s"), |
603 | strerror(errno)); | 633 | strerror(errno)); |
@@ -607,7 +637,7 @@ void np_state_write_string(time_t data_time, char *data_string) { | |||
607 | *p='\0'; | 637 | *p='\0'; |
608 | if((access(directories,F_OK)!=0) && (mkdir(directories, S_IRWXU)!=0)) { | 638 | if((access(directories,F_OK)!=0) && (mkdir(directories, S_IRWXU)!=0)) { |
609 | /* Can't free this! Otherwise error message is wrong! */ | 639 | /* Can't free this! Otherwise error message is wrong! */ |
610 | /* np_free(directories); */ | 640 | /* np_free(directories); */ |
611 | die(STATE_UNKNOWN, _("Cannot create directory: %s"), directories); | 641 | die(STATE_UNKNOWN, _("Cannot create directory: %s"), directories); |
612 | } | 642 | } |
613 | *p='/'; | 643 | *p='/'; |
@@ -616,7 +646,7 @@ void np_state_write_string(time_t data_time, char *data_string) { | |||
616 | np_free(directories); | 646 | np_free(directories); |
617 | } | 647 | } |
618 | 648 | ||
619 | asprintf(&temp_file,"%s.XXXXXX",this_nagios_plugin->state->_filename); | 649 | asprintf(&temp_file,"%s.XXXXXX",this_monitoring_plugin->state->_filename); |
620 | if(temp_file==NULL) | 650 | if(temp_file==NULL) |
621 | die(STATE_UNKNOWN, _("Cannot allocate memory: %s"), | 651 | die(STATE_UNKNOWN, _("Cannot allocate memory: %s"), |
622 | strerror(errno)); | 652 | strerror(errno)); |
@@ -636,7 +666,7 @@ void np_state_write_string(time_t data_time, char *data_string) { | |||
636 | 666 | ||
637 | fprintf(fp,"# NP State file\n"); | 667 | fprintf(fp,"# NP State file\n"); |
638 | fprintf(fp,"%d\n",NP_STATE_FORMAT_VERSION); | 668 | fprintf(fp,"%d\n",NP_STATE_FORMAT_VERSION); |
639 | fprintf(fp,"%d\n",this_nagios_plugin->state->data_version); | 669 | fprintf(fp,"%d\n",this_monitoring_plugin->state->data_version); |
640 | fprintf(fp,"%lu\n",current_time); | 670 | fprintf(fp,"%lu\n",current_time); |
641 | fprintf(fp,"%s\n",data_string); | 671 | fprintf(fp,"%s\n",data_string); |
642 | 672 | ||
@@ -654,7 +684,7 @@ void np_state_write_string(time_t data_time, char *data_string) { | |||
654 | die(STATE_UNKNOWN, _("Error writing temp file")); | 684 | die(STATE_UNKNOWN, _("Error writing temp file")); |
655 | } | 685 | } |
656 | 686 | ||
657 | if(rename(temp_file, this_nagios_plugin->state->_filename)!=0) { | 687 | if(rename(temp_file, this_monitoring_plugin->state->_filename)!=0) { |
658 | unlink(temp_file); | 688 | unlink(temp_file); |
659 | np_free(temp_file); | 689 | np_free(temp_file); |
660 | die(STATE_UNKNOWN, _("Cannot rename state temp file")); | 690 | die(STATE_UNKNOWN, _("Cannot rename state temp file")); |
diff --git a/lib/utils_base.h b/lib/utils_base.h index 0cb371f..d69b0da 100644 --- a/lib/utils_base.h +++ b/lib/utils_base.h | |||
@@ -1,6 +1,6 @@ | |||
1 | #ifndef _UTILS_BASE_ | 1 | #ifndef _UTILS_BASE_ |
2 | #define _UTILS_BASE_ | 2 | #define _UTILS_BASE_ |
3 | /* Header file for nagios plugins utils_base.c */ | 3 | /* Header file for Monitoring Plugins utils_base.c */ |
4 | 4 | ||
5 | #include "sha1.h" | 5 | #include "sha1.h" |
6 | 6 | ||
@@ -52,7 +52,7 @@ typedef struct np_struct { | |||
52 | state_key *state; | 52 | state_key *state; |
53 | int argc; | 53 | int argc; |
54 | char **argv; | 54 | char **argv; |
55 | } nagios_plugin; | 55 | } monitoring_plugin; |
56 | 56 | ||
57 | range *parse_range_string (char *); | 57 | range *parse_range_string (char *); |
58 | int _set_thresholds(thresholds **, char *, char *); | 58 | int _set_thresholds(thresholds **, char *, char *); |
@@ -62,7 +62,7 @@ int check_range(double, range *); | |||
62 | int get_status(double, thresholds *); | 62 | int get_status(double, thresholds *); |
63 | 63 | ||
64 | /* All possible characters in a threshold range */ | 64 | /* All possible characters in a threshold range */ |
65 | #define NP_THRESHOLDS_CHARS "0123456789.:@~" | 65 | #define NP_THRESHOLDS_CHARS "-0123456789.:@~" |
66 | 66 | ||
67 | char *np_escaped_string (const char *); | 67 | char *np_escaped_string (const char *); |
68 | 68 | ||
@@ -79,6 +79,10 @@ int np_check_if_root(void); | |||
79 | * code from the above function, in case it's helpful for testing */ | 79 | * code from the above function, in case it's helpful for testing */ |
80 | int np_warn_if_not_root(void); | 80 | int np_warn_if_not_root(void); |
81 | 81 | ||
82 | /* mp_suid() returns true if the real and effective uids differs, such as when | ||
83 | * running a suid plugin */ | ||
84 | #define mp_suid() (getuid() != geteuid()) | ||
85 | |||
82 | /* | 86 | /* |
83 | * Extract the value from key/value pairs, or return NULL. The value returned | 87 | * Extract the value from key/value pairs, or return NULL. The value returned |
84 | * can be free()ed. | 88 | * can be free()ed. |
@@ -93,6 +97,11 @@ char *np_extract_value(const char*, const char*, char); | |||
93 | */ | 97 | */ |
94 | #define np_extract_ntpvar(l, n) np_extract_value(l, n, ',') | 98 | #define np_extract_ntpvar(l, n) np_extract_value(l, n, ',') |
95 | 99 | ||
100 | /* | ||
101 | * Read a string representing a state (ok, warning... or numeric: 0, 1) and | ||
102 | * return the corresponding NP_STATE or ERROR) | ||
103 | */ | ||
104 | int mp_translate_state (char *); | ||
96 | 105 | ||
97 | void np_enable_state(char *, int); | 106 | void np_enable_state(char *, int); |
98 | state_data *np_state_read(); | 107 | state_data *np_state_read(); |
diff --git a/lib/utils_cmd.c b/lib/utils_cmd.c index 0c853dc..9e214bd 100644 --- a/lib/utils_cmd.c +++ b/lib/utils_cmd.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios run command utilities | 3 | * Monitoring run command utilities |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2005-2006 Nagios Plugins Development Team | 6 | * Copyright (c) 2005-2006 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description : | 8 | * Description : |
9 | * | 9 | * |
@@ -390,6 +390,9 @@ cmd_file_read ( char *filename, output *out, int flags) | |||
390 | 390 | ||
391 | if(out) | 391 | if(out) |
392 | out->lines = _cmd_fetch_output (fd, out, flags); | 392 | out->lines = _cmd_fetch_output (fd, out, flags); |
393 | |||
394 | if (close(fd) == -1) | ||
395 | die( STATE_UNKNOWN, _("Error closing %s: %s"), filename, strerror(errno) ); | ||
393 | 396 | ||
394 | return 0; | 397 | return 0; |
395 | } | 398 | } |
diff --git a/lib/utils_cmd.h b/lib/utils_cmd.h index 8ebb589..ebaf15b 100644 --- a/lib/utils_cmd.h +++ b/lib/utils_cmd.h | |||
@@ -2,7 +2,7 @@ | |||
2 | #define _UTILS_CMD_ | 2 | #define _UTILS_CMD_ |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * Header file for nagios plugins utils_cmd.c | 5 | * Header file for Monitoring Plugins utils_cmd.c |
6 | * | 6 | * |
7 | * | 7 | * |
8 | */ | 8 | */ |
diff --git a/lib/utils_disk.c b/lib/utils_disk.c index 5be2b2c..efe35fc 100644 --- a/lib/utils_disk.c +++ b/lib/utils_disk.c | |||
@@ -3,7 +3,7 @@ | |||
3 | * Library for check_disk | 3 | * Library for check_disk |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 1999-2007 Nagios Plugins Development Team | 6 | * Copyright (c) 1999-2007 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
diff --git a/lib/utils_tcp.c b/lib/utils_tcp.c index 46ad7f7..b37c446 100644 --- a/lib/utils_tcp.c +++ b/lib/utils_tcp.c | |||
@@ -3,7 +3,7 @@ | |||
3 | * Library for check_tcp | 3 | * Library for check_tcp |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 1999-2013 Nagios Plugins Development Team | 6 | * Copyright (c) 1999-2013 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
diff --git a/m4/np_mysqlclient.m4 b/m4/np_mysqlclient.m4 index cd36c4f..c2a4d2a 100644 --- a/m4/np_mysqlclient.m4 +++ b/m4/np_mysqlclient.m4 | |||
@@ -1,6 +1,6 @@ | |||
1 | # np_mysqlclient.m4 | 1 | # np_mysqlclient.m4 |
2 | dnl Copyright (C) 2007 Nagios Plugins Team | 2 | dnl Copyright (C) 2007 Monitoring Plugins Team |
3 | dnl This file is free software; the Nagios Plugin Team | 3 | dnl This file is free software; the Monitoring Plugins Team |
4 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
5 | dnl with or without modifications, as long as this notice is preserved. | 5 | dnl with or without modifications, as long as this notice is preserved. |
6 | 6 | ||
diff --git a/nagios-plugins.spec.in b/monitoring-plugins.spec.in index 17a44c3..f003498 100644 --- a/nagios-plugins.spec.in +++ b/monitoring-plugins.spec.in | |||
@@ -15,15 +15,15 @@ | |||
15 | %define nphome /opt/nagios | 15 | %define nphome /opt/nagios |
16 | %define npgrp nagios | 16 | %define npgrp nagios |
17 | 17 | ||
18 | Name: nagios-plugins | 18 | Name: monitoring-plugins |
19 | Version: @PACKAGE_VERSION@ | 19 | Version: @PACKAGE_VERSION@ |
20 | Release: @RELEASE@ | 20 | Release: @RELEASE@ |
21 | Summary: Host/service/network monitoring program plugins for Nagios | 21 | Summary: Host/service/network monitoring program plugins for Nagios and compatible |
22 | 22 | ||
23 | Group: Applications/System | 23 | Group: Applications/System |
24 | License: GPL | 24 | License: GPL |
25 | URL: http://nagiosplug.sourceforge.net/ | 25 | URL: https://www.monitoring-plugins.org/ |
26 | Source0: http://dl.sf.net/sourceforge/nagiosplug/%{name}-%{version}.tar.gz | 26 | Source0: https://www.monitoring-plugins.org/download/%{name}-%{version}.tar.gz |
27 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | 27 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
28 | 28 | ||
29 | %define npdir %{_builddir}/%{name}-%{version} | 29 | %define npdir %{_builddir}/%{name}-%{version} |
@@ -34,11 +34,11 @@ Prefix: %{_prefix} | |||
34 | Prefix: %{_prefix}/lib/nagios/plugins | 34 | Prefix: %{_prefix}/lib/nagios/plugins |
35 | %endif | 35 | %endif |
36 | Packager: Karl DeBisschop <kdebisschop@users.sourceforge.net> | 36 | Packager: Karl DeBisschop <kdebisschop@users.sourceforge.net> |
37 | Vendor: Nagios Plugin Development Group | 37 | Vendor: Monitoring Plugins Development Team |
38 | Provides: nagios-plugins | 38 | Provides: monitoring-plugins |
39 | 39 | ||
40 | %{!?custom:%global custom 0} | 40 | %{!?custom:%global custom 0} |
41 | Obsoletes: nagios-plugins-custom nagios-plugins-extras | 41 | Obsoletes: monitoring-plugins-custom monitoring-plugins-extras |
42 | 42 | ||
43 | 43 | ||
44 | # Requires | 44 | # Requires |
@@ -105,8 +105,8 @@ network, and to email or page you when a problem arises or is | |||
105 | resolved. Nagios runs on a unix server as a background or daemon | 105 | resolved. Nagios runs on a unix server as a background or daemon |
106 | process, intermittently running checks on various services that you | 106 | process, intermittently running checks on various services that you |
107 | specify. The actual service checks are performed by separate "plugin" | 107 | specify. The actual service checks are performed by separate "plugin" |
108 | programs which return the status of the checks to Nagios. This package | 108 | programs which return the status of the checks to the monitoring |
109 | contains those plugins. | 109 | system. This package contains those plugins. |
110 | 110 | ||
111 | 111 | ||
112 | %prep | 112 | %prep |
@@ -163,8 +163,6 @@ fi | |||
163 | %install | 163 | %install |
164 | rm -rf $RPM_BUILD_ROOT | 164 | rm -rf $RPM_BUILD_ROOT |
165 | make AM_INSTALL_PROGRAM_FLAGS="" DESTDIR=${RPM_BUILD_ROOT} install | 165 | make AM_INSTALL_PROGRAM_FLAGS="" DESTDIR=${RPM_BUILD_ROOT} install |
166 | build-aux/install-sh -c -d ${RPM_BUILD_ROOT}%{_sysconfdir} | ||
167 | build-aux/install-sh -c -m 664 command.cfg ${RPM_BUILD_ROOT}%{_sysconfdir} | ||
168 | %find_lang %{name} | 166 | %find_lang %{name} |
169 | echo "%defattr(755,%{npusr},%{npgrp})" >> %{name}.lang | 167 | echo "%defattr(755,%{npusr},%{npgrp})" >> %{name}.lang |
170 | comm -13 %{npdir}/ls-plugins-before %{npdir}/ls-plugins-after | egrep -v "\.o$|^\." | gawk -v libexecdir=%{_libexecdir} '{printf( "%s/%s\n", libexecdir, $0);}' >> %{name}.lang | 168 | comm -13 %{npdir}/ls-plugins-before %{npdir}/ls-plugins-after | egrep -v "\.o$|^\." | gawk -v libexecdir=%{_libexecdir} '{printf( "%s/%s\n", libexecdir, $0);}' >> %{name}.lang |
@@ -174,6 +172,10 @@ echo "%defattr(755,%{npusr},%{npgrp})" >> %{name}.lang | |||
174 | comm -13 %{npdir}/ls-plugins-scripts-before %{npdir}/ls-plugins-scripts-after | egrep -v "\.o$|^\." | gawk -v libexecdir=%{_libexecdir} '{printf( "%s/%s\n", libexecdir, $0);}' >> %{name}.lang | 172 | comm -13 %{npdir}/ls-plugins-scripts-before %{npdir}/ls-plugins-scripts-after | egrep -v "\.o$|^\." | gawk -v libexecdir=%{_libexecdir} '{printf( "%s/%s\n", libexecdir, $0);}' >> %{name}.lang |
175 | echo "%{_libexecdir}/utils.pm" >> %{name}.lang | 173 | echo "%{_libexecdir}/utils.pm" >> %{name}.lang |
176 | echo "%{_libexecdir}/utils.sh" >> %{name}.lang | 174 | echo "%{_libexecdir}/utils.sh" >> %{name}.lang |
175 | echo "%{_libexecdir}/check_ldaps" >> %{name}.lang | ||
176 | |||
177 | sed -i '/libnpcommon/d' %{name}.lang | ||
178 | sed -i '/monitoring-plugins.mo/d' %{name}.lang | ||
177 | 179 | ||
178 | %clean | 180 | %clean |
179 | rm -rf $RPM_BUILD_ROOT | 181 | rm -rf $RPM_BUILD_ROOT |
@@ -184,8 +186,8 @@ rm -rf $RPM_BUILD_ROOT | |||
184 | %doc CODING COPYING FAQ INSTALL LEGAL README REQUIREMENTS SUPPORT THANKS | 186 | %doc CODING COPYING FAQ INSTALL LEGAL README REQUIREMENTS SUPPORT THANKS |
185 | %doc ChangeLog command.cfg | 187 | %doc ChangeLog command.cfg |
186 | %if ! %{isaix} | 188 | %if ! %{isaix} |
187 | %{_datadir}/locale/de/LC_MESSAGES/nagios-plugins.mo | 189 | %{_datadir}/locale/de/LC_MESSAGES/monitoring-plugins.mo |
188 | %{_datadir}/locale/fr/LC_MESSAGES/nagios-plugins.mo | 190 | %{_datadir}/locale/fr/LC_MESSAGES/monitoring-plugins.mo |
189 | %endif | 191 | %endif |
190 | 192 | ||
191 | %changelog | 193 | %changelog |
diff --git a/perlmods/Monitoring-Plugin-0.37.tar.gz b/perlmods/Monitoring-Plugin-0.37.tar.gz new file mode 100644 index 0000000..bb6fe69 --- /dev/null +++ b/perlmods/Monitoring-Plugin-0.37.tar.gz | |||
Binary files differ | |||
diff --git a/perlmods/Nagios-Plugin-0.36.tar.gz b/perlmods/Nagios-Plugin-0.36.tar.gz deleted file mode 100644 index 811dcb9..0000000 --- a/perlmods/Nagios-Plugin-0.36.tar.gz +++ /dev/null | |||
Binary files differ | |||
diff --git a/perlmods/install_order b/perlmods/install_order index c44c872..287cf8f 100644 --- a/perlmods/install_order +++ b/perlmods/install_order | |||
@@ -13,4 +13,4 @@ Params-Validate | |||
13 | Math-Calc-Units | 13 | Math-Calc-Units |
14 | Class-Accessor | 14 | Class-Accessor |
15 | Config-Tiny | 15 | Config-Tiny |
16 | Nagios-Plugin | 16 | Monitoring-Plugin |
diff --git a/pkg/solaris/pkginfo.in b/pkg/solaris/pkginfo.in index 3bed346..835ce6d 100644 --- a/pkg/solaris/pkginfo.in +++ b/pkg/solaris/pkginfo.in | |||
@@ -1,11 +1,11 @@ | |||
1 | PKG="NGOSplugin" | 1 | PKG="NGOSplugin" |
2 | NAME="nagios-plugins" | 2 | NAME="monitoring-plugins" |
3 | DESC="Nagios network monitoring plugins" | 3 | DESC="Network Monitoring Plugins for Nagios and compatible" |
4 | ARCH="@PKG_ARCH@" | 4 | ARCH="@PKG_ARCH@" |
5 | VERSION="@PACKAGE_VERSION@,REV=@REV_DATESTAMP@" | 5 | VERSION="@PACKAGE_VERSION@,REV=@REV_DATESTAMP@" |
6 | CATEGORY="application" | 6 | CATEGORY="application" |
7 | VENDOR="Nagios Plugin Development Team" | 7 | VENDOR="Monitoring Plugins Development Team" |
8 | EMAIL="nagiosplug-devel@lists.sourceforge.net" | 8 | EMAIL="devel@monitoring-plugins.org" |
9 | PSTAMP="nag@REV_TIMESTAMP@" | 9 | PSTAMP="nag@REV_TIMESTAMP@" |
10 | BASEDIR="/" | 10 | BASEDIR="/" |
11 | CLASSES="none" | 11 | CLASSES="none" |
diff --git a/plugins-root/Makefile.am b/plugins-root/Makefile.am index 9623b1f..a1ebb6d 100644 --- a/plugins-root/Makefile.am +++ b/plugins-root/Makefile.am | |||
@@ -26,7 +26,7 @@ EXTRA_PROGRAMS = pst3 | |||
26 | 26 | ||
27 | EXTRA_DIST = t pst3.c | 27 | EXTRA_DIST = t pst3.c |
28 | 28 | ||
29 | BASEOBJS = ../plugins/utils.o ../lib/libnagiosplug.a ../gl/libgnu.a | 29 | BASEOBJS = ../plugins/utils.o ../lib/libmonitoringplug.a ../gl/libgnu.a |
30 | NETOBJS = ../plugins/netutils.o $(BASEOBJS) $(EXTRA_NETOBJS) | 30 | NETOBJS = ../plugins/netutils.o $(BASEOBJS) $(EXTRA_NETOBJS) |
31 | NETLIBS = $(NETOBJS) $(SOCKETLIBS) | 31 | NETLIBS = $(NETOBJS) $(SOCKETLIBS) |
32 | 32 | ||
@@ -83,7 +83,7 @@ check_icmp_LDADD = @LTLIBINTL@ $(NETLIBS) $(SOCKETLIBS) | |||
83 | # -m64 needed at compiler and linker phase | 83 | # -m64 needed at compiler and linker phase |
84 | pst3_CFLAGS = @PST3CFLAGS@ | 84 | pst3_CFLAGS = @PST3CFLAGS@ |
85 | pst3_LDFLAGS = @PST3CFLAGS@ | 85 | pst3_LDFLAGS = @PST3CFLAGS@ |
86 | # pst3 must not use nagiosplug/gnulib includes! | 86 | # pst3 must not use monitoringplug/gnulib includes! |
87 | pst3_CPPFLAGS = | 87 | pst3_CPPFLAGS = |
88 | 88 | ||
89 | check_dhcp_DEPENDENCIES = check_dhcp.c $(NETOBJS) $(DEPLIBS) | 89 | check_dhcp_DEPENDENCIES = check_dhcp.c $(NETOBJS) $(DEPLIBS) |
diff --git a/plugins-root/check_dhcp.c b/plugins-root/check_dhcp.c index 42eedec..b69a10d 100644 --- a/plugins-root/check_dhcp.c +++ b/plugins-root/check_dhcp.c | |||
@@ -1,10 +1,10 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_dhcp plugin | 3 | * Monitoring check_dhcp plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2001-2004 Ethan Galstad (nagios@nagios.org) | 6 | * Copyright (c) 2001-2004 Ethan Galstad (nagios@nagios.org) |
7 | * Copyright (c) 2001-2007 Nagios Plugin Development Team | 7 | * Copyright (c) 2001-2007 Monitoring Plugins Development Team |
8 | * | 8 | * |
9 | * Description: | 9 | * Description: |
10 | * | 10 | * |
@@ -35,7 +35,7 @@ | |||
35 | 35 | ||
36 | const char *progname = "check_dhcp"; | 36 | const char *progname = "check_dhcp"; |
37 | const char *copyright = "2001-2007"; | 37 | const char *copyright = "2001-2007"; |
38 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 38 | const char *email = "devel@monitoring-plugins.org"; |
39 | 39 | ||
40 | #include "common.h" | 40 | #include "common.h" |
41 | #include "netutils.h" | 41 | #include "netutils.h" |
@@ -837,7 +837,7 @@ int add_dhcp_offer(struct in_addr source,dhcp_packet *offer_packet){ | |||
837 | return ERROR; | 837 | return ERROR; |
838 | 838 | ||
839 | /* process all DHCP options present in the packet */ | 839 | /* process all DHCP options present in the packet */ |
840 | for(x=4;x<MAX_DHCP_OPTIONS_LENGTH;){ | 840 | for(x=4;x<MAX_DHCP_OPTIONS_LENGTH-1;){ |
841 | 841 | ||
842 | if((int)offer_packet->options[x]==-1) | 842 | if((int)offer_packet->options[x]==-1) |
843 | break; | 843 | break; |
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c index 56685f8..4b4197d 100644 --- a/plugins-root/check_icmp.c +++ b/plugins-root/check_icmp.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_icmp plugin | 3 | * Monitoring check_icmp plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2005-2008 Nagios Plugins Development Team | 6 | * Copyright (c) 2005-2008 Monitoring Plugins Development Team |
7 | * Original Author : Andreas Ericsson <ae@op5.se> | 7 | * Original Author : Andreas Ericsson <ae@op5.se> |
8 | * | 8 | * |
9 | * Description: | 9 | * Description: |
@@ -40,9 +40,9 @@ | |||
40 | /* char *progname = "check_icmp"; */ | 40 | /* char *progname = "check_icmp"; */ |
41 | char *progname; | 41 | char *progname; |
42 | const char *copyright = "2005-2008"; | 42 | const char *copyright = "2005-2008"; |
43 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 43 | const char *email = "devel@monitoring-plugins.org"; |
44 | 44 | ||
45 | /** nagios plugins basic includes */ | 45 | /** Monitoring Plugins basic includes */ |
46 | #include "common.h" | 46 | #include "common.h" |
47 | #include "netutils.h" | 47 | #include "netutils.h" |
48 | #include "utils.h" | 48 | #include "utils.h" |
diff --git a/plugins-root/pst3.c b/plugins-root/pst3.c index 8ca5281..ee9d108 100644 --- a/plugins-root/pst3.c +++ b/plugins-root/pst3.c | |||
@@ -3,7 +3,7 @@ | |||
3 | * pst3 | 3 | * pst3 |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2008 Nagios Plugin Development Team | 6 | * Copyright (c) 2008 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
diff --git a/plugins-scripts/Makefile.am b/plugins-scripts/Makefile.am index 58db060..78a950c 100644 --- a/plugins-scripts/Makefile.am +++ b/plugins-scripts/Makefile.am | |||
@@ -19,10 +19,15 @@ libexec_SCRIPTS = check_breeze check_disk_smb check_flexlm check_ircd \ | |||
19 | utils.sh utils.pm | 19 | utils.sh utils.pm |
20 | 20 | ||
21 | EXTRA_DIST=check_breeze.pl check_disk_smb.pl check_flexlm.pl check_ircd.pl \ | 21 | EXTRA_DIST=check_breeze.pl check_disk_smb.pl check_flexlm.pl check_ircd.pl \ |
22 | check_log.sh check_ntp.pl check_oracle.sh check_rpc.pl check_sensors.sh \ | 22 | check_log.sh check_oracle.sh check_rpc.pl check_sensors.sh \ |
23 | check_ifstatus.pl check_ifoperstatus.pl check_wave.pl check_mailq.pl check_file_age.pl \ | 23 | check_ifstatus.pl check_ifoperstatus.pl check_wave.pl check_mailq.pl check_file_age.pl \ |
24 | utils.sh.in utils.pm.in t | 24 | utils.sh.in utils.pm.in t |
25 | 25 | ||
26 | EDIT = sed \ | ||
27 | -e 's|[@]NP_VERSION[@]|$(NP_VERSION)|g' \ | ||
28 | -e 's|[@]TRUSTED_PATH[@]|$(with_trusted_path)|g' \ | ||
29 | -e 's|[@]PERL[@]|$(PERL)|g' | ||
30 | |||
26 | TESTS_ENVIRONMENT=perl -I $(top_builddir) -I $(top_srcdir) | 31 | TESTS_ENVIRONMENT=perl -I $(top_builddir) -I $(top_srcdir) |
27 | 32 | ||
28 | TESTS = @SCRIPT_TEST@ | 33 | TESTS = @SCRIPT_TEST@ |
@@ -38,11 +43,11 @@ test-debug: | |||
38 | CLEANFILES=$(libexec_SCRIPTS) | 43 | CLEANFILES=$(libexec_SCRIPTS) |
39 | 44 | ||
40 | .pl : | 45 | .pl : |
41 | NP_VERSION=$(NP_VERSION) $(AWK) -f ./subst $< > $@ | 46 | $(EDIT) $< > $@ |
42 | chmod +x $@ | 47 | chmod +x $@ |
43 | 48 | ||
44 | .sh : | 49 | .sh : |
45 | NP_VERSION=$(NP_VERSION) $(AWK) -f ./subst $< > $@ | 50 | $(EDIT) $< > $@ |
46 | chmod +x $@ | 51 | chmod +x $@ |
47 | 52 | ||
48 | clean-local: | 53 | clean-local: |
diff --git a/plugins-scripts/check_breeze.pl b/plugins-scripts/check_breeze.pl index a4e8542..12a60ee 100755 --- a/plugins-scripts/check_breeze.pl +++ b/plugins-scripts/check_breeze.pl | |||
@@ -1,10 +1,11 @@ | |||
1 | #!/usr/bin/perl -wT | 1 | #!@PERL@ -w |
2 | 2 | ||
3 | 3 | ||
4 | use strict; | 4 | use strict; |
5 | use Getopt::Long; | 5 | use Getopt::Long; |
6 | use vars qw($opt_V $opt_h $opt_w $opt_c $opt_H $opt_C $PROGNAME); | 6 | use vars qw($opt_V $opt_h $opt_w $opt_c $opt_H $opt_C $PROGNAME); |
7 | use lib utils.pm ; | 7 | use FindBin; |
8 | use lib "$FindBin::Bin"; | ||
8 | use utils qw(%ERRORS &print_revision &support &usage); | 9 | use utils qw(%ERRORS &print_revision &support &usage); |
9 | 10 | ||
10 | $PROGNAME = "check_breeze"; | 11 | $PROGNAME = "check_breeze"; |
@@ -12,7 +13,7 @@ $PROGNAME = "check_breeze"; | |||
12 | sub print_help (); | 13 | sub print_help (); |
13 | sub print_usage (); | 14 | sub print_usage (); |
14 | 15 | ||
15 | $ENV{'PATH'}=''; | 16 | $ENV{'PATH'}='@TRUSTED_PATH@'; |
16 | $ENV{'BASH_ENV'}=''; | 17 | $ENV{'BASH_ENV'}=''; |
17 | $ENV{'ENV'}=''; | 18 | $ENV{'ENV'}=''; |
18 | 19 | ||
diff --git a/plugins-scripts/check_disk_smb.pl b/plugins-scripts/check_disk_smb.pl index 0c89db5..99948a4 100755 --- a/plugins-scripts/check_disk_smb.pl +++ b/plugins-scripts/check_disk_smb.pl | |||
@@ -1,9 +1,9 @@ | |||
1 | #!/usr/bin/perl -w | 1 | #!@PERL@ -w |
2 | # | 2 | # |
3 | # | 3 | # |
4 | # check_disk.pl <host> <share> <user> <pass> [warn] [critical] [port] | 4 | # check_disk.pl <host> <share> <user> <pass> [warn] [critical] [port] |
5 | # | 5 | # |
6 | # Nagios host script to get the disk usage from a SMB share | 6 | # Monitoring host script to get the disk usage from a SMB share |
7 | # | 7 | # |
8 | # Changes and Modifications | 8 | # Changes and Modifications |
9 | # ========================= | 9 | # ========================= |
@@ -24,7 +24,8 @@ use strict; | |||
24 | use Getopt::Long; | 24 | use Getopt::Long; |
25 | use vars qw($opt_P $opt_V $opt_h $opt_H $opt_s $opt_W $opt_u $opt_p $opt_w $opt_c $opt_a $verbose); | 25 | use vars qw($opt_P $opt_V $opt_h $opt_H $opt_s $opt_W $opt_u $opt_p $opt_w $opt_c $opt_a $verbose); |
26 | use vars qw($PROGNAME); | 26 | use vars qw($PROGNAME); |
27 | use lib utils.pm ; | 27 | use FindBin; |
28 | use lib "$FindBin::Bin"; | ||
28 | use utils qw($TIMEOUT %ERRORS &print_revision &support &usage); | 29 | use utils qw($TIMEOUT %ERRORS &print_revision &support &usage); |
29 | 30 | ||
30 | sub print_help (); | 31 | sub print_help (); |
@@ -32,7 +33,7 @@ sub print_usage (); | |||
32 | 33 | ||
33 | $PROGNAME = "check_disk_smb"; | 34 | $PROGNAME = "check_disk_smb"; |
34 | 35 | ||
35 | $ENV{'PATH'}=''; | 36 | $ENV{'PATH'}='@TRUSTED_PATH@'; |
36 | $ENV{'BASH_ENV'}=''; | 37 | $ENV{'BASH_ENV'}=''; |
37 | $ENV{'ENV'}=''; | 38 | $ENV{'ENV'}=''; |
38 | 39 | ||
@@ -171,7 +172,7 @@ my $res = undef; | |||
171 | my $perfdata = ""; | 172 | my $perfdata = ""; |
172 | my @lines = undef; | 173 | my @lines = undef; |
173 | 174 | ||
174 | # Just in case of problems, let's not hang Nagios | 175 | # Just in case of problems, let's not hang the monitoring system |
175 | $SIG{'ALRM'} = sub { | 176 | $SIG{'ALRM'} = sub { |
176 | print "No Answer from Client\n"; | 177 | print "No Answer from Client\n"; |
177 | exit $ERRORS{"UNKNOWN"}; | 178 | exit $ERRORS{"UNKNOWN"}; |
@@ -293,7 +294,7 @@ sub print_help () { | |||
293 | print_revision($PROGNAME,'@NP_VERSION@'); | 294 | print_revision($PROGNAME,'@NP_VERSION@'); |
294 | print "Copyright (c) 2000 Michael Anthon/Karl DeBisschop | 295 | print "Copyright (c) 2000 Michael Anthon/Karl DeBisschop |
295 | 296 | ||
296 | Perl Check SMB Disk plugin for Nagios | 297 | Perl Check SMB Disk plugin for monitoring |
297 | 298 | ||
298 | "; | 299 | "; |
299 | print_usage(); | 300 | print_usage(); |
diff --git a/plugins-scripts/check_file_age.pl b/plugins-scripts/check_file_age.pl index dcd5efa..ae25201 100755 --- a/plugins-scripts/check_file_age.pl +++ b/plugins-scripts/check_file_age.pl | |||
@@ -1,4 +1,4 @@ | |||
1 | #!/bin/perl -w | 1 | #!@PERL@ -w |
2 | 2 | ||
3 | # check_file_age.pl Copyright (C) 2003 Steven Grimm <koreth-nagios@midwinter.com> | 3 | # check_file_age.pl Copyright (C) 2003 Steven Grimm <koreth-nagios@midwinter.com> |
4 | # | 4 | # |
@@ -17,26 +17,30 @@ | |||
17 | # GNU General Public License for more details. | 17 | # GNU General Public License for more details. |
18 | # | 18 | # |
19 | # you should have received a copy of the GNU General Public License | 19 | # you should have received a copy of the GNU General Public License |
20 | # along with this program (or with Nagios); if not, write to the | 20 | # along with this program if not, write to the Free Software Foundation, |
21 | # Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 21 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA |
22 | # Boston, MA 02111-1307, USA | ||
23 | 22 | ||
24 | use strict; | 23 | use strict; |
25 | use English; | 24 | use English; |
26 | use Getopt::Long; | 25 | use Getopt::Long; |
27 | use File::stat; | 26 | use File::stat; |
28 | use vars qw($PROGNAME); | 27 | use vars qw($PROGNAME); |
29 | use lib "."; | 28 | use FindBin; |
29 | use lib "$FindBin::Bin"; | ||
30 | use utils qw (%ERRORS &print_revision &support); | 30 | use utils qw (%ERRORS &print_revision &support); |
31 | 31 | ||
32 | sub print_help (); | 32 | sub print_help (); |
33 | sub print_usage (); | 33 | sub print_usage (); |
34 | 34 | ||
35 | my ($opt_c, $opt_f, $opt_w, $opt_C, $opt_W, $opt_h, $opt_V); | 35 | my ($opt_c, $opt_f, $opt_w, $opt_C, $opt_W, $opt_h, $opt_V, $opt_i); |
36 | my ($result, $message, $age, $size, $st); | 36 | my ($result, $message, $age, $size, $st); |
37 | 37 | ||
38 | $PROGNAME="check_file_age"; | 38 | $PROGNAME="check_file_age"; |
39 | 39 | ||
40 | $ENV{'PATH'}='@TRUSTED_PATH@'; | ||
41 | $ENV{'BASH_ENV'}=''; | ||
42 | $ENV{'ENV'}=''; | ||
43 | |||
40 | $opt_w = 240; | 44 | $opt_w = 240; |
41 | $opt_c = 600; | 45 | $opt_c = 600; |
42 | $opt_W = 0; | 46 | $opt_W = 0; |
@@ -47,6 +51,7 @@ Getopt::Long::Configure('bundling'); | |||
47 | GetOptions( | 51 | GetOptions( |
48 | "V" => \$opt_V, "version" => \$opt_V, | 52 | "V" => \$opt_V, "version" => \$opt_V, |
49 | "h" => \$opt_h, "help" => \$opt_h, | 53 | "h" => \$opt_h, "help" => \$opt_h, |
54 | "i" => \$opt_i, "ignore-missing" => \$opt_i, | ||
50 | "f=s" => \$opt_f, "file" => \$opt_f, | 55 | "f=s" => \$opt_f, "file" => \$opt_f, |
51 | "w=f" => \$opt_w, "warning-age=f" => \$opt_w, | 56 | "w=f" => \$opt_w, "warning-age=f" => \$opt_w, |
52 | "W=f" => \$opt_W, "warning-size=f" => \$opt_W, | 57 | "W=f" => \$opt_W, "warning-size=f" => \$opt_W, |
@@ -72,8 +77,15 @@ if (! $opt_f) { | |||
72 | 77 | ||
73 | # Check that file exists (can be directory or link) | 78 | # Check that file exists (can be directory or link) |
74 | unless (-e $opt_f) { | 79 | unless (-e $opt_f) { |
75 | print "FILE_AGE CRITICAL: File not found - $opt_f\n"; | 80 | if ($opt_i) { |
76 | exit $ERRORS{'CRITICAL'}; | 81 | $result = 'OK'; |
82 | print "FILE_AGE $result: $opt_f doesn't exist, but ignore-missing was set\n"; | ||
83 | exit $ERRORS{$result}; | ||
84 | |||
85 | } else { | ||
86 | print "FILE_AGE CRITICAL: File not found - $opt_f\n"; | ||
87 | exit $ERRORS{'CRITICAL'}; | ||
88 | } | ||
77 | } | 89 | } |
78 | 90 | ||
79 | $st = File::stat::stat($opt_f); | 91 | $st = File::stat::stat($opt_f); |
@@ -95,7 +107,7 @@ exit $ERRORS{$result}; | |||
95 | 107 | ||
96 | sub print_usage () { | 108 | sub print_usage () { |
97 | print "Usage:\n"; | 109 | print "Usage:\n"; |
98 | print " $PROGNAME [-w <secs>] [-c <secs>] [-W <size>] [-C <size>] -f <file>\n"; | 110 | print " $PROGNAME [-w <secs>] [-c <secs>] [-W <size>] [-C <size>] [-i] -f <file>\n"; |
99 | print " $PROGNAME [-h | --help]\n"; | 111 | print " $PROGNAME [-h | --help]\n"; |
100 | print " $PROGNAME [-V | --version]\n"; | 112 | print " $PROGNAME [-V | --version]\n"; |
101 | } | 113 | } |
@@ -105,6 +117,7 @@ sub print_help () { | |||
105 | print "Copyright (c) 2003 Steven Grimm\n\n"; | 117 | print "Copyright (c) 2003 Steven Grimm\n\n"; |
106 | print_usage(); | 118 | print_usage(); |
107 | print "\n"; | 119 | print "\n"; |
120 | print " -i | --ignore-missing : return OK if the file does not exist\n"; | ||
108 | print " <secs> File must be no more than this many seconds old (default: warn 240 secs, crit 600)\n"; | 121 | print " <secs> File must be no more than this many seconds old (default: warn 240 secs, crit 600)\n"; |
109 | print " <size> File must be at least this many bytes long (default: crit 0 bytes)\n"; | 122 | print " <size> File must be at least this many bytes long (default: crit 0 bytes)\n"; |
110 | print "\n"; | 123 | print "\n"; |
diff --git a/plugins-scripts/check_flexlm.pl b/plugins-scripts/check_flexlm.pl index 54d933c..49d674d 100755 --- a/plugins-scripts/check_flexlm.pl +++ b/plugins-scripts/check_flexlm.pl | |||
@@ -1,4 +1,4 @@ | |||
1 | #!/usr/bin/perl -w | 1 | #!@PERL@ -w |
2 | # | 2 | # |
3 | # usage: | 3 | # usage: |
4 | # check_flexlm.pl license_file | 4 | # check_flexlm.pl license_file |
@@ -9,7 +9,7 @@ | |||
9 | # Check and interpret the output of lmstat | 9 | # Check and interpret the output of lmstat |
10 | # and create returncodes and output. | 10 | # and create returncodes and output. |
11 | # | 11 | # |
12 | # Contrary to the nagios concept, this script takes | 12 | # Contrary to most other plugins, this script takes |
13 | # a file, not a hostname as an argument and returns | 13 | # a file, not a hostname as an argument and returns |
14 | # the status of hosts and services described in that | 14 | # the status of hosts and services described in that |
15 | # file. Use these hosts.cfg entries as an example | 15 | # file. Use these hosts.cfg entries as an example |
@@ -35,7 +35,8 @@ | |||
35 | use strict; | 35 | use strict; |
36 | use Getopt::Long; | 36 | use Getopt::Long; |
37 | use vars qw($opt_V $opt_h $opt_F $opt_t $verbose $PROGNAME); | 37 | use vars qw($opt_V $opt_h $opt_F $opt_t $verbose $PROGNAME); |
38 | use lib utils.pm; | 38 | use FindBin; |
39 | use lib "$FindBin::Bin"; | ||
39 | use utils qw(%ERRORS &print_revision &support &usage); | 40 | use utils qw(%ERRORS &print_revision &support &usage); |
40 | 41 | ||
41 | $PROGNAME="check_flexlm"; | 42 | $PROGNAME="check_flexlm"; |
@@ -43,7 +44,7 @@ $PROGNAME="check_flexlm"; | |||
43 | sub print_help (); | 44 | sub print_help (); |
44 | sub print_usage (); | 45 | sub print_usage (); |
45 | 46 | ||
46 | $ENV{'PATH'}=''; | 47 | $ENV{'PATH'}='@TRUSTED_PATH@'; |
47 | $ENV{'BASH_ENV'}=''; | 48 | $ENV{'BASH_ENV'}=''; |
48 | $ENV{'ENV'}=''; | 49 | $ENV{'ENV'}=''; |
49 | 50 | ||
@@ -72,7 +73,7 @@ unless (defined $opt_F) { | |||
72 | print_usage(); | 73 | print_usage(); |
73 | exit $ERRORS{'UNKNOWN'}; | 74 | exit $ERRORS{'UNKNOWN'}; |
74 | } | 75 | } |
75 | # Just in case of problems, let's not hang Nagios | 76 | # Just in case of problems, let's not hang the monitoring system |
76 | $SIG{'ALRM'} = sub { | 77 | $SIG{'ALRM'} = sub { |
77 | print "Timeout: No Answer from Client\n"; | 78 | print "Timeout: No Answer from Client\n"; |
78 | exit $ERRORS{'UNKNOWN'}; | 79 | exit $ERRORS{'UNKNOWN'}; |
diff --git a/plugins-scripts/check_ifoperstatus.pl b/plugins-scripts/check_ifoperstatus.pl index 588993b..1a7fbba 100755 --- a/plugins-scripts/check_ifoperstatus.pl +++ b/plugins-scripts/check_ifoperstatus.pl | |||
@@ -1,9 +1,9 @@ | |||
1 | #!/usr/local/bin/perl -w | 1 | #!@PERL@ -w |
2 | # | 2 | # |
3 | # check_ifoperstatus.pl - nagios plugin | 3 | # check_ifoperstatus.pl - monitoring plugin |
4 | # | 4 | # |
5 | # Copyright (C) 2000 Christoph Kron, | 5 | # Copyright (C) 2000 Christoph Kron, |
6 | # Modified 5/2002 to conform to updated Nagios Plugin Guidelines | 6 | # Modified 5/2002 to conform to updated Monitoring Plugins Guidelines |
7 | # Added support for named interfaces per Valdimir Ivaschenko (S. Ghosh) | 7 | # Added support for named interfaces per Valdimir Ivaschenko (S. Ghosh) |
8 | # Added SNMPv3 support (10/2003) | 8 | # Added SNMPv3 support (10/2003) |
9 | # | 9 | # |
@@ -19,10 +19,11 @@ | |||
19 | # | 19 | # |
20 | # You should have received a copy of the GNU General Public License | 20 | # You should have received a copy of the GNU General Public License |
21 | # along with this program; if not, write to the Free Software | 21 | # along with this program; if not, write to the Free Software |
22 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 22 | # Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, |
23 | # USA | ||
23 | # | 24 | # |
24 | # | 25 | # |
25 | # Report bugs to: nagiosplug-help@lists.sourceforge.net | 26 | # Report bugs to: help@monitoring-plugins.org |
26 | # | 27 | # |
27 | # 11.01.2000 Version 1.0 | 28 | # 11.01.2000 Version 1.0 |
28 | # | 29 | # |
@@ -34,7 +35,8 @@ | |||
34 | 35 | ||
35 | use POSIX; | 36 | use POSIX; |
36 | use strict; | 37 | use strict; |
37 | use lib utils.pm ; | 38 | use FindBin; |
39 | use lib "$FindBin::Bin"; | ||
38 | use utils qw($TIMEOUT %ERRORS &print_revision &support); | 40 | use utils qw($TIMEOUT %ERRORS &print_revision &support); |
39 | 41 | ||
40 | use Net::SNMP; | 42 | use Net::SNMP; |
@@ -47,6 +49,10 @@ sub usage ($); | |||
47 | sub print_usage (); | 49 | sub print_usage (); |
48 | sub process_arguments (); | 50 | sub process_arguments (); |
49 | 51 | ||
52 | $ENV{'PATH'}='@TRUSTED_PATH@'; | ||
53 | $ENV{'BASH_ENV'}=''; | ||
54 | $ENV{'ENV'}=''; | ||
55 | |||
50 | my $timeout; | 56 | my $timeout; |
51 | my $status; | 57 | my $status; |
52 | my %ifOperStatus = ('1','up', | 58 | my %ifOperStatus = ('1','up', |
@@ -97,7 +103,7 @@ my %session_opts; | |||
97 | $status = process_arguments(); | 103 | $status = process_arguments(); |
98 | 104 | ||
99 | 105 | ||
100 | # Just in case of problems, let's not hang Nagios | 106 | # Just in case of problems, let's not hang the monitoring system |
101 | $SIG{'ALRM'} = sub { | 107 | $SIG{'ALRM'} = sub { |
102 | print ("ERROR: No snmp response from $hostname (alarm)\n"); | 108 | print ("ERROR: No snmp response from $hostname (alarm)\n"); |
103 | exit $ERRORS{"UNKNOWN"}; | 109 | exit $ERRORS{"UNKNOWN"}; |
@@ -288,7 +294,7 @@ sub print_usage() { | |||
288 | sub print_help() { | 294 | sub print_help() { |
289 | print_revision($PROGNAME, '@NP_VERSION@'); | 295 | print_revision($PROGNAME, '@NP_VERSION@'); |
290 | print_usage(); | 296 | print_usage(); |
291 | printf "check_ifoperstatus plugin for Nagios monitors operational \n"; | 297 | printf "check_ifoperstatus plugin for monitoring operational \n"; |
292 | printf "status of a particular network interface on the target host\n"; | 298 | printf "status of a particular network interface on the target host\n"; |
293 | printf "\nUsage:\n"; | 299 | printf "\nUsage:\n"; |
294 | printf " -H (--hostname) Hostname to query - (required)\n"; | 300 | printf " -H (--hostname) Hostname to query - (required)\n"; |
diff --git a/plugins-scripts/check_ifstatus.pl b/plugins-scripts/check_ifstatus.pl index 63c71ff..e9e6214 100755 --- a/plugins-scripts/check_ifstatus.pl +++ b/plugins-scripts/check_ifstatus.pl | |||
@@ -1,10 +1,10 @@ | |||
1 | #!/usr/local/bin/perl -w | 1 | #!@PERL@ -w |
2 | # | 2 | # |
3 | # check_ifstatus.pl - nagios plugin | 3 | # check_ifstatus.pl - monitoring plugin |
4 | # | 4 | # |
5 | # | 5 | # |
6 | # Copyright (C) 2000 Christoph Kron | 6 | # Copyright (C) 2000 Christoph Kron |
7 | # Modified 5/2002 to conform to updated Nagios Plugin Guidelines (S. Ghosh) | 7 | # Modified 5/2002 to conform to updated Monitoring Plugins Guidelines (S. Ghosh) |
8 | # Added -x option (4/2003) | 8 | # Added -x option (4/2003) |
9 | # Added -u option (4/2003) | 9 | # Added -u option (4/2003) |
10 | # Added -M option (10/2003) | 10 | # Added -M option (10/2003) |
@@ -22,17 +22,18 @@ | |||
22 | # | 22 | # |
23 | # You should have received a copy of the GNU General Public License | 23 | # You should have received a copy of the GNU General Public License |
24 | # along with this program; if not, write to the Free Software | 24 | # along with this program; if not, write to the Free Software |
25 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 25 | # Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA |
26 | # | 26 | # |
27 | # | 27 | # |
28 | # Report bugs to: ck@zet.net, nagiosplug-help@lists.sf.net | 28 | # Report bugs to: ck@zet.net, help@monitoring-plugins.org |
29 | # | 29 | # |
30 | # 11.01.2000 Version 1.0 | 30 | # 11.01.2000 Version 1.0 |
31 | # | 31 | # |
32 | 32 | ||
33 | use POSIX; | 33 | use POSIX; |
34 | use strict; | 34 | use strict; |
35 | use lib utils.pm ; | 35 | use FindBin; |
36 | use lib "$FindBin::Bin"; | ||
36 | use utils qw($TIMEOUT %ERRORS &print_revision &support); | 37 | use utils qw($TIMEOUT %ERRORS &print_revision &support); |
37 | 38 | ||
38 | use Net::SNMP; | 39 | use Net::SNMP; |
@@ -46,6 +47,9 @@ sub usage ($); | |||
46 | sub print_usage (); | 47 | sub print_usage (); |
47 | sub process_arguments (); | 48 | sub process_arguments (); |
48 | 49 | ||
50 | $ENV{'PATH'}='@TRUSTED_PATH@'; | ||
51 | $ENV{'BASH_ENV'}=''; | ||
52 | $ENV{'ENV'}=''; | ||
49 | 53 | ||
50 | my $status; | 54 | my $status; |
51 | my %ifOperStatus = ('1','up', | 55 | my %ifOperStatus = ('1','up', |
@@ -99,7 +103,7 @@ my %session_opts; | |||
99 | 103 | ||
100 | 104 | ||
101 | 105 | ||
102 | # Just in case of problems, let's not hang Nagios | 106 | # Just in case of problems, let's not hang the monitoring system |
103 | $SIG{'ALRM'} = sub { | 107 | $SIG{'ALRM'} = sub { |
104 | print ("ERROR: No snmp response from $hostname (alarm timeout)\n"); | 108 | print ("ERROR: No snmp response from $hostname (alarm timeout)\n"); |
105 | exit $ERRORS{"UNKNOWN"}; | 109 | exit $ERRORS{"UNKNOWN"}; |
@@ -239,7 +243,7 @@ sub print_usage() { | |||
239 | sub print_help() { | 243 | sub print_help() { |
240 | print_revision($PROGNAME, '@NP_VERSION@'); | 244 | print_revision($PROGNAME, '@NP_VERSION@'); |
241 | print_usage(); | 245 | print_usage(); |
242 | printf "check_ifstatus plugin for Nagios monitors operational \n"; | 246 | printf "check_ifstatus plugin for monitoring operational \n"; |
243 | printf "status of each network interface on the target host\n"; | 247 | printf "status of each network interface on the target host\n"; |
244 | printf "\nUsage:\n"; | 248 | printf "\nUsage:\n"; |
245 | printf " -H (--hostname) Hostname to query - (required)\n"; | 249 | printf " -H (--hostname) Hostname to query - (required)\n"; |
diff --git a/plugins-scripts/check_ircd.pl b/plugins-scripts/check_ircd.pl index 42a9bca..afedfb9 100755 --- a/plugins-scripts/check_ircd.pl +++ b/plugins-scripts/check_ircd.pl | |||
@@ -1,4 +1,4 @@ | |||
1 | #!/usr/bin/perl -wT | 1 | #!@PERL@ -w |
2 | 2 | ||
3 | # ----------------------------------------------------------------------------- | 3 | # ----------------------------------------------------------------------------- |
4 | # File Name: check_ircd.pl | 4 | # File Name: check_ircd.pl |
@@ -16,8 +16,6 @@ | |||
16 | # ----------------------------------------------------------------------------- | 16 | # ----------------------------------------------------------------------------- |
17 | # Copyright 1999 (c) Richard Mayhew | 17 | # Copyright 1999 (c) Richard Mayhew |
18 | # | 18 | # |
19 | # Credits go to Ethan Galstad for coding Nagios | ||
20 | # | ||
21 | # If any changes are made to this script, please mail me a copy of the | 19 | # If any changes are made to this script, please mail me a copy of the |
22 | # changes :) | 20 | # changes :) |
23 | # | 21 | # |
@@ -51,7 +49,8 @@ use strict; | |||
51 | use Getopt::Long; | 49 | use Getopt::Long; |
52 | use vars qw($opt_V $opt_h $opt_t $opt_p $opt_H $opt_w $opt_c $verbose); | 50 | use vars qw($opt_V $opt_h $opt_t $opt_p $opt_H $opt_w $opt_c $verbose); |
53 | use vars qw($PROGNAME); | 51 | use vars qw($PROGNAME); |
54 | use lib utils.pm; | 52 | use FindBin; |
53 | use lib "$FindBin::Bin"; | ||
55 | use utils qw($TIMEOUT %ERRORS &print_revision &support &usage); | 54 | use utils qw($TIMEOUT %ERRORS &print_revision &support &usage); |
56 | 55 | ||
57 | # ----------------------------------------------------[ Function Prototypes ]-- | 56 | # ----------------------------------------------------[ Function Prototypes ]-- |
@@ -63,9 +62,9 @@ sub bindRemote ($$); | |||
63 | 62 | ||
64 | # -------------------------------------------------------------[ Enviroment ]-- | 63 | # -------------------------------------------------------------[ Enviroment ]-- |
65 | 64 | ||
66 | $ENV{PATH} = ""; | 65 | $ENV{'PATH'}='@TRUSTED_PATH@'; |
67 | $ENV{ENV} = ""; | 66 | $ENV{'BASH_ENV'}=''; |
68 | $ENV{BASH_ENV} = ""; | 67 | $ENV{'ENV'}=''; |
69 | 68 | ||
70 | # -----------------------------------------------------------------[ Global ]-- | 69 | # -----------------------------------------------------------------[ Global ]-- |
71 | 70 | ||
@@ -121,7 +120,7 @@ sub print_help () | |||
121 | print_revision($PROGNAME,'@NP_VERSION@'); | 120 | print_revision($PROGNAME,'@NP_VERSION@'); |
122 | print "Copyright (c) 2000 Richard Mayhew/Karl DeBisschop | 121 | print "Copyright (c) 2000 Richard Mayhew/Karl DeBisschop |
123 | 122 | ||
124 | Perl Check IRCD plugin for Nagios | 123 | Perl Check IRCD plugin for monitoring |
125 | 124 | ||
126 | "; | 125 | "; |
127 | print_usage(); | 126 | print_usage(); |
@@ -205,7 +204,7 @@ MAIN: | |||
205 | 204 | ||
206 | if ($opt_t && $opt_t =~ /^([0-9]+)$/) { $TIMEOUT = $1; } | 205 | if ($opt_t && $opt_t =~ /^([0-9]+)$/) { $TIMEOUT = $1; } |
207 | 206 | ||
208 | # Just in case of problems, let's not hang Nagios | 207 | # Just in case of problems, let's not hang the monitoring system |
209 | $SIG{'ALRM'} = sub { | 208 | $SIG{'ALRM'} = sub { |
210 | print "Somthing is Taking a Long Time, Increase Your TIMEOUT (Currently Set At $TIMEOUT Seconds)\n"; | 209 | print "Somthing is Taking a Long Time, Increase Your TIMEOUT (Currently Set At $TIMEOUT Seconds)\n"; |
211 | exit $ERRORS{"UNKNOWN"}; | 210 | exit $ERRORS{"UNKNOWN"}; |
diff --git a/plugins-scripts/check_log.sh b/plugins-scripts/check_log.sh index a1bfb48..8653a5e 100755 --- a/plugins-scripts/check_log.sh +++ b/plugins-scripts/check_log.sh | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | 2 | # |
3 | # Log file pattern detector plugin for Nagios | 3 | # Log file pattern detector plugin for monitoring |
4 | # Written by Ethan Galstad (nagios@nagios.org) | 4 | # Written by Ethan Galstad (nagios@nagios.org) |
5 | # Last Modified: 07-31-1999 | 5 | # Last Modified: 07-31-1999 |
6 | # | 6 | # |
@@ -29,15 +29,15 @@ | |||
29 | # | 29 | # |
30 | # If you use this plugin make sure to keep the following in mind: | 30 | # If you use this plugin make sure to keep the following in mind: |
31 | # | 31 | # |
32 | # 1. The "max_attempts" value for the service should be 1, as this | 32 | # 1. The "max_attempts" value for the service should be 1, as this will |
33 | # will prevent Nagios from retrying the service check (the | 33 | # prevent the monitoring system from retrying the service check (the |
34 | # next time the check is run it will not produce the same results). | 34 | # next time the check is run it will not produce the same results). |
35 | # | 35 | # |
36 | # 2. The "notify_recovery" value for the service should be 0, so that | 36 | # 2. The "notify_recovery" value for the service should be 0, so that the |
37 | # Nagios does not notify you of "recoveries" for the check. Since | 37 | # monitoring system does not notify you of "recoveries" for the check. |
38 | # pattern matches in the log file will only be reported once and not | 38 | # Since pattern matches in the log file will only be reported once and |
39 | # the next time, there will always be "recoveries" for the service, even | 39 | # not the next time, there will always be "recoveries" for the service, |
40 | # though recoveries really don't apply to this type of check. | 40 | # even though recoveries really don't apply to this type of check. |
41 | # | 41 | # |
42 | # 3. You *must* supply a different <old_file_log> for each service that | 42 | # 3. You *must* supply a different <old_file_log> for each service that |
43 | # you define to use this plugin script - even if the different services | 43 | # you define to use this plugin script - even if the different services |
@@ -57,21 +57,13 @@ | |||
57 | 57 | ||
58 | # Paths to commands used in this script. These | 58 | # Paths to commands used in this script. These |
59 | # may have to be modified to match your system setup. | 59 | # may have to be modified to match your system setup. |
60 | # TV: removed PATH restriction. Need to think more about what this means overall | ||
61 | #PATH="" | ||
62 | |||
63 | ECHO="/bin/echo" | ||
64 | GREP="/bin/egrep" | ||
65 | DIFF="/bin/diff" | ||
66 | TAIL="/bin/tail" | ||
67 | CAT="/bin/cat" | ||
68 | RM="/bin/rm" | ||
69 | CHMOD="/bin/chmod" | ||
70 | TOUCH="/bin/touch" | ||
71 | 60 | ||
72 | PROGNAME=`/bin/basename $0` | 61 | PROGNAME=`/bin/basename $0` |
73 | PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` | 62 | PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` |
74 | REVISION="@NP_VERSION@" | 63 | REVISION="@NP_VERSION@" |
64 | PATH="@TRUSTED_PATH@" | ||
65 | |||
66 | export PATH | ||
75 | 67 | ||
76 | . $PROGPATH/utils.sh | 68 | . $PROGPATH/utils.sh |
77 | 69 | ||
@@ -86,7 +78,7 @@ print_help() { | |||
86 | echo "" | 78 | echo "" |
87 | print_usage | 79 | print_usage |
88 | echo "" | 80 | echo "" |
89 | echo "Log file pattern detector plugin for Nagios" | 81 | echo "Log file pattern detector plugin for monitoring" |
90 | echo "" | 82 | echo "" |
91 | support | 83 | support |
92 | } | 84 | } |
@@ -167,10 +159,10 @@ done | |||
167 | # If the source log file doesn't exist, exit | 159 | # If the source log file doesn't exist, exit |
168 | 160 | ||
169 | if [ ! -e $logfile ]; then | 161 | if [ ! -e $logfile ]; then |
170 | $ECHO "Log check error: Log file $logfile does not exist!\n" | 162 | echo "Log check error: Log file $logfile does not exist!" |
171 | exit $STATE_UNKNOWN | 163 | exit $STATE_UNKNOWN |
172 | elif [ ! -r $logfile ] ; then | 164 | elif [ ! -r $logfile ] ; then |
173 | $ECHO "Log check error: Log file $logfile is not readable!\n" | 165 | echo "Log check error: Log file $logfile is not readable!" |
174 | exit $STATE_UNKNOWN | 166 | exit $STATE_UNKNOWN |
175 | fi | 167 | fi |
176 | 168 | ||
@@ -179,8 +171,8 @@ fi | |||
179 | # the old diff file and exit | 171 | # the old diff file and exit |
180 | 172 | ||
181 | if [ ! -e $oldlog ]; then | 173 | if [ ! -e $oldlog ]; then |
182 | $CAT $logfile > $oldlog | 174 | cat $logfile > $oldlog |
183 | $ECHO "Log check data initialized...\n" | 175 | echo "Log check data initialized..." |
184 | exit $STATE_OK | 176 | exit $STATE_OK |
185 | fi | 177 | fi |
186 | 178 | ||
@@ -193,26 +185,26 @@ if [ -x /bin/mktemp ]; then | |||
193 | else | 185 | else |
194 | tempdiff=`/bin/date '+%H%M%S'` | 186 | tempdiff=`/bin/date '+%H%M%S'` |
195 | tempdiff="/tmp/check_log.${tempdiff}" | 187 | tempdiff="/tmp/check_log.${tempdiff}" |
196 | $TOUCH $tempdiff | 188 | touch $tempdiff |
197 | $CHMOD 600 $tempdiff | 189 | chmod 600 $tempdiff |
198 | fi | 190 | fi |
199 | 191 | ||
200 | $DIFF $logfile $oldlog | $GREP -v "^>" > $tempdiff | 192 | diff $logfile $oldlog | grep -v "^>" > $tempdiff |
201 | 193 | ||
202 | # Count the number of matching log entries we have | 194 | # Count the number of matching log entries we have |
203 | count=`$GREP -c "$query" $tempdiff` | 195 | count=`grep -c "$query" $tempdiff` |
204 | 196 | ||
205 | # Get the last matching entry in the diff file | 197 | # Get the last matching entry in the diff file |
206 | lastentry=`$GREP "$query" $tempdiff | $TAIL -1` | 198 | lastentry=`grep "$query" $tempdiff | tail -1` |
207 | 199 | ||
208 | $RM -f $tempdiff | 200 | rm -f $tempdiff |
209 | $CAT $logfile > $oldlog | 201 | cat $logfile > $oldlog |
210 | 202 | ||
211 | if [ "$count" = "0" ]; then # no matches, exit with no error | 203 | if [ "$count" = "0" ]; then # no matches, exit with no error |
212 | $ECHO "Log check ok - 0 pattern matches found\n" | 204 | echo "Log check ok - 0 pattern matches found" |
213 | exitstatus=$STATE_OK | 205 | exitstatus=$STATE_OK |
214 | else # Print total matche count and the last entry we found | 206 | else # Print total matche count and the last entry we found |
215 | $ECHO "($count) $lastentry" | 207 | echo "($count) $lastentry" |
216 | exitstatus=$STATE_CRITICAL | 208 | exitstatus=$STATE_CRITICAL |
217 | fi | 209 | fi |
218 | 210 | ||
diff --git a/plugins-scripts/check_mailq.pl b/plugins-scripts/check_mailq.pl index 31eb46a..df1385d 100755 --- a/plugins-scripts/check_mailq.pl +++ b/plugins-scripts/check_mailq.pl | |||
@@ -1,4 +1,4 @@ | |||
1 | #!/usr/local/bin/perl -w | 1 | #!@PERL@ -w |
2 | 2 | ||
3 | # check_mailq - check to see how many messages are in the smtp queue awating | 3 | # check_mailq - check to see how many messages are in the smtp queue awating |
4 | # transmittal. | 4 | # transmittal. |
@@ -20,8 +20,8 @@ | |||
20 | # | 20 | # |
21 | # You should have received a copy of the GNU General Public License | 21 | # You should have received a copy of the GNU General Public License |
22 | # along with this program; if not, write to the Free Software | 22 | # along with this program; if not, write to the Free Software |
23 | # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 23 | # Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 |
24 | # | 24 | # USA |
25 | # | 25 | # |
26 | ############################################################################ | 26 | ############################################################################ |
27 | 27 | ||
@@ -31,7 +31,8 @@ use Getopt::Long; | |||
31 | use vars qw($opt_V $opt_h $opt_v $verbose $PROGNAME $opt_w $opt_c $opt_t | 31 | use vars qw($opt_V $opt_h $opt_v $verbose $PROGNAME $opt_w $opt_c $opt_t |
32 | $opt_M $mailq $status $state $msg $msg_q $msg_p $opt_W $opt_C $mailq @lines | 32 | $opt_M $mailq $status $state $msg $msg_q $msg_p $opt_W $opt_C $mailq @lines |
33 | %srcdomains %dstdomains); | 33 | %srcdomains %dstdomains); |
34 | use lib utils.pm; | 34 | use FindBin; |
35 | use lib "$FindBin::Bin"; | ||
35 | use utils qw(%ERRORS &print_revision &support &usage ); | 36 | use utils qw(%ERRORS &print_revision &support &usage ); |
36 | 37 | ||
37 | 38 | ||
@@ -39,7 +40,7 @@ sub print_help (); | |||
39 | sub print_usage (); | 40 | sub print_usage (); |
40 | sub process_arguments (); | 41 | sub process_arguments (); |
41 | 42 | ||
42 | $ENV{'PATH'}=''; | 43 | $ENV{'PATH'}='@TRUSTED_PATH@'; |
43 | $ENV{'BASH_ENV'}=''; | 44 | $ENV{'BASH_ENV'}=''; |
44 | $ENV{'ENV'}=''; | 45 | $ENV{'ENV'}=''; |
45 | $PROGNAME = "check_mailq"; | 46 | $PROGNAME = "check_mailq"; |
@@ -199,20 +200,20 @@ if ($mailq eq "sendmail") { | |||
199 | ## now check the queue length(s) | 200 | ## now check the queue length(s) |
200 | 201 | ||
201 | if ($msg_q == 0) { | 202 | if ($msg_q == 0) { |
202 | $msg = "OK: mailq is empty"; | 203 | $msg = "OK: $mailq mailq is empty"; |
203 | $state = $ERRORS{'OK'}; | 204 | $state = $ERRORS{'OK'}; |
204 | } else { | 205 | } else { |
205 | print "msg_q = $msg_q warn=$opt_w crit=$opt_c\n" if $verbose; | 206 | print "msg_q = $msg_q warn=$opt_w crit=$opt_c\n" if $verbose; |
206 | 207 | ||
207 | # overall queue length | 208 | # overall queue length |
208 | if ($msg_q < $opt_w) { | 209 | if ($msg_q < $opt_w) { |
209 | $msg = "OK: mailq ($msg_q) is below threshold ($opt_w/$opt_c)"; | 210 | $msg = "OK: $mailq mailq ($msg_q) is below threshold ($opt_w/$opt_c)"; |
210 | $state = $ERRORS{'OK'}; | 211 | $state = $ERRORS{'OK'}; |
211 | }elsif ($msg_q >= $opt_w && $msg_q < $opt_c) { | 212 | }elsif ($msg_q >= $opt_w && $msg_q < $opt_c) { |
212 | $msg = "WARNING: mailq is $msg_q (threshold w = $opt_w)"; | 213 | $msg = "WARNING: $mailq mailq is $msg_q (threshold w = $opt_w)"; |
213 | $state = $ERRORS{'WARNING'}; | 214 | $state = $ERRORS{'WARNING'}; |
214 | }else { | 215 | }else { |
215 | $msg = "CRITICAL: mailq is $msg_q (threshold c = $opt_c)"; | 216 | $msg = "CRITICAL: $mailq mailq is $msg_q (threshold c = $opt_c)"; |
216 | $state = $ERRORS{'CRITICAL'}; | 217 | $state = $ERRORS{'CRITICAL'}; |
217 | } | 218 | } |
218 | 219 | ||
@@ -344,20 +345,20 @@ elsif ( $mailq eq "postfix" ) { | |||
344 | 345 | ||
345 | # check queue length(s) | 346 | # check queue length(s) |
346 | if ($msg_q == 0){ | 347 | if ($msg_q == 0){ |
347 | $msg = "OK: mailq reports queue is empty"; | 348 | $msg = "OK: $mailq mailq reports queue is empty"; |
348 | $state = $ERRORS{'OK'}; | 349 | $state = $ERRORS{'OK'}; |
349 | } else { | 350 | } else { |
350 | print "msg_q = $msg_q warn=$opt_w crit=$opt_c\n" if $verbose; | 351 | print "msg_q = $msg_q warn=$opt_w crit=$opt_c\n" if $verbose; |
351 | 352 | ||
352 | # overall queue length | 353 | # overall queue length |
353 | if ($msg_q < $opt_w) { | 354 | if ($msg_q < $opt_w) { |
354 | $msg = "OK: mailq ($msg_q) is below threshold ($opt_w/$opt_c)"; | 355 | $msg = "OK: $mailq mailq ($msg_q) is below threshold ($opt_w/$opt_c)"; |
355 | $state = $ERRORS{'OK'}; | 356 | $state = $ERRORS{'OK'}; |
356 | }elsif ($msg_q >= $opt_w && $msg_q < $opt_c) { | 357 | }elsif ($msg_q >= $opt_w && $msg_q < $opt_c) { |
357 | $msg = "WARNING: mailq is $msg_q (threshold w = $opt_w)"; | 358 | $msg = "WARNING: $mailq mailq is $msg_q (threshold w = $opt_w)"; |
358 | $state = $ERRORS{'WARNING'}; | 359 | $state = $ERRORS{'WARNING'}; |
359 | }else { | 360 | }else { |
360 | $msg = "CRITICAL: mailq is $msg_q (threshold c = $opt_c)"; | 361 | $msg = "CRITICAL: $mailq mailq is $msg_q (threshold c = $opt_c)"; |
361 | $state = $ERRORS{'CRITICAL'}; | 362 | $state = $ERRORS{'CRITICAL'}; |
362 | } | 363 | } |
363 | 364 | ||
@@ -373,7 +374,7 @@ elsif ( $mailq eq "postfix" ) { | |||
373 | # } | 374 | # } |
374 | #} | 375 | #} |
375 | } | 376 | } |
376 | } # end of ($mailq eq "postfixl") | 377 | } # end of ($mailq eq "postfix") |
377 | elsif ( $mailq eq "qmail" ) { | 378 | elsif ( $mailq eq "qmail" ) { |
378 | 379 | ||
379 | # open qmail-qstat | 380 | # open qmail-qstat |
@@ -431,13 +432,13 @@ elsif ( $mailq eq "qmail" ) { | |||
431 | 432 | ||
432 | # overall queue length | 433 | # overall queue length |
433 | if ($msg_q < $opt_w) { | 434 | if ($msg_q < $opt_w) { |
434 | $msg = "OK: mailq ($msg_q) is below threshold ($opt_w/$opt_c)"; | 435 | $msg = "OK: $mailq mailq ($msg_q) is below threshold ($opt_w/$opt_c)"; |
435 | $state = $ERRORS{'OK'}; | 436 | $state = $ERRORS{'OK'}; |
436 | }elsif ($msg_q >= $opt_w && $msg_q < $opt_c) { | 437 | }elsif ($msg_q >= $opt_w && $msg_q < $opt_c) { |
437 | $msg = "WARNING: mailq is $msg_q (threshold w = $opt_w)"; | 438 | $msg = "WARNING: $mailq mailq is $msg_q (threshold w = $opt_w)"; |
438 | $state = $ERRORS{'WARNING'}; | 439 | $state = $ERRORS{'WARNING'}; |
439 | }else { | 440 | }else { |
440 | $msg = "CRITICAL: mailq is $msg_q (threshold c = $opt_c)"; | 441 | $msg = "CRITICAL: $mailq mailq is $msg_q (threshold c = $opt_c)"; |
441 | $state = $ERRORS{'CRITICAL'}; | 442 | $state = $ERRORS{'CRITICAL'}; |
442 | } | 443 | } |
443 | 444 | ||
@@ -489,17 +490,54 @@ elsif ( $mailq eq "exim" ) { | |||
489 | exit $ERRORS{CRITICAL}; | 490 | exit $ERRORS{CRITICAL}; |
490 | } | 491 | } |
491 | if ($msg_q < $opt_w) { | 492 | if ($msg_q < $opt_w) { |
492 | $msg = "OK: mailq ($msg_q) is below threshold ($opt_w/$opt_c)"; | 493 | $msg = "OK: $mailq mailq ($msg_q) is below threshold ($opt_w/$opt_c)"; |
493 | $state = $ERRORS{'OK'}; | 494 | $state = $ERRORS{'OK'}; |
494 | }elsif ($msg_q >= $opt_w && $msg_q < $opt_c) { | 495 | }elsif ($msg_q >= $opt_w && $msg_q < $opt_c) { |
495 | $msg = "WARNING: mailq is $msg_q (threshold w = $opt_w)"; | 496 | $msg = "WARNING: $mailq mailq is $msg_q (threshold w = $opt_w)"; |
496 | $state = $ERRORS{'WARNING'}; | 497 | $state = $ERRORS{'WARNING'}; |
497 | }else { | 498 | }else { |
498 | $msg = "CRITICAL: mailq is $msg_q (threshold c = $opt_c)"; | 499 | $msg = "CRITICAL: $mailq mailq is $msg_q (threshold c = $opt_c)"; |
499 | $state = $ERRORS{'CRITICAL'}; | 500 | $state = $ERRORS{'CRITICAL'}; |
500 | } | 501 | } |
501 | } # end of ($mailq eq "exim") | 502 | } # end of ($mailq eq "exim") |
502 | 503 | ||
504 | elsif ( $mailq eq "nullmailer" ) { | ||
505 | ## open mailq | ||
506 | if ( defined $utils::PATH_TO_MAILQ && -x $utils::PATH_TO_MAILQ ) { | ||
507 | if (! open (MAILQ, "$utils::PATH_TO_MAILQ | " ) ) { | ||
508 | print "ERROR: could not open $utils::PATH_TO_MAILQ \n"; | ||
509 | exit $ERRORS{'UNKNOWN'}; | ||
510 | } | ||
511 | }elsif( defined $utils::PATH_TO_MAILQ){ | ||
512 | unless (-x $utils::PATH_TO_MAILQ) { | ||
513 | print "ERROR: $utils::PATH_TO_MAILQ is not executable by (uid $>:gid($)))\n"; | ||
514 | exit $ERRORS{'UNKNOWN'}; | ||
515 | } | ||
516 | } else { | ||
517 | print "ERROR: \$utils::PATH_TO_MAILQ is not defined\n"; | ||
518 | exit $ERRORS{'UNKNOWN'}; | ||
519 | } | ||
520 | |||
521 | while (<MAILQ>) { | ||
522 | #2006-06-22 16:00:00 282 bytes | ||
523 | |||
524 | if (/^[1-9][0-9]*-[01][0-9]-[0-3][0-9]\s[0-2][0-9]\:[0-2][0-9]\:[0-2][0-9]\s{2}[0-9]+\sbytes$/) { | ||
525 | $msg_q++ ; | ||
526 | } | ||
527 | } | ||
528 | close(MAILQ) ; | ||
529 | if ($msg_q < $opt_w) { | ||
530 | $msg = "OK: $mailq mailq ($msg_q) is below threshold ($opt_w/$opt_c)"; | ||
531 | $state = $ERRORS{'OK'}; | ||
532 | }elsif ($msg_q >= $opt_w && $msg_q < $opt_c) { | ||
533 | $msg = "WARNING: $mailq mailq is $msg_q (threshold w = $opt_w)"; | ||
534 | $state = $ERRORS{'WARNING'}; | ||
535 | }else { | ||
536 | $msg = "CRITICAL: $mailq mailq is $msg_q (threshold c = $opt_c)"; | ||
537 | $state = $ERRORS{'CRITICAL'}; | ||
538 | } | ||
539 | } # end of ($mailq eq "nullmailer") | ||
540 | |||
503 | # Perfdata support | 541 | # Perfdata support |
504 | print "$msg|unsent=$msg_q;$opt_w;$opt_c;0\n"; | 542 | print "$msg|unsent=$msg_q;$opt_w;$opt_c;0\n"; |
505 | exit $state; | 543 | exit $state; |
@@ -559,7 +597,7 @@ sub process_arguments(){ | |||
559 | } | 597 | } |
560 | 598 | ||
561 | if (defined $opt_M) { | 599 | if (defined $opt_M) { |
562 | if ($opt_M =~ /^(sendmail|qmail|postfix|exim)$/) { | 600 | if ($opt_M =~ /^(sendmail|qmail|postfix|exim|nullmailer)$/) { |
563 | $mailq = $opt_M ; | 601 | $mailq = $opt_M ; |
564 | }elsif( $opt_M eq ''){ | 602 | }elsif( $opt_M eq ''){ |
565 | $mailq = 'sendmail'; | 603 | $mailq = 'sendmail'; |
@@ -568,7 +606,30 @@ sub process_arguments(){ | |||
568 | exit $ERRORS{'UNKNOWN'}; | 606 | exit $ERRORS{'UNKNOWN'}; |
569 | } | 607 | } |
570 | }else{ | 608 | }else{ |
571 | $mailq = 'sendmail' ; | 609 | if (defined $utils::PATH_TO_QMAIL_QSTAT |
610 | && -x $utils::PATH_TO_QMAIL_QSTAT) | ||
611 | { | ||
612 | $mailq = 'qmail'; | ||
613 | } | ||
614 | elsif (-d '/var/lib/postfix' || -d '/var/local/lib/postfix' | ||
615 | || -e '/usr/sbin/postfix' || -e '/usr/local/sbin/postfix') | ||
616 | { | ||
617 | $mailq = 'postfix'; | ||
618 | } | ||
619 | elsif (-d '/usr/lib/exim4' || -d '/usr/local/lib/exim4' | ||
620 | || -e '/usr/sbin/exim' || -e '/usr/local/sbin/exim') | ||
621 | { | ||
622 | $mailq = 'exim'; | ||
623 | } | ||
624 | elsif (-d '/usr/lib/nullmailer' || -d '/usr/local/lib/nullmailer' | ||
625 | || -e '/usr/sbin/nullmailer-send' | ||
626 | || -e '/usr/local/sbin/nullmailer-send') | ||
627 | { | ||
628 | $mailq = 'nullmailer'; | ||
629 | } | ||
630 | else { | ||
631 | $mailq = 'sendmail'; | ||
632 | } | ||
572 | } | 633 | } |
573 | 634 | ||
574 | return $ERRORS{'OK'}; | 635 | return $ERRORS{'OK'}; |
@@ -591,7 +652,7 @@ sub print_help () { | |||
591 | print "-W (--Warning) = Min. number of messages for same domain in queue to generate warning\n"; | 652 | print "-W (--Warning) = Min. number of messages for same domain in queue to generate warning\n"; |
592 | print "-C (--Critical) = Min. number of messages for same domain in queue to generate critical alert ( W < C )\n"; | 653 | print "-C (--Critical) = Min. number of messages for same domain in queue to generate critical alert ( W < C )\n"; |
593 | print "-t (--timeout) = Plugin timeout in seconds (default = $utils::TIMEOUT)\n"; | 654 | print "-t (--timeout) = Plugin timeout in seconds (default = $utils::TIMEOUT)\n"; |
594 | print "-M (--mailserver) = [ sendmail | qmail | postfix | exim ] (default = sendmail)\n"; | 655 | print "-M (--mailserver) = [ sendmail | qmail | postfix | exim | nullmailer ] (default = autodetect)\n"; |
595 | print "-h (--help)\n"; | 656 | print "-h (--help)\n"; |
596 | print "-V (--version)\n"; | 657 | print "-V (--version)\n"; |
597 | print "-v (--verbose) = debugging output\n"; | 658 | print "-v (--verbose) = debugging output\n"; |
@@ -599,6 +660,8 @@ sub print_help () { | |||
599 | print "Note: -w and -c are required arguments. -W and -C are optional.\n"; | 660 | print "Note: -w and -c are required arguments. -W and -C are optional.\n"; |
600 | print " -W and -C are applied to domains listed on the queues - both FROM and TO. (sendmail)\n"; | 661 | print " -W and -C are applied to domains listed on the queues - both FROM and TO. (sendmail)\n"; |
601 | print " -W and -C are applied message not yet preproccessed. (qmail)\n"; | 662 | print " -W and -C are applied message not yet preproccessed. (qmail)\n"; |
663 | print " This plugin tries to autodetect which mailserver you are running,\n"; | ||
664 | print " you can override the autodetection with -M.\n"; | ||
602 | print " This plugin uses the system mailq command (sendmail) or qmail-stat (qmail)\n"; | 665 | print " This plugin uses the system mailq command (sendmail) or qmail-stat (qmail)\n"; |
603 | print " to look at the queues. Mailq can usually only be accessed by root or \n"; | 666 | print " to look at the queues. Mailq can usually only be accessed by root or \n"; |
604 | print " a TrustedUser. You will have to set appropriate permissions for the plugin to work.\n"; | 667 | print " a TrustedUser. You will have to set appropriate permissions for the plugin to work.\n"; |
diff --git a/plugins-scripts/check_mssql.pl b/plugins-scripts/check_mssql.pl index 9a8fc51..a436a8f 100755 --- a/plugins-scripts/check_mssql.pl +++ b/plugins-scripts/check_mssql.pl | |||
@@ -1,4 +1,4 @@ | |||
1 | #!/usr/bin/perl -w | 1 | #!@PERL@ -w |
2 | 2 | ||
3 | # | 3 | # |
4 | # Copyright 2003 Roy Sigurd Karlsbakk | 4 | # Copyright 2003 Roy Sigurd Karlsbakk |
@@ -19,9 +19,9 @@ | |||
19 | # | 19 | # |
20 | # You should have received a copy of the GNU General Public License | 20 | # You should have received a copy of the GNU General Public License |
21 | # along with this program; if not, write to the Free Software | 21 | # along with this program; if not, write to the Free Software |
22 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 22 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. |
23 | # | 23 | # |
24 | # Report bugs to: nagiosplug-help@lists.sourceforge.net | 24 | # Report bugs to: help@monitoring-plugins.org |
25 | # | 25 | # |
26 | # | 26 | # |
27 | 27 | ||
@@ -29,12 +29,17 @@ | |||
29 | use DBI; | 29 | use DBI; |
30 | use DBD::Sybase; | 30 | use DBD::Sybase; |
31 | use Getopt::Long; | 31 | use Getopt::Long; |
32 | use lib "."; | 32 | use FindBin; |
33 | use lib "$FindBin::Bin"; | ||
33 | use utils qw($TIMEOUT %ERRORS &print_revision &support); | 34 | use utils qw($TIMEOUT %ERRORS &print_revision &support); |
34 | use strict; | 35 | use strict; |
35 | 36 | ||
36 | my $PROGNAME = "check_mssql"; | 37 | my $PROGNAME = "check_mssql"; |
37 | 38 | ||
39 | $ENV{'PATH'}='@TRUSTED_PATH@'; | ||
40 | $ENV{'BASH_ENV'}=''; | ||
41 | $ENV{'ENV'}=''; | ||
42 | |||
38 | my ( | 43 | my ( |
39 | $server,$database,$username,$password,$query,$help,$verbose,$timeout, | 44 | $server,$database,$username,$password,$query,$help,$verbose,$timeout, |
40 | $dbh,$sth,$row, | 45 | $dbh,$sth,$row, |
@@ -44,7 +49,7 @@ my $exitcode = $ERRORS{'OK'}; | |||
44 | 49 | ||
45 | process_arguments(); | 50 | process_arguments(); |
46 | 51 | ||
47 | # Just in case of problems, let's not hang Nagios | 52 | # Just in case of problems, let's not hang the monitoring system |
48 | $SIG{'ALRM'} = sub { | 53 | $SIG{'ALRM'} = sub { |
49 | print ("SQL UNKNOWN: ERROR connection $server (alarm timeout)\n"); | 54 | print ("SQL UNKNOWN: ERROR connection $server (alarm timeout)\n"); |
50 | exit $ERRORS{"UNKNOWN"}; | 55 | exit $ERRORS{"UNKNOWN"}; |
diff --git a/plugins-scripts/check_netdns.pl b/plugins-scripts/check_netdns.pl index ecdbdb1..82939bf 100755 --- a/plugins-scripts/check_netdns.pl +++ b/plugins-scripts/check_netdns.pl | |||
@@ -1,4 +1,4 @@ | |||
1 | #!/usr/bin/perl -w | 1 | #!@PERL@ -w |
2 | 2 | ||
3 | # Perl version of check_dns plugin which calls DNS directly instead of | 3 | # Perl version of check_dns plugin which calls DNS directly instead of |
4 | # relying on nslookup (which has bugs) | 4 | # relying on nslookup (which has bugs) |
@@ -27,11 +27,16 @@ | |||
27 | 27 | ||
28 | use Getopt::Long; | 28 | use Getopt::Long; |
29 | use Net::DNS; | 29 | use Net::DNS; |
30 | use lib utils.pm; | 30 | use FindBin; |
31 | use lib "$FindBin::Bin"; | ||
31 | use utils ; | 32 | use utils ; |
32 | 33 | ||
33 | my $PROGNAME = "check_netdns"; | 34 | my $PROGNAME = "check_netdns"; |
34 | 35 | ||
36 | $ENV{'PATH'}='@TRUSTED_PATH@'; | ||
37 | $ENV{'BASH_ENV'}=''; | ||
38 | $ENV{'ENV'}=''; | ||
39 | |||
35 | Getopt::Long::Configure(`bundling`); | 40 | Getopt::Long::Configure(`bundling`); |
36 | GetOptions("V" => $opt_V, "version" => $opt_V, | 41 | GetOptions("V" => $opt_V, "version" => $opt_V, |
37 | "h" => $opt_h, "help" => $opt_h, | 42 | "h" => $opt_h, "help" => $opt_h, |
diff --git a/plugins-scripts/check_ntp.pl b/plugins-scripts/check_ntp.pl index 5c87e0a..13da939 100755 --- a/plugins-scripts/check_ntp.pl +++ b/plugins-scripts/check_ntp.pl | |||
@@ -1,4 +1,4 @@ | |||
1 | #!/usr/bin/perl -w | 1 | #!@PERL@ -w |
2 | # | 2 | # |
3 | # (c)1999 Ian Cass, Knowledge Matters Ltd. | 3 | # (c)1999 Ian Cass, Knowledge Matters Ltd. |
4 | # Read the GNU copyright stuff for all the legalese | 4 | # Read the GNU copyright stuff for all the legalese |
@@ -69,7 +69,7 @@ $PROGNAME="check_ntp"; | |||
69 | sub print_help (); | 69 | sub print_help (); |
70 | sub print_usage (); | 70 | sub print_usage (); |
71 | 71 | ||
72 | $ENV{'PATH'}=''; | 72 | $ENV{'PATH'}='@TRUSTED_PATH@'; |
73 | $ENV{'BASH_ENV'}=''; | 73 | $ENV{'BASH_ENV'}=''; |
74 | $ENV{'ENV'}=''; | 74 | $ENV{'ENV'}=''; |
75 | 75 | ||
diff --git a/plugins-scripts/check_oracle.sh b/plugins-scripts/check_oracle.sh index 2a8ab21..ceac95d 100755 --- a/plugins-scripts/check_oracle.sh +++ b/plugins-scripts/check_oracle.sh | |||
@@ -3,12 +3,13 @@ | |||
3 | # latigid010@yahoo.com | 3 | # latigid010@yahoo.com |
4 | # 01/06/2000 | 4 | # 01/06/2000 |
5 | # | 5 | # |
6 | # This Nagios plugin was created to check Oracle status | 6 | # This Monitoring plugin was created to check Oracle status |
7 | # | 7 | # |
8 | 8 | ||
9 | PROGNAME=`basename $0` | 9 | PROGNAME=`basename $0` |
10 | PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` | 10 | PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` |
11 | REVISION="@NP_VERSION@" | 11 | REVISION="@NP_VERSION@" |
12 | PATH="@TRUSTED_PATH@" | ||
12 | 13 | ||
13 | . $PROGPATH/utils.sh | 14 | . $PROGPATH/utils.sh |
14 | 15 | ||
@@ -163,7 +164,7 @@ case "$cmd" in | |||
163 | }' | 164 | }' |
164 | ;; | 165 | ;; |
165 | --db) | 166 | --db) |
166 | pmonchk=`ps -ef | grep -v grep | grep -c "ora_pmon_${2}$"` | 167 | pmonchk=`ps -ef | grep -v grep | grep -E -c "(asm|ora)_pmon_${2}$"` |
167 | if [ ${pmonchk} -ge 1 ] ; then | 168 | if [ ${pmonchk} -ge 1 ] ; then |
168 | echo "${2} OK - ${pmonchk} PMON process(es) running" | 169 | echo "${2} OK - ${pmonchk} PMON process(es) running" |
169 | exit $STATE_OK | 170 | exit $STATE_OK |
diff --git a/plugins-scripts/check_rpc.pl b/plugins-scripts/check_rpc.pl index d2701e9..cbdeceb 100755 --- a/plugins-scripts/check_rpc.pl +++ b/plugins-scripts/check_rpc.pl | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/usr/local/bin/perl -w | 1 | #!@PERL@ -w |
2 | # | 2 | # |
3 | # check_rpc plugin for nagios | 3 | # check_rpc plugin for monitoring |
4 | # | 4 | # |
5 | # usage: | 5 | # usage: |
6 | # check_rpc host service | 6 | # check_rpc host service |
@@ -20,7 +20,8 @@ | |||
20 | # | 20 | # |
21 | 21 | ||
22 | use strict; | 22 | use strict; |
23 | use lib utils.pm; | 23 | use FindBin; |
24 | use lib "$FindBin::Bin"; | ||
24 | use utils qw($TIMEOUT %ERRORS &print_revision &support); | 25 | use utils qw($TIMEOUT %ERRORS &print_revision &support); |
25 | use vars qw($PROGNAME); | 26 | use vars qw($PROGNAME); |
26 | my ($verbose,@proto,%prognum,$host,$response,$prognum,$port,$cmd,$progver,$state); | 27 | my ($verbose,@proto,%prognum,$host,$response,$prognum,$port,$cmd,$progver,$state); |
@@ -36,9 +37,9 @@ sub print_help (); | |||
36 | sub print_usage (); | 37 | sub print_usage (); |
37 | sub in ($$); | 38 | sub in ($$); |
38 | 39 | ||
39 | $ENV{'BASH_ENV'}=''; | 40 | $ENV{'PATH'}='@TRUSTED_PATH@'; |
41 | $ENV{'BASH_ENV'}=''; | ||
40 | $ENV{'ENV'}=''; | 42 | $ENV{'ENV'}=''; |
41 | $ENV{'PATH'}=''; | ||
42 | $ENV{'LC_ALL'}='C'; | 43 | $ENV{'LC_ALL'}='C'; |
43 | 44 | ||
44 | #Initialise protocol for each progname number | 45 | #Initialise protocol for each progname number |
@@ -254,7 +255,7 @@ $proto = 't' if ($opt_t); | |||
254 | $proto = 'u' if ($opt_u); | 255 | $proto = 'u' if ($opt_u); |
255 | 256 | ||
256 | 257 | ||
257 | # Just in case of problems, let's not hang Nagios | 258 | # Just in case of problems, let's not hang the monitoring system |
258 | $SIG{'ALRM'} = sub { | 259 | $SIG{'ALRM'} = sub { |
259 | print ("ERROR: No response from RPC server (alarm)\n"); | 260 | print ("ERROR: No response from RPC server (alarm)\n"); |
260 | exit $ERRORS{"UNKNOWN"}; | 261 | exit $ERRORS{"UNKNOWN"}; |
diff --git a/plugins-scripts/check_sensors.sh b/plugins-scripts/check_sensors.sh index 874e104..05c64c4 100755 --- a/plugins-scripts/check_sensors.sh +++ b/plugins-scripts/check_sensors.sh | |||
@@ -1,13 +1,13 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin | ||
4 | |||
5 | PROGNAME=`basename $0` | 3 | PROGNAME=`basename $0` |
6 | PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` | 4 | PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` |
7 | REVISION="@NP_VERSION@" | 5 | REVISION="@NP_VERSION@" |
6 | PATH="@TRUSTED_PATH@" | ||
8 | 7 | ||
9 | . $PROGPATH/utils.sh | 8 | export PATH |
10 | 9 | ||
10 | . $PROGPATH/utils.sh | ||
11 | 11 | ||
12 | print_usage() { | 12 | print_usage() { |
13 | echo "Usage: $PROGNAME" [--ignore-fault] | 13 | echo "Usage: $PROGNAME" [--ignore-fault] |
diff --git a/plugins-scripts/check_wave.pl b/plugins-scripts/check_wave.pl index 2671112..979416e 100755 --- a/plugins-scripts/check_wave.pl +++ b/plugins-scripts/check_wave.pl | |||
@@ -1,9 +1,10 @@ | |||
1 | #!/usr/bin/perl -wT | 1 | #!@PERL@ -w |
2 | # | 2 | # |
3 | 3 | ||
4 | 4 | ||
5 | use strict; | 5 | use strict; |
6 | use lib utils.pm; | 6 | use FindBin; |
7 | use lib "$FindBin::Bin"; | ||
7 | use utils qw($TIMEOUT %ERRORS &print_revision &support); | 8 | use utils qw($TIMEOUT %ERRORS &print_revision &support); |
8 | use vars qw($PROGNAME); | 9 | use vars qw($PROGNAME); |
9 | use Getopt::Long; | 10 | use Getopt::Long; |
@@ -15,7 +16,7 @@ $PROGNAME = "check_wave"; | |||
15 | sub print_help (); | 16 | sub print_help (); |
16 | sub print_usage (); | 17 | sub print_usage (); |
17 | 18 | ||
18 | $ENV{'PATH'}=''; | 19 | $ENV{'PATH'}='@TRUSTED_PATH@'; |
19 | $ENV{'BASH_ENV'}=''; | 20 | $ENV{'BASH_ENV'}=''; |
20 | $ENV{'ENV'}=''; | 21 | $ENV{'ENV'}=''; |
21 | 22 | ||
diff --git a/plugins-scripts/subst.in b/plugins-scripts/subst.in deleted file mode 100644 index a70ad88..0000000 --- a/plugins-scripts/subst.in +++ /dev/null | |||
@@ -1,78 +0,0 @@ | |||
1 | #!/usr/bin/awk | ||
2 | |||
3 | function which(c,path) { | ||
4 | cmd = "test -x " c; | ||
5 | |||
6 | if (system(cmd)==0) { | ||
7 | return c; | ||
8 | } | ||
9 | |||
10 | sub(/\/.*\//,"",c); | ||
11 | for (dir in path) { | ||
12 | cmd = "test -x " path[dir] "/" c; | ||
13 | if (system(cmd)==0) { | ||
14 | return path[dir] "/" c; | ||
15 | } | ||
16 | } | ||
17 | |||
18 | |||
19 | return c; | ||
20 | } | ||
21 | |||
22 | # used to replace "use lib utils.pm" with "use lib @libexecdir" | ||
23 | # | ||
24 | function led() { | ||
25 | led1 = "@libexecdir@"; | ||
26 | led2 = "@exec_prefix@"; | ||
27 | led3 = "@prefix@"; | ||
28 | if ( match(led1, /^\$\{exec_prefix\}/ ) != 0 ) { | ||
29 | return "\"" led3 "/libexec\" " ; | ||
30 | |||
31 | } | ||
32 | return "\"" led1 "\"" ; | ||
33 | } | ||
34 | |||
35 | BEGIN { | ||
36 | split(ENVIRON["PATH"] ":/sbin:/usr/sbin",path,/:/); | ||
37 | |||
38 | } | ||
39 | |||
40 | # Plugin revision | ||
41 | /@NP_VERSION@/ {sub(/@NP_VERSION@/,ENVIRON["NP_VERSION"]);} | ||
42 | |||
43 | # scripting language (first line) | ||
44 | |||
45 | /^#! ?\/.*\/python/ {sub(/^#! ?\/.*\/python/,"#! @PYTHON@");} | ||
46 | /^#! ?\/.*\/perl/ {sub(/^#! ?\/.*\/perl/,"#! @PERL@");} | ||
47 | /^#! ?\/.*\/[a-z]{0,2}awk/ {sub(/^#! ?\/.*\/[a-z]{0,2}awk/,"#! @AWK@");} | ||
48 | /^#! ?\/.*\/sh/ {sub(/^#! ?\/.*\/sh/,"#! @SHELL@");} | ||
49 | |||
50 | # If a script contains a reference to a fully qualified command, | ||
51 | # subst will replace the fully qualified command with whatever is | ||
52 | # returned from the which subroutine. run before changes to INC to add libexecdir | ||
53 | # FIXME: Prepend executables with a substitution keyword instead. | ||
54 | # | ||
55 | /^[^#]/ && /(\/.*)?\/(bin|sbin|lib|libexec)\// { | ||
56 | match($0,/(\/.*)?\/(bin|sbin|lib|libexec)\/[-_a-zA-Z0-9]+/); | ||
57 | c=substr($0,RSTART,RLENGTH); | ||
58 | sub(c,which(c,path)); | ||
59 | } | ||
60 | |||
61 | # add to libexecdir to INC for perl utils.pm | ||
62 | /^use/ { if (/lib/) { if (/utils.pm|"."/ ) {sub(/utils.pm|"."/,led() )} } } | ||
63 | |||
64 | |||
65 | # Trusted path mechanism (deprecated) | ||
66 | |||
67 | /^[ \t]*\$ENV[ \t]*\{[ \t'"]*PATH[ \t"']*\}[ \t]*=/ { | ||
68 | sub(/\=[ \t]*['"][^"']+["']/,"='@with_trusted_path@' # autoconf-derived"); | ||
69 | } | ||
70 | |||
71 | /^[\t ]*(export[\t ]*)?PATH[\t ]*=['"]+.+["']$/ { | ||
72 | sub(/\=.*$/,"='@with_trusted_path@' # autoconf-derived"); | ||
73 | } | ||
74 | |||
75 | { | ||
76 | print; | ||
77 | } | ||
78 | |||
diff --git a/plugins-scripts/t/check_file_age.t b/plugins-scripts/t/check_file_age.t index 384c276..a515649 100644 --- a/plugins-scripts/t/check_file_age.t +++ b/plugins-scripts/t/check_file_age.t | |||
@@ -5,7 +5,7 @@ | |||
5 | # | 5 | # |
6 | 6 | ||
7 | use strict; | 7 | use strict; |
8 | use Test::More tests => 15; | 8 | use Test::More tests => 16; |
9 | use NPTest; | 9 | use NPTest; |
10 | 10 | ||
11 | my $successOutput = '/^FILE_AGE OK: /'; | 11 | my $successOutput = '/^FILE_AGE OK: /'; |
@@ -58,6 +58,11 @@ $result = NPTest->testCmd( | |||
58 | cmp_ok( $result->return_code, '==', 0, "Checking file size" ); | 58 | cmp_ok( $result->return_code, '==', 0, "Checking file size" ); |
59 | 59 | ||
60 | $result = NPTest->testCmd( | 60 | $result = NPTest->testCmd( |
61 | "./check_file_age -f /non/existent --ignore-missing" | ||
62 | ); | ||
63 | cmp_ok( $result->return_code, '==', 0, "Honours --ignore-missing" ); | ||
64 | |||
65 | $result = NPTest->testCmd( | ||
61 | "./check_file_age -f $temp_file -c 1000 -W 101" | 66 | "./check_file_age -f $temp_file -c 1000 -W 101" |
62 | ); | 67 | ); |
63 | cmp_ok( $result->return_code, '==', 1, "One byte too short" ); | 68 | cmp_ok( $result->return_code, '==', 1, "One byte too short" ); |
diff --git a/plugins-scripts/utils.pm.in b/plugins-scripts/utils.pm.in index 37cd62c..0f53243 100644 --- a/plugins-scripts/utils.pm.in +++ b/plugins-scripts/utils.pm.in | |||
@@ -1,6 +1,6 @@ | |||
1 | # Utility drawer for Nagios plugins. | 1 | # Utility drawer for Monitoring Plugins. |
2 | # | 2 | # |
3 | # This will be deprecated soon. Please use Nagios::Plugin from CPAN | 3 | # This will be deprecated soon. Please use Monitoring::Plugin from CPAN |
4 | # for new plugins | 4 | # for new plugins |
5 | 5 | ||
6 | package utils; | 6 | package utils; |
diff --git a/plugins-scripts/utils.sh.in b/plugins-scripts/utils.sh.in index 4a07df8..031c035 100644 --- a/plugins-scripts/utils.sh.in +++ b/plugins-scripts/utils.sh.in | |||
@@ -6,19 +6,13 @@ STATE_CRITICAL=2 | |||
6 | STATE_UNKNOWN=3 | 6 | STATE_UNKNOWN=3 |
7 | STATE_DEPENDENT=4 | 7 | STATE_DEPENDENT=4 |
8 | 8 | ||
9 | if test -x /usr/bin/printf; then | ||
10 | ECHO=/usr/bin/printf | ||
11 | else | ||
12 | ECHO=echo | ||
13 | fi | ||
14 | |||
15 | print_revision() { | 9 | print_revision() { |
16 | echo "$1 v$2 (@PACKAGE@ @VERSION@)" | 10 | echo "$1 v$2 (@PACKAGE@ @VERSION@)" |
17 | $ECHO "@WARRANTY@" | sed -e 's/\n/ /g' | 11 | printf '%b' "@WARRANTY@" |
18 | } | 12 | } |
19 | 13 | ||
20 | support() { | 14 | support() { |
21 | $ECHO "@SUPPORT@" | sed -e 's/\n/ /g' | 15 | printf '%b' "@SUPPORT@" |
22 | } | 16 | } |
23 | 17 | ||
24 | # | 18 | # |
diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 031dd25..0ddf9bd 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am | |||
@@ -11,9 +11,10 @@ endif | |||
11 | 11 | ||
12 | AM_CFLAGS = -DNP_VERSION='"$(NP_VERSION)"' | 12 | AM_CFLAGS = -DNP_VERSION='"$(NP_VERSION)"' |
13 | 13 | ||
14 | VPATH = $(top_srcdir) $(top_srcdir)/lib $(top_srcdir)/plugins $(top_srcdir)/plugins/t | 14 | VPATH = $(top_srcdir) $(top_srcdir)/lib $(top_srcdir)/plugins $(top_srcdir)/plugins/t |
15 | 15 | ||
16 | INCLUDES = -I.. -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl @LDAPINCLUDE@ @PGINCLUDE@ @SSLINCLUDE@ | 16 | AM_CPPFLAGS = -I.. -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl \ |
17 | @LDAPINCLUDE@ @PGINCLUDE@ @SSLINCLUDE@ | ||
17 | 18 | ||
18 | localedir = $(datadir)/locale | 19 | localedir = $(datadir)/locale |
19 | # gettext docs say to use AM_CPPFLAGS, but per module_CPPFLAGS override this | 20 | # gettext docs say to use AM_CPPFLAGS, but per module_CPPFLAGS override this |
@@ -48,7 +49,7 @@ noinst_LIBRARIES = libnpcommon.a | |||
48 | libnpcommon_a_SOURCES = utils.c netutils.c sslutils.c runcmd.c \ | 49 | libnpcommon_a_SOURCES = utils.c netutils.c sslutils.c runcmd.c \ |
49 | popen.c utils.h netutils.h popen.h common.h runcmd.c runcmd.h | 50 | popen.c utils.h netutils.h popen.h common.h runcmd.c runcmd.h |
50 | 51 | ||
51 | BASEOBJS = libnpcommon.a ../lib/libnagiosplug.a ../gl/libgnu.a | 52 | BASEOBJS = libnpcommon.a ../lib/libmonitoringplug.a ../gl/libgnu.a |
52 | NETOBJS = $(BASEOBJS) $(EXTRA_NETOBLS) | 53 | NETOBJS = $(BASEOBJS) $(EXTRA_NETOBLS) |
53 | NETLIBS = $(NETOBJS) $(SOCKETLIBS) | 54 | NETLIBS = $(NETOBJS) $(SOCKETLIBS) |
54 | SSLOBJS = $(BASEOBJS) $(NETLIBS) $(SSLLIBS) | 55 | SSLOBJS = $(BASEOBJS) $(NETLIBS) $(SSLLIBS) |
@@ -81,11 +82,11 @@ check_ldap_LDADD = $(NETLIBS) $(LDAPLIBS) | |||
81 | check_load_LDADD = $(BASEOBJS) | 82 | check_load_LDADD = $(BASEOBJS) |
82 | check_mrtg_LDADD = $(BASEOBJS) | 83 | check_mrtg_LDADD = $(BASEOBJS) |
83 | check_mrtgtraf_LDADD = $(BASEOBJS) | 84 | check_mrtgtraf_LDADD = $(BASEOBJS) |
84 | check_mysql_CFLAGS = $(MYSQLCFLAGS) -DNP_VERSION='"$(NP_VERSION)"' | 85 | check_mysql_CFLAGS = $(AM_CFLAGS) $(MYSQLCFLAGS) |
85 | check_mysql_CPPFLAGS = $(MYSQLINCLUDE) | 86 | check_mysql_CPPFLAGS = $(AM_CPPFLAGS) $(MYSQLINCLUDE) |
86 | check_mysql_LDADD = $(NETLIBS) $(MYSQLLIBS) | 87 | check_mysql_LDADD = $(NETLIBS) $(MYSQLLIBS) |
87 | check_mysql_query_CFLAGS = $(MYSQLCFLAGS) -DNP_VERSION='"$(NP_VERSION)"' | 88 | check_mysql_query_CFLAGS = $(AM_CFLAGS) $(MYSQLCFLAGS) |
88 | check_mysql_query_CPPFLAGS = $(MYSQLINCLUDE) | 89 | check_mysql_query_CPPFLAGS = $(AM_CPPFLAGS) $(MYSQLINCLUDE) |
89 | check_mysql_query_LDADD = $(NETLIBS) $(MYSQLLIBS) | 90 | check_mysql_query_LDADD = $(NETLIBS) $(MYSQLLIBS) |
90 | check_nagios_LDADD = $(BASEOBJS) | 91 | check_nagios_LDADD = $(BASEOBJS) |
91 | check_nt_LDADD = $(NETLIBS) | 92 | check_nt_LDADD = $(NETLIBS) |
@@ -106,7 +107,7 @@ check_tcp_LDADD = $(SSLOBJS) | |||
106 | check_time_LDADD = $(NETLIBS) | 107 | check_time_LDADD = $(NETLIBS) |
107 | check_ntp_time_LDADD = $(NETLIBS) $(MATHLIBS) | 108 | check_ntp_time_LDADD = $(NETLIBS) $(MATHLIBS) |
108 | check_ups_LDADD = $(NETLIBS) | 109 | check_ups_LDADD = $(NETLIBS) |
109 | check_users_LDADD = $(BASEOBJS) | 110 | check_users_LDADD = $(BASEOBJS) $(WTSAPI32LIBS) |
110 | check_by_ssh_LDADD = $(NETLIBS) | 111 | check_by_ssh_LDADD = $(NETLIBS) |
111 | check_ide_smart_LDADD = $(BASEOBJS) | 112 | check_ide_smart_LDADD = $(BASEOBJS) |
112 | negate_LDADD = $(BASEOBJS) | 113 | negate_LDADD = $(BASEOBJS) |
@@ -129,11 +130,10 @@ install-exec-hook: | |||
129 | cd $(DESTDIR)$(libexecdir) && \ | 130 | cd $(DESTDIR)$(libexecdir) && \ |
130 | for i in $(check_tcp_programs) ; do rm -f $$i; ln -s check_tcp $$i ; done ;\ | 131 | for i in $(check_tcp_programs) ; do rm -f $$i; ln -s check_tcp $$i ; done ;\ |
131 | if [ -x check_ldap ] ; then rm -f check_ldaps ; ln -s check_ldap check_ldaps ; fi | 132 | if [ -x check_ldap ] ; then rm -f check_ldaps ; ln -s check_ldap check_ldaps ; fi |
132 | 133 | ||
133 | clean-local: | 134 | clean-local: |
134 | rm -f $(check_tcp_programs) | 135 | rm -f $(check_tcp_programs) |
135 | rm -f NP-VERSION-FILE | 136 | rm -f NP-VERSION-FILE |
136 | 137 | ||
137 | uninstall-local: | 138 | uninstall-local: |
138 | cd $(DESTDIR)$(libexecdir) && rm -f $(check_tcp_programs) | 139 | cd $(DESTDIR)$(libexecdir) && rm -f $(check_tcp_programs) |
139 | |||
diff --git a/plugins/check_apt.c b/plugins/check_apt.c index daeb757..07622c2 100644 --- a/plugins/check_apt.c +++ b/plugins/check_apt.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_apt plugin | 3 | * Monitoring check_apt plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2006-2008 Nagios Plugins Development Team | 6 | * Copyright (c) 2006-2008 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Original author: Sean Finney | 8 | * Original author: Sean Finney |
9 | * | 9 | * |
@@ -31,7 +31,7 @@ | |||
31 | 31 | ||
32 | const char *progname = "check_apt"; | 32 | const char *progname = "check_apt"; |
33 | const char *copyright = "2006-2008"; | 33 | const char *copyright = "2006-2008"; |
34 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 34 | const char *email = "devel@monitoring-plugins.org"; |
35 | 35 | ||
36 | #include "common.h" | 36 | #include "common.h" |
37 | #include "runcmd.h" | 37 | #include "runcmd.h" |
@@ -124,7 +124,7 @@ int main (int argc, char **argv) { | |||
124 | (stderr_warning)?" warnings detected":"", | 124 | (stderr_warning)?" warnings detected":"", |
125 | (stderr_warning && exec_warning)?",":"", | 125 | (stderr_warning && exec_warning)?",":"", |
126 | (exec_warning)?" errors detected":"", | 126 | (exec_warning)?" errors detected":"", |
127 | (stderr_warning||exec_warning)?". run with -v for information.":"", | 127 | (stderr_warning||exec_warning)?".":"", |
128 | packages_available, | 128 | packages_available, |
129 | sec_count | 129 | sec_count |
130 | ); | 130 | ); |
@@ -223,6 +223,9 @@ int run_upgrade(int *pkgcount, int *secpkgcount){ | |||
223 | regex_t ireg, ereg, sreg; | 223 | regex_t ireg, ereg, sreg; |
224 | char *cmdline=NULL, rerrbuf[64]; | 224 | char *cmdline=NULL, rerrbuf[64]; |
225 | 225 | ||
226 | /* initialize ereg as it is possible it is printed while uninitialized */ | ||
227 | memset(&ereg, "\0", sizeof(ereg.buffer)); | ||
228 | |||
226 | if(upgrade==NO_UPGRADE) return STATE_OK; | 229 | if(upgrade==NO_UPGRADE) return STATE_OK; |
227 | 230 | ||
228 | /* compile the regexps */ | 231 | /* compile the regexps */ |
@@ -430,7 +433,7 @@ print_help (void) | |||
430 | printf(UT_HELP_VRSN); | 433 | printf(UT_HELP_VRSN); |
431 | printf(UT_EXTRA_OPTS); | 434 | printf(UT_EXTRA_OPTS); |
432 | 435 | ||
433 | printf(UT_TIMEOUT, timeout_interval); | 436 | printf(UT_PLUG_TIMEOUT, timeout_interval); |
434 | 437 | ||
435 | printf (" %s\n", "-U, --upgrade=OPTS"); | 438 | printf (" %s\n", "-U, --upgrade=OPTS"); |
436 | printf (" %s\n", _("[Default] Perform an upgrade. If an optional OPTS argument is provided,")); | 439 | printf (" %s\n", _("[Default] Perform an upgrade. If an optional OPTS argument is provided,")); |
diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c index c5f0d52..58f333d 100644 --- a/plugins/check_by_ssh.c +++ b/plugins/check_by_ssh.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_by_ssh plugin | 3 | * Monitoring check_by_ssh plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2000-2008 Nagios Plugins Development Team | 6 | * Copyright (c) 2000-2008 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -28,7 +28,7 @@ | |||
28 | 28 | ||
29 | const char *progname = "check_by_ssh"; | 29 | const char *progname = "check_by_ssh"; |
30 | const char *copyright = "2000-2008"; | 30 | const char *copyright = "2000-2008"; |
31 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 31 | const char *email = "devel@monitoring-plugins.org"; |
32 | 32 | ||
33 | #include "common.h" | 33 | #include "common.h" |
34 | #include "utils.h" | 34 | #include "utils.h" |
@@ -246,7 +246,7 @@ process_arguments (int argc, char **argv) | |||
246 | } | 246 | } |
247 | service[services - 1] = p1; | 247 | service[services - 1] = p1; |
248 | break; | 248 | break; |
249 | case 'n': /* short name of host in nagios configuration */ | 249 | case 'n': /* short name of host in the monitoring configuration */ |
250 | host_shortname = optarg; | 250 | host_shortname = optarg; |
251 | break; | 251 | break; |
252 | 252 | ||
@@ -371,7 +371,7 @@ validate_arguments (void) | |||
371 | die (STATE_UNKNOWN, _("%s: In passive mode, you must provide a service name for each command.\n"), progname); | 371 | die (STATE_UNKNOWN, _("%s: In passive mode, you must provide a service name for each command.\n"), progname); |
372 | 372 | ||
373 | if (passive && host_shortname == NULL) | 373 | if (passive && host_shortname == NULL) |
374 | die (STATE_UNKNOWN, _("%s: In passive mode, you must provide the host short name from the nagios configs.\n"), progname); | 374 | die (STATE_UNKNOWN, _("%s: In passive mode, you must provide the host short name from the monitoring configs.\n"), progname); |
375 | 375 | ||
376 | return OK; | 376 | return OK; |
377 | } | 377 | } |
@@ -416,11 +416,11 @@ print_help (void) | |||
416 | printf (" %s\n","-i, --identity=KEYFILE"); | 416 | printf (" %s\n","-i, --identity=KEYFILE"); |
417 | printf (" %s\n", _("identity of an authorized key [optional]")); | 417 | printf (" %s\n", _("identity of an authorized key [optional]")); |
418 | printf (" %s\n","-O, --output=FILE"); | 418 | printf (" %s\n","-O, --output=FILE"); |
419 | printf (" %s\n", _("external command file for nagios [optional]")); | 419 | printf (" %s\n", _("external command file for monitoring [optional]")); |
420 | printf (" %s\n","-s, --services=LIST"); | 420 | printf (" %s\n","-s, --services=LIST"); |
421 | printf (" %s\n", _("list of nagios service names, separated by ':' [optional]")); | 421 | printf (" %s\n", _("list of monitoring service names, separated by ':' [optional]")); |
422 | printf (" %s\n","-n, --name=NAME"); | 422 | printf (" %s\n","-n, --name=NAME"); |
423 | printf (" %s\n", _("short name of host in nagios configuration [optional]")); | 423 | printf (" %s\n", _("short name of host in the monitoring configuration [optional]")); |
424 | printf (" %s\n","-o, --ssh-option=OPTION"); | 424 | printf (" %s\n","-o, --ssh-option=OPTION"); |
425 | printf (" %s\n", _("Call ssh with '-o OPTION' (may be used multiple times) [optional]")); | 425 | printf (" %s\n", _("Call ssh with '-o OPTION' (may be used multiple times) [optional]")); |
426 | printf (" %s\n","-F, --configfile"); | 426 | printf (" %s\n","-F, --configfile"); |
@@ -428,7 +428,7 @@ print_help (void) | |||
428 | printf (" %s\n","-q, --quiet"); | 428 | printf (" %s\n","-q, --quiet"); |
429 | printf (" %s\n", _("Tell ssh to suppress warning and diagnostic messages [optional]")); | 429 | printf (" %s\n", _("Tell ssh to suppress warning and diagnostic messages [optional]")); |
430 | printf (UT_WARN_CRIT); | 430 | printf (UT_WARN_CRIT); |
431 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); | 431 | printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
432 | printf (UT_VERBOSE); | 432 | printf (UT_VERBOSE); |
433 | printf("\n"); | 433 | printf("\n"); |
434 | printf (" %s\n", _("The most common mode of use is to refer to a local identity file with")); | 434 | printf (" %s\n", _("The most common mode of use is to refer to a local identity file with")); |
diff --git a/plugins/check_cluster.c b/plugins/check_cluster.c index d4e39e0..cf699e1 100644 --- a/plugins/check_cluster.c +++ b/plugins/check_cluster.c | |||
@@ -1,10 +1,10 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * check_cluster.c - Host and Service Cluster Plugin for Nagios 2.x | 3 | * check_cluster.c - Host and Service Cluster Plugin for Monitoring |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2000-2004 Ethan Galstad (nagios@nagios.org) | 6 | * Copyright (c) 2000-2004 Ethan Galstad (nagios@nagios.org) |
7 | * Copyright (c) 2007 Nagios Plugins Development Team | 7 | * Copyright (c) 2007 Monitoring Plugins Development Team |
8 | * | 8 | * |
9 | * This program is free software: you can redistribute it and/or modify | 9 | * This program is free software: you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License as published by | 10 | * it under the terms of the GNU General Public License as published by |
@@ -24,7 +24,7 @@ | |||
24 | 24 | ||
25 | const char *progname = "check_cluster"; | 25 | const char *progname = "check_cluster"; |
26 | const char *copyright = "2000-2007"; | 26 | const char *copyright = "2000-2007"; |
27 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 27 | const char *email = "devel@monitoring-plugins.org"; |
28 | 28 | ||
29 | #include "common.h" | 29 | #include "common.h" |
30 | #include "utils.h" | 30 | #include "utils.h" |
@@ -227,7 +227,7 @@ print_help(void) | |||
227 | printf ("Copyright (c) 2000-2004 Ethan Galstad (nagios@nagios.org)\n"); | 227 | printf ("Copyright (c) 2000-2004 Ethan Galstad (nagios@nagios.org)\n"); |
228 | printf(COPYRIGHT, copyright, email); | 228 | printf(COPYRIGHT, copyright, email); |
229 | 229 | ||
230 | printf(_("Host/Service Cluster Plugin for Nagios 2")); | 230 | printf(_("Host/Service Cluster Plugin for Monitoring")); |
231 | printf("\n\n"); | 231 | printf("\n\n"); |
232 | 232 | ||
233 | print_usage(); | 233 | print_usage(); |
diff --git a/plugins/check_dbi.c b/plugins/check_dbi.c index 8c4a511..a3d033f 100644 --- a/plugins/check_dbi.c +++ b/plugins/check_dbi.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_dbi plugin | 3 | * Monitoring check_dbi plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2011 Nagios Plugins Development Team | 6 | * Copyright (c) 2011 Monitoring Plugins Development Team |
7 | * Author: Sebastian 'tokkee' Harl <sh@teamix.net> | 7 | * Author: Sebastian 'tokkee' Harl <sh@teamix.net> |
8 | * | 8 | * |
9 | * Description: | 9 | * Description: |
@@ -31,7 +31,7 @@ | |||
31 | 31 | ||
32 | const char *progname = "check_dbi"; | 32 | const char *progname = "check_dbi"; |
33 | const char *copyright = "2011"; | 33 | const char *copyright = "2011"; |
34 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 34 | const char *email = "devel@monitoring-plugins.org"; |
35 | 35 | ||
36 | #include "common.h" | 36 | #include "common.h" |
37 | #include "utils.h" | 37 | #include "utils.h" |
@@ -215,7 +215,7 @@ main (int argc, char **argv) | |||
215 | } | 215 | } |
216 | 216 | ||
217 | if (dbi_conn_connect (conn) < 0) { | 217 | if (dbi_conn_connect (conn) < 0) { |
218 | np_dbi_print_error (conn, "UNKOWN - failed to connect to database"); | 218 | np_dbi_print_error (conn, "UNKNOWN - failed to connect to database"); |
219 | return STATE_UNKNOWN; | 219 | return STATE_UNKNOWN; |
220 | } | 220 | } |
221 | 221 | ||
@@ -241,7 +241,7 @@ main (int argc, char **argv) | |||
241 | printf ("Selecting database '%s'\n", np_dbi_database); | 241 | printf ("Selecting database '%s'\n", np_dbi_database); |
242 | 242 | ||
243 | if (dbi_conn_select_db (conn, np_dbi_database)) { | 243 | if (dbi_conn_select_db (conn, np_dbi_database)) { |
244 | np_dbi_print_error (conn, "UNKOWN - failed to select database '%s'", | 244 | np_dbi_print_error (conn, "UNKNOWN - failed to select database '%s'", |
245 | np_dbi_database); | 245 | np_dbi_database); |
246 | return STATE_UNKNOWN; | 246 | return STATE_UNKNOWN; |
247 | } | 247 | } |
@@ -456,7 +456,7 @@ process_arguments (int argc, char **argv) | |||
456 | new = realloc (np_dbi_options, | 456 | new = realloc (np_dbi_options, |
457 | (np_dbi_options_num + 1) * sizeof (*new)); | 457 | (np_dbi_options_num + 1) * sizeof (*new)); |
458 | if (! new) { | 458 | if (! new) { |
459 | printf ("UNKOWN - failed to reallocate memory\n"); | 459 | printf ("UNKNOWN - failed to reallocate memory\n"); |
460 | exit (STATE_UNKNOWN); | 460 | exit (STATE_UNKNOWN); |
461 | } | 461 | } |
462 | 462 | ||
@@ -562,7 +562,7 @@ print_help (void) | |||
562 | printf (" %s\n", _("(ignore the query result)")); | 562 | printf (" %s\n", _("(ignore the query result)")); |
563 | printf ("\n"); | 563 | printf ("\n"); |
564 | 564 | ||
565 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); | 565 | printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
566 | 566 | ||
567 | printf (UT_VERBOSE); | 567 | printf (UT_VERBOSE); |
568 | 568 | ||
diff --git a/plugins/check_dig.c b/plugins/check_dig.c index c113d87..d9481f2 100644 --- a/plugins/check_dig.c +++ b/plugins/check_dig.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_dig plugin | 3 | * Monitoring check_dig plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2002-2008 Nagios Plugins Development Team | 6 | * Copyright (c) 2002-2008 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -34,7 +34,7 @@ | |||
34 | 34 | ||
35 | const char *progname = "check_dig"; | 35 | const char *progname = "check_dig"; |
36 | const char *copyright = "2002-2008"; | 36 | const char *copyright = "2002-2008"; |
37 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 37 | const char *email = "devel@monitoring-plugins.org"; |
38 | 38 | ||
39 | #include "common.h" | 39 | #include "common.h" |
40 | #include "netutils.h" | 40 | #include "netutils.h" |
@@ -48,6 +48,7 @@ void print_usage (void); | |||
48 | 48 | ||
49 | #define UNDEFINED 0 | 49 | #define UNDEFINED 0 |
50 | #define DEFAULT_PORT 53 | 50 | #define DEFAULT_PORT 53 |
51 | #define DEFAULT_TRIES 3 | ||
51 | 52 | ||
52 | char *query_address = NULL; | 53 | char *query_address = NULL; |
53 | char *record_type = "A"; | 54 | char *record_type = "A"; |
@@ -57,6 +58,7 @@ char *dig_args = ""; | |||
57 | char *query_transport = ""; | 58 | char *query_transport = ""; |
58 | int verbose = FALSE; | 59 | int verbose = FALSE; |
59 | int server_port = DEFAULT_PORT; | 60 | int server_port = DEFAULT_PORT; |
61 | int number_tries = DEFAULT_TRIES; | ||
60 | double warning_interval = UNDEFINED; | 62 | double warning_interval = UNDEFINED; |
61 | double critical_interval = UNDEFINED; | 63 | double critical_interval = UNDEFINED; |
62 | struct timeval tv; | 64 | struct timeval tv; |
@@ -72,6 +74,7 @@ main (int argc, char **argv) | |||
72 | long microsec; | 74 | long microsec; |
73 | double elapsed_time; | 75 | double elapsed_time; |
74 | int result = STATE_UNKNOWN; | 76 | int result = STATE_UNKNOWN; |
77 | int timeout_interval_dig; | ||
75 | 78 | ||
76 | setlocale (LC_ALL, ""); | 79 | setlocale (LC_ALL, ""); |
77 | bindtextdomain (PACKAGE, LOCALEDIR); | 80 | bindtextdomain (PACKAGE, LOCALEDIR); |
@@ -87,9 +90,12 @@ main (int argc, char **argv) | |||
87 | if (process_arguments (argc, argv) == ERROR) | 90 | if (process_arguments (argc, argv) == ERROR) |
88 | usage_va(_("Could not parse arguments")); | 91 | usage_va(_("Could not parse arguments")); |
89 | 92 | ||
93 | /* dig applies the timeout to each try, so we need to work around this */ | ||
94 | timeout_interval_dig = timeout_interval / number_tries + number_tries; | ||
95 | |||
90 | /* get the command to run */ | 96 | /* get the command to run */ |
91 | xasprintf (&command_line, "%s @%s -p %d %s -t %s %s %s", | 97 | xasprintf (&command_line, "%s @%s -p %d %s -t %s %s %s +tries=%d +time=%d", |
92 | PATH_TO_DIG, dns_server, server_port, query_address, record_type, dig_args, query_transport); | 98 | PATH_TO_DIG, dns_server, server_port, query_address, record_type, dig_args, query_transport, number_tries, timeout_interval_dig); |
93 | 99 | ||
94 | alarm (timeout_interval); | 100 | alarm (timeout_interval); |
95 | gettimeofday (&tv, NULL); | 101 | gettimeofday (&tv, NULL); |
@@ -348,7 +354,7 @@ print_help (void) | |||
348 | printf (" %s\n","-A, --dig-arguments=STRING"); | 354 | printf (" %s\n","-A, --dig-arguments=STRING"); |
349 | printf (" %s\n",_("Pass STRING as argument(s) to dig")); | 355 | printf (" %s\n",_("Pass STRING as argument(s) to dig")); |
350 | printf (UT_WARN_CRIT); | 356 | printf (UT_WARN_CRIT); |
351 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); | 357 | printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
352 | printf (UT_VERBOSE); | 358 | printf (UT_VERBOSE); |
353 | 359 | ||
354 | printf ("\n"); | 360 | printf ("\n"); |
diff --git a/plugins/check_disk.c b/plugins/check_disk.c index 04d588f..925dfa8 100644 --- a/plugins/check_disk.c +++ b/plugins/check_disk.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_disk plugin | 3 | * Monitoring check_disk plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 1999-2008 Nagios Plugins Development Team | 6 | * Copyright (c) 1999-2008 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -29,7 +29,7 @@ | |||
29 | const char *progname = "check_disk"; | 29 | const char *progname = "check_disk"; |
30 | const char *program_name = "check_disk"; /* Required for coreutils libs */ | 30 | const char *program_name = "check_disk"; /* Required for coreutils libs */ |
31 | const char *copyright = "1999-2008"; | 31 | const char *copyright = "1999-2008"; |
32 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 32 | const char *email = "devel@monitoring-plugins.org"; |
33 | 33 | ||
34 | 34 | ||
35 | #include "common.h" | 35 | #include "common.h" |
@@ -52,6 +52,11 @@ const char *email = "nagiosplug-devel@lists.sourceforge.net"; | |||
52 | #endif | 52 | #endif |
53 | #include "regex.h" | 53 | #include "regex.h" |
54 | 54 | ||
55 | #ifdef __CYGWIN__ | ||
56 | # include <windows.h> | ||
57 | # undef ERROR | ||
58 | # define ERROR -1 | ||
59 | #endif | ||
55 | 60 | ||
56 | /* If nonzero, show inode information. */ | 61 | /* If nonzero, show inode information. */ |
57 | static int inode_format = 1; | 62 | static int inode_format = 1; |
@@ -175,6 +180,10 @@ main (int argc, char **argv) | |||
175 | struct fs_usage fsp, tmpfsp; | 180 | struct fs_usage fsp, tmpfsp; |
176 | struct parameter_list *temp_list, *path; | 181 | struct parameter_list *temp_list, *path; |
177 | 182 | ||
183 | #ifdef __CYGWIN__ | ||
184 | char mountdir[32]; | ||
185 | #endif | ||
186 | |||
178 | preamble = strdup (" - free space:"); | 187 | preamble = strdup (" - free space:"); |
179 | output = strdup (""); | 188 | output = strdup (""); |
180 | details = strdup (""); | 189 | details = strdup (""); |
@@ -221,7 +230,6 @@ main (int argc, char **argv) | |||
221 | 230 | ||
222 | /* Process for every path in list */ | 231 | /* Process for every path in list */ |
223 | for (path = path_select_list; path; path=path->name_next) { | 232 | for (path = path_select_list; path; path=path->name_next) { |
224 | |||
225 | if (verbose >= 3 && path->freespace_percent->warning != NULL && path->freespace_percent->critical != NULL) | 233 | if (verbose >= 3 && path->freespace_percent->warning != NULL && path->freespace_percent->critical != NULL) |
226 | printf("Thresholds(pct) for %s warn: %f crit %f\n",path->name, path->freespace_percent->warning->end, | 234 | printf("Thresholds(pct) for %s warn: %f crit %f\n",path->name, path->freespace_percent->warning->end, |
227 | path->freespace_percent->critical->end); | 235 | path->freespace_percent->critical->end); |
@@ -234,6 +242,13 @@ main (int argc, char **argv) | |||
234 | 242 | ||
235 | me = path->best_match; | 243 | me = path->best_match; |
236 | 244 | ||
245 | #ifdef __CYGWIN__ | ||
246 | if (strncmp(path->name, "/cygdrive/", 10) != 0 || strlen(path->name) > 11) | ||
247 | continue; | ||
248 | snprintf(mountdir, sizeof(mountdir), "%s:\\", me->me_mountdir + 10); | ||
249 | if (GetDriveType(mountdir) != DRIVE_FIXED) | ||
250 | me->me_remote = 1; | ||
251 | #endif | ||
237 | /* Filters */ | 252 | /* Filters */ |
238 | 253 | ||
239 | /* Remove filesystems already seen */ | 254 | /* Remove filesystems already seen */ |
@@ -877,7 +892,7 @@ print_help (void) | |||
877 | printf (" %s\n", "-K, --icritical=PERCENT%"); | 892 | printf (" %s\n", "-K, --icritical=PERCENT%"); |
878 | printf (" %s\n", _("Exit with CRITICAL status if less than PERCENT of inode space is free")); | 893 | printf (" %s\n", _("Exit with CRITICAL status if less than PERCENT of inode space is free")); |
879 | printf (" %s\n", "-p, --path=PATH, --partition=PARTITION"); | 894 | printf (" %s\n", "-p, --path=PATH, --partition=PARTITION"); |
880 | printf (" %s\n", _("Path or partition (may be repeated)")); | 895 | printf (" %s\n", _("Mount point or block device as emitted by the mount(8) command (may be repeated)")); |
881 | printf (" %s\n", "-x, --exclude_device=PATH <STRING>"); | 896 | printf (" %s\n", "-x, --exclude_device=PATH <STRING>"); |
882 | printf (" %s\n", _("Ignore device (only works if -p unspecified)")); | 897 | printf (" %s\n", _("Ignore device (only works if -p unspecified)")); |
883 | printf (" %s\n", "-C, --clear"); | 898 | printf (" %s\n", "-C, --clear"); |
@@ -911,7 +926,7 @@ print_help (void) | |||
911 | printf (" %s\n", _("Regular expression to ignore selected path/partition (case insensitive) (may be repeated)")); | 926 | printf (" %s\n", _("Regular expression to ignore selected path/partition (case insensitive) (may be repeated)")); |
912 | printf (" %s\n", "-i, --ignore-ereg-path=PATH, --ignore-ereg-partition=PARTITION"); | 927 | printf (" %s\n", "-i, --ignore-ereg-path=PATH, --ignore-ereg-partition=PARTITION"); |
913 | printf (" %s\n", _("Regular expression to ignore selected path or partition (may be repeated)")); | 928 | printf (" %s\n", _("Regular expression to ignore selected path or partition (may be repeated)")); |
914 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); | 929 | printf (UT_PLUG_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
915 | printf (" %s\n", "-u, --units=STRING"); | 930 | printf (" %s\n", "-u, --units=STRING"); |
916 | printf (" %s\n", _("Choose bytes, kB, MB, GB, TB (default: MB)")); | 931 | printf (" %s\n", _("Choose bytes, kB, MB, GB, TB (default: MB)")); |
917 | printf (UT_VERBOSE); | 932 | printf (UT_VERBOSE); |
@@ -970,6 +985,10 @@ get_stats (struct parameter_list *p, struct fs_usage *fsp) { | |||
970 | } else { | 985 | } else { |
971 | /* find all group members */ | 986 | /* find all group members */ |
972 | for (p_list = path_select_list; p_list; p_list=p_list->name_next) { | 987 | for (p_list = path_select_list; p_list; p_list=p_list->name_next) { |
988 | #ifdef __CYGWIN__ | ||
989 | if (strncmp(p_list->name, "/cygdrive/", 10) != 0) | ||
990 | continue; | ||
991 | #endif | ||
973 | if (p_list->group && ! (strcmp(p_list->group, p->group))) { | 992 | if (p_list->group && ! (strcmp(p_list->group, p->group))) { |
974 | stat_path(p_list); | 993 | stat_path(p_list); |
975 | get_fs_usage (p_list->best_match->me_mountdir, p_list->best_match->me_devname, &tmpfsp); | 994 | get_fs_usage (p_list->best_match->me_mountdir, p_list->best_match->me_devname, &tmpfsp); |
diff --git a/plugins/check_dns.c b/plugins/check_dns.c index ac6cfc3..31a953d 100644 --- a/plugins/check_dns.c +++ b/plugins/check_dns.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_dns plugin | 3 | * Monitoring check_dns plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2000-2008 Nagios Plugins Development Team | 6 | * Copyright (c) 2000-2008 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -31,7 +31,7 @@ | |||
31 | 31 | ||
32 | const char *progname = "check_dns"; | 32 | const char *progname = "check_dns"; |
33 | const char *copyright = "2000-2008"; | 33 | const char *copyright = "2000-2008"; |
34 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 34 | const char *email = "devel@monitoring-plugins.org"; |
35 | 35 | ||
36 | #include "common.h" | 36 | #include "common.h" |
37 | #include "utils.h" | 37 | #include "utils.h" |
@@ -242,7 +242,23 @@ main (int argc, char **argv) | |||
242 | } | 242 | } |
243 | printf (ngettext("%.3f second response time", "%.3f seconds response time", elapsed_time), elapsed_time); | 243 | printf (ngettext("%.3f second response time", "%.3f seconds response time", elapsed_time), elapsed_time); |
244 | printf (_(". %s returns %s"), query_address, address); | 244 | printf (_(". %s returns %s"), query_address, address); |
245 | printf ("|%s\n", fperfdata ("time", elapsed_time, "s", FALSE, 0, FALSE, 0, TRUE, 0, FALSE, 0)); | 245 | if ((time_thresholds->warning != NULL) && (time_thresholds->critical != NULL)) { |
246 | printf ("|%s\n", fperfdata ("time", elapsed_time, "s", | ||
247 | TRUE, time_thresholds->warning->end, | ||
248 | TRUE, time_thresholds->critical->end, | ||
249 | TRUE, 0, FALSE, 0)); | ||
250 | } else if ((time_thresholds->warning == NULL) && (time_thresholds->critical != NULL)) { | ||
251 | printf ("|%s\n", fperfdata ("time", elapsed_time, "s", | ||
252 | FALSE, 0, | ||
253 | TRUE, time_thresholds->critical->end, | ||
254 | TRUE, 0, FALSE, 0)); | ||
255 | } else if ((time_thresholds->warning != NULL) && (time_thresholds->critical == NULL)) { | ||
256 | printf ("|%s\n", fperfdata ("time", elapsed_time, "s", | ||
257 | TRUE, time_thresholds->warning->end, | ||
258 | FALSE, 0, | ||
259 | TRUE, 0, FALSE, 0)); | ||
260 | } else | ||
261 | printf ("|%s\n", fperfdata ("time", elapsed_time, "s", FALSE, 0, FALSE, 0, TRUE, 0, FALSE, 0)); | ||
246 | } | 262 | } |
247 | else if (result == STATE_WARNING) | 263 | else if (result == STATE_WARNING) |
248 | printf (_("DNS WARNING - %s\n"), | 264 | printf (_("DNS WARNING - %s\n"), |
@@ -474,7 +490,7 @@ print_help (void) | |||
474 | printf (" -c, --critical=seconds\n"); | 490 | printf (" -c, --critical=seconds\n"); |
475 | printf (" %s\n", _("Return critical if elapsed time exceeds value. Default off")); | 491 | printf (" %s\n", _("Return critical if elapsed time exceeds value. Default off")); |
476 | 492 | ||
477 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); | 493 | printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
478 | 494 | ||
479 | printf (UT_SUPPORT); | 495 | printf (UT_SUPPORT); |
480 | } | 496 | } |
diff --git a/plugins/check_dummy.c b/plugins/check_dummy.c index 3cfc9ed..3ed6871 100644 --- a/plugins/check_dummy.c +++ b/plugins/check_dummy.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_dummy plugin | 3 | * Monitoring check_dummy plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 1999-2007 Nagios Plugins Development Team | 6 | * Copyright (c) 1999-2007 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | const char *progname = "check_dummy"; | 31 | const char *progname = "check_dummy"; |
32 | const char *copyright = "1999-2007"; | 32 | const char *copyright = "1999-2007"; |
33 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 33 | const char *email = "devel@monitoring-plugins.org"; |
34 | 34 | ||
35 | #include "common.h" | 35 | #include "common.h" |
36 | #include "utils.h" | 36 | #include "utils.h" |
diff --git a/plugins/check_fping.c b/plugins/check_fping.c index dad000e..46046b4 100644 --- a/plugins/check_fping.c +++ b/plugins/check_fping.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_fping plugin | 3 | * Monitoring check_fping plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2000-2007 Nagios Plugins Development Team | 6 | * Copyright (c) 2000-2007 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -31,7 +31,7 @@ | |||
31 | 31 | ||
32 | const char *progname = "check_fping"; | 32 | const char *progname = "check_fping"; |
33 | const char *copyright = "2000-2007"; | 33 | const char *copyright = "2000-2007"; |
34 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 34 | const char *email = "devel@monitoring-plugins.org"; |
35 | 35 | ||
36 | #include "common.h" | 36 | #include "common.h" |
37 | #include "popen.h" | 37 | #include "popen.h" |
diff --git a/plugins/check_game.c b/plugins/check_game.c index 89bb4b1..29e59e2 100644 --- a/plugins/check_game.c +++ b/plugins/check_game.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_game plugin | 3 | * Monitoring check_game plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2002-2007 Nagios Plugins Development Team | 6 | * Copyright (c) 2002-2007 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -31,7 +31,7 @@ | |||
31 | 31 | ||
32 | const char *progname = "check_game"; | 32 | const char *progname = "check_game"; |
33 | const char *copyright = "2002-2007"; | 33 | const char *copyright = "2002-2007"; |
34 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 34 | const char *email = "devel@monitoring-plugins.org"; |
35 | 35 | ||
36 | #include "common.h" | 36 | #include "common.h" |
37 | #include "utils.h" | 37 | #include "utils.h" |
@@ -312,7 +312,7 @@ print_help (void) | |||
312 | printf (" %s\n", "-pf"); | 312 | printf (" %s\n", "-pf"); |
313 | printf (" %s\n", _("Field number in raw qstat output that contains ping time")); | 313 | printf (" %s\n", _("Field number in raw qstat output that contains ping time")); |
314 | 314 | ||
315 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); | 315 | printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
316 | 316 | ||
317 | printf ("\n"); | 317 | printf ("\n"); |
318 | printf ("%s\n", _("Notes:")); | 318 | printf ("%s\n", _("Notes:")); |
diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c index 60e922e..1e7605b 100644 --- a/plugins/check_hpjd.c +++ b/plugins/check_hpjd.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_hpjd plugin | 3 | * Monitoring check_hpjd plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2000-2007 Nagios Plugins Development Team | 6 | * Copyright (c) 2000-2007 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -31,7 +31,7 @@ | |||
31 | 31 | ||
32 | const char *progname = "check_hpjd"; | 32 | const char *progname = "check_hpjd"; |
33 | const char *copyright = "2000-2007"; | 33 | const char *copyright = "2000-2007"; |
34 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 34 | const char *email = "devel@monitoring-plugins.org"; |
35 | 35 | ||
36 | #include "common.h" | 36 | #include "common.h" |
37 | #include "popen.h" | 37 | #include "popen.h" |
diff --git a/plugins/check_http.c b/plugins/check_http.c index c36d916..5167997 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_http plugin | 3 | * Monitoring check_http plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 1999-2013 Nagios Plugins Development Team | 6 | * Copyright (c) 1999-2013 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -35,7 +35,7 @@ | |||
35 | 35 | ||
36 | const char *progname = "check_http"; | 36 | const char *progname = "check_http"; |
37 | const char *copyright = "1999-2013"; | 37 | const char *copyright = "1999-2013"; |
38 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 38 | const char *email = "devel@monitoring-plugins.org"; |
39 | 39 | ||
40 | #include "common.h" | 40 | #include "common.h" |
41 | #include "netutils.h" | 41 | #include "netutils.h" |
@@ -57,7 +57,7 @@ enum { | |||
57 | 57 | ||
58 | #ifdef HAVE_SSL | 58 | #ifdef HAVE_SSL |
59 | int check_cert = FALSE; | 59 | int check_cert = FALSE; |
60 | int ssl_version; | 60 | int ssl_version = 0; |
61 | int days_till_exp_warn, days_till_exp_crit; | 61 | int days_till_exp_warn, days_till_exp_crit; |
62 | char *randbuff; | 62 | char *randbuff; |
63 | X509 *server_cert; | 63 | X509 *server_cert; |
@@ -157,7 +157,7 @@ main (int argc, char **argv) | |||
157 | /* Set default URL. Must be malloced for subsequent realloc if --onredirect=follow */ | 157 | /* Set default URL. Must be malloced for subsequent realloc if --onredirect=follow */ |
158 | server_url = strdup(HTTP_URL); | 158 | server_url = strdup(HTTP_URL); |
159 | server_url_length = strlen(server_url); | 159 | server_url_length = strlen(server_url); |
160 | xasprintf (&user_agent, "User-Agent: check_http/v%s (nagios-plugins %s)", | 160 | xasprintf (&user_agent, "User-Agent: check_http/v%s (monitoring-plugins %s)", |
161 | NP_VERSION, VERSION); | 161 | NP_VERSION, VERSION); |
162 | 162 | ||
163 | /* Parse extra opts if any */ | 163 | /* Parse extra opts if any */ |
@@ -257,7 +257,7 @@ process_arguments (int argc, char **argv) | |||
257 | } | 257 | } |
258 | 258 | ||
259 | while (1) { | 259 | while (1) { |
260 | c = getopt_long (argc, argv, "Vvh46t:c:w:A:k:H:P:j:T:I:a:b:d:e:p:s:R:r:u:f:C:J:K:nlLS::m:M:N:E", longopts, &option); | 260 | c = getopt_long (argc, argv, "Vvh46t:c:w:A:k:H:P:j:T:I:a:b:d:e:p:s:R:r:u:f:C:J:K:nlLS::m:M:NE", longopts, &option); |
261 | if (c == -1 || c == EOF) | 261 | if (c == -1 || c == EOF) |
262 | break; | 262 | break; |
263 | 263 | ||
@@ -339,10 +339,10 @@ process_arguments (int argc, char **argv) | |||
339 | case 'S': /* use SSL */ | 339 | case 'S': /* use SSL */ |
340 | #ifdef HAVE_SSL | 340 | #ifdef HAVE_SSL |
341 | enable_ssl: | 341 | enable_ssl: |
342 | /* ssl_version initialized to 0 as a default. Only set if it's non-zero. This helps when we include multiple | ||
343 | parameters, like -S and -C combinations */ | ||
342 | use_ssl = TRUE; | 344 | use_ssl = TRUE; |
343 | if (optarg == NULL || c != 'S') | 345 | if (c=='S' && optarg != NULL) { |
344 | ssl_version = 0; | ||
345 | else { | ||
346 | ssl_version = atoi(optarg); | 346 | ssl_version = atoi(optarg); |
347 | if (ssl_version < 1 || ssl_version > 3) | 347 | if (ssl_version < 1 || ssl_version > 3) |
348 | usage4 (_("Invalid option - Valid values for SSL Version are 1 (TLSv1), 2 (SSLv2) or 3 (SSLv3)")); | 348 | usage4 (_("Invalid option - Valid values for SSL Version are 1 (TLSv1), 2 (SSLv2) or 3 (SSLv3)")); |
@@ -1243,6 +1243,7 @@ redir (char *pos, char *status_line) | |||
1243 | if (addr == NULL) | 1243 | if (addr == NULL) |
1244 | die (STATE_UNKNOWN, _("HTTP UNKNOWN - Could not allocate addr\n")); | 1244 | die (STATE_UNKNOWN, _("HTTP UNKNOWN - Could not allocate addr\n")); |
1245 | 1245 | ||
1246 | memset(addr, 0, MAX_IPV4_HOSTLENGTH); | ||
1246 | url = malloc (strcspn (pos, "\r\n")); | 1247 | url = malloc (strcspn (pos, "\r\n")); |
1247 | if (url == NULL) | 1248 | if (url == NULL) |
1248 | die (STATE_UNKNOWN, _("HTTP UNKNOWN - Could not allocate URL\n")); | 1249 | die (STATE_UNKNOWN, _("HTTP UNKNOWN - Could not allocate URL\n")); |
@@ -1333,8 +1334,8 @@ redir (char *pos, char *status_line) | |||
1333 | max_depth, type, addr, i, url, (display_html ? "</A>" : "")); | 1334 | max_depth, type, addr, i, url, (display_html ? "</A>" : "")); |
1334 | 1335 | ||
1335 | if (server_port==i && | 1336 | if (server_port==i && |
1336 | !strcmp(server_address, addr) && | 1337 | !strncmp(server_address, addr, MAX_IPV4_HOSTLENGTH) && |
1337 | (host_name && !strcmp(host_name, addr)) && | 1338 | (host_name && !strncmp(host_name, addr, MAX_IPV4_HOSTLENGTH)) && |
1338 | !strcmp(server_url, url)) | 1339 | !strcmp(server_url, url)) |
1339 | die (STATE_WARNING, | 1340 | die (STATE_WARNING, |
1340 | _("HTTP WARNING - redirection creates an infinite loop - %s://%s:%d%s%s\n"), | 1341 | _("HTTP WARNING - redirection creates an infinite loop - %s://%s:%d%s%s\n"), |
@@ -1343,11 +1344,11 @@ redir (char *pos, char *status_line) | |||
1343 | strcpy (server_type, type); | 1344 | strcpy (server_type, type); |
1344 | 1345 | ||
1345 | free (host_name); | 1346 | free (host_name); |
1346 | host_name = strdup (addr); | 1347 | host_name = strndup (addr, MAX_IPV4_HOSTLENGTH); |
1347 | 1348 | ||
1348 | if (!(followsticky & STICKY_HOST)) { | 1349 | if (!(followsticky & STICKY_HOST)) { |
1349 | free (server_address); | 1350 | free (server_address); |
1350 | server_address = strdup (addr); | 1351 | server_address = strndup (addr, MAX_IPV4_HOSTLENGTH); |
1351 | } | 1352 | } |
1352 | if (!(followsticky & STICKY_PORT)) { | 1353 | if (!(followsticky & STICKY_PORT)) { |
1353 | server_port = i; | 1354 | server_port = i; |
@@ -1366,6 +1367,7 @@ redir (char *pos, char *status_line) | |||
1366 | printf (_("Redirection to %s://%s:%d%s\n"), server_type, | 1367 | printf (_("Redirection to %s://%s:%d%s\n"), server_type, |
1367 | host_name ? host_name : server_address, server_port, server_url); | 1368 | host_name ? host_name : server_address, server_port, server_url); |
1368 | 1369 | ||
1370 | free(addr); | ||
1369 | check_http (); | 1371 | check_http (); |
1370 | } | 1372 | } |
1371 | 1373 | ||
@@ -1534,7 +1536,7 @@ print_help (void) | |||
1534 | 1536 | ||
1535 | printf (UT_WARN_CRIT); | 1537 | printf (UT_WARN_CRIT); |
1536 | 1538 | ||
1537 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); | 1539 | printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
1538 | 1540 | ||
1539 | printf (UT_VERBOSE); | 1541 | printf (UT_VERBOSE); |
1540 | 1542 | ||
diff --git a/plugins/check_ide_smart.c b/plugins/check_ide_smart.c index 0a8009a..47605e9 100644 --- a/plugins/check_ide_smart.c +++ b/plugins/check_ide_smart.c | |||
@@ -1,13 +1,13 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_ide_smart plugin | 3 | * Monitoring check_ide_smart plugin |
4 | * ide-smart 1.3 - IDE S.M.A.R.T. checking tool | 4 | * ide-smart 1.3 - IDE S.M.A.R.T. checking tool |
5 | * | 5 | * |
6 | * License: GPL | 6 | * License: GPL |
7 | * Copyright (C) 1998-1999 Ragnar Hojland Espinosa <ragnar@lightside.dhis.org> | 7 | * Copyright (C) 1998-1999 Ragnar Hojland Espinosa <ragnar@lightside.dhis.org> |
8 | * 1998 Gadi Oxman <gadio@netvision.net.il> | 8 | * 1998 Gadi Oxman <gadio@netvision.net.il> |
9 | * Copyright (c) 2000 Robert Dale <rdale@digital-mission.com> | 9 | * Copyright (c) 2000 Robert Dale <rdale@digital-mission.com> |
10 | * Copyright (c) 2000-2007 Nagios Plugins Development Team | 10 | * Copyright (c) 2000-2007 Monitoring Plugins Development Team |
11 | * | 11 | * |
12 | * Description: | 12 | * Description: |
13 | * | 13 | * |
@@ -35,7 +35,7 @@ | |||
35 | 35 | ||
36 | const char *progname = "check_ide_smart"; | 36 | const char *progname = "check_ide_smart"; |
37 | const char *copyright = "1998-2007"; | 37 | const char *copyright = "1998-2007"; |
38 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 38 | const char *email = "devel@monitoring-plugins.org"; |
39 | 39 | ||
40 | #include "common.h" | 40 | #include "common.h" |
41 | #include "utils.h" | 41 | #include "utils.h" |
@@ -172,12 +172,12 @@ void print_value (value_t *, threshold_t *); | |||
172 | void print_values (values_t *, thresholds_t *); | 172 | void print_values (values_t *, thresholds_t *); |
173 | int smart_cmd_simple (int, enum SmartCommand, __u8, char); | 173 | int smart_cmd_simple (int, enum SmartCommand, __u8, char); |
174 | int smart_read_thresholds (int, thresholds_t *); | 174 | int smart_read_thresholds (int, thresholds_t *); |
175 | int verbose = FALSE; | ||
175 | 176 | ||
176 | int | 177 | int |
177 | main (int argc, char *argv[]) | 178 | main (int argc, char *argv[]) |
178 | { | 179 | { |
179 | char *device = NULL; | 180 | char *device = NULL; |
180 | int command = -1; | ||
181 | int o, longindex; | 181 | int o, longindex; |
182 | int retval = 0; | 182 | int retval = 0; |
183 | 183 | ||
@@ -191,7 +191,7 @@ main (int argc, char *argv[]) | |||
191 | {"quiet-check", no_argument, 0, 'q'}, | 191 | {"quiet-check", no_argument, 0, 'q'}, |
192 | {"auto-on", no_argument, 0, '1'}, | 192 | {"auto-on", no_argument, 0, '1'}, |
193 | {"auto-off", no_argument, 0, '0'}, | 193 | {"auto-off", no_argument, 0, '0'}, |
194 | {"nagios", no_argument, 0, 'n'}, | 194 | {"nagios", no_argument, 0, 'n'}, /* DEPRECATED, but we still accept it */ |
195 | {"help", no_argument, 0, 'h'}, | 195 | {"help", no_argument, 0, 'h'}, |
196 | {"version", no_argument, 0, 'V'}, | 196 | {"version", no_argument, 0, 'V'}, |
197 | {0, 0, 0, 0} | 197 | {0, 0, 0, 0} |
@@ -206,7 +206,7 @@ main (int argc, char *argv[]) | |||
206 | 206 | ||
207 | while (1) { | 207 | while (1) { |
208 | 208 | ||
209 | o = getopt_long (argc, argv, "+d:iq10nhV", longopts, &longindex); | 209 | o = getopt_long (argc, argv, "+d:iq10nhVv", longopts, &longindex); |
210 | 210 | ||
211 | if (o == -1 || o == EOF || o == 1) | 211 | if (o == -1 || o == EOF || o == 1) |
212 | break; | 212 | break; |
@@ -216,19 +216,21 @@ main (int argc, char *argv[]) | |||
216 | device = optarg; | 216 | device = optarg; |
217 | break; | 217 | break; |
218 | case 'q': | 218 | case 'q': |
219 | command = 3; | 219 | fprintf (stderr, "%s\n", _("DEPRECATION WARNING: the -q switch (quiet output) is no longer \"quiet\".")); |
220 | fprintf (stderr, "%s\n", _("Nagios-compatible output is now always returned.")); | ||
220 | break; | 221 | break; |
221 | case 'i': | 222 | case 'i': |
222 | command = 2; | ||
223 | break; | ||
224 | case '1': | 223 | case '1': |
225 | command = 1; | ||
226 | break; | ||
227 | case '0': | 224 | case '0': |
228 | command = 0; | 225 | printf ("%s\n", _("SMART commands are broken and have been disabled (See Notes in --help).")); |
226 | return STATE_CRITICAL; | ||
229 | break; | 227 | break; |
230 | case 'n': | 228 | case 'n': |
231 | command = 4; | 229 | fprintf (stderr, "%s\n", _("DEPRECATION WARNING: the -n switch (Nagios-compatible output) is now the")); |
230 | fprintf (stderr, "%s\n", _("default and will be removed from future releases.")); | ||
231 | break; | ||
232 | case 'v': /* verbose */ | ||
233 | verbose = TRUE; | ||
232 | break; | 234 | break; |
233 | case 'h': | 235 | case 'h': |
234 | print_help (); | 236 | print_help (); |
@@ -257,37 +259,16 @@ main (int argc, char *argv[]) | |||
257 | return STATE_CRITICAL; | 259 | return STATE_CRITICAL; |
258 | } | 260 | } |
259 | 261 | ||
260 | if (smart_cmd_simple (fd, SMART_CMD_ENABLE, 0, TRUE)) { | 262 | if (smart_cmd_simple (fd, SMART_CMD_ENABLE, 0, FALSE)) { |
261 | printf (_("CRITICAL - SMART_CMD_ENABLE\n")); | 263 | printf (_("CRITICAL - SMART_CMD_ENABLE\n")); |
262 | return STATE_CRITICAL; | 264 | return STATE_CRITICAL; |
263 | } | 265 | } |
264 | 266 | ||
265 | switch (command) { | 267 | smart_read_values (fd, &values); |
266 | case 0: | 268 | smart_read_thresholds (fd, &thresholds); |
267 | retval = smart_cmd_simple (fd, SMART_CMD_AUTO_OFFLINE, 0, TRUE); | 269 | retval = nagios (&values, &thresholds); |
268 | break; | 270 | if (verbose) print_values (&values, &thresholds); |
269 | case 1: | 271 | |
270 | retval = smart_cmd_simple (fd, SMART_CMD_AUTO_OFFLINE, 0xF8, TRUE); | ||
271 | break; | ||
272 | case 2: | ||
273 | retval = smart_cmd_simple (fd, SMART_CMD_IMMEDIATE_OFFLINE, 0, TRUE); | ||
274 | break; | ||
275 | case 3: | ||
276 | smart_read_values (fd, &values); | ||
277 | smart_read_thresholds (fd, &thresholds); | ||
278 | retval = values_not_passed (&values, &thresholds); | ||
279 | break; | ||
280 | case 4: | ||
281 | smart_read_values (fd, &values); | ||
282 | smart_read_thresholds (fd, &thresholds); | ||
283 | retval = nagios (&values, &thresholds); | ||
284 | break; | ||
285 | default: | ||
286 | smart_read_values (fd, &values); | ||
287 | smart_read_thresholds (fd, &thresholds); | ||
288 | print_values (&values, &thresholds); | ||
289 | break; | ||
290 | } | ||
291 | close (fd); | 272 | close (fd); |
292 | return retval; | 273 | return retval; |
293 | } | 274 | } |
@@ -368,7 +349,7 @@ values_not_passed (values_t * p, thresholds_t * t) | |||
368 | int i; | 349 | int i; |
369 | for (i = 0; i < NR_ATTRIBUTES; i++) { | 350 | for (i = 0; i < NR_ATTRIBUTES; i++) { |
370 | if (value->id && threshold->id && value->id == threshold->id) { | 351 | if (value->id && threshold->id && value->id == threshold->id) { |
371 | if (value->value <= threshold->threshold) { | 352 | if (value->value < threshold->threshold) { |
372 | ++failed; | 353 | ++failed; |
373 | } | 354 | } |
374 | else { | 355 | else { |
@@ -397,7 +378,7 @@ nagios (values_t * p, thresholds_t * t) | |||
397 | int i; | 378 | int i; |
398 | for (i = 0; i < NR_ATTRIBUTES; i++) { | 379 | for (i = 0; i < NR_ATTRIBUTES; i++) { |
399 | if (value->id && threshold->id && value->id == threshold->id) { | 380 | if (value->id && threshold->id && value->id == threshold->id) { |
400 | if (value->value <= threshold->threshold) { | 381 | if (value->value < threshold->threshold) { |
401 | ++failed; | 382 | ++failed; |
402 | if (value->status & 1) { | 383 | if (value->status & 1) { |
403 | status = PREFAILURE; | 384 | status = PREFAILURE; |
@@ -438,7 +419,7 @@ nagios (values_t * p, thresholds_t * t) | |||
438 | status=STATE_OK; | 419 | status=STATE_OK; |
439 | break; | 420 | break; |
440 | default: | 421 | default: |
441 | printf (_("ERROR - Status '%d' unkown. %d/%d tests passed\n"), status, | 422 | printf (_("ERROR - Status '%d' unknown. %d/%d tests passed\n"), status, |
442 | passed, total); | 423 | passed, total); |
443 | status = STATE_UNKNOWN; | 424 | status = STATE_UNKNOWN; |
444 | break; | 425 | break; |
@@ -454,7 +435,7 @@ print_value (value_t * p, threshold_t * t) | |||
454 | printf ("Id=%3d, Status=%2d {%s , %s}, Value=%3d, Threshold=%3d, %s\n", | 435 | printf ("Id=%3d, Status=%2d {%s , %s}, Value=%3d, Threshold=%3d, %s\n", |
455 | p->id, p->status, p->status & 1 ? "PreFailure" : "Advisory ", | 436 | p->id, p->status, p->status & 1 ? "PreFailure" : "Advisory ", |
456 | p->status & 2 ? "OnLine " : "OffLine", p->value, t->threshold, | 437 | p->status & 2 ? "OnLine " : "OffLine", p->value, t->threshold, |
457 | p->value > t->threshold ? "Passed" : "Failed"); | 438 | p->value >= t->threshold ? "Passed" : "Failed"); |
458 | } | 439 | } |
459 | 440 | ||
460 | 441 | ||
@@ -495,7 +476,7 @@ print_values (values_t * p, thresholds_t * t) | |||
495 | int | 476 | int |
496 | smart_cmd_simple (int fd, enum SmartCommand command, __u8 val0, char show_error) | 477 | smart_cmd_simple (int fd, enum SmartCommand command, __u8 val0, char show_error) |
497 | { | 478 | { |
498 | int e = 0; | 479 | int e = STATE_UNKNOWN; |
499 | #ifdef __linux__ | 480 | #ifdef __linux__ |
500 | __u8 args[4]; | 481 | __u8 args[4]; |
501 | args[0] = WIN_SMART; | 482 | args[0] = WIN_SMART; |
@@ -503,11 +484,15 @@ smart_cmd_simple (int fd, enum SmartCommand command, __u8 val0, char show_error) | |||
503 | args[2] = smart_command[command].value; | 484 | args[2] = smart_command[command].value; |
504 | args[3] = 0; | 485 | args[3] = 0; |
505 | if (ioctl (fd, HDIO_DRIVE_CMD, &args)) { | 486 | if (ioctl (fd, HDIO_DRIVE_CMD, &args)) { |
506 | e = errno; | 487 | e = STATE_CRITICAL; |
507 | if (show_error) { | 488 | if (show_error) |
508 | printf (_("CRITICAL - %s: %s\n"), smart_command[command].text, strerror (errno)); | 489 | printf (_("CRITICAL - %s: %s\n"), smart_command[command].text, strerror (errno)); |
509 | } | 490 | } else { |
491 | e = STATE_OK; | ||
492 | if (show_error) | ||
493 | printf (_("OK - Command sent (%s)\n"), smart_command[command].text); | ||
510 | } | 494 | } |
495 | |||
511 | #endif /* __linux__ */ | 496 | #endif /* __linux__ */ |
512 | #ifdef __NetBSD__ | 497 | #ifdef __NetBSD__ |
513 | struct atareq req; | 498 | struct atareq req; |
@@ -528,10 +513,15 @@ smart_cmd_simple (int fd, enum SmartCommand command, __u8 val0, char show_error) | |||
528 | } | 513 | } |
529 | 514 | ||
530 | if (errno != 0) { | 515 | if (errno != 0) { |
531 | e = errno; | 516 | e = STATE_CRITICAL; |
532 | printf (_("CRITICAL - %s: %s\n"), smart_command[command].text, strerror (errno)); | 517 | if (show_error) |
533 | return e; | 518 | printf (_("CRITICAL - %s: %s\n"), smart_command[command].text, strerror (errno)); |
519 | } else { | ||
520 | e = STATE_OK; | ||
521 | if (show_error) | ||
522 | printf (_("OK - Command sent (%s)\n"), smart_command[command].text); | ||
534 | } | 523 | } |
524 | |||
535 | #endif /* __NetBSD__ */ | 525 | #endif /* __NetBSD__ */ |
536 | return e; | 526 | return e; |
537 | } | 527 | } |
@@ -592,8 +582,8 @@ print_help (void) | |||
592 | { | 582 | { |
593 | print_revision (progname, NP_VERSION); | 583 | print_revision (progname, NP_VERSION); |
594 | 584 | ||
595 | printf ("Nagios feature - 1999 Robert Dale <rdale@digital-mission.com>\n"); | ||
596 | printf ("(C) 1999 Ragnar Hojland Espinosa <ragnar@lightside.dhis.org>\n"); | 585 | printf ("(C) 1999 Ragnar Hojland Espinosa <ragnar@lightside.dhis.org>\n"); |
586 | printf ("Plugin implementation - 1999 Robert Dale <rdale@digital-mission.com>\n"); | ||
597 | printf (COPYRIGHT, copyright, email); | 587 | printf (COPYRIGHT, copyright, email); |
598 | 588 | ||
599 | printf (_("This plugin checks a local hard drive with the (Linux specific) SMART interface [http://smartlinux.sourceforge.net/smart/index.php].")); | 589 | printf (_("This plugin checks a local hard drive with the (Linux specific) SMART interface [http://smartlinux.sourceforge.net/smart/index.php].")); |
@@ -607,17 +597,19 @@ print_help (void) | |||
607 | 597 | ||
608 | printf (" %s\n", "-d, --device=DEVICE"); | 598 | printf (" %s\n", "-d, --device=DEVICE"); |
609 | printf (" %s\n", _("Select device DEVICE")); | 599 | printf (" %s\n", _("Select device DEVICE")); |
610 | printf (" %s\n", _("Note: if the device is selected with this option, _no_ other options are accepted")); | 600 | printf (" %s\n", _("Note: if the device is specified without this option, any further option will")); |
611 | printf (" %s\n", "-i, --immediate"); | 601 | printf (" %s\n", _("be ignored.")); |
612 | printf (" %s\n", _("Perform immediately offline tests")); | 602 | |
613 | printf (" %s\n", "-q, --quiet-check"); | 603 | printf (UT_VERBOSE); |
614 | printf (" %s\n", _("Returns the number of failed tests")); | 604 | |
615 | printf (" %s\n", "-1, --auto-on"); | 605 | printf ("\n"); |
616 | printf (" %s\n", _("Turn on automatic offline tests")); | 606 | printf ("%s\n", _("Notes:")); |
617 | printf (" %s\n", "-0, --auto-off"); | 607 | printf (" %s\n", _("The SMART command modes (-i/--immediate, -0/--auto-off and -1/--auto-on) were")); |
618 | printf (" %s\n", _("Turn off automatic offline tests")); | 608 | printf (" %s\n", _("broken in an underhand manner and have been disabled. You can use smartctl")); |
619 | printf (" %s\n", "-n, --nagios"); | 609 | printf (" %s\n", _("instead:")); |
620 | printf (" %s\n", _("Output suitable for Nagios")); | 610 | printf (" %s\n", _("-0/--auto-off: use \"smartctl --offlineauto=off\"")); |
611 | printf (" %s\n", _("-1/--auto-on: use \"smartctl --offlineauto=on\"")); | ||
612 | printf (" %s\n", _("-i/--immediate: use \"smartctl --test=offline\"")); | ||
621 | 613 | ||
622 | printf (UT_SUPPORT); | 614 | printf (UT_SUPPORT); |
623 | } | 615 | } |
@@ -638,6 +630,5 @@ void | |||
638 | print_usage (void) | 630 | print_usage (void) |
639 | { | 631 | { |
640 | printf ("%s\n", _("Usage:")); | 632 | printf ("%s\n", _("Usage:")); |
641 | printf ("%s [-d <device>] [-i <immediate>] [-q quiet] [-1 <auto-on>]",progname); | 633 | printf ("%s [-d <device>] [-v]", progname); |
642 | printf (" [-O <auto-off>] [-n <nagios>]\n"); | ||
643 | } | 634 | } |
diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c index b05aca9..c371be9 100644 --- a/plugins/check_ldap.c +++ b/plugins/check_ldap.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_ldap plugin | 3 | * Monitoring check_ldap plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2000-2008 Nagios Plugins Development Team | 6 | * Copyright (c) 2000-2008 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -29,7 +29,7 @@ | |||
29 | /* progname may be check_ldaps */ | 29 | /* progname may be check_ldaps */ |
30 | char *progname = "check_ldap"; | 30 | char *progname = "check_ldap"; |
31 | const char *copyright = "2000-2008"; | 31 | const char *copyright = "2000-2008"; |
32 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 32 | const char *email = "devel@monitoring-plugins.org"; |
33 | 33 | ||
34 | #include "common.h" | 34 | #include "common.h" |
35 | #include "netutils.h" | 35 | #include "netutils.h" |
@@ -430,7 +430,7 @@ print_help (void) | |||
430 | 430 | ||
431 | printf (UT_WARN_CRIT); | 431 | printf (UT_WARN_CRIT); |
432 | 432 | ||
433 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); | 433 | printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
434 | 434 | ||
435 | printf (UT_VERBOSE); | 435 | printf (UT_VERBOSE); |
436 | 436 | ||
diff --git a/plugins/check_load.c b/plugins/check_load.c index 296a823..cde63e5 100644 --- a/plugins/check_load.c +++ b/plugins/check_load.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_load plugin | 3 | * Monitoring check_load plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 1999-2007 Nagios Plugins Development Team | 6 | * Copyright (c) 1999-2007 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | const char *progname = "check_load"; | 31 | const char *progname = "check_load"; |
32 | const char *copyright = "1999-2007"; | 32 | const char *copyright = "1999-2007"; |
33 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 33 | const char *email = "devel@monitoring-plugins.org"; |
34 | 34 | ||
35 | #include "common.h" | 35 | #include "common.h" |
36 | #include "utils.h" | 36 | #include "utils.h" |
diff --git a/plugins/check_mrtg.c b/plugins/check_mrtg.c index d6162f3..cf3fe04 100644 --- a/plugins/check_mrtg.c +++ b/plugins/check_mrtg.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_mrtg plugin | 3 | * Monitoring check_mrtg plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 1999-2007 Nagios Plugins Development Team | 6 | * Copyright (c) 1999-2007 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -31,7 +31,7 @@ | |||
31 | 31 | ||
32 | const char *progname = "check_mrtg"; | 32 | const char *progname = "check_mrtg"; |
33 | const char *copyright = "1999-2007"; | 33 | const char *copyright = "1999-2007"; |
34 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 34 | const char *email = "devel@monitoring-plugins.org"; |
35 | 35 | ||
36 | #include "common.h" | 36 | #include "common.h" |
37 | #include "utils.h" | 37 | #include "utils.h" |
@@ -356,7 +356,7 @@ print_help (void) | |||
356 | printf (" %s\n", _("This plugin is useful for monitoring MRTG data that does not correspond to")); | 356 | printf (" %s\n", _("This plugin is useful for monitoring MRTG data that does not correspond to")); |
357 | printf (" %s\n", _("bandwidth usage. (Use the check_mrtgtraf plugin for monitoring bandwidth).")); | 357 | printf (" %s\n", _("bandwidth usage. (Use the check_mrtgtraf plugin for monitoring bandwidth).")); |
358 | printf (" %s\n", _("It can be used to monitor any kind of data that MRTG is monitoring - errors,")); | 358 | printf (" %s\n", _("It can be used to monitor any kind of data that MRTG is monitoring - errors,")); |
359 | printf (" %s\n", _("packets/sec, etc. I use MRTG in conjuction with the Novell NLM that allows")); | 359 | printf (" %s\n", _("packets/sec, etc. I use MRTG in conjunction with the Novell NLM that allows")); |
360 | printf (" %s\n", _("me to track processor utilization, user connections, drive space, etc and")); | 360 | printf (" %s\n", _("me to track processor utilization, user connections, drive space, etc and")); |
361 | printf (" %s\n\n", _("this plugin works well for monitoring that kind of data as well.")); | 361 | printf (" %s\n\n", _("this plugin works well for monitoring that kind of data as well.")); |
362 | 362 | ||
diff --git a/plugins/check_mrtgtraf.c b/plugins/check_mrtgtraf.c index a822651..32ba050 100644 --- a/plugins/check_mrtgtraf.c +++ b/plugins/check_mrtgtraf.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_mrtgtraf plugin | 3 | * Monitoring check_mrtgtraf plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 1999-2007 Nagios Plugins Development Team | 6 | * Copyright (c) 1999-2007 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -34,7 +34,7 @@ | |||
34 | 34 | ||
35 | const char *progname = "check_mrtgtraf"; | 35 | const char *progname = "check_mrtgtraf"; |
36 | const char *copyright = "1999-2007"; | 36 | const char *copyright = "1999-2007"; |
37 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 37 | const char *email = "devel@monitoring-plugins.org"; |
38 | 38 | ||
39 | int process_arguments (int, char **); | 39 | int process_arguments (int, char **); |
40 | int validate_arguments (void); | 40 | int validate_arguments (void); |
diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c index db670e2..4f09e5f 100644 --- a/plugins/check_mysql.c +++ b/plugins/check_mysql.c | |||
@@ -1,11 +1,11 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_mysql plugin | 3 | * Monitoring check_mysql plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 1999 Didi Rieder (adrieder@sbox.tu-graz.ac.at) | 6 | * Copyright (c) 1999 Didi Rieder (adrieder@sbox.tu-graz.ac.at) |
7 | * Copyright (c) 2000 Karl DeBisschop (kdebisschop@users.sourceforge.net) | 7 | * Copyright (c) 2000 Karl DeBisschop (kdebisschop@users.sourceforge.net) |
8 | * Copyright (c) 1999-2011 Nagios Plugins Development Team | 8 | * Copyright (c) 1999-2011 Monitoring Plugins Development Team |
9 | * | 9 | * |
10 | * Description: | 10 | * Description: |
11 | * | 11 | * |
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | const char *progname = "check_mysql"; | 33 | const char *progname = "check_mysql"; |
34 | const char *copyright = "1999-2011"; | 34 | const char *copyright = "1999-2011"; |
35 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 35 | const char *email = "devel@monitoring-plugins.org"; |
36 | 36 | ||
37 | #define SLAVERESULTSIZE 70 | 37 | #define SLAVERESULTSIZE 70 |
38 | 38 | ||
@@ -476,12 +476,6 @@ validate_arguments (void) | |||
476 | if (db_user == NULL) | 476 | if (db_user == NULL) |
477 | db_user = strdup(""); | 477 | db_user = strdup(""); |
478 | 478 | ||
479 | if (opt_file == NULL) | ||
480 | opt_file = strdup(""); | ||
481 | |||
482 | if (opt_group == NULL) | ||
483 | opt_group = strdup(""); | ||
484 | |||
485 | if (db_host == NULL) | 479 | if (db_host == NULL) |
486 | db_host = strdup(""); | 480 | db_host = strdup(""); |
487 | 481 | ||
diff --git a/plugins/check_mysql_query.c b/plugins/check_mysql_query.c index 0bb83c3..71ab776 100644 --- a/plugins/check_mysql_query.c +++ b/plugins/check_mysql_query.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_mysql_query plugin | 3 | * Monitoring check_mysql_query plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2006-2009 Nagios Plugins Development Team | 6 | * Copyright (c) 2006-2009 Monitoring Plugins Development Team |
7 | * Original code from check_mysql, copyright 1999 Didi Rieder | 7 | * Original code from check_mysql, copyright 1999 Didi Rieder |
8 | * | 8 | * |
9 | * Description: | 9 | * Description: |
@@ -31,7 +31,7 @@ | |||
31 | 31 | ||
32 | const char *progname = "check_mysql_query"; | 32 | const char *progname = "check_mysql_query"; |
33 | const char *copyright = "1999-2007"; | 33 | const char *copyright = "1999-2007"; |
34 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 34 | const char *email = "devel@monitoring-plugins.org"; |
35 | 35 | ||
36 | #include "common.h" | 36 | #include "common.h" |
37 | #include "utils.h" | 37 | #include "utils.h" |
@@ -46,6 +46,8 @@ char *db_host = NULL; | |||
46 | char *db_socket = NULL; | 46 | char *db_socket = NULL; |
47 | char *db_pass = NULL; | 47 | char *db_pass = NULL; |
48 | char *db = NULL; | 48 | char *db = NULL; |
49 | char *opt_file = NULL; | ||
50 | char *opt_group = NULL; | ||
49 | unsigned int db_port = MYSQL_PORT; | 51 | unsigned int db_port = MYSQL_PORT; |
50 | 52 | ||
51 | int process_arguments (int, char **); | 53 | int process_arguments (int, char **); |
@@ -83,7 +85,13 @@ main (int argc, char **argv) | |||
83 | /* initialize mysql */ | 85 | /* initialize mysql */ |
84 | mysql_init (&mysql); | 86 | mysql_init (&mysql); |
85 | 87 | ||
86 | mysql_options(&mysql,MYSQL_READ_DEFAULT_GROUP,"client"); | 88 | if (opt_file != NULL) |
89 | mysql_options(&mysql,MYSQL_READ_DEFAULT_FILE,opt_file); | ||
90 | |||
91 | if (opt_group != NULL) | ||
92 | mysql_options(&mysql,MYSQL_READ_DEFAULT_GROUP,opt_group); | ||
93 | else | ||
94 | mysql_options(&mysql,MYSQL_READ_DEFAULT_GROUP,"client"); | ||
87 | 95 | ||
88 | /* establish a connection to the server and error checking */ | 96 | /* establish a connection to the server and error checking */ |
89 | if (!mysql_real_connect(&mysql,db_host,db_user,db_pass,db,db_port,db_socket,0)) { | 97 | if (!mysql_real_connect(&mysql,db_host,db_user,db_pass,db,db_port,db_socket,0)) { |
@@ -152,7 +160,13 @@ main (int argc, char **argv) | |||
152 | } else if (status == STATE_CRITICAL) { | 160 | } else if (status == STATE_CRITICAL) { |
153 | printf("QUERY %s: ", _("CRITICAL")); | 161 | printf("QUERY %s: ", _("CRITICAL")); |
154 | } | 162 | } |
155 | printf(_("'%s' returned %f"), sql_query, value); | 163 | printf(_("'%s' returned %f | %s"), sql_query, value, |
164 | fperfdata("result", value, "", | ||
165 | my_thresholds->warning?TRUE:FALSE, my_thresholds->warning?my_thresholds->warning->end:0, | ||
166 | my_thresholds->critical?TRUE:FALSE, my_thresholds->critical?my_thresholds->critical->end:0, | ||
167 | FALSE, 0, | ||
168 | FALSE, 0) | ||
169 | ); | ||
156 | printf("\n"); | 170 | printf("\n"); |
157 | 171 | ||
158 | return status; | 172 | return status; |
@@ -174,6 +188,8 @@ process_arguments (int argc, char **argv) | |||
174 | {"database", required_argument, 0, 'd'}, | 188 | {"database", required_argument, 0, 'd'}, |
175 | {"username", required_argument, 0, 'u'}, | 189 | {"username", required_argument, 0, 'u'}, |
176 | {"password", required_argument, 0, 'p'}, | 190 | {"password", required_argument, 0, 'p'}, |
191 | {"file", required_argument, 0, 'f'}, | ||
192 | {"group", required_argument, 0, 'g'}, | ||
177 | {"port", required_argument, 0, 'P'}, | 193 | {"port", required_argument, 0, 'P'}, |
178 | {"verbose", no_argument, 0, 'v'}, | 194 | {"verbose", no_argument, 0, 'v'}, |
179 | {"version", no_argument, 0, 'V'}, | 195 | {"version", no_argument, 0, 'V'}, |
@@ -188,7 +204,7 @@ process_arguments (int argc, char **argv) | |||
188 | return ERROR; | 204 | return ERROR; |
189 | 205 | ||
190 | while (1) { | 206 | while (1) { |
191 | c = getopt_long (argc, argv, "hvVP:p:u:d:H:s:q:w:c:", longopts, &option); | 207 | c = getopt_long (argc, argv, "hvVP:p:u:d:H:s:q:w:c:f:g:", longopts, &option); |
192 | 208 | ||
193 | if (c == -1 || c == EOF) | 209 | if (c == -1 || c == EOF) |
194 | break; | 210 | break; |
@@ -220,6 +236,12 @@ process_arguments (int argc, char **argv) | |||
220 | optarg++; | 236 | optarg++; |
221 | } | 237 | } |
222 | break; | 238 | break; |
239 | case 'f': /* client options file */ | ||
240 | opt_file = optarg; | ||
241 | break; | ||
242 | case 'g': /* client options group */ | ||
243 | opt_group = optarg; | ||
244 | break; | ||
223 | case 'P': /* critical time threshold */ | 245 | case 'P': /* critical time threshold */ |
224 | db_port = atoi (optarg); | 246 | db_port = atoi (optarg); |
225 | break; | 247 | break; |
@@ -299,6 +321,10 @@ print_help (void) | |||
299 | printf (" %s\n", _("Use the specified socket (has no effect if -H is used)")); | 321 | printf (" %s\n", _("Use the specified socket (has no effect if -H is used)")); |
300 | printf (" -d, --database=STRING\n"); | 322 | printf (" -d, --database=STRING\n"); |
301 | printf (" %s\n", _("Database to check")); | 323 | printf (" %s\n", _("Database to check")); |
324 | printf (" %s\n", "-f, --file=STRING"); | ||
325 | printf (" %s\n", _("Read from the specified client options file")); | ||
326 | printf (" %s\n", "-g, --group=STRING"); | ||
327 | printf (" %s\n", _("Use a client options group")); | ||
302 | printf (" -u, --username=STRING\n"); | 328 | printf (" -u, --username=STRING\n"); |
303 | printf (" %s\n", _("Username to login with")); | 329 | printf (" %s\n", _("Username to login with")); |
304 | printf (" -p, --password=STRING\n"); | 330 | printf (" -p, --password=STRING\n"); |
@@ -324,5 +350,5 @@ print_usage (void) | |||
324 | { | 350 | { |
325 | printf ("%s\n", _("Usage:")); | 351 | printf ("%s\n", _("Usage:")); |
326 | printf (" %s -q SQL_query [-w warn] [-c crit] [-H host] [-P port] [-s socket]\n",progname); | 352 | printf (" %s -q SQL_query [-w warn] [-c crit] [-H host] [-P port] [-s socket]\n",progname); |
327 | printf (" [-d database] [-u user] [-p password]\n"); | 353 | printf (" [-d database] [-u user] [-p password] [-f optfile] [-g group]\n"); |
328 | } | 354 | } |
diff --git a/plugins/check_nagios.c b/plugins/check_nagios.c index 4fd6342..791b6db 100644 --- a/plugins/check_nagios.c +++ b/plugins/check_nagios.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_nagios plugin | 3 | * Monitoring check_nagios plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 1999-2007 Nagios Plugins Development Team | 6 | * Copyright (c) 1999-2007 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -34,7 +34,7 @@ | |||
34 | 34 | ||
35 | const char *progname = "check_nagios"; | 35 | const char *progname = "check_nagios"; |
36 | const char *copyright = "1999-2007"; | 36 | const char *copyright = "1999-2007"; |
37 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 37 | const char *email = "devel@monitoring-plugins.org"; |
38 | 38 | ||
39 | #include "common.h" | 39 | #include "common.h" |
40 | #include "runcmd.h" | 40 | #include "runcmd.h" |
diff --git a/plugins/check_nt.c b/plugins/check_nt.c index 52bbd1c..fefbfb7 100644 --- a/plugins/check_nt.c +++ b/plugins/check_nt.c | |||
@@ -1,10 +1,10 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_nt plugin | 3 | * Monitoring check_nt plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2000-2002 Yves Rubin (rubiyz@yahoo.com) | 6 | * Copyright (c) 2000-2002 Yves Rubin (rubiyz@yahoo.com) |
7 | * Copyright (c) 2003-2007 Nagios Plugins Development Team | 7 | * Copyright (c) 2003-2007 Monitoring Plugins Development Team |
8 | * | 8 | * |
9 | * Description: | 9 | * Description: |
10 | * | 10 | * |
@@ -34,7 +34,7 @@ | |||
34 | 34 | ||
35 | const char *progname = "check_nt"; | 35 | const char *progname = "check_nt"; |
36 | const char *copyright = "2000-2007"; | 36 | const char *copyright = "2000-2007"; |
37 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 37 | const char *email = "devel@monitoring-plugins.org"; |
38 | 38 | ||
39 | #include "common.h" | 39 | #include "common.h" |
40 | #include "netutils.h" | 40 | #include "netutils.h" |
@@ -203,7 +203,7 @@ int main(int argc, char **argv){ | |||
203 | updays = uptime / 86400; | 203 | updays = uptime / 86400; |
204 | uphours = (uptime % 86400) / 3600; | 204 | uphours = (uptime % 86400) / 3600; |
205 | upminutes = ((uptime % 86400) % 3600) / 60; | 205 | upminutes = ((uptime % 86400) % 3600) / 60; |
206 | xasprintf(&output_message,_("System Uptime - %u day(s) %u hour(s) %u minute(s)"),updays,uphours, upminutes); | 206 | xasprintf(&output_message,_("System Uptime - %u day(s) %u hour(s) %u minute(s)|uptime=%lu"), updays, uphours, upminutes, uptime); |
207 | if (check_critical_value==TRUE && uptime <= critical_value) | 207 | if (check_critical_value==TRUE && uptime <= critical_value) |
208 | return_code=STATE_CRITICAL; | 208 | return_code=STATE_CRITICAL; |
209 | else if (check_warning_value==TRUE && uptime <= warning_value) | 209 | else if (check_warning_value==TRUE && uptime <= warning_value) |
@@ -293,10 +293,10 @@ int main(int argc, char **argv){ | |||
293 | 293 | ||
294 | /* Divisor should be 1048567, not 3044515, as we are measuring "Commit Charge" here, | 294 | /* Divisor should be 1048567, not 3044515, as we are measuring "Commit Charge" here, |
295 | which equals RAM + Pagefiles. */ | 295 | which equals RAM + Pagefiles. */ |
296 | xasprintf(&output_message,_("Memory usage: total:%.2f Mb - used: %.2f Mb (%.0f%%) - free: %.2f Mb (%.0f%%)"), | 296 | xasprintf(&output_message,_("Memory usage: total:%.2f MB - used: %.2f MB (%.0f%%) - free: %.2f MB (%.0f%%)"), |
297 | mem_commitLimit / 1048567, mem_commitByte / 1048567, percent_used_space, | 297 | mem_commitLimit / 1048567, mem_commitByte / 1048567, percent_used_space, |
298 | (mem_commitLimit - mem_commitByte) / 1048567, (mem_commitLimit - mem_commitByte) / mem_commitLimit * 100); | 298 | (mem_commitLimit - mem_commitByte) / 1048567, (mem_commitLimit - mem_commitByte) / mem_commitLimit * 100); |
299 | xasprintf(&perfdata,_("'Memory usage'=%.2fMb;%.2f;%.2f;0.00;%.2f"), mem_commitByte / 1048567, | 299 | xasprintf(&perfdata,_("'Memory usage'=%.2fMB;%.2f;%.2f;0.00;%.2f"), mem_commitByte / 1048567, |
300 | warning_used_space / 1048567, critical_used_space / 1048567, mem_commitLimit / 1048567); | 300 | warning_used_space / 1048567, critical_used_space / 1048567, mem_commitLimit / 1048567); |
301 | 301 | ||
302 | return_code=STATE_OK; | 302 | return_code=STATE_OK; |
@@ -750,7 +750,7 @@ void print_help(void) | |||
750 | printf (" %s\n", _("The purpose of this is to be run from command line to determine what instances")); | 750 | printf (" %s\n", _("The purpose of this is to be run from command line to determine what instances")); |
751 | printf (" %s\n", _(" are available for monitoring without having to log onto the Windows server")); | 751 | printf (" %s\n", _(" are available for monitoring without having to log onto the Windows server")); |
752 | printf (" %s\n", _(" to run Perfmon directly.")); | 752 | printf (" %s\n", _(" to run Perfmon directly.")); |
753 | printf (" %s\n", _("It can also be used in scripts that automatically create Nagios service")); | 753 | printf (" %s\n", _("It can also be used in scripts that automatically create the monitoring service")); |
754 | printf (" %s\n", _(" configuration files.")); | 754 | printf (" %s\n", _(" configuration files.")); |
755 | printf (" %s\n", _("Some examples:")); | 755 | printf (" %s\n", _("Some examples:")); |
756 | printf (" %s\n\n", _("check_nt -H 192.168.1.1 -p 1248 -v INSTANCES -l Process")); | 756 | printf (" %s\n\n", _("check_nt -H 192.168.1.1 -p 1248 -v INSTANCES -l Process")); |
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c index 16be7c5..09a923e 100644 --- a/plugins/check_ntp.c +++ b/plugins/check_ntp.c | |||
@@ -1,10 +1,10 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_ntp plugin | 3 | * Monitoring check_ntp plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2006 Sean Finney <seanius@seanius.net> | 6 | * Copyright (c) 2006 Sean Finney <seanius@seanius.net> |
7 | * Copyright (c) 2006-2008 Nagios Plugins Development Team | 7 | * Copyright (c) 2006-2008 Monitoring Plugins Development Team |
8 | * | 8 | * |
9 | * Description: | 9 | * Description: |
10 | * | 10 | * |
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | const char *progname = "check_ntp"; | 33 | const char *progname = "check_ntp"; |
34 | const char *copyright = "2006-2008"; | 34 | const char *copyright = "2006-2008"; |
35 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 35 | const char *email = "devel@monitoring-plugins.org"; |
36 | 36 | ||
37 | #include "common.h" | 37 | #include "common.h" |
38 | #include "netutils.h" | 38 | #include "netutils.h" |
@@ -54,7 +54,9 @@ void print_help (void); | |||
54 | void print_usage (void); | 54 | void print_usage (void); |
55 | 55 | ||
56 | /* number of times to perform each request to get a good average. */ | 56 | /* number of times to perform each request to get a good average. */ |
57 | #ifndef AVG_NUM | ||
57 | #define AVG_NUM 4 | 58 | #define AVG_NUM 4 |
59 | #endif | ||
58 | 60 | ||
59 | /* max size of control message data */ | 61 | /* max size of control message data */ |
60 | #define MAX_CM_SIZE 468 | 62 | #define MAX_CM_SIZE 468 |
@@ -480,7 +482,7 @@ double offset_request(const char *host, int *status){ | |||
480 | } else { | 482 | } else { |
481 | /* finally, calculate the average offset */ | 483 | /* finally, calculate the average offset */ |
482 | for(i=0; i<servers[best_index].num_responses;i++){ | 484 | for(i=0; i<servers[best_index].num_responses;i++){ |
483 | avg_offset+=servers[best_index].offset[j]; | 485 | avg_offset+=servers[best_index].offset[i]; |
484 | } | 486 | } |
485 | avg_offset/=servers[best_index].num_responses; | 487 | avg_offset/=servers[best_index].num_responses; |
486 | } | 488 | } |
@@ -515,13 +517,14 @@ setup_control_request(ntp_control_message *p, uint8_t opcode, uint16_t seq){ | |||
515 | double jitter_request(const char *host, int *status){ | 517 | double jitter_request(const char *host, int *status){ |
516 | int conn=-1, i, npeers=0, num_candidates=0, syncsource_found=0; | 518 | int conn=-1, i, npeers=0, num_candidates=0, syncsource_found=0; |
517 | int run=0, min_peer_sel=PEER_INCLUDED, num_selected=0, num_valid=0; | 519 | int run=0, min_peer_sel=PEER_INCLUDED, num_selected=0, num_valid=0; |
518 | int peers_size=0, peer_offset=0; | 520 | int peers_size=0, peer_offset=0, bytes_read=0; |
519 | ntp_assoc_status_pair *peers=NULL; | 521 | ntp_assoc_status_pair *peers=NULL; |
520 | ntp_control_message req; | 522 | ntp_control_message req; |
521 | const char *getvar = "jitter"; | 523 | const char *getvar = "jitter"; |
522 | double rval = 0.0, jitter = -1.0; | 524 | double rval = 0.0, jitter = -1.0; |
523 | char *startofvalue=NULL, *nptr=NULL; | 525 | char *startofvalue=NULL, *nptr=NULL; |
524 | void *tmp; | 526 | void *tmp; |
527 | int ntp_cm_ints = sizeof(uint16_t) * 5 + sizeof(uint8_t) * 2; | ||
525 | 528 | ||
526 | /* Long-winded explanation: | 529 | /* Long-winded explanation: |
527 | * Getting the jitter requires a number of steps: | 530 | * Getting the jitter requires a number of steps: |
@@ -606,7 +609,15 @@ double jitter_request(const char *host, int *status){ | |||
606 | 609 | ||
607 | req.count = htons(MAX_CM_SIZE); | 610 | req.count = htons(MAX_CM_SIZE); |
608 | DBG(printf("recieving READVAR response...\n")); | 611 | DBG(printf("recieving READVAR response...\n")); |
609 | read(conn, &req, SIZEOF_NTPCM(req)); | 612 | |
613 | /* cov-66524 - req.data not null terminated before usage. Also covers verifying struct was returned correctly*/ | ||
614 | if ((bytes_read = read(conn, &req, SIZEOF_NTPCM(req))) == -1) | ||
615 | die(STATE_UNKNOWN, _("Cannot read from socket: %s"), strerror(errno)); | ||
616 | if (bytes_read != ntp_cm_ints + req.count) | ||
617 | die(STATE_UNKNOWN, _("Invalid NTP response: %d bytes read does not equal %d plus %d data segment"), bytes_read, ntp_cm_ints, req.count); | ||
618 | /* else null terminate */ | ||
619 | strncpy(req.data[req.count], "\0", 1); | ||
620 | |||
610 | DBG(print_ntp_control_message(&req)); | 621 | DBG(print_ntp_control_message(&req)); |
611 | 622 | ||
612 | if(req.op&REM_ERROR && strstr(getvar, "jitter")) { | 623 | if(req.op&REM_ERROR && strstr(getvar, "jitter")) { |
@@ -858,7 +869,7 @@ void print_help(void){ | |||
858 | printf (" %s\n", _("Warning threshold for jitter")); | 869 | printf (" %s\n", _("Warning threshold for jitter")); |
859 | printf (" %s\n", "-k, --jcrit=THRESHOLD"); | 870 | printf (" %s\n", "-k, --jcrit=THRESHOLD"); |
860 | printf (" %s\n", _("Critical threshold for jitter")); | 871 | printf (" %s\n", _("Critical threshold for jitter")); |
861 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); | 872 | printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
862 | printf (UT_VERBOSE); | 873 | printf (UT_VERBOSE); |
863 | 874 | ||
864 | printf("\n"); | 875 | printf("\n"); |
diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c index 76152e1..8dc1978 100644 --- a/plugins/check_ntp_peer.c +++ b/plugins/check_ntp_peer.c | |||
@@ -1,10 +1,10 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_ntp_peer plugin | 3 | * Monitoring check_ntp_peer plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2006 Sean Finney <seanius@seanius.net> | 6 | * Copyright (c) 2006 Sean Finney <seanius@seanius.net> |
7 | * Copyright (c) 2006-2008 Nagios Plugins Development Team | 7 | * Copyright (c) 2006-2008 Monitoring Plugins Development Team |
8 | * | 8 | * |
9 | * Description: | 9 | * Description: |
10 | * | 10 | * |
@@ -37,7 +37,7 @@ | |||
37 | 37 | ||
38 | const char *progname = "check_ntp_peer"; | 38 | const char *progname = "check_ntp_peer"; |
39 | const char *copyright = "2006-2008"; | 39 | const char *copyright = "2006-2008"; |
40 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 40 | const char *email = "devel@monitoring-plugins.org"; |
41 | 41 | ||
42 | #include "common.h" | 42 | #include "common.h" |
43 | #include "netutils.h" | 43 | #include "netutils.h" |
@@ -686,7 +686,7 @@ void print_help(void){ | |||
686 | printf (" %s\n", _("Warning threshold for number of usable time sources (\"truechimers\")")); | 686 | printf (" %s\n", _("Warning threshold for number of usable time sources (\"truechimers\")")); |
687 | printf (" %s\n", "-n, --tcrit=THRESHOLD"); | 687 | printf (" %s\n", "-n, --tcrit=THRESHOLD"); |
688 | printf (" %s\n", _("Critical threshold for number of usable time sources (\"truechimers\")")); | 688 | printf (" %s\n", _("Critical threshold for number of usable time sources (\"truechimers\")")); |
689 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); | 689 | printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
690 | printf (UT_VERBOSE); | 690 | printf (UT_VERBOSE); |
691 | 691 | ||
692 | printf("\n"); | 692 | printf("\n"); |
diff --git a/plugins/check_ntp_time.c b/plugins/check_ntp_time.c index bbcaa0b..72dffbd 100644 --- a/plugins/check_ntp_time.c +++ b/plugins/check_ntp_time.c | |||
@@ -1,10 +1,10 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_ntp_time plugin | 3 | * Monitoring check_ntp_time plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2006 Sean Finney <seanius@seanius.net> | 6 | * Copyright (c) 2006 Sean Finney <seanius@seanius.net> |
7 | * Copyright (c) 2006-2008 Nagios Plugins Development Team | 7 | * Copyright (c) 2006-2008 Monitoring Plugins Development Team |
8 | * | 8 | * |
9 | * Description: | 9 | * Description: |
10 | * | 10 | * |
@@ -36,7 +36,7 @@ | |||
36 | 36 | ||
37 | const char *progname = "check_ntp_time"; | 37 | const char *progname = "check_ntp_time"; |
38 | const char *copyright = "2006-2008"; | 38 | const char *copyright = "2006-2008"; |
39 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 39 | const char *email = "devel@monitoring-plugins.org"; |
40 | 40 | ||
41 | #include "common.h" | 41 | #include "common.h" |
42 | #include "netutils.h" | 42 | #include "netutils.h" |
@@ -55,7 +55,9 @@ void print_help (void); | |||
55 | void print_usage (void); | 55 | void print_usage (void); |
56 | 56 | ||
57 | /* number of times to perform each request to get a good average. */ | 57 | /* number of times to perform each request to get a good average. */ |
58 | #ifndef AVG_NUM | ||
58 | #define AVG_NUM 4 | 59 | #define AVG_NUM 4 |
60 | #endif | ||
59 | 61 | ||
60 | /* max size of control message data */ | 62 | /* max size of control message data */ |
61 | #define MAX_CM_SIZE 468 | 63 | #define MAX_CM_SIZE 468 |
@@ -426,7 +428,7 @@ double offset_request(const char *host, int *status){ | |||
426 | } else { | 428 | } else { |
427 | /* finally, calculate the average offset */ | 429 | /* finally, calculate the average offset */ |
428 | for(i=0; i<servers[best_index].num_responses;i++){ | 430 | for(i=0; i<servers[best_index].num_responses;i++){ |
429 | avg_offset+=servers[best_index].offset[j]; | 431 | avg_offset+=servers[best_index].offset[i]; |
430 | } | 432 | } |
431 | avg_offset/=servers[best_index].num_responses; | 433 | avg_offset/=servers[best_index].num_responses; |
432 | } | 434 | } |
@@ -614,7 +616,7 @@ void print_help(void){ | |||
614 | printf (" %s\n", _("Offset to result in warning status (seconds)")); | 616 | printf (" %s\n", _("Offset to result in warning status (seconds)")); |
615 | printf (" %s\n", "-c, --critical=THRESHOLD"); | 617 | printf (" %s\n", "-c, --critical=THRESHOLD"); |
616 | printf (" %s\n", _("Offset to result in critical status (seconds)")); | 618 | printf (" %s\n", _("Offset to result in critical status (seconds)")); |
617 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); | 619 | printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
618 | printf (UT_VERBOSE); | 620 | printf (UT_VERBOSE); |
619 | 621 | ||
620 | printf("\n"); | 622 | printf("\n"); |
diff --git a/plugins/check_nwstat.c b/plugins/check_nwstat.c index 6ebe8f8..1a7bfa1 100644 --- a/plugins/check_nwstat.c +++ b/plugins/check_nwstat.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_nwstat plugin | 3 | * Monitoring check_nwstat plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2000-2007 Nagios Plugins Development Team | 6 | * Copyright (c) 2000-2007 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -31,7 +31,7 @@ | |||
31 | 31 | ||
32 | const char *progname = "check_nwstat"; | 32 | const char *progname = "check_nwstat"; |
33 | const char *copyright = "2000-2007"; | 33 | const char *copyright = "2000-2007"; |
34 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 34 | const char *email = "devel@monitoring-plugins.org"; |
35 | 35 | ||
36 | #include "common.h" | 36 | #include "common.h" |
37 | #include "netutils.h" | 37 | #include "netutils.h" |
@@ -1664,7 +1664,7 @@ void print_help(void) | |||
1664 | printf (" %s\n", "-o, --osversion"); | 1664 | printf (" %s\n", "-o, --osversion"); |
1665 | printf (" %s\n", _("Include server version string in results")); | 1665 | printf (" %s\n", _("Include server version string in results")); |
1666 | 1666 | ||
1667 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); | 1667 | printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
1668 | 1668 | ||
1669 | printf ("\n"); | 1669 | printf ("\n"); |
1670 | printf ("%s\n", _("Notes:")); | 1670 | printf ("%s\n", _("Notes:")); |
diff --git a/plugins/check_overcr.c b/plugins/check_overcr.c index 95977e9..af5eb9b 100644 --- a/plugins/check_overcr.c +++ b/plugins/check_overcr.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_overcr plugin | 3 | * Monitoring check_overcr plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2000-2007 Nagios Plugins Development Team | 6 | * Copyright (c) 2000-2007 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -31,7 +31,7 @@ | |||
31 | 31 | ||
32 | const char *progname = "check_overcr"; | 32 | const char *progname = "check_overcr"; |
33 | const char *copyright = "2000-2007"; | 33 | const char *copyright = "2000-2007"; |
34 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 34 | const char *email = "devel@monitoring-plugins.org"; |
35 | 35 | ||
36 | #include "common.h" | 36 | #include "common.h" |
37 | #include "netutils.h" | 37 | #include "netutils.h" |
@@ -442,7 +442,7 @@ print_help (void) | |||
442 | printf (" %s\n", _("NET<port> = number of active connections on TCP port <port>")); | 442 | printf (" %s\n", _("NET<port> = number of active connections on TCP port <port>")); |
443 | printf (" %s\n", _("UPTIME = system uptime in seconds")); | 443 | printf (" %s\n", _("UPTIME = system uptime in seconds")); |
444 | 444 | ||
445 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); | 445 | printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
446 | 446 | ||
447 | printf (UT_VERBOSE); | 447 | printf (UT_VERBOSE); |
448 | 448 | ||
diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c index 324bd5f..9bad1ec 100644 --- a/plugins/check_pgsql.c +++ b/plugins/check_pgsql.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_pgsql plugin | 3 | * Monitoring check_pgsql plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 1999-2011 Nagios Plugins Development Team | 6 | * Copyright (c) 1999-2011 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | const char *progname = "check_pgsql"; | 31 | const char *progname = "check_pgsql"; |
32 | const char *copyright = "1999-2011"; | 32 | const char *copyright = "1999-2011"; |
33 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 33 | const char *email = "devel@monitoring-plugins.org"; |
34 | 34 | ||
35 | #include "common.h" | 35 | #include "common.h" |
36 | #include "utils.h" | 36 | #include "utils.h" |
@@ -514,7 +514,7 @@ print_help (void) | |||
514 | 514 | ||
515 | printf (" %s\n", "-d, --database=STRING"); | 515 | printf (" %s\n", "-d, --database=STRING"); |
516 | printf (" %s", _("Database to check ")); | 516 | printf (" %s", _("Database to check ")); |
517 | printf (_("(default: %s)"), DEFAULT_DB); | 517 | printf (_("(default: %s)\n"), DEFAULT_DB); |
518 | printf (" %s\n", "-l, --logname = STRING"); | 518 | printf (" %s\n", "-l, --logname = STRING"); |
519 | printf (" %s\n", _("Login name of user")); | 519 | printf (" %s\n", _("Login name of user")); |
520 | printf (" %s\n", "-p, --password = STRING"); | 520 | printf (" %s\n", "-p, --password = STRING"); |
@@ -524,7 +524,7 @@ print_help (void) | |||
524 | 524 | ||
525 | printf (UT_WARN_CRIT); | 525 | printf (UT_WARN_CRIT); |
526 | 526 | ||
527 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); | 527 | printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
528 | 528 | ||
529 | printf (" %s\n", "-q, --query=STRING"); | 529 | printf (" %s\n", "-q, --query=STRING"); |
530 | printf (" %s\n", _("SQL query to run. Only first column in first row will be read")); | 530 | printf (" %s\n", _("SQL query to run. Only first column in first row will be read")); |
@@ -563,7 +563,7 @@ print_help (void) | |||
563 | printf (" %s\n", _("connect to a remote host, be sure that the remote postmaster accepts TCP/IP")); | 563 | printf (" %s\n", _("connect to a remote host, be sure that the remote postmaster accepts TCP/IP")); |
564 | printf (" %s\n\n", _("connections (start the postmaster with the -i option).")); | 564 | printf (" %s\n\n", _("connections (start the postmaster with the -i option).")); |
565 | 565 | ||
566 | printf (" %s\n", _("Typically, the nagios user (unless the --logname option is used) should be")); | 566 | printf (" %s\n", _("Typically, the monitoring user (unless the --logname option is used) should be")); |
567 | printf (" %s\n", _("able to connect to the database without a password. The plugin can also send")); | 567 | printf (" %s\n", _("able to connect to the database without a password. The plugin can also send")); |
568 | printf (" %s\n", _("a password, but no effort is made to obsure or encrypt the password.")); | 568 | printf (" %s\n", _("a password, but no effort is made to obsure or encrypt the password.")); |
569 | 569 | ||
diff --git a/plugins/check_ping.c b/plugins/check_ping.c index eef2195..dbc5c3e 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_ping plugin | 3 | * Monitoring check_ping plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2000-2007 Nagios Plugins Development Team | 6 | * Copyright (c) 2000-2007 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | const char *progname = "check_ping"; | 31 | const char *progname = "check_ping"; |
32 | const char *copyright = "2000-2007"; | 32 | const char *copyright = "2000-2007"; |
33 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 33 | const char *email = "devel@monitoring-plugins.org"; |
34 | 34 | ||
35 | #include "common.h" | 35 | #include "common.h" |
36 | #include "netutils.h" | 36 | #include "netutils.h" |
@@ -458,7 +458,8 @@ run_ping (const char *cmd, const char *addr) | |||
458 | (sscanf(buf,"%*d packets transmitted, %*d received, %d%% loss, time%n",&pl,&match) && match) || | 458 | (sscanf(buf,"%*d packets transmitted, %*d received, %d%% loss, time%n",&pl,&match) && match) || |
459 | (sscanf(buf,"%*d packets transmitted, %*d received, %d%% packet loss, time%n",&pl,&match) && match) || | 459 | (sscanf(buf,"%*d packets transmitted, %*d received, %d%% packet loss, time%n",&pl,&match) && match) || |
460 | (sscanf(buf,"%*d packets transmitted, %*d received, +%*d errors, %d%% packet loss%n",&pl,&match) && match) || | 460 | (sscanf(buf,"%*d packets transmitted, %*d received, +%*d errors, %d%% packet loss%n",&pl,&match) && match) || |
461 | (sscanf(buf,"%*d packets transmitted %*d received, +%*d errors, %d%% packet loss%n",&pl,&match) && match) | 461 | (sscanf(buf,"%*d packets transmitted %*d received, +%*d errors, %d%% packet loss%n",&pl,&match) && match) || |
462 | (sscanf(buf,"%*[^(](%d%% %*[^)])%n",&pl,&match) && match) | ||
462 | ) | 463 | ) |
463 | continue; | 464 | continue; |
464 | 465 | ||
@@ -471,7 +472,9 @@ run_ping (const char *cmd, const char *addr) | |||
471 | (sscanf(buf,"round-trip min/avg/max/std-dev = %*f/%f/%*f/%*f%n",&rta,&match) && match) || | 472 | (sscanf(buf,"round-trip min/avg/max/std-dev = %*f/%f/%*f/%*f%n",&rta,&match) && match) || |
472 | (sscanf(buf,"round-trip (ms) min/avg/max = %*f/%f/%*f%n",&rta,&match) && match) || | 473 | (sscanf(buf,"round-trip (ms) min/avg/max = %*f/%f/%*f%n",&rta,&match) && match) || |
473 | (sscanf(buf,"round-trip (ms) min/avg/max/stddev = %*f/%f/%*f/%*f%n",&rta,&match) && match) || | 474 | (sscanf(buf,"round-trip (ms) min/avg/max/stddev = %*f/%f/%*f/%*f%n",&rta,&match) && match) || |
474 | (sscanf(buf,"rtt min/avg/max/mdev = %*f/%f/%*f/%*f ms%n",&rta,&match) && match)) | 475 | (sscanf(buf,"rtt min/avg/max/mdev = %*f/%f/%*f/%*f ms%n",&rta,&match) && match) || |
476 | (sscanf(buf, "%*[^=] = %*fms, %*[^=] = %*fms, %*[^=] = %fms%n", &rta, &match) && match) | ||
477 | ) | ||
475 | continue; | 478 | continue; |
476 | } | 479 | } |
477 | 480 | ||
@@ -482,7 +485,11 @@ run_ping (const char *cmd, const char *addr) | |||
482 | /* check stderr, setting at least WARNING if there is output here */ | 485 | /* check stderr, setting at least WARNING if there is output here */ |
483 | /* Add warning into warn_text */ | 486 | /* Add warning into warn_text */ |
484 | while (fgets (buf, MAX_INPUT_BUFFER - 1, child_stderr)) { | 487 | while (fgets (buf, MAX_INPUT_BUFFER - 1, child_stderr)) { |
485 | if (! strstr(buf,"WARNING - no SO_TIMESTAMP support, falling back to SIOCGSTAMP")) { | 488 | if ( |
489 | ! strstr(buf,"WARNING - no SO_TIMESTAMP support, falling back to SIOCGSTAMP") | ||
490 | && ! strstr(buf,"Warning: time of day goes back") | ||
491 | |||
492 | ) { | ||
486 | if (verbose >= 3) { | 493 | if (verbose >= 3) { |
487 | printf("Got stderr: %s", buf); | 494 | printf("Got stderr: %s", buf); |
488 | } | 495 | } |
@@ -581,7 +588,7 @@ print_help (void) | |||
581 | printf (" %s\n", "-L, --link"); | 588 | printf (" %s\n", "-L, --link"); |
582 | printf (" %s\n", _("show HTML in the plugin output (obsoleted by urlize)")); | 589 | printf (" %s\n", _("show HTML in the plugin output (obsoleted by urlize)")); |
583 | 590 | ||
584 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); | 591 | printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
585 | 592 | ||
586 | printf ("\n"); | 593 | printf ("\n"); |
587 | printf ("%s\n", _("THRESHOLD is <rta>,<pl>% where <rta> is the round trip average travel")); | 594 | printf ("%s\n", _("THRESHOLD is <rta>,<pl>% where <rta> is the round trip average travel")); |
diff --git a/plugins/check_procs.c b/plugins/check_procs.c index d20b027..402aac5 100644 --- a/plugins/check_procs.c +++ b/plugins/check_procs.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_procs plugin | 3 | * Monitoring check_procs plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2000-2008 Nagios Plugins Development Team | 6 | * Copyright (c) 2000-2008 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -34,7 +34,7 @@ | |||
34 | const char *progname = "check_procs"; | 34 | const char *progname = "check_procs"; |
35 | const char *program_name = "check_procs"; /* Required for coreutils libs */ | 35 | const char *program_name = "check_procs"; /* Required for coreutils libs */ |
36 | const char *copyright = "2000-2008"; | 36 | const char *copyright = "2000-2008"; |
37 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 37 | const char *email = "devel@monitoring-plugins.org"; |
38 | 38 | ||
39 | #include "common.h" | 39 | #include "common.h" |
40 | #include "utils.h" | 40 | #include "utils.h" |
@@ -123,6 +123,7 @@ main (int argc, char **argv) | |||
123 | char *procprog; | 123 | char *procprog; |
124 | 124 | ||
125 | pid_t mypid = 0; | 125 | pid_t mypid = 0; |
126 | pid_t myppid = 0; | ||
126 | struct stat statbuf; | 127 | struct stat statbuf; |
127 | dev_t mydev = 0; | 128 | dev_t mydev = 0; |
128 | ino_t myino = 0; | 129 | ino_t myino = 0; |
@@ -172,6 +173,7 @@ main (int argc, char **argv) | |||
172 | 173 | ||
173 | /* find ourself */ | 174 | /* find ourself */ |
174 | mypid = getpid(); | 175 | mypid = getpid(); |
176 | myppid = getppid(); | ||
175 | if (usepid || stat_exe(mypid, &statbuf) == -1) { | 177 | if (usepid || stat_exe(mypid, &statbuf) == -1) { |
176 | /* usepid might have been set by -T */ | 178 | /* usepid might have been set by -T */ |
177 | usepid = 1; | 179 | usepid = 1; |
@@ -241,6 +243,12 @@ main (int argc, char **argv) | |||
241 | printf("not considering - is myself or gone\n"); | 243 | printf("not considering - is myself or gone\n"); |
242 | continue; | 244 | continue; |
243 | } | 245 | } |
246 | /* Ignore parent*/ | ||
247 | else if (myppid == procpid) { | ||
248 | if (verbose >= 3) | ||
249 | printf("not considering - is parent\n"); | ||
250 | continue; | ||
251 | } | ||
244 | 252 | ||
245 | /* filter kernel threads (childs of KTHREAD_PARENT)*/ | 253 | /* filter kernel threads (childs of KTHREAD_PARENT)*/ |
246 | /* TODO adapt for other OSes than GNU/Linux | 254 | /* TODO adapt for other OSes than GNU/Linux |
@@ -707,7 +715,7 @@ print_help (void) | |||
707 | #if defined( __linux__ ) | 715 | #if defined( __linux__ ) |
708 | printf (" %s\n", _("ELAPSED - time elapsed in seconds")); | 716 | printf (" %s\n", _("ELAPSED - time elapsed in seconds")); |
709 | #endif /* defined(__linux__) */ | 717 | #endif /* defined(__linux__) */ |
710 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); | 718 | printf (UT_PLUG_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
711 | 719 | ||
712 | printf (" %s\n", "-v, --verbose"); | 720 | printf (" %s\n", "-v, --verbose"); |
713 | printf (" %s\n", _("Extra information. Up to 3 verbosity levels")); | 721 | printf (" %s\n", _("Extra information. Up to 3 verbosity levels")); |
diff --git a/plugins/check_radius.c b/plugins/check_radius.c index e54105b..b294347 100644 --- a/plugins/check_radius.c +++ b/plugins/check_radius.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_radius plugin | 3 | * Monitoring check_radius plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 1999-2008 Nagios Plugins Development Team | 6 | * Copyright (c) 1999-2008 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -30,15 +30,16 @@ | |||
30 | 30 | ||
31 | const char *progname = "check_radius"; | 31 | const char *progname = "check_radius"; |
32 | const char *copyright = "2000-2008"; | 32 | const char *copyright = "2000-2008"; |
33 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 33 | const char *email = "devel@monitoring-plugins.org"; |
34 | 34 | ||
35 | #include "common.h" | 35 | #include "common.h" |
36 | #include "utils.h" | 36 | #include "utils.h" |
37 | #include "netutils.h" | 37 | #include "netutils.h" |
38 | 38 | ||
39 | #ifdef HAVE_LIBRADIUSCLIENT_NG | 39 | #if defined(HAVE_LIBFREERADIUS_CLIENT) |
40 | #include <freeradius-client.h> | ||
41 | #elif defined(HAVE_LIBRADIUSCLIENT_NG) | ||
40 | #include <radiusclient-ng.h> | 42 | #include <radiusclient-ng.h> |
41 | rc_handle *rch = NULL; | ||
42 | #else | 43 | #else |
43 | #include <radiusclient.h> | 44 | #include <radiusclient.h> |
44 | #endif | 45 | #endif |
@@ -47,11 +48,14 @@ int process_arguments (int, char **); | |||
47 | void print_help (void); | 48 | void print_help (void); |
48 | void print_usage (void); | 49 | void print_usage (void); |
49 | 50 | ||
50 | /* libradiusclient(-ng) wrapper functions */ | 51 | #if defined(HAVE_LIBFREERADIUS_CLIENT) || defined(HAVE_LIBRADIUSCLIENT_NG) |
51 | #ifdef HAVE_LIBRADIUSCLIENT_NG | ||
52 | #define my_rc_conf_str(a) rc_conf_str(rch,a) | 52 | #define my_rc_conf_str(a) rc_conf_str(rch,a) |
53 | #define my_rc_send_server(a,b) rc_send_server(rch,a,b) | 53 | #define my_rc_send_server(a,b) rc_send_server(rch,a,b) |
54 | #ifdef HAVE_LIBFREERADIUS_CLIENT | ||
55 | #define my_rc_buildreq(a,b,c,d,e,f) rc_buildreq(rch,a,b,c,d,(a)->secret,e,f) | ||
56 | #else | ||
54 | #define my_rc_buildreq(a,b,c,d,e,f) rc_buildreq(rch,a,b,c,d,e,f) | 57 | #define my_rc_buildreq(a,b,c,d,e,f) rc_buildreq(rch,a,b,c,d,e,f) |
58 | #endif | ||
55 | #define my_rc_own_ipaddress() rc_own_ipaddress(rch) | 59 | #define my_rc_own_ipaddress() rc_own_ipaddress(rch) |
56 | #define my_rc_avpair_add(a,b,c,d) rc_avpair_add(rch,a,b,c,-1,d) | 60 | #define my_rc_avpair_add(a,b,c,d) rc_avpair_add(rch,a,b,c,-1,d) |
57 | #define my_rc_read_dictionary(a) rc_read_dictionary(rch, a) | 61 | #define my_rc_read_dictionary(a) rc_read_dictionary(rch, a) |
@@ -72,6 +76,10 @@ void print_usage (void); | |||
72 | 76 | ||
73 | int my_rc_read_config(char *); | 77 | int my_rc_read_config(char *); |
74 | 78 | ||
79 | #if defined(HAVE_LIBFREERADIUS_CLIENT) || defined(HAVE_LIBRADIUSCLIENT_NG) | ||
80 | rc_handle *rch = NULL; | ||
81 | #endif | ||
82 | |||
75 | char *server = NULL; | 83 | char *server = NULL; |
76 | char *username = NULL; | 84 | char *username = NULL; |
77 | char *password = NULL; | 85 | char *password = NULL; |
@@ -142,11 +150,10 @@ Please note that all tags must be lowercase to use the DocBook XML DTD. | |||
142 | int | 150 | int |
143 | main (int argc, char **argv) | 151 | main (int argc, char **argv) |
144 | { | 152 | { |
145 | UINT4 service; | ||
146 | char msg[BUFFER_LEN]; | 153 | char msg[BUFFER_LEN]; |
147 | SEND_DATA data; | 154 | SEND_DATA data; |
148 | int result = STATE_UNKNOWN; | 155 | int result = STATE_UNKNOWN; |
149 | UINT4 client_id; | 156 | uint32_t client_id, service; |
150 | char *str; | 157 | char *str; |
151 | 158 | ||
152 | setlocale (LC_ALL, ""); | 159 | setlocale (LC_ALL, ""); |
@@ -162,7 +169,7 @@ main (int argc, char **argv) | |||
162 | str = strdup ("dictionary"); | 169 | str = strdup ("dictionary"); |
163 | if ((config_file && my_rc_read_config (config_file)) || | 170 | if ((config_file && my_rc_read_config (config_file)) || |
164 | my_rc_read_dictionary (my_rc_conf_str (str))) | 171 | my_rc_read_dictionary (my_rc_conf_str (str))) |
165 | die (STATE_UNKNOWN, _("Config file error")); | 172 | die (STATE_UNKNOWN, _("Config file error\n")); |
166 | 173 | ||
167 | service = PW_AUTHENTICATE_ONLY; | 174 | service = PW_AUTHENTICATE_ONLY; |
168 | 175 | ||
@@ -171,24 +178,24 @@ main (int argc, char **argv) | |||
171 | my_rc_avpair_add (&data.send_pairs, PW_USER_NAME, username, 0) && | 178 | my_rc_avpair_add (&data.send_pairs, PW_USER_NAME, username, 0) && |
172 | my_rc_avpair_add (&data.send_pairs, PW_USER_PASSWORD, password, 0) | 179 | my_rc_avpair_add (&data.send_pairs, PW_USER_PASSWORD, password, 0) |
173 | )) | 180 | )) |
174 | die (STATE_UNKNOWN, _("Out of Memory?")); | 181 | die (STATE_UNKNOWN, _("Out of Memory?\n")); |
175 | 182 | ||
176 | if (nasid != NULL) { | 183 | if (nasid != NULL) { |
177 | if (!(my_rc_avpair_add (&data.send_pairs, PW_NAS_IDENTIFIER, nasid, 0))) | 184 | if (!(my_rc_avpair_add (&data.send_pairs, PW_NAS_IDENTIFIER, nasid, 0))) |
178 | die (STATE_UNKNOWN, _("Invalid NAS-Identifier")); | 185 | die (STATE_UNKNOWN, _("Invalid NAS-Identifier\n")); |
179 | } | 186 | } |
180 | 187 | ||
181 | if (nasipaddress != NULL) { | 188 | if (nasipaddress != NULL) { |
182 | if (rc_good_ipaddr (nasipaddress)) | 189 | if (rc_good_ipaddr (nasipaddress)) |
183 | die (STATE_UNKNOWN, _("Invalid NAS-IP-Address")); | 190 | die (STATE_UNKNOWN, _("Invalid NAS-IP-Address\n")); |
184 | if ((client_id = rc_get_ipaddr(nasipaddress)) == 0) | 191 | if ((client_id = rc_get_ipaddr(nasipaddress)) == 0) |
185 | die (STATE_UNKNOWN, _("Invalid NAS-IP-Address")); | 192 | die (STATE_UNKNOWN, _("Invalid NAS-IP-Address\n")); |
186 | } else { | 193 | } else { |
187 | if ((client_id = my_rc_own_ipaddress ()) == 0) | 194 | if ((client_id = my_rc_own_ipaddress ()) == 0) |
188 | die (STATE_UNKNOWN, _("Can't find local IP for NAS-IP-Address")); | 195 | die (STATE_UNKNOWN, _("Can't find local IP for NAS-IP-Address\n")); |
189 | } | 196 | } |
190 | if (my_rc_avpair_add (&(data.send_pairs), PW_NAS_IP_ADDRESS, &client_id, 0) == NULL) | 197 | if (my_rc_avpair_add (&(data.send_pairs), PW_NAS_IP_ADDRESS, &client_id, 0) == NULL) |
191 | die (STATE_UNKNOWN, _("Invalid NAS-IP-Address")); | 198 | die (STATE_UNKNOWN, _("Invalid NAS-IP-Address\n")); |
192 | 199 | ||
193 | my_rc_buildreq (&data, PW_ACCESS_REQUEST, server, port, (int)timeout_interval, | 200 | my_rc_buildreq (&data, PW_ACCESS_REQUEST, server, port, (int)timeout_interval, |
194 | retries); | 201 | retries); |
@@ -199,19 +206,19 @@ main (int argc, char **argv) | |||
199 | rc_avpair_free (data.receive_pairs); | 206 | rc_avpair_free (data.receive_pairs); |
200 | 207 | ||
201 | if (result == TIMEOUT_RC) | 208 | if (result == TIMEOUT_RC) |
202 | die (STATE_CRITICAL, _("Timeout")); | 209 | die (STATE_CRITICAL, _("Timeout\n")); |
203 | if (result == ERROR_RC) | 210 | if (result == ERROR_RC) |
204 | die (STATE_CRITICAL, _("Auth Error")); | 211 | die (STATE_CRITICAL, _("Auth Error\n")); |
205 | if (result == REJECT_RC) | 212 | if (result == REJECT_RC) |
206 | die (STATE_WARNING, _("Auth Failed")); | 213 | die (STATE_WARNING, _("Auth Failed\n")); |
207 | if (result == BADRESP_RC) | 214 | if (result == BADRESP_RC) |
208 | die (STATE_WARNING, _("Bad Response")); | 215 | die (STATE_WARNING, _("Bad Response\n")); |
209 | if (expect && !strstr (msg, expect)) | 216 | if (expect && !strstr (msg, expect)) |
210 | die (STATE_WARNING, "%s", msg); | 217 | die (STATE_WARNING, "%s\n", msg); |
211 | if (result == OK_RC) | 218 | if (result == OK_RC) |
212 | die (STATE_OK, _("Auth OK")); | 219 | die (STATE_OK, _("Auth OK\n")); |
213 | (void)snprintf(msg, sizeof(msg), _("Unexpected result code %d"), result); | 220 | (void)snprintf(msg, sizeof(msg), _("Unexpected result code %d"), result); |
214 | die (STATE_UNKNOWN, "%s", msg); | 221 | die (STATE_UNKNOWN, "%s\n", msg); |
215 | } | 222 | } |
216 | 223 | ||
217 | 224 | ||
@@ -361,7 +368,7 @@ print_help (void) | |||
361 | printf (" %s\n", "-r, --retries=INTEGER"); | 368 | printf (" %s\n", "-r, --retries=INTEGER"); |
362 | printf (" %s\n", _("Number of times to retry a failed connection")); | 369 | printf (" %s\n", _("Number of times to retry a failed connection")); |
363 | 370 | ||
364 | printf (UT_TIMEOUT, timeout_interval); | 371 | printf (UT_CONN_TIMEOUT, timeout_interval); |
365 | 372 | ||
366 | printf ("\n"); | 373 | printf ("\n"); |
367 | printf ("%s\n", _("This plugin tests a RADIUS server to see if it is accepting connections.")); | 374 | printf ("%s\n", _("This plugin tests a RADIUS server to see if it is accepting connections.")); |
@@ -370,8 +377,8 @@ print_help (void) | |||
370 | printf ("%s\n", _("the configuration file is described in the radiusclient library sources.")); | 377 | printf ("%s\n", _("the configuration file is described in the radiusclient library sources.")); |
371 | printf ("%s\n", _("The password option presents a substantial security issue because the")); | 378 | printf ("%s\n", _("The password option presents a substantial security issue because the")); |
372 | printf ("%s\n", _("password can possibly be determined by careful watching of the command line")); | 379 | printf ("%s\n", _("password can possibly be determined by careful watching of the command line")); |
373 | printf ("%s\n", _("in a process listing. This risk is exacerbated because nagios will")); | 380 | printf ("%s\n", _("in a process listing. This risk is exacerbated because the plugin will")); |
374 | printf ("%s\n", _("run the plugin at regular predictable intervals. Please be sure that")); | 381 | printf ("%s\n", _("typically be executed at regular predictable intervals. Please be sure that")); |
375 | printf ("%s\n", _("the password used does not allow access to sensitive system resources.")); | 382 | printf ("%s\n", _("the password used does not allow access to sensitive system resources.")); |
376 | 383 | ||
377 | printf (UT_SUPPORT); | 384 | printf (UT_SUPPORT); |
@@ -392,7 +399,7 @@ print_usage (void) | |||
392 | 399 | ||
393 | int my_rc_read_config(char * a) | 400 | int my_rc_read_config(char * a) |
394 | { | 401 | { |
395 | #ifdef HAVE_LIBRADIUSCLIENT_NG | 402 | #if defined(HAVE_LIBFREERADIUS_CLIENT) || defined(HAVE_LIBRADIUSCLIENT_NG) |
396 | rch = rc_read_config(a); | 403 | rch = rc_read_config(a); |
397 | return (rch == NULL) ? 1 : 0; | 404 | return (rch == NULL) ? 1 : 0; |
398 | #else | 405 | #else |
diff --git a/plugins/check_real.c b/plugins/check_real.c index 18240f3..36f6413 100644 --- a/plugins/check_real.c +++ b/plugins/check_real.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_real plugin | 3 | * Monitoring check_real plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2000-2007 Nagios Plugins Development Team | 6 | * Copyright (c) 2000-2007 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | const char *progname = "check_real"; | 31 | const char *progname = "check_real"; |
32 | const char *copyright = "2000-2007"; | 32 | const char *copyright = "2000-2007"; |
33 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 33 | const char *email = "devel@monitoring-plugins.org"; |
34 | 34 | ||
35 | #include "common.h" | 35 | #include "common.h" |
36 | #include "netutils.h" | 36 | #include "netutils.h" |
@@ -178,6 +178,7 @@ main (int argc, char **argv) | |||
178 | 178 | ||
179 | /* watch for the REAL connection string */ | 179 | /* watch for the REAL connection string */ |
180 | result = recv (sd, buffer, MAX_INPUT_BUFFER - 1, 0); | 180 | result = recv (sd, buffer, MAX_INPUT_BUFFER - 1, 0); |
181 | buffer[result] = "\0"; /* null terminate recieved buffer */ | ||
181 | 182 | ||
182 | /* return a CRITICAL status if we couldn't read any data */ | 183 | /* return a CRITICAL status if we couldn't read any data */ |
183 | if (result == -1) { | 184 | if (result == -1) { |
@@ -429,7 +430,7 @@ print_help (void) | |||
429 | 430 | ||
430 | printf (UT_WARN_CRIT); | 431 | printf (UT_WARN_CRIT); |
431 | 432 | ||
432 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); | 433 | printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
433 | 434 | ||
434 | printf (UT_VERBOSE); | 435 | printf (UT_VERBOSE); |
435 | 436 | ||
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c index d477a51..2430453 100644 --- a/plugins/check_smtp.c +++ b/plugins/check_smtp.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_smtp plugin | 3 | * Monitoring check_smtp plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2000-2007 Nagios Plugins Development Team | 6 | * Copyright (c) 2000-2007 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | const char *progname = "check_smtp"; | 31 | const char *progname = "check_smtp"; |
32 | const char *copyright = "2000-2007"; | 32 | const char *copyright = "2000-2007"; |
33 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 33 | const char *email = "devel@monitoring-plugins.org"; |
34 | 34 | ||
35 | #include "common.h" | 35 | #include "common.h" |
36 | #include "netutils.h" | 36 | #include "netutils.h" |
@@ -822,7 +822,7 @@ print_help (void) | |||
822 | 822 | ||
823 | printf (UT_WARN_CRIT); | 823 | printf (UT_WARN_CRIT); |
824 | 824 | ||
825 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); | 825 | printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
826 | 826 | ||
827 | printf (UT_VERBOSE); | 827 | printf (UT_VERBOSE); |
828 | 828 | ||
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index 52ad31e..2c62a23 100644 --- a/plugins/check_snmp.c +++ b/plugins/check_snmp.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_snmp plugin | 3 | * Monitoring check_snmp plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 1999-2007 Nagios Plugins Development Team | 6 | * Copyright (c) 1999-2007 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | const char *progname = "check_snmp"; | 31 | const char *progname = "check_snmp"; |
32 | const char *copyright = "1999-2007"; | 32 | const char *copyright = "1999-2007"; |
33 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 33 | const char *email = "devel@monitoring-plugins.org"; |
34 | 34 | ||
35 | #include "common.h" | 35 | #include "common.h" |
36 | #include "runcmd.h" | 36 | #include "runcmd.h" |
@@ -459,7 +459,7 @@ main (int argc, char **argv) | |||
459 | /* Process this block for numeric comparisons */ | 459 | /* Process this block for numeric comparisons */ |
460 | /* Make some special values,like Timeticks numeric only if a threshold is defined */ | 460 | /* Make some special values,like Timeticks numeric only if a threshold is defined */ |
461 | if (thlds[i]->warning || thlds[i]->critical || calculate_rate) { | 461 | if (thlds[i]->warning || thlds[i]->critical || calculate_rate) { |
462 | ptr = strpbrk (show, "0123456789"); | 462 | ptr = strpbrk (show, "-0123456789"); |
463 | if (ptr == NULL) | 463 | if (ptr == NULL) |
464 | die (STATE_UNKNOWN,_("No valid data returned (%s)\n"), show); | 464 | die (STATE_UNKNOWN,_("No valid data returned (%s)\n"), show); |
465 | while (i >= response_size) { | 465 | while (i >= response_size) { |
@@ -963,11 +963,16 @@ validate_arguments () | |||
963 | if (seclevel == NULL) | 963 | if (seclevel == NULL) |
964 | xasprintf(&seclevel, "noAuthNoPriv"); | 964 | xasprintf(&seclevel, "noAuthNoPriv"); |
965 | 965 | ||
966 | if (secname == NULL) | ||
967 | die(STATE_UNKNOWN, _("Required parameter: %s\n"), "secname"); | ||
968 | |||
966 | if (strcmp(seclevel, "noAuthNoPriv") == 0) { | 969 | if (strcmp(seclevel, "noAuthNoPriv") == 0) { |
967 | numauthpriv = 2; | 970 | numauthpriv = 4; |
968 | authpriv = calloc (numauthpriv, sizeof (char *)); | 971 | authpriv = calloc (numauthpriv, sizeof (char *)); |
969 | authpriv[0] = strdup ("-l"); | 972 | authpriv[0] = strdup ("-l"); |
970 | authpriv[1] = strdup ("noAuthNoPriv"); | 973 | authpriv[1] = strdup ("noAuthNoPriv"); |
974 | authpriv[2] = strdup ("-u"); | ||
975 | authpriv[3] = strdup (secname); | ||
971 | } else { | 976 | } else { |
972 | if (! ( (strcmp(seclevel, "authNoPriv")==0) || (strcmp(seclevel, "authPriv")==0) ) ) { | 977 | if (! ( (strcmp(seclevel, "authNoPriv")==0) || (strcmp(seclevel, "authPriv")==0) ) ) { |
973 | usage2 (_("Invalid seclevel"), seclevel); | 978 | usage2 (_("Invalid seclevel"), seclevel); |
@@ -976,9 +981,6 @@ validate_arguments () | |||
976 | if (authproto == NULL ) | 981 | if (authproto == NULL ) |
977 | xasprintf(&authproto, DEFAULT_AUTH_PROTOCOL); | 982 | xasprintf(&authproto, DEFAULT_AUTH_PROTOCOL); |
978 | 983 | ||
979 | if (secname == NULL) | ||
980 | die(STATE_UNKNOWN, _("Required parameter: %s\n"), "secname"); | ||
981 | |||
982 | if (authpasswd == NULL) | 984 | if (authpasswd == NULL) |
983 | die(STATE_UNKNOWN, _("Required parameter: %s\n"), "authpasswd"); | 985 | die(STATE_UNKNOWN, _("Required parameter: %s\n"), "authpasswd"); |
984 | 986 | ||
@@ -1160,7 +1162,7 @@ print_help (void) | |||
1160 | printf (" %s\n", "-D, --output-delimiter=STRING"); | 1162 | printf (" %s\n", "-D, --output-delimiter=STRING"); |
1161 | printf (" %s\n", _("Separates output on multiple OID requests")); | 1163 | printf (" %s\n", _("Separates output on multiple OID requests")); |
1162 | 1164 | ||
1163 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); | 1165 | printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
1164 | printf (" %s\n", "-e, --retries=INTEGER"); | 1166 | printf (" %s\n", "-e, --retries=INTEGER"); |
1165 | printf (" %s\n", _("Number of retries to be used in the requests")); | 1167 | printf (" %s\n", _("Number of retries to be used in the requests")); |
1166 | 1168 | ||
diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c index 6842c4c..b6187d6 100644 --- a/plugins/check_ssh.c +++ b/plugins/check_ssh.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_ssh plugin | 3 | * Monitoring check_ssh plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2000-2007 Nagios Plugins Development Team | 6 | * Copyright (c) 2000-2007 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | const char *progname = "check_ssh"; | 31 | const char *progname = "check_ssh"; |
32 | const char *copyright = "2000-2007"; | 32 | const char *copyright = "2000-2007"; |
33 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 33 | const char *email = "devel@monitoring-plugins.org"; |
34 | 34 | ||
35 | #include "common.h" | 35 | #include "common.h" |
36 | #include "netutils.h" | 36 | #include "netutils.h" |
@@ -304,7 +304,7 @@ print_help (void) | |||
304 | 304 | ||
305 | printf (UT_IPv46); | 305 | printf (UT_IPv46); |
306 | 306 | ||
307 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); | 307 | printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
308 | 308 | ||
309 | printf (" %s\n", "-r, --remote-version=STRING"); | 309 | printf (" %s\n", "-r, --remote-version=STRING"); |
310 | printf (" %s\n", _("Warn if string doesn't match expected server version (ex: OpenSSH_3.9p1)")); | 310 | printf (" %s\n", _("Warn if string doesn't match expected server version (ex: OpenSSH_3.9p1)")); |
diff --git a/plugins/check_swap.c b/plugins/check_swap.c index 1b2a8dd..88a2a2a 100644 --- a/plugins/check_swap.c +++ b/plugins/check_swap.c | |||
@@ -1,14 +1,14 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_disk plugin | 3 | * Monitoring check_disk plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2000 Karl DeBisschop (kdebisschop@users.sourceforge.net) | 6 | * Copyright (c) 2000 Karl DeBisschop (kdebisschop@users.sourceforge.net) |
7 | * Copyright (c) 2000-2007 Nagios Plugins Development Team | 7 | * Copyright (c) 2000-2007 Monitoring Plugins Development Team |
8 | * | 8 | * |
9 | * Description: | 9 | * Description: |
10 | * | 10 | * |
11 | * This file contains the check_disk plugin | 11 | * This file contains the check_swap plugin |
12 | * | 12 | * |
13 | * | 13 | * |
14 | * This program is free software: you can redistribute it and/or modify | 14 | * This program is free software: you can redistribute it and/or modify |
@@ -29,7 +29,7 @@ | |||
29 | 29 | ||
30 | const char *progname = "check_swap"; | 30 | const char *progname = "check_swap"; |
31 | const char *copyright = "2000-2007"; | 31 | const char *copyright = "2000-2007"; |
32 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 32 | const char *email = "devel@monitoring-plugins.org"; |
33 | 33 | ||
34 | #include "common.h" | 34 | #include "common.h" |
35 | #include "popen.h" | 35 | #include "popen.h" |
@@ -60,9 +60,10 @@ void print_help (void); | |||
60 | int warn_percent = 0; | 60 | int warn_percent = 0; |
61 | int crit_percent = 0; | 61 | int crit_percent = 0; |
62 | float warn_size_bytes = 0; | 62 | float warn_size_bytes = 0; |
63 | float crit_size_bytes= 0; | 63 | float crit_size_bytes = 0; |
64 | int verbose; | 64 | int verbose; |
65 | int allswaps; | 65 | int allswaps; |
66 | int no_swap_state = STATE_CRITICAL; | ||
66 | 67 | ||
67 | int | 68 | int |
68 | main (int argc, char **argv) | 69 | main (int argc, char **argv) |
@@ -350,7 +351,7 @@ main (int argc, char **argv) | |||
350 | if(total_swap_mb) { | 351 | if(total_swap_mb) { |
351 | percent_used = 100 * ((double) used_swap_mb) / ((double) total_swap_mb); | 352 | percent_used = 100 * ((double) used_swap_mb) / ((double) total_swap_mb); |
352 | } else { | 353 | } else { |
353 | percent_used = 0; | 354 | percent_used = 100; |
354 | } | 355 | } |
355 | 356 | ||
356 | result = max_state (result, check_swap (percent_used, free_swap_mb)); | 357 | result = max_state (result, check_swap (percent_used, free_swap_mb)); |
@@ -372,6 +373,9 @@ main (int argc, char **argv) | |||
372 | int | 373 | int |
373 | check_swap (int usp, float free_swap_mb) | 374 | check_swap (int usp, float free_swap_mb) |
374 | { | 375 | { |
376 | |||
377 | if (!free_swap_mb) return no_swap_state; | ||
378 | |||
375 | int result = STATE_UNKNOWN; | 379 | int result = STATE_UNKNOWN; |
376 | float free_swap = free_swap_mb * (1024 * 1024); /* Convert back to bytes as warn and crit specified in bytes */ | 380 | float free_swap = free_swap_mb * (1024 * 1024); /* Convert back to bytes as warn and crit specified in bytes */ |
377 | if (usp >= 0 && crit_percent != 0 && usp >= (100.0 - crit_percent)) | 381 | if (usp >= 0 && crit_percent != 0 && usp >= (100.0 - crit_percent)) |
@@ -400,6 +404,7 @@ process_arguments (int argc, char **argv) | |||
400 | {"warning", required_argument, 0, 'w'}, | 404 | {"warning", required_argument, 0, 'w'}, |
401 | {"critical", required_argument, 0, 'c'}, | 405 | {"critical", required_argument, 0, 'c'}, |
402 | {"allswaps", no_argument, 0, 'a'}, | 406 | {"allswaps", no_argument, 0, 'a'}, |
407 | {"no-swap", required_argument, 0, 'n'}, | ||
403 | {"verbose", no_argument, 0, 'v'}, | 408 | {"verbose", no_argument, 0, 'v'}, |
404 | {"version", no_argument, 0, 'V'}, | 409 | {"version", no_argument, 0, 'V'}, |
405 | {"help", no_argument, 0, 'h'}, | 410 | {"help", no_argument, 0, 'h'}, |
@@ -410,7 +415,7 @@ process_arguments (int argc, char **argv) | |||
410 | return ERROR; | 415 | return ERROR; |
411 | 416 | ||
412 | while (1) { | 417 | while (1) { |
413 | c = getopt_long (argc, argv, "+?Vvhac:w:", longopts, &option); | 418 | c = getopt_long (argc, argv, "+?Vvhac:w:n:", longopts, &option); |
414 | 419 | ||
415 | if (c == -1 || c == EOF) | 420 | if (c == -1 || c == EOF) |
416 | break; | 421 | break; |
@@ -455,6 +460,10 @@ process_arguments (int argc, char **argv) | |||
455 | case 'a': /* all swap */ | 460 | case 'a': /* all swap */ |
456 | allswaps = TRUE; | 461 | allswaps = TRUE; |
457 | break; | 462 | break; |
463 | case 'n': | ||
464 | if ((no_swap_state = mp_translate_state(optarg)) == ERROR) { | ||
465 | usage4 (_("no-swap result must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or integer (0-3).")); | ||
466 | } | ||
458 | case 'v': /* verbose */ | 467 | case 'v': /* verbose */ |
459 | verbose++; | 468 | verbose++; |
460 | break; | 469 | break; |
@@ -538,13 +547,16 @@ print_help (void) | |||
538 | printf (" %s\n", "-c, --critical=INTEGER"); | 547 | printf (" %s\n", "-c, --critical=INTEGER"); |
539 | printf (" %s\n", _("Exit with CRITICAL status if less than INTEGER bytes of swap space are free")); | 548 | printf (" %s\n", _("Exit with CRITICAL status if less than INTEGER bytes of swap space are free")); |
540 | printf (" %s\n", "-c, --critical=PERCENT%%"); | 549 | printf (" %s\n", "-c, --critical=PERCENT%%"); |
541 | printf (" %s\n", _("Exit with CRITCAL status if less than PERCENT of swap space is free")); | 550 | printf (" %s\n", _("Exit with CRITICAL status if less than PERCENT of swap space is free")); |
542 | printf (" %s\n", "-a, --allswaps"); | 551 | printf (" %s\n", "-a, --allswaps"); |
543 | printf (" %s\n", _("Conduct comparisons for all swap partitions, one by one")); | 552 | printf (" %s\n", _("Conduct comparisons for all swap partitions, one by one")); |
553 | printf (" %s\n", "-n, --no-swap=<ok|warning|critical|unknown>"); | ||
554 | printf (" %s %s\n", _("Resulting state when there is no swap regardless of thresholds. Default:"), state_text(no_swap_state)); | ||
544 | printf (UT_VERBOSE); | 555 | printf (UT_VERBOSE); |
545 | 556 | ||
546 | printf ("\n"); | 557 | printf ("\n"); |
547 | printf ("%s\n", _("Notes:")); | 558 | printf ("%s\n", _("Notes:")); |
559 | printf (" %s\n", _("Both INTEGER and PERCENT thresholds can be specified, they are all checked.")); | ||
548 | printf (" %s\n", _("On AIX, if -a is specified, uses lsps -a, otherwise uses lsps -s.")); | 560 | printf (" %s\n", _("On AIX, if -a is specified, uses lsps -a, otherwise uses lsps -s.")); |
549 | 561 | ||
550 | printf (UT_SUPPORT); | 562 | printf (UT_SUPPORT); |
@@ -556,6 +568,6 @@ void | |||
556 | print_usage (void) | 568 | print_usage (void) |
557 | { | 569 | { |
558 | printf ("%s\n", _("Usage:")); | 570 | printf ("%s\n", _("Usage:")); |
559 | printf ("%s [-av] -w <percent_free>%% -c <percent_free>%%\n",progname); | 571 | printf (" %s [-av] -w <percent_free>%% -c <percent_free>%%\n",progname); |
560 | printf ("%s [-av] -w <bytes_free> -c <bytes_free>\n", progname); | 572 | printf (" -w <bytes_free> -c <bytes_free> [-n <state>]\n"); |
561 | } | 573 | } |
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c index 6ab8261..ebdccd1 100644 --- a/plugins/check_tcp.c +++ b/plugins/check_tcp.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_tcp plugin | 3 | * Monitoring check_tcp plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 1999-2013 Nagios Plugins Development Team | 6 | * Copyright (c) 1999-2013 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -30,15 +30,14 @@ | |||
30 | /* progname "check_tcp" changes depending on symlink called */ | 30 | /* progname "check_tcp" changes depending on symlink called */ |
31 | char *progname; | 31 | char *progname; |
32 | const char *copyright = "1999-2008"; | 32 | const char *copyright = "1999-2008"; |
33 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 33 | const char *email = "devel@monitoring-plugins.org"; |
34 | |||
35 | #include <ctype.h> | ||
36 | 34 | ||
37 | #include "common.h" | 35 | #include "common.h" |
38 | #include "netutils.h" | 36 | #include "netutils.h" |
39 | #include "utils.h" | 37 | #include "utils.h" |
40 | #include "utils_tcp.h" | 38 | #include "utils_tcp.h" |
41 | 39 | ||
40 | #include <ctype.h> | ||
42 | #include <sys/select.h> | 41 | #include <sys/select.h> |
43 | 42 | ||
44 | #ifdef HAVE_SSL | 43 | #ifdef HAVE_SSL |
@@ -670,7 +669,7 @@ print_help (void) | |||
670 | 669 | ||
671 | printf (UT_WARN_CRIT); | 670 | printf (UT_WARN_CRIT); |
672 | 671 | ||
673 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); | 672 | printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
674 | 673 | ||
675 | printf (UT_VERBOSE); | 674 | printf (UT_VERBOSE); |
676 | 675 | ||
diff --git a/plugins/check_time.c b/plugins/check_time.c index 7ee014e..3943742 100644 --- a/plugins/check_time.c +++ b/plugins/check_time.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_time plugin | 3 | * Monitoring check_time plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 1999-2007 Nagios Plugins Development Team | 6 | * Copyright (c) 1999-2007 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | const char *progname = "check_time"; | 31 | const char *progname = "check_time"; |
32 | const char *copyright = "1999-2007"; | 32 | const char *copyright = "1999-2007"; |
33 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 33 | const char *email = "devel@monitoring-plugins.org"; |
34 | 34 | ||
35 | #include "common.h" | 35 | #include "common.h" |
36 | #include "netutils.h" | 36 | #include "netutils.h" |
@@ -358,7 +358,7 @@ print_help (void) | |||
358 | printf (" %s\n", "-C, --critical-connect=INTEGER"); | 358 | printf (" %s\n", "-C, --critical-connect=INTEGER"); |
359 | printf (" %s\n", _("Response time (sec.) necessary to result in critical status")); | 359 | printf (" %s\n", _("Response time (sec.) necessary to result in critical status")); |
360 | 360 | ||
361 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); | 361 | printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
362 | 362 | ||
363 | printf (UT_SUPPORT); | 363 | printf (UT_SUPPORT); |
364 | } | 364 | } |
diff --git a/plugins/check_ups.c b/plugins/check_ups.c index 59dcc26..099881d 100644 --- a/plugins/check_ups.c +++ b/plugins/check_ups.c | |||
@@ -1,16 +1,16 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_ups plugin | 3 | * Monitoring check_ups plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2000 Tom Shields | 6 | * Copyright (c) 2000 Tom Shields |
7 | * 2004 Alain Richard <alain.richard@equation.fr> | 7 | * 2004 Alain Richard <alain.richard@equation.fr> |
8 | * 2004 Arnaud Quette <arnaud.quette@mgeups.com> | 8 | * 2004 Arnaud Quette <arnaud.quette@mgeups.com> |
9 | * Copyright (c) 2002-2007 Nagios Plugins Development Team | 9 | * Copyright (c) 2002-2007 Monitoring Plugins Development Team |
10 | * | 10 | * |
11 | * Description: | 11 | * Description: |
12 | * | 12 | * |
13 | * This file contains Network UPS Tools plugin for Nagios | 13 | * This file contains Network UPS Tools plugin for Monitoring |
14 | * | 14 | * |
15 | * This plugin tests the UPS service on the specified host. Network UPS Tools | 15 | * This plugin tests the UPS service on the specified host. Network UPS Tools |
16 | * from www.networkupstools.org must be running for this plugin to work. | 16 | * from www.networkupstools.org must be running for this plugin to work. |
@@ -34,7 +34,7 @@ | |||
34 | 34 | ||
35 | const char *progname = "check_ups"; | 35 | const char *progname = "check_ups"; |
36 | const char *copyright = "2000-2007"; | 36 | const char *copyright = "2000-2007"; |
37 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 37 | const char *email = "devel@monitoring-plugins.org"; |
38 | 38 | ||
39 | #include "common.h" | 39 | #include "common.h" |
40 | #include "netutils.h" | 40 | #include "netutils.h" |
@@ -66,7 +66,7 @@ enum { | |||
66 | #define UPSSTATUS_BOOST 512 | 66 | #define UPSSTATUS_BOOST 512 |
67 | #define UPSSTATUS_CHRG 1024 | 67 | #define UPSSTATUS_CHRG 1024 |
68 | #define UPSSTATUS_DISCHRG 2048 | 68 | #define UPSSTATUS_DISCHRG 2048 |
69 | #define UPSSTATUS_UNKOWN 4096 | 69 | #define UPSSTATUS_UNKNOWN 4096 |
70 | 70 | ||
71 | enum { NOSUCHVAR = ERROR-1 }; | 71 | enum { NOSUCHVAR = ERROR-1 }; |
72 | 72 | ||
@@ -181,7 +181,7 @@ main (int argc, char **argv) | |||
181 | if (status & UPSSTATUS_DISCHRG) { | 181 | if (status & UPSSTATUS_DISCHRG) { |
182 | xasprintf (&ups_status, "%s%s", ups_status, _(", Discharging")); | 182 | xasprintf (&ups_status, "%s%s", ups_status, _(", Discharging")); |
183 | } | 183 | } |
184 | if (status & UPSSTATUS_UNKOWN) { | 184 | if (status & UPSSTATUS_UNKNOWN) { |
185 | xasprintf (&ups_status, "%s%s", ups_status, _(", Unknown")); | 185 | xasprintf (&ups_status, "%s%s", ups_status, _(", Unknown")); |
186 | } | 186 | } |
187 | } | 187 | } |
@@ -379,7 +379,7 @@ determine_status (void) | |||
379 | else if (!strcmp (ptr, "DISCHRG")) | 379 | else if (!strcmp (ptr, "DISCHRG")) |
380 | status |= UPSSTATUS_DISCHRG; | 380 | status |= UPSSTATUS_DISCHRG; |
381 | else | 381 | else |
382 | status |= UPSSTATUS_UNKOWN; | 382 | status |= UPSSTATUS_UNKNOWN; |
383 | } | 383 | } |
384 | 384 | ||
385 | return OK; | 385 | return OK; |
@@ -625,7 +625,7 @@ print_help (void) | |||
625 | 625 | ||
626 | printf (UT_WARN_CRIT); | 626 | printf (UT_WARN_CRIT); |
627 | 627 | ||
628 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); | 628 | printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
629 | 629 | ||
630 | /* TODO: -v clashing with -v/-variable. Commenting out help text since verbose | 630 | /* TODO: -v clashing with -v/-variable. Commenting out help text since verbose |
631 | is unused up to now */ | 631 | is unused up to now */ |
diff --git a/plugins/check_users.c b/plugins/check_users.c index ff2aedd..a009f20 100644 --- a/plugins/check_users.c +++ b/plugins/check_users.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_users plugin | 3 | * Monitoring check_users plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2000-2012 Nagios Plugins Development Team | 6 | * Copyright (c) 2000-2012 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -32,12 +32,17 @@ | |||
32 | 32 | ||
33 | const char *progname = "check_users"; | 33 | const char *progname = "check_users"; |
34 | const char *copyright = "2000-2007"; | 34 | const char *copyright = "2000-2007"; |
35 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 35 | const char *email = "devel@monitoring-plugins.org"; |
36 | 36 | ||
37 | #include "common.h" | 37 | #include "common.h" |
38 | #include "utils.h" | 38 | #include "utils.h" |
39 | 39 | ||
40 | #if HAVE_UTMPX_H | 40 | #if HAVE_WTSAPI32_H |
41 | # include <windows.h> | ||
42 | # include <wtsapi32.h> | ||
43 | # undef ERROR | ||
44 | # define ERROR -1 | ||
45 | #elif HAVE_UTMPX_H | ||
41 | # include <utmpx.h> | 46 | # include <utmpx.h> |
42 | #else | 47 | #else |
43 | # include "popen.h" | 48 | # include "popen.h" |
@@ -58,7 +63,11 @@ main (int argc, char **argv) | |||
58 | int users = -1; | 63 | int users = -1; |
59 | int result = STATE_UNKNOWN; | 64 | int result = STATE_UNKNOWN; |
60 | char *perf; | 65 | char *perf; |
61 | #if HAVE_UTMPX_H | 66 | #if HAVE_WTSAPI32_H |
67 | WTS_SESSION_INFO *wtsinfo; | ||
68 | DWORD wtscount; | ||
69 | DWORD index; | ||
70 | #elif HAVE_UTMPX_H | ||
62 | struct utmpx *putmpx; | 71 | struct utmpx *putmpx; |
63 | #else | 72 | #else |
64 | char input_buffer[MAX_INPUT_BUFFER]; | 73 | char input_buffer[MAX_INPUT_BUFFER]; |
@@ -78,7 +87,36 @@ main (int argc, char **argv) | |||
78 | 87 | ||
79 | users = 0; | 88 | users = 0; |
80 | 89 | ||
81 | #if HAVE_UTMPX_H | 90 | #if HAVE_WTSAPI32_H |
91 | if (!WTSEnumerateSessions(WTS_CURRENT_SERVER_HANDLE, | ||
92 | 0, 1, &wtsinfo, &wtscount)) { | ||
93 | printf(_("Could not enumerate RD sessions: %d\n"), GetLastError()); | ||
94 | return STATE_UNKNOWN; | ||
95 | } | ||
96 | |||
97 | for (index = 0; index < wtscount; index++) { | ||
98 | LPTSTR username; | ||
99 | DWORD size; | ||
100 | int len; | ||
101 | |||
102 | if (!WTSQuerySessionInformation(WTS_CURRENT_SERVER_HANDLE, | ||
103 | wtsinfo[index].SessionId, WTSUserName, &username, &size)) | ||
104 | continue; | ||
105 | |||
106 | len = lstrlen(username); | ||
107 | |||
108 | WTSFreeMemory(username); | ||
109 | |||
110 | if (len == 0) | ||
111 | continue; | ||
112 | |||
113 | if (wtsinfo[index].State == WTSActive || | ||
114 | wtsinfo[index].State == WTSDisconnected) | ||
115 | users++; | ||
116 | } | ||
117 | |||
118 | WTSFreeMemory(wtsinfo); | ||
119 | #elif HAVE_UTMPX_H | ||
82 | /* get currently logged users from utmpx */ | 120 | /* get currently logged users from utmpx */ |
83 | setutxent (); | 121 | setutxent (); |
84 | 122 | ||
diff --git a/plugins/common.h b/plugins/common.h index f135838..01003b3 100644 --- a/plugins/common.h +++ b/plugins/common.h | |||
@@ -1,10 +1,10 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios plugins common include file | 3 | * Monitoring Plugins common include file |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 1999 Ethan Galstad (nagios@nagios.org) | 6 | * Copyright (c) 1999 Ethan Galstad (nagios@nagios.org) |
7 | * Copyright (c) 2003-2007 Nagios Plugins Development Team | 7 | * Copyright (c) 2003-2007 Monitoring Plugins Development Team |
8 | * | 8 | * |
9 | * Description: | 9 | * Description: |
10 | * | 10 | * |
diff --git a/plugins/negate.c b/plugins/negate.c index ef7d4e0..beaed1e 100644 --- a/plugins/negate.c +++ b/plugins/negate.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios negate plugin | 3 | * Monitoring negate plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2002-2008 Nagios Plugins Development Team | 6 | * Copyright (c) 2002-2008 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -31,21 +31,20 @@ | |||
31 | 31 | ||
32 | const char *progname = "negate"; | 32 | const char *progname = "negate"; |
33 | const char *copyright = "2002-2008"; | 33 | const char *copyright = "2002-2008"; |
34 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 34 | const char *email = "devel@monitoring-plugins.org"; |
35 | 35 | ||
36 | #define DEFAULT_TIMEOUT 11 | 36 | #define DEFAULT_TIMEOUT 11 |
37 | 37 | ||
38 | #include <ctype.h> | ||
39 | |||
40 | #include "common.h" | 38 | #include "common.h" |
41 | #include "utils.h" | 39 | #include "utils.h" |
42 | #include "utils_cmd.h" | 40 | #include "utils_cmd.h" |
43 | 41 | ||
42 | #include <ctype.h> | ||
43 | |||
44 | /* char *command_line; */ | 44 | /* char *command_line; */ |
45 | 45 | ||
46 | static const char **process_arguments (int, char **); | 46 | static const char **process_arguments (int, char **); |
47 | int validate_arguments (char **); | 47 | void validate_arguments (char **); |
48 | int translate_state (char *); | ||
49 | void print_help (void); | 48 | void print_help (void); |
50 | void print_usage (void); | 49 | void print_usage (void); |
51 | int subst_text = FALSE; | 50 | int subst_text = FALSE; |
@@ -99,8 +98,7 @@ main (int argc, char **argv) | |||
99 | die (max_state_alt (result, STATE_UNKNOWN), _("No data returned from command\n")); | 98 | die (max_state_alt (result, STATE_UNKNOWN), _("No data returned from command\n")); |
100 | 99 | ||
101 | for (i = 0; i < chld_out.lines; i++) { | 100 | for (i = 0; i < chld_out.lines; i++) { |
102 | if (subst_text && result != state[result] && | 101 | if (subst_text && result >= 0 && result <= 4 && result != state[result]) { |
103 | result >= 0 && result <= 4) { | ||
104 | /* Loop over each match found */ | 102 | /* Loop over each match found */ |
105 | while ((sub = strstr (chld_out.line[i], state_text (result)))) { | 103 | while ((sub = strstr (chld_out.line[i], state_text (result)))) { |
106 | /* Terminate the first part and skip over the string we'll substitute */ | 104 | /* Terminate the first part and skip over the string we'll substitute */ |
@@ -166,27 +164,27 @@ process_arguments (int argc, char **argv) | |||
166 | timeout_interval = atoi (optarg); | 164 | timeout_interval = atoi (optarg); |
167 | break; | 165 | break; |
168 | case 'T': /* Result to return on timeouts */ | 166 | case 'T': /* Result to return on timeouts */ |
169 | if ((timeout_state = translate_state(optarg)) == ERROR) | 167 | if ((timeout_state = mp_translate_state(optarg)) == ERROR) |
170 | usage4 (_("Timeout result must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or integer (0-3).")); | 168 | usage4 (_("Timeout result must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or integer (0-3).")); |
171 | break; | 169 | break; |
172 | case 'o': /* replacement for OK */ | 170 | case 'o': /* replacement for OK */ |
173 | if ((state[STATE_OK] = translate_state(optarg)) == ERROR) | 171 | if ((state[STATE_OK] = mp_translate_state(optarg)) == ERROR) |
174 | usage4 (_("Ok must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or integer (0-3).")); | 172 | usage4 (_("Ok must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or integer (0-3).")); |
175 | permute = FALSE; | 173 | permute = FALSE; |
176 | break; | 174 | break; |
177 | 175 | ||
178 | case 'w': /* replacement for WARNING */ | 176 | case 'w': /* replacement for WARNING */ |
179 | if ((state[STATE_WARNING] = translate_state(optarg)) == ERROR) | 177 | if ((state[STATE_WARNING] = mp_translate_state(optarg)) == ERROR) |
180 | usage4 (_("Warning must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or integer (0-3).")); | 178 | usage4 (_("Warning must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or integer (0-3).")); |
181 | permute = FALSE; | 179 | permute = FALSE; |
182 | break; | 180 | break; |
183 | case 'c': /* replacement for CRITICAL */ | 181 | case 'c': /* replacement for CRITICAL */ |
184 | if ((state[STATE_CRITICAL] = translate_state(optarg)) == ERROR) | 182 | if ((state[STATE_CRITICAL] = mp_translate_state(optarg)) == ERROR) |
185 | usage4 (_("Critical must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or integer (0-3).")); | 183 | usage4 (_("Critical must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or integer (0-3).")); |
186 | permute = FALSE; | 184 | permute = FALSE; |
187 | break; | 185 | break; |
188 | case 'u': /* replacement for UNKNOWN */ | 186 | case 'u': /* replacement for UNKNOWN */ |
189 | if ((state[STATE_UNKNOWN] = translate_state(optarg)) == ERROR) | 187 | if ((state[STATE_UNKNOWN] = mp_translate_state(optarg)) == ERROR) |
190 | usage4 (_("Unknown must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or integer (0-3).")); | 188 | usage4 (_("Unknown must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or integer (0-3).")); |
191 | permute = FALSE; | 189 | permute = FALSE; |
192 | break; | 190 | break; |
@@ -207,7 +205,7 @@ process_arguments (int argc, char **argv) | |||
207 | } | 205 | } |
208 | 206 | ||
209 | 207 | ||
210 | int | 208 | void |
211 | validate_arguments (char **command_line) | 209 | validate_arguments (char **command_line) |
212 | { | 210 | { |
213 | if (command_line[0] == NULL) | 211 | if (command_line[0] == NULL) |
@@ -218,24 +216,6 @@ validate_arguments (char **command_line) | |||
218 | } | 216 | } |
219 | 217 | ||
220 | 218 | ||
221 | int | ||
222 | translate_state (char *state_text) | ||
223 | { | ||
224 | char *temp_ptr; | ||
225 | for (temp_ptr = state_text; *temp_ptr; temp_ptr++) { | ||
226 | *temp_ptr = toupper(*temp_ptr); | ||
227 | } | ||
228 | if (!strcmp(state_text,"OK") || !strcmp(state_text,"0")) | ||
229 | return STATE_OK; | ||
230 | if (!strcmp(state_text,"WARNING") || !strcmp(state_text,"1")) | ||
231 | return STATE_WARNING; | ||
232 | if (!strcmp(state_text,"CRITICAL") || !strcmp(state_text,"2")) | ||
233 | return STATE_CRITICAL; | ||
234 | if (!strcmp(state_text,"UNKNOWN") || !strcmp(state_text,"3")) | ||
235 | return STATE_UNKNOWN; | ||
236 | return ERROR; | ||
237 | } | ||
238 | |||
239 | void | 219 | void |
240 | print_help (void) | 220 | print_help (void) |
241 | { | 221 | { |
@@ -252,7 +232,7 @@ print_help (void) | |||
252 | 232 | ||
253 | printf (UT_HELP_VRSN); | 233 | printf (UT_HELP_VRSN); |
254 | 234 | ||
255 | printf (UT_TIMEOUT, timeout_interval); | 235 | printf (UT_PLUG_TIMEOUT, timeout_interval); |
256 | printf (" %s\n", _("Keep timeout longer than the plugin timeout to retain CRITICAL status.")); | 236 | printf (" %s\n", _("Keep timeout longer than the plugin timeout to retain CRITICAL status.")); |
257 | printf (" -T, --timeout-result=STATUS\n"); | 237 | printf (" -T, --timeout-result=STATUS\n"); |
258 | printf (" %s\n", _("Custom result on Negate timeouts; see below for STATUS definition\n")); | 238 | printf (" %s\n", _("Custom result on Negate timeouts; see below for STATUS definition\n")); |
diff --git a/plugins/netutils.c b/plugins/netutils.c index 9f18723..0044046 100644 --- a/plugins/netutils.c +++ b/plugins/netutils.c | |||
@@ -1,10 +1,10 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios plugins network utilities | 3 | * Monitoring Plugins network utilities |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 1999 Ethan Galstad (nagios@nagios.org) | 6 | * Copyright (c) 1999 Ethan Galstad (nagios@nagios.org) |
7 | * Copyright (c) 2003-2008 Nagios Plugins Development Team | 7 | * Copyright (c) 2003-2008 Monitoring Plugins Development Team |
8 | * | 8 | * |
9 | * Description: | 9 | * Description: |
10 | * | 10 | * |
diff --git a/plugins/netutils.h b/plugins/netutils.h index 347509e..c5aa18f 100644 --- a/plugins/netutils.h +++ b/plugins/netutils.h | |||
@@ -1,10 +1,10 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios plugins net utilities include file | 3 | * Monitoring Plugins net utilities include file |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 1999 Ethan Galstad (nagios@nagios.org) | 6 | * Copyright (c) 1999 Ethan Galstad (nagios@nagios.org) |
7 | * Copyright (c) 2003-2007 Nagios Plugins Development Team | 7 | * Copyright (c) 2003-2007 Monitoring Plugins Development Team |
8 | * | 8 | * |
9 | * Description: | 9 | * Description: |
10 | * | 10 | * |
diff --git a/plugins/popen.c b/plugins/popen.c index 716bd52..592263f 100644 --- a/plugins/popen.c +++ b/plugins/popen.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios plugins popen | 3 | * Monitoring Plugins popen |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2005-2007 Nagios Plugins Development Team | 6 | * Copyright (c) 2005-2007 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
diff --git a/plugins/runcmd.c b/plugins/runcmd.c index 8aba1e3..1a7c904 100644 --- a/plugins/runcmd.c +++ b/plugins/runcmd.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios run command utilities | 3 | * Monitoring run command utilities |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2005-2006 Nagios Plugins Development Team | 6 | * Copyright (c) 2005-2006 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description : | 8 | * Description : |
9 | * | 9 | * |
@@ -261,7 +261,7 @@ runcmd_timeout_alarm_handler (int signo) | |||
261 | size_t i; | 261 | size_t i; |
262 | 262 | ||
263 | if (signo == SIGALRM) | 263 | if (signo == SIGALRM) |
264 | puts(_("CRITICAL - Plugin timed out while executing system call\n")); | 264 | puts(_("CRITICAL - Plugin timed out while executing system call")); |
265 | 265 | ||
266 | if(np_pids) for(i = 0; i < maxfd; i++) { | 266 | if(np_pids) for(i = 0; i < maxfd; i++) { |
267 | if(np_pids[i] != 0) kill(np_pids[i], SIGKILL); | 267 | if(np_pids[i] != 0) kill(np_pids[i], SIGKILL); |
diff --git a/plugins/runcmd.h b/plugins/runcmd.h index fe66067..2dcdadf 100644 --- a/plugins/runcmd.h +++ b/plugins/runcmd.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /**************************************************************************** | 1 | /**************************************************************************** |
2 | * | 2 | * |
3 | * License: GPL | 3 | * License: GPL |
4 | * Copyright (c) 2005 Nagios Plugins Development Team | 4 | * Copyright (c) 2005 Monitoring Plugins Development Team |
5 | * Author: Andreas Ericsson <ae@op5.se> | 5 | * Author: Andreas Ericsson <ae@op5.se> |
6 | * | 6 | * |
7 | * | 7 | * |
diff --git a/plugins/sslutils.c b/plugins/sslutils.c index 2ec9190..687bffb 100644 --- a/plugins/sslutils.c +++ b/plugins/sslutils.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios plugins SSL utilities | 3 | * Monitoring Plugins SSL utilities |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2005-2010 Nagios Plugins Development Team | 6 | * Copyright (c) 2005-2010 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
@@ -86,10 +86,12 @@ int np_net_ssl_init_with_hostname_version_and_cert(int sd, char *host_name, int | |||
86 | if (cert && privkey) { | 86 | if (cert && privkey) { |
87 | SSL_CTX_use_certificate_file(c, cert, SSL_FILETYPE_PEM); | 87 | SSL_CTX_use_certificate_file(c, cert, SSL_FILETYPE_PEM); |
88 | SSL_CTX_use_PrivateKey_file(c, privkey, SSL_FILETYPE_PEM); | 88 | SSL_CTX_use_PrivateKey_file(c, privkey, SSL_FILETYPE_PEM); |
89 | #ifdef USE_OPENSSL | ||
89 | if (!SSL_CTX_check_private_key(c)) { | 90 | if (!SSL_CTX_check_private_key(c)) { |
90 | printf ("%s\n", _("CRITICAL - Private key does not seem to match certificate!\n")); | 91 | printf ("%s\n", _("CRITICAL - Private key does not seem to match certificate!\n")); |
91 | return STATE_CRITICAL; | 92 | return STATE_CRITICAL; |
92 | } | 93 | } |
94 | #endif | ||
93 | } | 95 | } |
94 | #ifdef SSL_OP_NO_TICKET | 96 | #ifdef SSL_OP_NO_TICKET |
95 | SSL_CTX_set_options(c, SSL_OP_NO_TICKET); | 97 | SSL_CTX_set_options(c, SSL_OP_NO_TICKET); |
diff --git a/plugins/t/NPTest.cache.travis b/plugins/t/NPTest.cache.travis new file mode 100644 index 0000000..c1007de --- /dev/null +++ b/plugins/t/NPTest.cache.travis | |||
@@ -0,0 +1,54 @@ | |||
1 | { | ||
2 | 'MYSQL_LOGIN_DETAILS' => '-u root -d test', | ||
3 | 'NP_ALLOW_SUDO' => 'yes', | ||
4 | 'NP_DNS_SERVER' => '8.8.8.8', | ||
5 | 'NP_GOOD_NTP_SERVICE' => '', | ||
6 | 'NP_HOSTNAME_INVALID' => 'nosuchhost', | ||
7 | 'NP_HOSTNAME_VALID' => 'monitoringplugins.org', | ||
8 | 'NP_HOSTNAME_VALID_IP' => '130.133.8.40', | ||
9 | 'NP_HOSTNAME_VALID_REVERSE' => 'orwell.monitoring-plugins.org.', | ||
10 | 'NP_HOST_DHCP_RESPONSIVE' => '', | ||
11 | 'NP_HOST_NONRESPONSIVE' => '10.0.0.1', | ||
12 | 'NP_HOST_RESPONSIVE' => 'localhost', | ||
13 | 'NP_HOST_SMB' => '', | ||
14 | 'NP_HOST_SNMP' => '', | ||
15 | 'NP_HOST_TCP_FTP' => '', | ||
16 | 'NP_HOST_TCP_HPJD' => '', | ||
17 | 'NP_HOST_TCP_HTTP' => 'localhost', | ||
18 | 'NP_HOST_TCP_HTTP2' => 'labs.consol.de', | ||
19 | 'NP_HOST_TCP_IMAP' => 'imap.web.de', | ||
20 | 'NP_HOST_TCP_POP' => 'pop.web.de', | ||
21 | 'NP_HOST_TCP_SMTP' => 'localhost', | ||
22 | 'NP_HOST_TCP_SMTP_NOTLS' => '', | ||
23 | 'NP_HOST_TCP_SMTP_TLS' => '', | ||
24 | 'NP_INTERNET_ACCESS' => 'yes', | ||
25 | 'NP_MOUNTPOINT2_VALID' => '', | ||
26 | 'NP_MOUNTPOINT_VALID' => '/', | ||
27 | 'NP_MYSQL_SERVER' => 'localhost', | ||
28 | 'NP_HOST_UDP_TIME' => 'localhost', | ||
29 | 'NP_MYSQL_SOCKET' => '/var/run/mysqld/mysqld.sock', | ||
30 | 'NP_MYSQL_WITH_SLAVE' => '', | ||
31 | 'NP_MYSQL_WITH_SLAVE_LOGIN' => '', | ||
32 | 'NP_NO_NTP_SERVICE' => 'localhost', | ||
33 | 'NP_SMB_SHARE' => '', | ||
34 | 'NP_SMB_SHARE_DENY' => '', | ||
35 | 'NP_SMB_SHARE_SPC' => '', | ||
36 | 'NP_SMB_VALID_USER' => '', | ||
37 | 'NP_SMB_VALID_USER_PASS' => '', | ||
38 | 'NP_SNMP_COMMUNITY' => '', | ||
39 | 'NP_SSH_CONFIGFILE' => '~/.ssh/config', | ||
40 | 'NP_SSH_HOST' => 'localhost', | ||
41 | 'NP_SSH_IDENTITY' => '~/.ssh/id_dsa', | ||
42 | 'NP_HOST_TCP_JABBER' => 'jabber.org', | ||
43 | 'host_nonresponsive' => '10.0.0.1', | ||
44 | 'host_responsive' => 'localhost', | ||
45 | 'host_snmp' => '', | ||
46 | 'host_tcp_ftp' => '', | ||
47 | 'host_tcp_http' => 'localhost', | ||
48 | 'host_tcp_imap' => 'imap.nierlein.de', | ||
49 | 'host_tcp_smtp' => 'localhost', | ||
50 | 'hostname_invalid' => 'nosuchhost', | ||
51 | 'snmp_community' => '', | ||
52 | 'user_snmp' => '', | ||
53 | 'host_udp_time' => 'none', | ||
54 | } | ||
diff --git a/plugins/t/check_disk.t b/plugins/t/check_disk.t index 39b4ca9..7e0f74b 100644 --- a/plugins/t/check_disk.t +++ b/plugins/t/check_disk.t | |||
@@ -4,7 +4,7 @@ | |||
4 | # | 4 | # |
5 | # | 5 | # |
6 | 6 | ||
7 | # TODO: Add in tests for perf data. Need to beef up Nagios::Plugin::Performance to cater for max, min, etc | 7 | # TODO: Add in tests for perf data. Need to beef up Monitoring::Plugin::Performance to cater for max, min, etc |
8 | 8 | ||
9 | use strict; | 9 | use strict; |
10 | use Test::More; | 10 | use Test::More; |
@@ -37,7 +37,7 @@ cmp_ok( $c, '==', 2, "Got two mountpoints in output"); | |||
37 | 37 | ||
38 | 38 | ||
39 | # Get perf data | 39 | # Get perf data |
40 | # Should use Nagios::Plugin | 40 | # Should use Monitoring::Plugin |
41 | my @perf_data = sort(split(/ /, $result->perf_output)); | 41 | my @perf_data = sort(split(/ /, $result->perf_output)); |
42 | 42 | ||
43 | 43 | ||
diff --git a/plugins/t/check_dns.t b/plugins/t/check_dns.t index 64aaf0c..4ff553f 100644 --- a/plugins/t/check_dns.t +++ b/plugins/t/check_dns.t | |||
@@ -10,14 +10,14 @@ use NPTest; | |||
10 | 10 | ||
11 | plan skip_all => "check_dns not compiled" unless (-x "check_dns"); | 11 | plan skip_all => "check_dns not compiled" unless (-x "check_dns"); |
12 | 12 | ||
13 | plan tests => 13; | 13 | plan tests => 14; |
14 | 14 | ||
15 | my $successOutput = '/DNS OK: [\.0-9]+ seconds? response time/'; | 15 | my $successOutput = '/DNS OK: [\.0-9]+ seconds? response time/'; |
16 | 16 | ||
17 | my $hostname_valid = getTestParameter( | 17 | my $hostname_valid = getTestParameter( |
18 | "NP_HOSTNAME_VALID", | 18 | "NP_HOSTNAME_VALID", |
19 | "A valid (known to DNS) hostname", | 19 | "A valid (known to DNS) hostname", |
20 | "nagios.com" | 20 | "monitoring-plugins.org" |
21 | ); | 21 | ); |
22 | 22 | ||
23 | my $hostname_valid_ip = getTestParameter( | 23 | my $hostname_valid_ip = getTestParameter( |
@@ -54,6 +54,7 @@ cmp_ok( $res->return_code, '==', 2, "Critical threshold passed"); | |||
54 | 54 | ||
55 | $res = NPTest->testCmd("./check_dns -H $hostname_valid -t 5 -w 0 -c 5"); | 55 | $res = NPTest->testCmd("./check_dns -H $hostname_valid -t 5 -w 0 -c 5"); |
56 | cmp_ok( $res->return_code, '==', 1, "Warning threshold passed"); | 56 | cmp_ok( $res->return_code, '==', 1, "Warning threshold passed"); |
57 | like( $res->output, "/\|time=[\d\.]+s;0.0*;5\.0*;0\.0*/", "Output performance data OK" ); | ||
57 | 58 | ||
58 | $res = NPTest->testCmd("./check_dns -H $hostname_invalid -t 1"); | 59 | $res = NPTest->testCmd("./check_dns -H $hostname_invalid -t 1"); |
59 | cmp_ok( $res->return_code, '==', 2, "Invalid $hostname_invalid"); | 60 | cmp_ok( $res->return_code, '==', 2, "Invalid $hostname_invalid"); |
diff --git a/plugins/t/check_fping.t b/plugins/t/check_fping.t index 45a9be8..08692e4 100644 --- a/plugins/t/check_fping.t +++ b/plugins/t/check_fping.t | |||
@@ -27,16 +27,18 @@ my $hostname_invalid = getTestParameter( "hostname_invalid", "NP_HOSTNAME_IN | |||
27 | 27 | ||
28 | my $t; | 28 | my $t; |
29 | 29 | ||
30 | if ( -x "./check_fping" ) | 30 | my $fping = qx(which fping 2> /dev/null); |
31 | { | 31 | chomp($fping); |
32 | if( ! -x "./check_fping") { | ||
33 | $t += skipMissingCmd( "./check_fping", $tests ); | ||
34 | } | ||
35 | elsif ( $> != 0 && (!$fping || ! -u $fping)) { | ||
36 | $t += skipMsg( "./check_fping", $tests ); | ||
37 | } else { | ||
32 | $t += checkCmd( "./check_fping $host_responsive", 0, $successOutput ); | 38 | $t += checkCmd( "./check_fping $host_responsive", 0, $successOutput ); |
33 | $t += checkCmd( "./check_fping $host_nonresponsive", [ 1, 2 ] ); | 39 | $t += checkCmd( "./check_fping $host_nonresponsive", [ 1, 2 ] ); |
34 | $t += checkCmd( "./check_fping $hostname_invalid", [ 1, 2 ] ); | 40 | $t += checkCmd( "./check_fping $hostname_invalid", [ 1, 2 ] ); |
35 | } | 41 | } |
36 | else | ||
37 | { | ||
38 | $t += skipMissingCmd( "./check_fping", $tests ); | ||
39 | } | ||
40 | 42 | ||
41 | exit(0) if defined($Test::Harness::VERSION); | 43 | exit(0) if defined($Test::Harness::VERSION); |
42 | exit($tests - $t); | 44 | exit($tests - $t); |
diff --git a/plugins/t/check_http.t b/plugins/t/check_http.t index 2908673..2539a28 100644 --- a/plugins/t/check_http.t +++ b/plugins/t/check_http.t | |||
@@ -31,8 +31,8 @@ my $internet_access = getTestParameter( "NP_INTERNET_ACCESS", | |||
31 | "yes"); | 31 | "yes"); |
32 | 32 | ||
33 | my $host_tcp_http2 = getTestParameter( "NP_HOST_TCP_HTTP2", | 33 | my $host_tcp_http2 = getTestParameter( "NP_HOST_TCP_HTTP2", |
34 | "A host providing an index page containing the string 'nagios'", | 34 | "A host providing an index page containing the string 'monitoring'", |
35 | "nagios.org" ); | 35 | "test.monitoring-plugins.org" ); |
36 | 36 | ||
37 | 37 | ||
38 | $res = NPTest->testCmd( | 38 | $res = NPTest->testCmd( |
@@ -62,27 +62,27 @@ cmp_ok( $res->return_code, '==', 2, "Webserver $hostname_invalid not valid" ); | |||
62 | like( $res->output, "/Unable to open TCP socket|Socket timeout after/", "Output OK"); | 62 | like( $res->output, "/Unable to open TCP socket|Socket timeout after/", "Output OK"); |
63 | 63 | ||
64 | SKIP: { | 64 | SKIP: { |
65 | skip "No host serving nagios in index file", 7 unless $host_tcp_http2; | 65 | skip "No host serving monitoring in index file", 7 unless $host_tcp_http2; |
66 | 66 | ||
67 | $res = NPTest->testCmd( "./check_http -H $host_tcp_http2 -r 'nagios'" ); | 67 | $res = NPTest->testCmd( "./check_http -H $host_tcp_http2 -r 'monitoring'" ); |
68 | cmp_ok( $res->return_code, "==", 0, "Got a reference to 'nagios'"); | 68 | cmp_ok( $res->return_code, "==", 0, "Got a reference to 'monitoring'"); |
69 | 69 | ||
70 | $res = NPTest->testCmd( "./check_http -H $host_tcp_http2 -r 'nAGiOs'" ); | 70 | $res = NPTest->testCmd( "./check_http -H $host_tcp_http2 -r 'mONiTORing'" ); |
71 | cmp_ok( $res->return_code, "==", 2, "Not got 'nAGiOs'"); | 71 | cmp_ok( $res->return_code, "==", 2, "Not got 'mONiTORing'"); |
72 | like ( $res->output, "/pattern not found/", "Error message says 'pattern not found'"); | 72 | like ( $res->output, "/pattern not found/", "Error message says 'pattern not found'"); |
73 | 73 | ||
74 | $res = NPTest->testCmd( "./check_http -H $host_tcp_http2 -R 'nAGiOs'" ); | 74 | $res = NPTest->testCmd( "./check_http -H $host_tcp_http2 -R 'mONiTORing'" ); |
75 | cmp_ok( $res->return_code, "==", 0, "But case insensitive doesn't mind 'nAGiOs'"); | 75 | cmp_ok( $res->return_code, "==", 0, "But case insensitive doesn't mind 'mONiTORing'"); |
76 | 76 | ||
77 | $res = NPTest->testCmd( "./check_http -H $host_tcp_http2 -r 'nagios' --invert-regex" ); | 77 | $res = NPTest->testCmd( "./check_http -H $host_tcp_http2 -r 'monitoring' --invert-regex" ); |
78 | cmp_ok( $res->return_code, "==", 2, "Invert results work when found"); | 78 | cmp_ok( $res->return_code, "==", 2, "Invert results work when found"); |
79 | like ( $res->output, "/pattern found/", "Error message says 'pattern found'"); | 79 | like ( $res->output, "/pattern found/", "Error message says 'pattern found'"); |
80 | 80 | ||
81 | $res = NPTest->testCmd( "./check_http -H $host_tcp_http2 -r 'nAGiOs' --invert-regex" ); | 81 | $res = NPTest->testCmd( "./check_http -H $host_tcp_http2 -r 'mONiTORing' --invert-regex" ); |
82 | cmp_ok( $res->return_code, "==", 0, "And also when not found"); | 82 | cmp_ok( $res->return_code, "==", 0, "And also when not found"); |
83 | } | 83 | } |
84 | SKIP: { | 84 | SKIP: { |
85 | skip "No internet access", 11 if $internet_access eq "no"; | 85 | skip "No internet access", 16 if $internet_access eq "no"; |
86 | 86 | ||
87 | $res = NPTest->testCmd( | 87 | $res = NPTest->testCmd( |
88 | "./check_http --ssl www.verisign.com" | 88 | "./check_http --ssl www.verisign.com" |
diff --git a/plugins/t/check_mysql.t b/plugins/t/check_mysql.t index d971645..28cd4cd 100644 --- a/plugins/t/check_mysql.t +++ b/plugins/t/check_mysql.t | |||
@@ -21,27 +21,29 @@ plan skip_all => "check_mysql not compiled" unless (-x "check_mysql"); | |||
21 | plan tests => 15; | 21 | plan tests => 15; |
22 | 22 | ||
23 | my $bad_login_output = '/Access denied for user /'; | 23 | my $bad_login_output = '/Access denied for user /'; |
24 | my $mysqlserver = getTestParameter( | 24 | my $mysqlserver = getTestParameter( |
25 | "NP_MYSQL_SERVER", | 25 | "NP_MYSQL_SERVER", |
26 | "A MySQL Server hostname or IP with no slaves setup" | 26 | "A MySQL Server hostname or IP with no slaves setup" |
27 | ); | 27 | ); |
28 | my $mysqlsocket = getTestParameter( | 28 | my $mysqlsocket = getTestParameter( |
29 | "NP_MYSQL_SOCKET", | 29 | "NP_MYSQL_SOCKET", |
30 | "A MySQL Server socket with no slaves setup" | 30 | "Full path to a MySQL Server socket with no slaves setup" |
31 | ); | 31 | ); |
32 | my $mysql_login_details = getTestParameter( | 32 | my $mysql_login_details = getTestParameter( |
33 | "MYSQL_LOGIN_DETAILS", | 33 | "MYSQL_LOGIN_DETAILS", |
34 | "Command line parameters to specify login access", | 34 | "Command line parameters to specify login access (requires " . |
35 | "-u user -ppw -d db", | 35 | "REPLICATION CLIENT privleges)", |
36 | "-u test -ptest", | ||
36 | ); | 37 | ); |
37 | my $with_slave = getTestParameter( | 38 | my $with_slave = getTestParameter( |
38 | "NP_MYSQL_WITH_SLAVE", | 39 | "NP_MYSQL_WITH_SLAVE", |
39 | "MySQL server with slaves setup" | 40 | "MySQL server with slaves setup" |
40 | ); | 41 | ); |
41 | my $with_slave_login = getTestParameter( | 42 | my $with_slave_login = getTestParameter( |
42 | "NP_MYSQL_WITH_SLAVE_LOGIN", | 43 | "NP_MYSQL_WITH_SLAVE_LOGIN", |
43 | "Login details for server with slave", | 44 | "Login details for server with slave (requires REPLICATION CLIENT " . |
44 | "-uroot -ppw" | 45 | "privleges)", |
46 | $mysql_login_details || "-u test -ptest" | ||
45 | ); | 47 | ); |
46 | 48 | ||
47 | my $result; | 49 | my $result; |
diff --git a/plugins/t/check_ntp.t b/plugins/t/check_ntp.t index 3eee6e1..74d890f 100644 --- a/plugins/t/check_ntp.t +++ b/plugins/t/check_ntp.t | |||
@@ -23,12 +23,12 @@ my $no_ntp_service = getTestParameter( "NP_NO_NTP_SERVICE", | |||
23 | "A host NOT providing the NTP service", | 23 | "A host NOT providing the NTP service", |
24 | "localhost" ); | 24 | "localhost" ); |
25 | 25 | ||
26 | my $host_nonresponsive = getTestParameter( "NP_HOST_NONRESPONSIVE", | 26 | my $host_nonresponsive = getTestParameter( "NP_HOST_NONRESPONSIVE", |
27 | "The hostname of system not responsive to network requests", | 27 | "The hostname of system not responsive to network requests", |
28 | "10.0.0.1" ); | 28 | "10.0.0.1" ); |
29 | 29 | ||
30 | my $hostname_invalid = getTestParameter( "NP_HOSTNAME_INVALID", | 30 | my $hostname_invalid = getTestParameter( "NP_HOSTNAME_INVALID", |
31 | "An invalid (not known to DNS) hostname", | 31 | "An invalid (not known to DNS) hostname", |
32 | "nosuchhost"); | 32 | "nosuchhost"); |
33 | 33 | ||
34 | my $ntp_okmatch1 = '/^NTP\sOK:\sOffset\s-?[0-9]+(\.[0-9]+)?(e-[0-9]{2})?\ssecs/'; | 34 | my $ntp_okmatch1 = '/^NTP\sOK:\sOffset\s-?[0-9]+(\.[0-9]+)?(e-[0-9]{2})?\ssecs/'; |
@@ -43,7 +43,7 @@ my $ntp_nosuchhost = '/^check_ntp.*: Invalid hostname/address - ' . $hostname_in | |||
43 | 43 | ||
44 | foreach my $plugin (@PLUGINS1) { | 44 | foreach my $plugin (@PLUGINS1) { |
45 | SKIP: { | 45 | SKIP: { |
46 | skip "No NTP server defined", 1 unless $ntp_service; | 46 | skip "No NTP server defined", 6 unless $ntp_service; |
47 | $res = NPTest->testCmd( | 47 | $res = NPTest->testCmd( |
48 | "./$plugin -H $ntp_service -w 1000 -c 2000" | 48 | "./$plugin -H $ntp_service -w 1000 -c 2000" |
49 | ); | 49 | ); |
@@ -88,7 +88,7 @@ foreach my $plugin (@PLUGINS1) { | |||
88 | 88 | ||
89 | foreach my $plugin (@PLUGINS2) { | 89 | foreach my $plugin (@PLUGINS2) { |
90 | SKIP: { | 90 | SKIP: { |
91 | skip "No NTP server defined", 1 unless $ntp_service; | 91 | skip "No NTP server defined", 6 unless $ntp_service; |
92 | $res = NPTest->testCmd( | 92 | $res = NPTest->testCmd( |
93 | "./$plugin -H $ntp_service -w 1000 -c 2000 -W 20 -C 21 -j 100000 -k 200000 -m 1: -n 0:" | 93 | "./$plugin -H $ntp_service -w 1000 -c 2000 -W 20 -C 21 -j 100000 -k 200000 -m 1: -n 0:" |
94 | ); | 94 | ); |
diff --git a/plugins/t/check_procs.t b/plugins/t/check_procs.t index 1dea564..ca4acdd 100644 --- a/plugins/t/check_procs.t +++ b/plugins/t/check_procs.t | |||
@@ -13,7 +13,7 @@ my $t; | |||
13 | if (`uname -s` eq "SunOS\n" && ! -x "/usr/local/nagios/libexec/pst3") { | 13 | if (`uname -s` eq "SunOS\n" && ! -x "/usr/local/nagios/libexec/pst3") { |
14 | plan skip_all => "Ignoring tests on solaris because of pst3"; | 14 | plan skip_all => "Ignoring tests on solaris because of pst3"; |
15 | } else { | 15 | } else { |
16 | plan tests => 12; | 16 | plan tests => 14; |
17 | } | 17 | } |
18 | 18 | ||
19 | my $result; | 19 | my $result; |
@@ -26,6 +26,11 @@ $result = NPTest->testCmd( "./check_procs -w 100000 -c 100000 -s Z" ); | |||
26 | is( $result->return_code, 0, "Checking less than 100000 zombie processes" ); | 26 | is( $result->return_code, 0, "Checking less than 100000 zombie processes" ); |
27 | like( $result->output, '/^PROCS OK: [0-9]+ process(es)? with /', "Output correct" ); | 27 | like( $result->output, '/^PROCS OK: [0-9]+ process(es)? with /', "Output correct" ); |
28 | 28 | ||
29 | if(fork() == 0) { exec("sleep 7"); } # fork a test process | ||
30 | $result = NPTest->testCmd( "./check_procs -a 'sleep 7'" ); | ||
31 | is( $result->return_code, 0, "Parent process is ignored" ); | ||
32 | like( $result->output, '/^PROCS OK: 1 process?/', "Output correct" ); | ||
33 | |||
29 | $result = NPTest->testCmd( "./check_procs -w 0 -c 100000" ); | 34 | $result = NPTest->testCmd( "./check_procs -w 0 -c 100000" ); |
30 | is( $result->return_code, 1, "Checking warning if processes > 0" ); | 35 | is( $result->return_code, 1, "Checking warning if processes > 0" ); |
31 | like( $result->output, '/^PROCS WARNING: [0-9]+ process(es)? | procs=[0-9]+;0;100000;0;$/', "Output correct" ); | 36 | like( $result->output, '/^PROCS WARNING: [0-9]+ process(es)? | procs=[0-9]+;0;100000;0;$/', "Output correct" ); |
diff --git a/plugins/t/check_snmp.t b/plugins/t/check_snmp.t index 6de5f29..2d6c44a 100644 --- a/plugins/t/check_snmp.t +++ b/plugins/t/check_snmp.t | |||
@@ -10,7 +10,7 @@ use NPTest; | |||
10 | 10 | ||
11 | BEGIN { | 11 | BEGIN { |
12 | plan skip_all => 'check_snmp is not compiled' unless -x "./check_snmp"; | 12 | plan skip_all => 'check_snmp is not compiled' unless -x "./check_snmp"; |
13 | plan tests => 60; | 13 | plan tests => 61; |
14 | } | 14 | } |
15 | 15 | ||
16 | my $res; | 16 | my $res; |
@@ -26,6 +26,7 @@ my $host_nonresponsive = getTestParameter( "host_nonresponsive", "NP_HOST_NONRES | |||
26 | 26 | ||
27 | my $hostname_invalid = getTestParameter( "hostname_invalid", "NP_HOSTNAME_INVALID", "nosuchhost", | 27 | my $hostname_invalid = getTestParameter( "hostname_invalid", "NP_HOSTNAME_INVALID", "nosuchhost", |
28 | "An invalid (not known to DNS) hostname" ); | 28 | "An invalid (not known to DNS) hostname" ); |
29 | my $user_snmp = getTestParameter( "user_snmp", "NP_SNMP_USER", "auth_md5", "An SNMP user"); | ||
29 | 30 | ||
30 | $res = NPTest->testCmd( "./check_snmp -t 1" ); | 31 | $res = NPTest->testCmd( "./check_snmp -t 1" ); |
31 | is( $res->return_code, 3, "No host name" ); | 32 | is( $res->return_code, 3, "No host name" ); |
@@ -35,7 +36,7 @@ $res = NPTest->testCmd( "./check_snmp -H fakehostname" ); | |||
35 | is( $res->return_code, 3, "No OIDs specified" ); | 36 | is( $res->return_code, 3, "No OIDs specified" ); |
36 | is( $res->output, "No OIDs specified" ); | 37 | is( $res->output, "No OIDs specified" ); |
37 | 38 | ||
38 | $res = NPTest->testCmd( "./check_snmp -H fakehost -o oids -P 3 --seclevel=rubbish" ); | 39 | $res = NPTest->testCmd( "./check_snmp -H fakehost -o oids -P 3 -U not_a_user --seclevel=rubbish" ); |
39 | is( $res->return_code, 3, "Invalid seclevel" ); | 40 | is( $res->return_code, 3, "Invalid seclevel" ); |
40 | like( $res->output, "/check_snmp: Invalid seclevel - rubbish/" ); | 41 | like( $res->output, "/check_snmp: Invalid seclevel - rubbish/" ); |
41 | 42 | ||
@@ -44,7 +45,7 @@ is( $res->return_code, 3, "Invalid protocol" ); | |||
44 | like( $res->output, "/check_snmp: Invalid SNMP version - 3c/" ); | 45 | like( $res->output, "/check_snmp: Invalid SNMP version - 3c/" ); |
45 | 46 | ||
46 | SKIP: { | 47 | SKIP: { |
47 | skip "no snmp host defined", 38 if ( ! $host_snmp ); | 48 | skip "no snmp host defined", 48 if ( ! $host_snmp ); |
48 | 49 | ||
49 | $res = NPTest->testCmd( "./check_snmp -H $host_snmp -C $snmp_community -o system.sysUpTime.0 -w 1: -c 1:"); | 50 | $res = NPTest->testCmd( "./check_snmp -H $host_snmp -C $snmp_community -o system.sysUpTime.0 -w 1: -c 1:"); |
50 | cmp_ok( $res->return_code, '==', 0, "Exit OK when querying uptime" ); | 51 | cmp_ok( $res->return_code, '==', 0, "Exit OK when querying uptime" ); |
@@ -154,6 +155,12 @@ SKIP: { | |||
154 | like($res->output, '/^SNMP OK - Timeticks:\s\(\d+\)\s+(?:\d+ days?,\s+)?\d+:\d+:\d+\.\d+\s.*$/', "Timetick used as a string, result printed rather than parsed"); | 155 | like($res->output, '/^SNMP OK - Timeticks:\s\(\d+\)\s+(?:\d+ days?,\s+)?\d+:\d+:\d+\.\d+\s.*$/', "Timetick used as a string, result printed rather than parsed"); |
155 | } | 156 | } |
156 | 157 | ||
158 | SKIP: { | ||
159 | skip "no SNMP user defined", 1 if ( ! $user_snmp ); | ||
160 | $res = NPTest->testCmd( "./check_snmp -H $host_snmp -o HOST-RESOURCES-MIB::hrSystemUptime.0 -P 3 -U $user_snmp -L noAuthNoPriv"); | ||
161 | like( $res->output, '/^SNMP OK - Timeticks:\s\(\d+\)\s+(?:\d+ days?,\s+)?\d+:\d+:\d+\.\d+\s.*$/', "noAuthNoPriv security level works properly" ); | ||
162 | } | ||
163 | |||
157 | # These checks need a complete command line. An invalid community is used so | 164 | # These checks need a complete command line. An invalid community is used so |
158 | # the tests can run on hosts w/o snmp host/community in NPTest.cache. Execution will fail anyway | 165 | # the tests can run on hosts w/o snmp host/community in NPTest.cache. Execution will fail anyway |
159 | SKIP: { | 166 | SKIP: { |
diff --git a/plugins/t/check_tcp.t b/plugins/t/check_tcp.t index abb16ae..f996685 100644 --- a/plugins/t/check_tcp.t +++ b/plugins/t/check_tcp.t | |||
@@ -12,7 +12,6 @@ BEGIN { | |||
12 | use NPTest; | 12 | use NPTest; |
13 | $has_ipv6 = NPTest::has_ipv6(); | 13 | $has_ipv6 = NPTest::has_ipv6(); |
14 | $tests = $has_ipv6 ? 14 : 11; | 14 | $tests = $has_ipv6 ? 14 : 11; |
15 | plan tests => $tests; | ||
16 | } | 15 | } |
17 | 16 | ||
18 | 17 | ||
@@ -25,20 +24,29 @@ my $host_nonresponsive = getTestParameter( "host_nonresponsive", "NP_HOST_NONRES | |||
25 | my $hostname_invalid = getTestParameter( "hostname_invalid", "NP_HOSTNAME_INVALID", "nosuchhost", | 24 | my $hostname_invalid = getTestParameter( "hostname_invalid", "NP_HOSTNAME_INVALID", "nosuchhost", |
26 | "An invalid (not known to DNS) hostname" ); | 25 | "An invalid (not known to DNS) hostname" ); |
27 | 26 | ||
27 | my $internet_access = getTestParameter( "NP_INTERNET_ACCESS", | ||
28 | "Is this system directly connected to the internet?", | ||
29 | "yes"); | ||
30 | |||
28 | my $successOutput = '/^TCP OK\s-\s+[0-9]?\.?[0-9]+ second response time on port [0-9]+/'; | 31 | my $successOutput = '/^TCP OK\s-\s+[0-9]?\.?[0-9]+ second response time on port [0-9]+/'; |
29 | 32 | ||
30 | my $failedExpect = '/^TCP WARNING\s-\sUnexpected response from host/socket on port [0-9]+/'; | 33 | my $failedExpect = '/^TCP WARNING\s-\sUnexpected response from host/socket on port [0-9]+/'; |
31 | 34 | ||
32 | my $t; | 35 | my $t; |
33 | 36 | ||
37 | $tests = $tests - 4 if $internet_access eq "no"; | ||
38 | plan tests => $tests; | ||
39 | |||
34 | $t += checkCmd( "./check_tcp $host_tcp_http -p 80 -wt 300 -ct 600", 0, $successOutput ); | 40 | $t += checkCmd( "./check_tcp $host_tcp_http -p 80 -wt 300 -ct 600", 0, $successOutput ); |
35 | $t += checkCmd( "./check_tcp $host_tcp_http -p 81 -wt 0 -ct 0 -to 1", 2 ); # use invalid port for this test | 41 | $t += checkCmd( "./check_tcp $host_tcp_http -p 81 -wt 0 -ct 0 -to 1", 2 ); # use invalid port for this test |
36 | $t += checkCmd( "./check_tcp $host_nonresponsive -p 80 -wt 0 -ct 0 -to 1", 2 ); | 42 | $t += checkCmd( "./check_tcp $host_nonresponsive -p 80 -wt 0 -ct 0 -to 1", 2 ); |
37 | $t += checkCmd( "./check_tcp $hostname_invalid -p 80 -wt 0 -ct 0 -to 1", 2 ); | 43 | $t += checkCmd( "./check_tcp $hostname_invalid -p 80 -wt 0 -ct 0 -to 1", 2 ); |
38 | $t += checkCmd( "./check_tcp -S -D 1 -H www.verisign.com -p 443", 0 ); | 44 | if($internet_access ne "no") { |
39 | $t += checkCmd( "./check_tcp -S -D 9000,1 -H www.verisign.com -p 443", 1 ); | 45 | $t += checkCmd( "./check_tcp -S -D 1 -H www.verisign.com -p 443", 0 ); |
40 | $t += checkCmd( "./check_tcp -S -D 9000 -H www.verisign.com -p 443", 1 ); | 46 | $t += checkCmd( "./check_tcp -S -D 9000,1 -H www.verisign.com -p 443", 1 ); |
41 | $t += checkCmd( "./check_tcp -S -D 9000,8999 -H www.verisign.com -p 443", 2 ); | 47 | $t += checkCmd( "./check_tcp -S -D 9000 -H www.verisign.com -p 443", 1 ); |
48 | $t += checkCmd( "./check_tcp -S -D 9000,8999 -H www.verisign.com -p 443", 2 ); | ||
49 | } | ||
42 | 50 | ||
43 | # Need the \r\n to make it more standards compliant with web servers. Need the various quotes | 51 | # Need the \r\n to make it more standards compliant with web servers. Need the various quotes |
44 | # so that perl doesn't interpret the \r\n and is passed onto command line correctly | 52 | # so that perl doesn't interpret the \r\n and is passed onto command line correctly |
diff --git a/plugins/t/check_udp.t b/plugins/t/check_udp.t index 619cadf..1f6fee7 100644 --- a/plugins/t/check_udp.t +++ b/plugins/t/check_udp.t | |||
@@ -62,7 +62,7 @@ SKIP: { | |||
62 | cmp_ok( $res->return_code, '==', '2', "Hung waiting for response"); | 62 | cmp_ok( $res->return_code, '==', '2', "Hung waiting for response"); |
63 | like ( $res->output, '/Socket timeout after 5 seconds/', "Timeout message"); | 63 | like ( $res->output, '/Socket timeout after 5 seconds/', "Timeout message"); |
64 | like ( $duration, '/^[56]$/', "Timeout after 5 (possibly 6) seconds"); | 64 | like ( $duration, '/^[56]$/', "Timeout after 5 (possibly 6) seconds"); |
65 | my $read_nc = <NC>; | 65 | my $read_nc = <NC> || ''; |
66 | close NC; | 66 | close NC; |
67 | cmp_ok( $read_nc, 'eq', "foofoo", "Data received correctly" ); | 67 | cmp_ok( $read_nc, 'eq', "foofoo", "Data received correctly" ); |
68 | } | 68 | } |
diff --git a/plugins/t/negate.t b/plugins/t/negate.t index 0afe3ae..f18acc3 100644 --- a/plugins/t/negate.t +++ b/plugins/t/negate.t | |||
@@ -78,7 +78,7 @@ foreach my $current_state (keys(%state)) { | |||
78 | } | 78 | } |
79 | } | 79 | } |
80 | 80 | ||
81 | # Same as aboce with substitute | 81 | # Same as above with substitute |
82 | foreach my $current_state (keys(%state)) { | 82 | foreach my $current_state (keys(%state)) { |
83 | foreach my $new_state (keys(%state)) { | 83 | foreach my $new_state (keys(%state)) { |
84 | $res = NPTest->testCmd( "./negate -s --$current_state=$new_state ./check_dummy ".$state{$current_state}." 'Fake $new_state'" ); | 84 | $res = NPTest->testCmd( "./negate -s --$current_state=$new_state ./check_dummy ".$state{$current_state}." 'Fake $new_state'" ); |
diff --git a/plugins/tests/check_http.t b/plugins/tests/check_http.t index c3085e1..225b449 100755 --- a/plugins/tests/check_http.t +++ b/plugins/tests/check_http.t | |||
@@ -7,7 +7,7 @@ | |||
7 | # Country Name (2 letter code) [AU]:UK | 7 | # Country Name (2 letter code) [AU]:UK |
8 | # State or Province Name (full name) [Some-State]:Derbyshire | 8 | # State or Province Name (full name) [Some-State]:Derbyshire |
9 | # Locality Name (eg, city) []:Belper | 9 | # Locality Name (eg, city) []:Belper |
10 | # Organization Name (eg, company) [Internet Widgits Pty Ltd]:Nagios Plugins | 10 | # Organization Name (eg, company) [Internet Widgits Pty Ltd]:Monitoring Plugins |
11 | # Organizational Unit Name (eg, section) []: | 11 | # Organizational Unit Name (eg, section) []: |
12 | # Common Name (eg, YOUR name) []:Ton Voon | 12 | # Common Name (eg, YOUR name) []:Ton Voon |
13 | # Email Address []:tonvoon@mac.com | 13 | # Email Address []:tonvoon@mac.com |
@@ -20,8 +20,9 @@ use FindBin qw($Bin); | |||
20 | my $common_tests = 70; | 20 | my $common_tests = 70; |
21 | my $ssl_only_tests = 8; | 21 | my $ssl_only_tests = 8; |
22 | # Check that all dependent modules are available | 22 | # Check that all dependent modules are available |
23 | eval "use HTTP::Daemon 6.01;"; | ||
24 | plan skip_all => 'HTTP::Daemon >= 6.01 required' if $@; | ||
23 | eval { | 25 | eval { |
24 | require HTTP::Daemon; | ||
25 | require HTTP::Status; | 26 | require HTTP::Status; |
26 | require HTTP::Response; | 27 | require HTTP::Response; |
27 | }; | 28 | }; |
@@ -392,27 +393,21 @@ sub run_common_tests { | |||
392 | skip "This doesn't seems to work all the time", 1 unless ($ENV{HTTP_EXTERNAL}); | 393 | skip "This doesn't seems to work all the time", 1 unless ($ENV{HTTP_EXTERNAL}); |
393 | $cmd = "$command -f follow -u /redir_external -t 5"; | 394 | $cmd = "$command -f follow -u /redir_external -t 5"; |
394 | eval { | 395 | eval { |
395 | local $SIG{ALRM} = sub { die "alarm\n" }; | 396 | $result = NPTest->testCmd( $cmd, 2 ); |
396 | alarm(2); | 397 | }; |
397 | $result = NPTest->testCmd( $cmd ); | 398 | like( $@, "/timeout in command: $cmd/", $cmd ); |
398 | alarm(0); }; | ||
399 | is( $@, "alarm\n", $cmd ); | ||
400 | } | 399 | } |
401 | 400 | ||
402 | $cmd = "$command -u /timeout -t 5"; | 401 | $cmd = "$command -u /timeout -t 5"; |
403 | eval { | 402 | eval { |
404 | local $SIG{ALRM} = sub { die "alarm\n" }; | 403 | $result = NPTest->testCmd( $cmd, 2 ); |
405 | alarm(2); | 404 | }; |
406 | $result = NPTest->testCmd( $cmd ); | 405 | like( $@, "/timeout in command: $cmd/", $cmd ); |
407 | alarm(0); }; | ||
408 | is( $@, "alarm\n", $cmd ); | ||
409 | 406 | ||
410 | $cmd = "$command -f follow -u /redir_timeout -t 2"; | 407 | $cmd = "$command -f follow -u /redir_timeout -t 2"; |
411 | eval { | 408 | eval { |
412 | local $SIG{ALRM} = sub { die "alarm\n" }; | 409 | $result = NPTest->testCmd( $cmd, 5 ); |
413 | alarm(5); | 410 | }; |
414 | $result = NPTest->testCmd( $cmd ); | 411 | is( $@, "", $cmd ); |
415 | alarm(0); }; | ||
416 | isnt( $@, "alarm\n", $cmd ); | ||
417 | 412 | ||
418 | } | 413 | } |
diff --git a/plugins/tests/check_procs.t b/plugins/tests/check_procs.t index d71c83a..54d43d9 100644..100755 --- a/plugins/tests/check_procs.t +++ b/plugins/tests/check_procs.t | |||
@@ -18,59 +18,68 @@ my $command = "./check_procs --input-file=tests/var/ps-axwo.darwin"; | |||
18 | 18 | ||
19 | $result = NPTest->testCmd( "$command" ); | 19 | $result = NPTest->testCmd( "$command" ); |
20 | is( $result->return_code, 0, "Run with no options" ); | 20 | is( $result->return_code, 0, "Run with no options" ); |
21 | like( $result->output, '/^PROCS OK: 95 processes$/', "Output correct" ); | 21 | is( $result->output, "PROCS OK: 95 processes | procs=95;;;0;", "Output correct" ); |
22 | 22 | ||
23 | $result = NPTest->testCmd( "$command -w 5" ); | 23 | $result = NPTest->testCmd( "$command -w 5" ); |
24 | is( $result->return_code, 1, "Checking > 5 processes" ); | 24 | is( $result->return_code, 1, "Checking > 5 processes" ); |
25 | like( $result->output, '/^PROCS WARNING: 95 processes$/', "Output correct" ); | 25 | is( $result->output, "PROCS WARNING: 95 processes | procs=95;5;;0;", "Output correct" ); |
26 | 26 | ||
27 | $result = NPTest->testCmd( "$command -w 4 -c 44" ); | 27 | $result = NPTest->testCmd( "$command -w 4 -c 44" ); |
28 | is( $result->return_code, 2, "Checking critical" ); | 28 | is( $result->return_code, 2, "Checking critical" ); |
29 | like( $result->output, '/^PROCS CRITICAL: 95 processes$/', "Output correct" ); | 29 | is( $result->output, "PROCS CRITICAL: 95 processes | procs=95;4;44;0;", "Output correct" ); |
30 | 30 | ||
31 | $result = NPTest->testCmd( "$command -w 100 -c 200" ); | 31 | $result = NPTest->testCmd( "$command -w 100 -c 200" ); |
32 | is( $result->return_code, 0, "Checking no threshold breeched" ); | 32 | is( $result->return_code, 0, "Checking no threshold breeched" ); |
33 | like( $result->output, '/^PROCS OK: 95 processes$/', "Output correct" ); | 33 | is( $result->output, "PROCS OK: 95 processes | procs=95;100;200;0;", "Output correct" ); |
34 | 34 | ||
35 | $result = NPTest->testCmd( "$command -C launchd -c 5" ); | 35 | $result = NPTest->testCmd( "$command -C launchd -c 5" ); |
36 | is( $result->return_code, 2, "Checking processes filtered by command name" ); | 36 | is( $result->return_code, 2, "Checking processes filtered by command name" ); |
37 | like( $result->output, '/^PROCS CRITICAL: 6 processes with command name \'launchd\'$/', "Output correct" ); | 37 | is( $result->output, "PROCS CRITICAL: 6 processes with command name 'launchd' | procs=6;;5;0;", "Output correct" ); |
38 | 38 | ||
39 | $result = NPTest->testCmd( "$command -u 501 -w 39 -c 41" ); | 39 | SKIP: { |
40 | is( $result->return_code, 1, "Checking processes filtered by userid" ); | 40 | skip 'user with uid 501 required', 4 unless getpwuid(501); |
41 | like( $result->output, '/^PROCS WARNING: 40 processes with UID = 501 (.*)$/', "Output correct" ); | ||
42 | 41 | ||
43 | $result = NPTest->testCmd( "$command -C launchd -u 501" ); | 42 | $result = NPTest->testCmd( "$command -u 501 -w 39 -c 41" ); |
44 | is( $result->return_code, 0, "Checking processes filtered by command name and userid" ); | 43 | is( $result->return_code, 1, "Checking processes filtered by userid" ); |
45 | like( $result->output, '/^PROCS OK: 1 process with command name \'launchd\', UID = 501 (.*)$/', "Output correct" ); | 44 | like( $result->output, '/^PROCS WARNING: 40 processes with UID = 501 (.*)$/', "Output correct" ); |
46 | 45 | ||
47 | $result = NPTest->testCmd( "$command -u -2 -w 2:2" ); | 46 | $result = NPTest->testCmd( "$command -C launchd -u 501" ); |
48 | is( $result->return_code, 1, "Checking processes with userid=-2" ); | 47 | is( $result->return_code, 0, "Checking processes filtered by command name and userid" ); |
49 | like( $result->output, '/^PROCS WARNING: 3 processes with UID = -2 \(nobody\)$/', "Output correct" ); | 48 | like( $result->output, '/^PROCS OK: 1 process with command name \'launchd\', UID = 501 (.*)$/', "Output correct" ); |
49 | } | ||
50 | |||
51 | SKIP: { | ||
52 | skip 'user with uid -2 required', 8 unless getpwuid(-2); | ||
53 | skip 'uid -2 must have name "nobody"', 8 unless getpwuid(-2) eq 'nobody'; | ||
50 | 54 | ||
51 | $result = NPTest->testCmd( "$command -u -2 -w 3:3" ); | 55 | $result = NPTest->testCmd( "$command -u -2 -w 2:2" ); |
52 | is( $result->return_code, 0, "Checking processes with userid=-2 past threshold" ); | 56 | is( $result->return_code, 1, "Checking processes with userid=-2" ); |
53 | like( $result->output, '/^PROCS OK: 3 processes with UID = -2 \(nobody\)$/', "Output correct" ); | 57 | like( $result->output, '/^PROCS WARNING: 3 processes with UID = -2 \(nobody\)$/', "Output correct" ); |
54 | 58 | ||
55 | $result = NPTest->testCmd( "$command -u -2 -a usb" ); | 59 | $result = NPTest->testCmd( "$command -u -2 -w 3:3" ); |
56 | is( $result->return_code, 0, "Checking processes with userid=-2 and usb in arguments" ); | 60 | is( $result->return_code, 0, "Checking processes with userid=-2 past threshold" ); |
57 | like( $result->output, '/^PROCS OK: 1 process with UID = -2 \(nobody\), args \'usb\'/', "Output correct" ); | 61 | like( $result->output, '/^PROCS OK: 3 processes with UID = -2 \(nobody\)$/', "Output correct" ); |
58 | 62 | ||
59 | $result = NPTest->testCmd( "$command -u -2 -a UsB" ); | 63 | $result = NPTest->testCmd( "$command -u -2 -a usb" ); |
60 | is( $result->return_code, 0, "Checking case sensitivity of args" ); | 64 | is( $result->return_code, 0, "Checking processes with userid=-2 and usb in arguments" ); |
61 | like( $result->output, '/^PROCS OK: 0 processes with UID = -2 \(nobody\), args \'UsB\'/', "Output correct" ); | 65 | like( $result->output, '/^PROCS OK: 1 process with UID = -2 \(nobody\), args \'usb\'/', "Output correct" ); |
66 | |||
67 | $result = NPTest->testCmd( "$command -u -2 -a UsB" ); | ||
68 | is( $result->return_code, 0, "Checking case sensitivity of args" ); | ||
69 | like( $result->output, '/^PROCS OK: 0 processes with UID = -2 \(nobody\), args \'UsB\'/', "Output correct" ); | ||
70 | }; | ||
62 | 71 | ||
63 | $result = NPTest->testCmd( "$command --ereg-argument-array='mdworker.*501'" ); | 72 | $result = NPTest->testCmd( "$command --ereg-argument-array='mdworker.*501'" ); |
64 | is( $result->return_code, 0, "Checking regexp search of arguments" ); | 73 | is( $result->return_code, 0, "Checking regexp search of arguments" ); |
65 | is( $result->output, "PROCS OK: 1 process with regex args 'mdworker.*501'", "Output correct" ); | 74 | is( $result->output, "PROCS OK: 1 process with regex args 'mdworker.*501' | procs=1;;;0;", "Output correct" ); |
66 | 75 | ||
67 | $result = NPTest->testCmd( "$command --vsz 1000000" ); | 76 | $result = NPTest->testCmd( "$command --vsz 1000000" ); |
68 | is( $result->return_code, 0, "Checking filter by VSZ" ); | 77 | is( $result->return_code, 0, "Checking filter by VSZ" ); |
69 | like( $result->output, '/^PROCS OK: 24 processes with VSZ >= 1000000$/', "Output correct" ); | 78 | is( $result->output, 'PROCS OK: 24 processes with VSZ >= 1000000 | procs=24;;;0;', "Output correct" ); |
70 | 79 | ||
71 | $result = NPTest->testCmd( "$command --rss 100000" ); | 80 | $result = NPTest->testCmd( "$command --rss 100000" ); |
72 | is( $result->return_code, 0, "Checking filter by RSS" ); | 81 | is( $result->return_code, 0, "Checking filter by RSS" ); |
73 | like( $result->output, '/^PROCS OK: 3 processes with RSS >= 100000$/', "Output correct" ); | 82 | is( $result->output, 'PROCS OK: 3 processes with RSS >= 100000 | procs=3;;;0;', "Output correct" ); |
74 | 83 | ||
75 | $result = NPTest->testCmd( "$command -s S" ); | 84 | $result = NPTest->testCmd( "$command -s S" ); |
76 | is( $result->return_code, 0, "Checking filter for sleeping processes" ); | 85 | is( $result->return_code, 0, "Checking filter for sleeping processes" ); |
@@ -86,34 +95,38 @@ like( $result->output, '/^PROCS CRITICAL: 39 processes with PPID = 1/', "Output | |||
86 | 95 | ||
87 | $result = NPTest->testCmd( "$command -P 0.71" ); | 96 | $result = NPTest->testCmd( "$command -P 0.71" ); |
88 | is( $result->return_code, 0, "Checking filter for percentage cpu > 0.71" ); | 97 | is( $result->return_code, 0, "Checking filter for percentage cpu > 0.71" ); |
89 | is( $result->output, 'PROCS OK: 7 processes with PCPU >= 0.71', "Output correct" ); | 98 | is( $result->output, 'PROCS OK: 7 processes with PCPU >= 0.71 | procs=7;;;0;', "Output correct" ); |
90 | 99 | ||
91 | $result = NPTest->testCmd( "$command -P 0.70" ); | 100 | $result = NPTest->testCmd( "$command -P 0.70" ); |
92 | is( $result->return_code, 0, "Checking filter for percentage cpu > 0.70" ); | 101 | is( $result->return_code, 0, "Checking filter for percentage cpu > 0.70" ); |
93 | is( $result->output, 'PROCS OK: 8 processes with PCPU >= 0.70', "Output correct" ); | 102 | is( $result->output, 'PROCS OK: 8 processes with PCPU >= 0.70 | procs=8;;;0;', "Output correct" ); |
94 | 103 | ||
95 | $result = NPTest->testCmd( "$command --metric=CPU -w 8" ); | 104 | $result = NPTest->testCmd( "$command --metric=CPU -w 8" ); |
96 | is( $result->return_code, 1, "Checking against metric of CPU > 8" ); | 105 | is( $result->return_code, 1, "Checking against metric of CPU > 8" ); |
97 | is( $result->output, 'CPU WARNING: 1 warn out of 95 processes', "Output correct" ); | 106 | is( $result->output, 'CPU WARNING: 1 warn out of 95 processes | procs=95;;;0; procs_warn=1;;;0; procs_crit=0;;;0;', "Output correct" ); |
98 | 107 | ||
99 | # TODO: Because of a conversion to int, if CPU is 1.45%, will not alert, but 2.01% will. | 108 | # TODO: Because of a conversion to int, if CPU is 1.45%, will not alert, but 2.01% will. |
100 | $result = NPTest->testCmd( "$command --metric=CPU -w 1 -u 501 -v" ); | 109 | SKIP: { |
101 | is( $result->return_code, 1, "Checking against metric of CPU > 1 with uid=501 - TODO" ); | 110 | skip 'user with uid 501 required', 2 unless getpwuid(501); |
102 | is( $result->output, 'CPU WARNING: 2 warn out of 40 processes with UID = 501 (tonvoon) [Skype, PubSubAgent]', "Output correct" ); | 111 | |
112 | $result = NPTest->testCmd( "$command --metric=CPU -w 1 -u 501 -v" ); | ||
113 | is( $result->return_code, 1, "Checking against metric of CPU > 1 with uid=501 - TODO" ); | ||
114 | is( $result->output, 'CPU WARNING: 2 warn out of 40 processes with UID = 501 (tonvoon) [Skype, PubSubAgent]', "Output correct" ); | ||
115 | }; | ||
103 | 116 | ||
104 | $result = NPTest->testCmd( "$command --metric=VSZ -w 1200000 -v" ); | 117 | $result = NPTest->testCmd( "$command --metric=VSZ -w 1200000 -v" ); |
105 | is( $result->return_code, 1, "Checking against VSZ > 1.2GB" ); | 118 | is( $result->return_code, 1, "Checking against VSZ > 1.2GB" ); |
106 | is( $result->output, 'VSZ WARNING: 4 warn out of 95 processes [WindowServer, Safari, Mail, Skype]', "Output correct" ); | 119 | is( $result->output, 'VSZ WARNING: 4 warn out of 95 processes [WindowServer, Safari, Mail, Skype] | procs=95;;;0; procs_warn=4;;;0; procs_crit=0;;;0;', "Output correct" ); |
107 | 120 | ||
108 | $result = NPTest->testCmd( "$command --metric=VSZ -w 1200000 -v" ); | 121 | $result = NPTest->testCmd( "$command --metric=VSZ -w 1200000 -v" ); |
109 | is( $result->return_code, 1, "Checking against VSZ > 1.2GB" ); | 122 | is( $result->return_code, 1, "Checking against VSZ > 1.2GB" ); |
110 | is( $result->output, 'VSZ WARNING: 4 warn out of 95 processes [WindowServer, Safari, Mail, Skype]', "Output correct" ); | 123 | is( $result->output, 'VSZ WARNING: 4 warn out of 95 processes [WindowServer, Safari, Mail, Skype] | procs=95;;;0; procs_warn=4;;;0; procs_crit=0;;;0;', "Output correct" ); |
111 | 124 | ||
112 | $result = NPTest->testCmd( "$command --metric=RSS -c 70000 -v" ); | 125 | $result = NPTest->testCmd( "$command --metric=RSS -c 70000 -v" ); |
113 | is( $result->return_code, 2, "Checking against RSS > 70MB" ); | 126 | is( $result->return_code, 2, "Checking against RSS > 70MB" ); |
114 | is( $result->output, 'RSS CRITICAL: 5 crit, 0 warn out of 95 processes [WindowServer, SystemUIServer, Safari, Mail, Safari]', "Output correct" ); | 127 | is( $result->output, 'RSS CRITICAL: 5 crit, 0 warn out of 95 processes [WindowServer, SystemUIServer, Safari, Mail, Safari] | procs=95;;;0; procs_warn=0;;;0; procs_crit=5;;;0;', "Output correct" ); |
115 | 128 | ||
116 | $result = NPTest->testCmd( "$command --ereg-argument-array='(nosuchname|nosuch2name)'" ); | 129 | $result = NPTest->testCmd( "$command --ereg-argument-array='(nosuchname|nosuch2name)'" ); |
117 | is( $result->return_code, 0, "Checking no pipe symbol in output" ); | 130 | is( $result->return_code, 0, "Checking no pipe symbol in output" ); |
118 | is( $result->output, "PROCS OK: 0 processes with regex args '(nosuchname,nosuch2name)'", "Output correct" ); | 131 | is( $result->output, "PROCS OK: 0 processes with regex args '(nosuchname,nosuch2name)' | procs=0;;;0;", "Output correct" ); |
119 | 132 | ||
diff --git a/plugins/tests/check_snmp.t b/plugins/tests/check_snmp.t index 1ef0b20..aace9bc 100755 --- a/plugins/tests/check_snmp.t +++ b/plugins/tests/check_snmp.t | |||
@@ -8,7 +8,7 @@ use Test::More; | |||
8 | use NPTest; | 8 | use NPTest; |
9 | use FindBin qw($Bin); | 9 | use FindBin qw($Bin); |
10 | 10 | ||
11 | my $tests = 53; | 11 | my $tests = 67; |
12 | # Check that all dependent modules are available | 12 | # Check that all dependent modules are available |
13 | eval { | 13 | eval { |
14 | require NetSNMP::OID; | 14 | require NetSNMP::OID; |
@@ -59,7 +59,7 @@ if ($ARGV[0] && $ARGV[0] eq "-d") { | |||
59 | } | 59 | } |
60 | 60 | ||
61 | # We should merge that with $ENV{'NPTEST_CACHE'}, use one dir for all test data | 61 | # We should merge that with $ENV{'NPTEST_CACHE'}, use one dir for all test data |
62 | $ENV{'NAGIOS_PLUGIN_STATE_DIRECTORY'} ||= "/var/tmp"; | 62 | $ENV{'MP_STATE_PATH'} ||= "/var/tmp"; |
63 | 63 | ||
64 | my $res; | 64 | my $res; |
65 | 65 | ||
@@ -79,7 +79,7 @@ Copyright (c) 1986-2004 by cisco Systems, Inc. | |||
79 | $res = NPTest->testCmd( "./check_snmp -H 127.0.0.1 -C public -p $port_snmp -o .1.3.6.1.4.1.8072.3.2.67.0 -o sysContact.0 -o .1.3.6.1.4.1.8072.3.2.67.1"); | 79 | $res = NPTest->testCmd( "./check_snmp -H 127.0.0.1 -C public -p $port_snmp -o .1.3.6.1.4.1.8072.3.2.67.0 -o sysContact.0 -o .1.3.6.1.4.1.8072.3.2.67.1"); |
80 | cmp_ok( $res->return_code, '==', 0, "Exit OK when querying multi-line OIDs" ); | 80 | cmp_ok( $res->return_code, '==', 0, "Exit OK when querying multi-line OIDs" ); |
81 | like($res->output, '/^SNMP OK - /', "String contains SNMP OK"); | 81 | like($res->output, '/^SNMP OK - /', "String contains SNMP OK"); |
82 | like($res->output, '/'.quotemeta('SNMP OK - Cisco Internetwork Operating System Software Alice Kisco Outernetwork Oserating Gystem Totware | | 82 | like($res->output, '/'.quotemeta('SNMP OK - Cisco Internetwork Operating System Software ').'"?Alice"?'.quotemeta(' Kisco Outernetwork Oserating Gystem Totware | |
83 | .1.3.6.1.4.1.8072.3.2.67.0: | 83 | .1.3.6.1.4.1.8072.3.2.67.0: |
84 | "Cisco Internetwork Operating System Software | 84 | "Cisco Internetwork Operating System Software |
85 | IOS (tm) Catalyst 4000 \"L3\" Switch Software (cat4000-I9K91S-M), Version | 85 | IOS (tm) Catalyst 4000 \"L3\" Switch Software (cat4000-I9K91S-M), Version |
@@ -109,7 +109,7 @@ like($res->output, '/'.quotemeta('SNMP OK - And now have fun with with this: \"C | |||
109 | "And now have fun with with this: \"C:\\\\\" | 109 | "And now have fun with with this: \"C:\\\\\" |
110 | because we\'re not done yet!"').'/m', "Attempt to confuse parser No.3"); | 110 | because we\'re not done yet!"').'/m', "Attempt to confuse parser No.3"); |
111 | 111 | ||
112 | system("rm -f ".$ENV{'NAGIOS_PLUGIN_STATE_DIRECTORY'}."/check_snmp/*"); | 112 | system("rm -f ".$ENV{'MP_STATE_PATH'}."/check_snmp/*"); |
113 | $res = NPTest->testCmd( "./check_snmp -H 127.0.0.1 -C public -p $port_snmp -o .1.3.6.1.4.1.8072.3.2.67.10 --rate -w 600" ); | 113 | $res = NPTest->testCmd( "./check_snmp -H 127.0.0.1 -C public -p $port_snmp -o .1.3.6.1.4.1.8072.3.2.67.10 --rate -w 600" ); |
114 | is($res->return_code, 0, "Returns OK"); | 114 | is($res->return_code, 0, "Returns OK"); |
115 | is($res->output, "No previous data to calculate rate - assume okay"); | 115 | is($res->output, "No previous data to calculate rate - assume okay"); |
@@ -214,3 +214,31 @@ $res = NPTest->testCmd( "./check_snmp -H 127.0.0.1 -C public -p $port_snmp -o .1 | |||
214 | is($res->return_code, 0, "String check should check whole string, not a parsed number" ); | 214 | is($res->return_code, 0, "String check should check whole string, not a parsed number" ); |
215 | is($res->output, 'SNMP OK - "CUSTOM CHECK OK: foo is 12345" | ', "String check witn numbers returns whole string"); | 215 | is($res->output, 'SNMP OK - "CUSTOM CHECK OK: foo is 12345" | ', "String check witn numbers returns whole string"); |
216 | 216 | ||
217 | $res = NPTest->testCmd( "./check_snmp -H 127.0.0.1 -C public -p $port_snmp -o .1.3.6.1.4.1.8072.3.2.67.16 -w -2: -c -3:" ); | ||
218 | is($res->return_code, 0, "Negative integer check OK" ); | ||
219 | is($res->output, 'SNMP OK - -2 | iso.3.6.1.4.1.8072.3.2.67.16=-2 ', "Negative integer check OK output" ); | ||
220 | |||
221 | $res = NPTest->testCmd( "./check_snmp -H 127.0.0.1 -C public -p $port_snmp -o .1.3.6.1.4.1.8072.3.2.67.16 -w -2: -c -3:" ); | ||
222 | is($res->return_code, 1, "Negative integer check WARNING" ); | ||
223 | is($res->output, 'SNMP WARNING - *-3* | iso.3.6.1.4.1.8072.3.2.67.16=-3 ', "Negative integer check WARNING output" ); | ||
224 | |||
225 | $res = NPTest->testCmd( "./check_snmp -H 127.0.0.1 -C public -p $port_snmp -o .1.3.6.1.4.1.8072.3.2.67.16 -w -2: -c -3:" ); | ||
226 | is($res->return_code, 2, "Negative integer check CRITICAL" ); | ||
227 | is($res->output, 'SNMP CRITICAL - *-4* | iso.3.6.1.4.1.8072.3.2.67.16=-4 ', "Negative integer check CRITICAL output" ); | ||
228 | |||
229 | $res = NPTest->testCmd( "./check_snmp -H 127.0.0.1 -C public -p $port_snmp -o .1.3.6.1.4.1.8072.3.2.67.17 -w -3: -c -6:" ); | ||
230 | is($res->return_code, 1, "Negative integer as string, WARNING" ); | ||
231 | is($res->output, 'SNMP WARNING - *-4* | iso.3.6.1.4.1.8072.3.2.67.17=-4 ', "Negative integer as string, WARNING output" ); | ||
232 | |||
233 | $res = NPTest->testCmd( "./check_snmp -H 127.0.0.1 -C public -p $port_snmp -o .1.3.6.1.4.1.8072.3.2.67.17 -w -2: -c -3:" ); | ||
234 | is($res->return_code, 2, "Negative integer as string, CRITICAL" ); | ||
235 | is($res->output, 'SNMP CRITICAL - *-4* | iso.3.6.1.4.1.8072.3.2.67.17=-4 ', "Negative integer as string, CRITICAL output" ); | ||
236 | |||
237 | $res = NPTest->testCmd( "./check_snmp -H 127.0.0.1 -C public -p $port_snmp -o .1.3.6.1.4.1.8072.3.2.67.18 -c ~:-6.5" ); | ||
238 | is($res->return_code, 0, "Negative float OK" ); | ||
239 | is($res->output, 'SNMP OK - -6.6 | iso.3.6.1.4.1.8072.3.2.67.18=-6.6 ', "Negative float OK output" ); | ||
240 | |||
241 | $res = NPTest->testCmd( "./check_snmp -H 127.0.0.1 -C public -p $port_snmp -o .1.3.6.1.4.1.8072.3.2.67.18 -w ~:-6.65 -c ~:-6.55" ); | ||
242 | is($res->return_code, 1, "Negative float WARNING" ); | ||
243 | is($res->output, 'SNMP WARNING - *-6.6* | iso.3.6.1.4.1.8072.3.2.67.18=-6.6 ', "Negative float WARNING output" ); | ||
244 | |||
diff --git a/plugins/tests/check_snmp_agent.pl b/plugins/tests/check_snmp_agent.pl index 8cacd52..0e41d57 100644 --- a/plugins/tests/check_snmp_agent.pl +++ b/plugins/tests/check_snmp_agent.pl | |||
@@ -7,7 +7,7 @@ | |||
7 | use NetSNMP::OID qw(:all); | 7 | use NetSNMP::OID qw(:all); |
8 | use NetSNMP::agent; | 8 | use NetSNMP::agent; |
9 | use NetSNMP::ASN qw(ASN_OCTET_STR ASN_COUNTER ASN_COUNTER64 ASN_INTEGER ASN_INTEGER64 ASN_UNSIGNED ASN_UNSIGNED64); | 9 | use NetSNMP::ASN qw(ASN_OCTET_STR ASN_COUNTER ASN_COUNTER64 ASN_INTEGER ASN_INTEGER64 ASN_UNSIGNED ASN_UNSIGNED64); |
10 | #use Math::Int64 qw(uint64); # Skip that module whie we don't need it | 10 | #use Math::Int64 qw(uint64); # Skip that module while we don't need it |
11 | sub uint64 { return $_ } | 11 | sub uint64 { return $_ } |
12 | 12 | ||
13 | if (!$agent) { | 13 | if (!$agent) { |
@@ -16,8 +16,6 @@ if (!$agent) { | |||
16 | } | 16 | } |
17 | 17 | ||
18 | my $baseoid = '.1.3.6.1.4.1.8072.3.2.67'; | 18 | my $baseoid = '.1.3.6.1.4.1.8072.3.2.67'; |
19 | # Next are arrays of indexes (Type, initial value and increments) | ||
20 | # Undef miltipliers are randomized | ||
21 | my $multiline = 'Cisco Internetwork Operating System Software | 19 | my $multiline = 'Cisco Internetwork Operating System Software |
22 | IOS (tm) Catalyst 4000 "L3" Switch Software (cat4000-I9K91S-M), Version | 20 | IOS (tm) Catalyst 4000 "L3" Switch Software (cat4000-I9K91S-M), Version |
23 | 12.2(20)EWA, RELEASE SOFTWARE (fc1) | 21 | 12.2(20)EWA, RELEASE SOFTWARE (fc1) |
@@ -33,10 +31,12 @@ ends with with this: C:\\'; | |||
33 | my $multilin5 = 'And now have fun with with this: "C:\\" | 31 | my $multilin5 = 'And now have fun with with this: "C:\\" |
34 | because we\'re not done yet!'; | 32 | because we\'re not done yet!'; |
35 | 33 | ||
36 | # 0..15 <---- please update comment when adding/removing fields | 34 | # Next are arrays of indexes (Type, initial value and increments) |
37 | my @fields = (ASN_OCTET_STR, ASN_OCTET_STR, ASN_OCTET_STR, ASN_OCTET_STR, ASN_OCTET_STR, ASN_UNSIGNED, ASN_UNSIGNED, ASN_COUNTER, ASN_COUNTER64, ASN_UNSIGNED, ASN_COUNTER, ASN_OCTET_STR, ASN_OCTET_STR, ASN_OCTET_STR, ASN_OCTET_STR, ASN_OCTET_STR ); | 35 | # 0..16 <---- please update comment when adding/removing fields |
38 | my @values = ($multiline, $multilin2, $multilin3, $multilin4, $multilin5, 4294965296, 1000, 4294965296, uint64("18446744073709351616"), int(rand(2**32)), 64000, "stringtests", "3.5", "87.4startswithnumberbutshouldbestring", '555"I said"', 'CUSTOM CHECK OK: foo is 12345' ); | 36 | my @fields = (ASN_OCTET_STR, ASN_OCTET_STR, ASN_OCTET_STR, ASN_OCTET_STR, ASN_OCTET_STR, ASN_UNSIGNED, ASN_UNSIGNED, ASN_COUNTER, ASN_COUNTER64, ASN_UNSIGNED, ASN_COUNTER, ASN_OCTET_STR, ASN_OCTET_STR, ASN_OCTET_STR, ASN_OCTET_STR, ASN_OCTET_STR, ASN_INTEGER, ASN_OCTET_STR, ASN_OCTET_STR ); |
39 | my @incrts = (undef, undef, undef, undef, undef, 1000, -500, 1000, 100000, undef, 666, undef, undef, undef, undef, undef ); | 37 | my @values = ($multiline, $multilin2, $multilin3, $multilin4, $multilin5, 4294965296, 1000, 4294965296, uint64("18446744073709351616"), int(rand(2**32)), 64000, "stringtests", "3.5", "87.4startswithnumberbutshouldbestring", '555"I said"', 'CUSTOM CHECK OK: foo is 12345', -2, '-4', '-6.6' ); |
38 | # undef increments are randomized | ||
39 | my @incrts = (undef, undef, undef, undef, undef, 1000, -500, 1000, 100000, undef, 666, undef, undef, undef, undef, undef, -1, undef, undef ); | ||
40 | 40 | ||
41 | # Number of elements in our OID | 41 | # Number of elements in our OID |
42 | my $oidelts; | 42 | my $oidelts; |
diff --git a/plugins/tests/var/ps_axwo.debian b/plugins/tests/var/ps_axwo.debian index 0d7d7bc..37a2d35 100644 --- a/plugins/tests/var/ps_axwo.debian +++ b/plugins/tests/var/ps_axwo.debian | |||
@@ -31,7 +31,7 @@ S 0 6907 1 2308 892 0.0 mysqld_safe /bin/sh /usr/bin/mysqld_ | |||
31 | S 103 6944 6907 123220 27724 0.0 mysqld /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock | 31 | S 103 6944 6907 123220 27724 0.0 mysqld /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock |
32 | S 0 6945 6907 1488 420 0.0 logger logger -p daemon.err -t mysqld_safe -i -t mysqld | 32 | S 0 6945 6907 1488 420 0.0 logger logger -p daemon.err -t mysqld_safe -i -t mysqld |
33 | S 1001 17778 1 6436 1588 0.0 snmpd /usr/sbin/snmpd -u nagios -Lsd -Lf /dev/null -p/var/run/snmpd.pid | 33 | S 1001 17778 1 6436 1588 0.0 snmpd /usr/sbin/snmpd -u nagios -Lsd -Lf /dev/null -p/var/run/snmpd.pid |
34 | Ss 0 17789 1 9496 5556 0.0 snmptrapd /usr/sbin/snmptrapd -t -m ALL -M /usr/share/snmp/mibs:/usr/local/nagios/snmp/load -p /var/run/snmptrapd.pid | 34 | Ss 0 17789 1 9496 5556 0.0 snmptrapd /usr/sbin/snmptrapd -t -m ALL -M /usr/share/snmp/mibs:/usr/local/monitoring/snmp/load -p /var/run/snmptrapd.pid |
35 | Ss 0 847 2319 14452 1752 0.0 sshd sshd: tonvoon [priv] | 35 | Ss 0 847 2319 14452 1752 0.0 sshd sshd: tonvoon [priv] |
36 | S 1000 857 847 14616 1832 0.0 sshd sshd: tonvoon@pts/3 | 36 | S 1000 857 847 14616 1832 0.0 sshd sshd: tonvoon@pts/3 |
37 | Ss 1000 860 857 2984 1620 0.0 bash -bash | 37 | Ss 1000 860 857 2984 1620 0.0 bash -bash |
@@ -79,6 +79,6 @@ Ss 1001 23783 1 3220 764 0.0 ndo2db /usr/local/nagios/bin/nd | |||
79 | Ss 1001 23784 1 6428 4948 0.0 import_ndologsd import_ndologsd | 79 | Ss 1001 23784 1 6428 4948 0.0 import_ndologsd import_ndologsd |
80 | S+ 1001 9803 18955 4132 1936 0.0 ssh ssh altinity@cube02.lei.altinity | 80 | S+ 1001 9803 18955 4132 1936 0.0 ssh ssh altinity@cube02.lei.altinity |
81 | S 1001 22505 22324 20256 1616 0.0 nagios ../../bin/nagios -d /usr/local/nagios/etc/nagios.cfg | 81 | S 1001 22505 22324 20256 1616 0.0 nagios ../../bin/nagios -d /usr/local/nagios/etc/nagios.cfg |
82 | S 1001 22506 22505 1676 608 0.0 check_ping /usr/local/nagios/libexec/check_ping -H 192.168.10.23 -w 3000.0,80% -c 5000.0,100% -p 1 | 82 | S 1001 22506 22505 1676 608 0.0 check_ping /usr/local/libexec/check_ping -H 192.168.10.23 -w 3000.0,80% -c 5000.0,100% -p 1 |
83 | S 1001 22507 22506 1660 492 0.0 ping /bin/ping -n -U -w 10 -c 1 192.168.10.23 | 83 | S 1001 22507 22506 1660 492 0.0 ping /bin/ping -n -U -w 10 -c 1 192.168.10.23 |
84 | R+ 1001 22508 23370 2308 680 0.0 ps ps axwo stat uid pid ppid vsz rss pcpu comm args | 84 | R+ 1001 22508 23370 2308 680 0.0 ps ps axwo stat uid pid ppid vsz rss pcpu comm args |
diff --git a/plugins/urlize.c b/plugins/urlize.c index 30b2a35..6fda72d 100644 --- a/plugins/urlize.c +++ b/plugins/urlize.c | |||
@@ -1,17 +1,16 @@ | |||
1 | /***************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios urlize plugin | 3 | * Monitoring urlize plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2000-2007 Nagios Plugins Development Team | 6 | * Copyright (c) 2000-2007 Monitoring Plugins Development Team |
7 | * | 7 | * |
8 | * Description: | 8 | * Description: |
9 | * | 9 | * |
10 | * This file contains the urlize plugin | 10 | * This file contains the urlize plugin |
11 | * | 11 | * |
12 | * This plugin wraps the text output of another command (plugin) in HTML <A> | 12 | * This plugin wraps the text output of another command (plugin) in HTML <A> |
13 | * tags, thus displaying the child plugin's output as a clickable link in the | 13 | * tags. This plugin returns the status of the invoked plugin. |
14 | * Nagios status screen. This plugin returns the status of the invoked plugin. | ||
15 | * | 14 | * |
16 | * | 15 | * |
17 | * This program is free software: you can redistribute it and/or modify | 16 | * This program is free software: you can redistribute it and/or modify |
@@ -32,7 +31,7 @@ | |||
32 | 31 | ||
33 | const char *progname = "urlize"; | 32 | const char *progname = "urlize"; |
34 | const char *copyright = "2000-2006"; | 33 | const char *copyright = "2000-2006"; |
35 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 34 | const char *email = "devel@monitoring-plugins.org"; |
36 | 35 | ||
37 | #include "common.h" | 36 | #include "common.h" |
38 | #include "utils.h" | 37 | #include "utils.h" |
@@ -166,9 +165,9 @@ print_help (void) | |||
166 | printf ("Copyright (c) 2000 Karl DeBisschop <kdebisschop@users.sourceforge.net>\n"); | 165 | printf ("Copyright (c) 2000 Karl DeBisschop <kdebisschop@users.sourceforge.net>\n"); |
167 | printf (COPYRIGHT, copyright, email); | 166 | printf (COPYRIGHT, copyright, email); |
168 | 167 | ||
169 | printf ("%s\n", _("This plugin wraps the text output of another command (plugin)")); | 168 | printf ("%s\n", _("This plugin wraps the text output of another command (plugin) in HTML <A>")); |
170 | printf ("%s\n", _("in HTML <A> tags, thus displaying the child plugin's output as a clickable link in")); | 169 | printf ("%s\n", _("tags, thus displaying the child plugin's output as a clickable link in compatible")); |
171 | printf ("%s\n", _("the Nagios status screen. This plugin returns the status of the invoked plugin.")); | 170 | printf ("%s\n", _("monitoring status screen. This plugin returns the status of the invoked plugin.")); |
172 | 171 | ||
173 | printf ("\n\n"); | 172 | printf ("\n\n"); |
174 | 173 | ||
diff --git a/plugins/utils.c b/plugins/utils.c index b57d5e1..58b153d 100644 --- a/plugins/utils.c +++ b/plugins/utils.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2000 Karl DeBisschop (karl@debisschop.net) | 6 | * Copyright (c) 2000 Karl DeBisschop (karl@debisschop.net) |
7 | * Copyright (c) 2002-2007 Nagios Plugin Development Team | 7 | * Copyright (c) 2002-2007 Monitoring Plugins Development Team |
8 | * | 8 | * |
9 | * This program is free software: you can redistribute it and/or modify | 9 | * This program is free software: you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License as published by | 10 | * it under the terms of the GNU General Public License as published by |
diff --git a/plugins/utils.h b/plugins/utils.h index 657d4bf..4c4aacc 100644 --- a/plugins/utils.h +++ b/plugins/utils.h | |||
@@ -1,6 +1,6 @@ | |||
1 | #ifndef NP_UTILS_H | 1 | #ifndef NP_UTILS_H |
2 | #define NP_UTILS_H | 2 | #define NP_UTILS_H |
3 | /* Header file for nagios plugins utils.c */ | 3 | /* Header file for Monitoring Plugins utils.c */ |
4 | 4 | ||
5 | /* This file should be included in all plugins */ | 5 | /* This file should be included in all plugins */ |
6 | 6 | ||
@@ -131,7 +131,7 @@ char *fperfdata (const char *, | |||
131 | {"warning",required_argument,0,'w'},\ | 131 | {"warning",required_argument,0,'w'},\ |
132 | {"hostname",required_argument,0,'H'} | 132 | {"hostname",required_argument,0,'H'} |
133 | 133 | ||
134 | #define COPYRIGHT "Copyright (c) %s Nagios Plugin Development Team\n\ | 134 | #define COPYRIGHT "Copyright (c) %s Monitoring Plugins Development Team\n\ |
135 | \t<%s>\n\n" | 135 | \t<%s>\n\n" |
136 | 136 | ||
137 | #define UT_HLP_VRS _("\ | 137 | #define UT_HLP_VRS _("\ |
@@ -159,7 +159,8 @@ char *fperfdata (const char *, | |||
159 | 159 | ||
160 | #define UT_VERBOSE _("\ | 160 | #define UT_VERBOSE _("\ |
161 | -v, --verbose\n\ | 161 | -v, --verbose\n\ |
162 | Show details for command-line debugging (Nagios may truncate output)\n") | 162 | Show details for command-line debugging (output may be truncated by\n\ |
163 | the monitoring system)\n") | ||
163 | 164 | ||
164 | #define UT_WARN_CRIT _("\ | 165 | #define UT_WARN_CRIT _("\ |
165 | -w, --warning=DOUBLE\n\ | 166 | -w, --warning=DOUBLE\n\ |
@@ -173,31 +174,36 @@ char *fperfdata (const char *, | |||
173 | -c, --critical=RANGE\n\ | 174 | -c, --critical=RANGE\n\ |
174 | Critical range\n") | 175 | Critical range\n") |
175 | 176 | ||
176 | #define UT_TIMEOUT _("\ | 177 | #define UT_CONN_TIMEOUT _("\ |
177 | -t, --timeout=INTEGER\n\ | 178 | -t, --timeout=INTEGER\n\ |
178 | Seconds before connection times out (default: %d)\n") | 179 | Seconds before connection times out (default: %d)\n") |
179 | 180 | ||
181 | #define UT_PLUG_TIMEOUT _("\ | ||
182 | -t, --timeout=INTEGER\n\ | ||
183 | Seconds before plugin times out (default: %d)\n") | ||
184 | |||
180 | #ifdef NP_EXTRA_OPTS | 185 | #ifdef NP_EXTRA_OPTS |
181 | #define UT_EXTRA_OPTS _("\ | 186 | #define UT_EXTRA_OPTS _("\ |
182 | --extra-opts=[section][@file]\n\ | 187 | --extra-opts=[section][@file]\n\ |
183 | Read options from an ini file. See http://nagiosplugins.org/extra-opts\n\ | 188 | Read options from an ini file. See\n\ |
189 | https://www.monitoring-plugins.org/doc/extra-opts.html\n\ | ||
184 | for usage and examples.\n") | 190 | for usage and examples.\n") |
185 | #else | 191 | #else |
186 | #define UT_EXTRA_OPTS "" | 192 | #define UT_EXTRA_OPTS " \b" |
187 | #endif | 193 | #endif |
188 | 194 | ||
189 | #define UT_THRESHOLDS_NOTES _("\ | 195 | #define UT_THRESHOLDS_NOTES _("\ |
190 | See:\n\ | 196 | See:\n\ |
191 | http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT\n\ | 197 | https://www.monitoring-plugins.org/doc/guidelines.html#THRESHOLDFORMAT\n\ |
192 | for THRESHOLD format and examples.\n") | 198 | for THRESHOLD format and examples.\n") |
193 | 199 | ||
194 | #define UT_SUPPORT _("\n\ | 200 | #define UT_SUPPORT _("\n\ |
195 | Send email to nagios-users@lists.sourceforge.net if you have questions\n\ | 201 | Send email to help@monitoring-plugins.org if you have questions regarding\n\ |
196 | regarding use of this software. To submit patches or suggest improvements,\n\ | 202 | use of this software. To submit patches or suggest improvements, send email\n\ |
197 | send email to nagiosplug-devel@lists.sourceforge.net\n\n") | 203 | to devel@monitoring-plugins.org\n\n") |
198 | 204 | ||
199 | #define UT_NOWARRANTY _("\n\ | 205 | #define UT_NOWARRANTY _("\n\ |
200 | The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\n\ | 206 | The Monitoring Plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\n\ |
201 | copies of the plugins under the terms of the GNU General Public License.\n\ | 207 | copies of the plugins under the terms of the GNU General Public License.\n\ |
202 | For more information about these matters, see the file named COPYING.\n") | 208 | For more information about these matters, see the file named COPYING.\n") |
203 | 209 | ||
diff --git a/po/Makevars b/po/Makevars index 152edec..1bf1e0d 100644 --- a/po/Makevars +++ b/po/Makevars | |||
@@ -18,12 +18,12 @@ XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --flag=error:3:c-format --flag=error | |||
18 | # or entity, or to disclaim their copyright. The empty string stands for | 18 | # or entity, or to disclaim their copyright. The empty string stands for |
19 | # the public domain; in this case the translators are expected to disclaim | 19 | # the public domain; in this case the translators are expected to disclaim |
20 | # their copyright. | 20 | # their copyright. |
21 | COPYRIGHT_HOLDER = Nagios Plugin Development Group | 21 | COPYRIGHT_HOLDER = Monitoring Plugins Development Team |
22 | 22 | ||
23 | # This is the list of locale categories, beyond LC_MESSAGES, for which the | 23 | # This is the list of locale categories, beyond LC_MESSAGES, for which the |
24 | # message catalogs shall be used. It is usually empty. | 24 | # message catalogs shall be used. It is usually empty. |
25 | EXTRA_LOCALE_CATEGORIES = | 25 | EXTRA_LOCALE_CATEGORIES = |
26 | 26 | ||
27 | # Email address were to send bug report for the .po translation files | 27 | # Email address were to send bug report for the .po translation files |
28 | PACKAGE_BUGREPORT = nagiosplug-devel@lists.sourceforge.net | 28 | PACKAGE_BUGREPORT = devel@monitoring-plugins.org |
29 | 29 | ||
@@ -8,35 +8,36 @@ | |||
8 | msgid "" | 8 | msgid "" |
9 | msgstr "" | 9 | msgstr "" |
10 | "Project-Id-Version: nagiosplug\n" | 10 | "Project-Id-Version: nagiosplug\n" |
11 | "Report-Msgid-Bugs-To: nagiosplug-devel@lists.sourceforge.net\n" | 11 | "Report-Msgid-Bugs-To: devel@monitoring-plugins.org\n" |
12 | "POT-Creation-Date: 2010-07-09 19:30-0400\n" | 12 | "POT-Creation-Date: 2014-01-19 16:30-0500\n" |
13 | "PO-Revision-Date: 2004-12-23 17:46+0100\n" | 13 | "PO-Revision-Date: 2004-12-23 17:46+0100\n" |
14 | "Last-Translator: <>\n" | 14 | "Last-Translator: <>\n" |
15 | "Language-Team: English <en@li.org>\n" | 15 | "Language-Team: English <en@li.org>\n" |
16 | "Language: en\n" | ||
16 | "MIME-Version: 1.0\n" | 17 | "MIME-Version: 1.0\n" |
17 | "Content-Type: text/plain; charset=iso-8859-1\n" | 18 | "Content-Type: text/plain; charset=iso-8859-1\n" |
18 | "Content-Transfer-Encoding: 8bit\n" | 19 | "Content-Transfer-Encoding: 8bit\n" |
19 | "Plural-Forms: nplurals=2; plural=(n > 1);X-Generator: KBabel 1.3.1\n" | 20 | "Plural-Forms: nplurals=2; plural=(n > 1);X-Generator: KBabel 1.3.1\n" |
20 | 21 | ||
21 | #: plugins/check_by_ssh.c:86 plugins/check_cluster.c:76 plugins/check_dig.c:87 | 22 | #: plugins/check_by_ssh.c:86 plugins/check_cluster.c:76 plugins/check_dig.c:88 |
22 | #: plugins/check_disk.c:192 plugins/check_dns.c:102 plugins/check_dummy.c:52 | 23 | #: plugins/check_disk.c:194 plugins/check_dns.c:102 plugins/check_dummy.c:52 |
23 | #: plugins/check_fping.c:89 plugins/check_game.c:82 plugins/check_hpjd.c:103 | 24 | #: plugins/check_fping.c:93 plugins/check_game.c:82 plugins/check_hpjd.c:103 |
24 | #: plugins/check_http.c:157 plugins/check_ldap.c:109 plugins/check_load.c:122 | 25 | #: plugins/check_http.c:167 plugins/check_ldap.c:109 plugins/check_load.c:122 |
25 | #: plugins/check_mrtgtraf.c:83 plugins/check_mysql.c:85 | 26 | #: plugins/check_mrtgtraf.c:83 plugins/check_mysql.c:122 |
26 | #: plugins/check_nagios.c:91 plugins/check_nt.c:126 plugins/check_ntp.c:766 | 27 | #: plugins/check_nagios.c:91 plugins/check_nt.c:127 plugins/check_ntp.c:770 |
27 | #: plugins/check_ntp_peer.c:569 plugins/check_ntp_time.c:548 | 28 | #: plugins/check_ntp_peer.c:575 plugins/check_ntp_time.c:552 |
28 | #: plugins/check_nwstat.c:173 plugins/check_overcr.c:102 | 29 | #: plugins/check_nwstat.c:173 plugins/check_overcr.c:102 |
29 | #: plugins/check_pgsql.c:154 plugins/check_ping.c:95 plugins/check_procs.c:147 | 30 | #: plugins/check_pgsql.c:172 plugins/check_ping.c:95 plugins/check_procs.c:172 |
30 | #: plugins/check_radius.c:160 plugins/check_real.c:80 plugins/check_smtp.c:140 | 31 | #: plugins/check_radius.c:160 plugins/check_real.c:80 plugins/check_smtp.c:144 |
31 | #: plugins/check_snmp.c:205 plugins/check_ssh.c:73 plugins/check_swap.c:110 | 32 | #: plugins/check_snmp.c:240 plugins/check_ssh.c:73 plugins/check_swap.c:110 |
32 | #: plugins/check_tcp.c:209 plugins/check_time.c:78 plugins/check_ups.c:122 | 33 | #: plugins/check_tcp.c:218 plugins/check_time.c:78 plugins/check_ups.c:122 |
33 | #: plugins/check_users.c:68 plugins/negate.c:211 plugins-root/check_dhcp.c:270 | 34 | #: plugins/check_users.c:77 plugins/negate.c:214 plugins-root/check_dhcp.c:270 |
34 | msgid "Could not parse arguments" | 35 | msgid "Could not parse arguments" |
35 | msgstr "Argumente konnten nicht ausgewertet werden" | 36 | msgstr "Argumente konnten nicht ausgewertet werden" |
36 | 37 | ||
37 | #: plugins/check_by_ssh.c:90 plugins/check_dig.c:81 plugins/check_dns.c:95 | 38 | #: plugins/check_by_ssh.c:90 plugins/check_dig.c:82 plugins/check_dns.c:95 |
38 | #: plugins/check_nagios.c:95 plugins/check_pgsql.c:160 plugins/check_ping.c:99 | 39 | #: plugins/check_nagios.c:95 plugins/check_pgsql.c:178 plugins/check_ping.c:99 |
39 | #: plugins/check_procs.c:154 plugins/negate.c:76 | 40 | #: plugins/check_procs.c:188 plugins/check_snmp.c:336 plugins/negate.c:79 |
40 | msgid "Cannot catch SIGALRM" | 41 | msgid "Cannot catch SIGALRM" |
41 | msgstr "Konnte SIGALRM nicht erhalten" | 42 | msgstr "Konnte SIGALRM nicht erhalten" |
42 | 43 | ||
@@ -60,198 +61,202 @@ msgstr "SSH WARNING: Konnte %s nicht öffnen\n" | |||
60 | msgid "%s: Error parsing output\n" | 61 | msgid "%s: Error parsing output\n" |
61 | msgstr "" | 62 | msgstr "" |
62 | 63 | ||
63 | #: plugins/check_by_ssh.c:219 plugins/check_disk.c:525 | 64 | #: plugins/check_by_ssh.c:220 plugins/check_disk.c:476 |
64 | #: plugins/check_http.c:256 plugins/check_ldap.c:293 plugins/check_pgsql.c:250 | 65 | #: plugins/check_http.c:278 plugins/check_ldap.c:293 plugins/check_pgsql.c:311 |
65 | #: plugins/check_procs.c:364 plugins/check_radius.c:308 | 66 | #: plugins/check_procs.c:437 plugins/check_radius.c:308 |
66 | #: plugins/check_real.c:356 plugins/check_smtp.c:587 plugins/check_snmp.c:665 | 67 | #: plugins/check_real.c:356 plugins/check_smtp.c:581 plugins/check_snmp.c:736 |
67 | #: plugins/check_ssh.c:138 plugins/check_tcp.c:490 plugins/check_time.c:302 | 68 | #: plugins/check_ssh.c:138 plugins/check_tcp.c:505 plugins/check_time.c:302 |
68 | #: plugins/check_ups.c:556 plugins/negate.c:161 | 69 | #: plugins/check_ups.c:556 plugins/negate.c:164 |
69 | msgid "Timeout interval must be a positive integer" | 70 | msgid "Timeout interval must be a positive integer" |
70 | msgstr "Timeout interval muss ein positiver Integer sein" | 71 | msgstr "Timeout interval muss ein positiver Integer sein" |
71 | 72 | ||
72 | #: plugins/check_by_ssh.c:229 plugins/check_pgsql.c:274 | 73 | #: plugins/check_by_ssh.c:230 plugins/check_pgsql.c:341 |
73 | #: plugins/check_radius.c:272 plugins/check_real.c:327 | 74 | #: plugins/check_radius.c:272 plugins/check_real.c:327 |
74 | #: plugins/check_smtp.c:514 plugins/check_tcp.c:496 plugins/check_time.c:296 | 75 | #: plugins/check_smtp.c:506 plugins/check_tcp.c:511 plugins/check_time.c:296 |
75 | #: plugins/check_ups.c:518 | 76 | #: plugins/check_ups.c:518 |
76 | msgid "Port must be a positive integer" | 77 | msgid "Port must be a positive integer" |
77 | msgstr "Port muss ein positiver Integer sein" | 78 | msgstr "Port muss ein positiver Integer sein" |
78 | 79 | ||
79 | #: plugins/check_by_ssh.c:290 | 80 | #: plugins/check_by_ssh.c:291 |
80 | #, fuzzy | 81 | #, fuzzy |
81 | msgid "skip-stdout argument must be an integer" | 82 | msgid "skip-stdout argument must be an integer" |
82 | msgstr "skip-stdout argument muss ein Integer sein" | 83 | msgstr "skip-stdout argument muss ein Integer sein" |
83 | 84 | ||
84 | #: plugins/check_by_ssh.c:298 | 85 | #: plugins/check_by_ssh.c:299 |
85 | #, fuzzy | 86 | #, fuzzy |
86 | msgid "skip-stderr argument must be an integer" | 87 | msgid "skip-stderr argument must be an integer" |
87 | msgstr "skip-stderr argument muss ein Integer sein" | 88 | msgstr "skip-stderr argument muss ein Integer sein" |
88 | 89 | ||
89 | #: plugins/check_by_ssh.c:317 | 90 | #: plugins/check_by_ssh.c:322 |
90 | #, c-format | 91 | #, c-format |
91 | msgid "%s: You must provide a host name\n" | 92 | msgid "%s: You must provide a host name\n" |
92 | msgstr "%s: Hostname muss angegeben werden\n" | 93 | msgstr "%s: Hostname muss angegeben werden\n" |
93 | 94 | ||
94 | #: plugins/check_by_ssh.c:335 | 95 | #: plugins/check_by_ssh.c:340 |
95 | msgid "No remotecmd" | 96 | msgid "No remotecmd" |
96 | msgstr "Kein remotecm" | 97 | msgstr "Kein remotecm" |
97 | 98 | ||
98 | #: plugins/check_by_ssh.c:349 | 99 | #: plugins/check_by_ssh.c:354 |
99 | #, c-format | 100 | #, c-format |
100 | msgid "%s: Argument limit of %d exceeded\n" | 101 | msgid "%s: Argument limit of %d exceeded\n" |
101 | msgstr "" | 102 | msgstr "" |
102 | 103 | ||
103 | #: plugins/check_by_ssh.c:352 | 104 | #: plugins/check_by_ssh.c:357 |
104 | #, fuzzy | 105 | #, fuzzy |
105 | msgid "Can not (re)allocate 'commargv' buffer\n" | 106 | msgid "Can not (re)allocate 'commargv' buffer\n" |
106 | msgstr "Konnte·url·nicht·zuweisen\n" | 107 | msgstr "Konnte·url·nicht·zuweisen\n" |
107 | 108 | ||
108 | #: plugins/check_by_ssh.c:366 | 109 | #: plugins/check_by_ssh.c:371 |
109 | #, c-format | 110 | #, c-format |
110 | msgid "" | 111 | msgid "" |
111 | "%s: In passive mode, you must provide a service name for each command.\n" | 112 | "%s: In passive mode, you must provide a service name for each command.\n" |
112 | msgstr "" | 113 | msgstr "" |
113 | "%s: Im passive mode muss ein Servicename für jeden Befehl angegeben werden.\n" | 114 | "%s: Im passive mode muss ein Servicename für jeden Befehl angegeben werden.\n" |
114 | 115 | ||
115 | #: plugins/check_by_ssh.c:369 | 116 | #: plugins/check_by_ssh.c:374 |
116 | #, c-format | 117 | #, fuzzy, c-format |
117 | msgid "" | 118 | msgid "" |
118 | "%s: In passive mode, you must provide the host short name from the nagios " | 119 | "%s: In passive mode, you must provide the host short name from the " |
119 | "configs.\n" | 120 | "monitoring configs.\n" |
120 | msgstr "" | 121 | msgstr "" |
121 | "%s: Im passive mode muss der \"host short name\" aus der Nagios " | 122 | "%s: Im passive mode muss der \"host short name\" aus der Nagios " |
122 | "Konfiguration angegeben werden\n" | 123 | "Konfiguration angegeben werden\n" |
123 | 124 | ||
124 | #: plugins/check_by_ssh.c:383 | 125 | #: plugins/check_by_ssh.c:388 |
125 | #, fuzzy, c-format | 126 | #, fuzzy, c-format |
126 | msgid "This plugin uses SSH to execute commands on a remote host" | 127 | msgid "This plugin uses SSH to execute commands on a remote host" |
127 | msgstr "" | 128 | msgstr "" |
128 | "Dieses Plugin nutzt SSH um Befehle auf dem entfernten Rechner auszuführen\n" | 129 | "Dieses Plugin nutzt SSH um Befehle auf dem entfernten Rechner auszuführen\n" |
129 | "\n" | 130 | "\n" |
130 | 131 | ||
131 | #: plugins/check_by_ssh.c:398 | 132 | #: plugins/check_by_ssh.c:403 |
132 | msgid "tell ssh to use Protocol 1 [optional]" | 133 | msgid "tell ssh to use Protocol 1 [optional]" |
133 | msgstr "" | 134 | msgstr "" |
134 | 135 | ||
135 | #: plugins/check_by_ssh.c:400 | 136 | #: plugins/check_by_ssh.c:405 |
136 | msgid "tell ssh to use Protocol 2 [optional]" | 137 | msgid "tell ssh to use Protocol 2 [optional]" |
137 | msgstr "" | 138 | msgstr "" |
138 | 139 | ||
139 | #: plugins/check_by_ssh.c:402 | 140 | #: plugins/check_by_ssh.c:407 |
140 | msgid "Ignore all or (if specified) first n lines on STDOUT [optional]" | 141 | msgid "Ignore all or (if specified) first n lines on STDOUT [optional]" |
141 | msgstr "" | 142 | msgstr "" |
142 | 143 | ||
143 | #: plugins/check_by_ssh.c:404 | 144 | #: plugins/check_by_ssh.c:409 |
144 | msgid "Ignore all or (if specified) first n lines on STDERR [optional]" | 145 | msgid "Ignore all or (if specified) first n lines on STDERR [optional]" |
145 | msgstr "" | 146 | msgstr "" |
146 | 147 | ||
147 | #: plugins/check_by_ssh.c:406 | 148 | #: plugins/check_by_ssh.c:411 |
148 | msgid "" | 149 | msgid "" |
149 | "tells ssh to fork rather than create a tty [optional]. This will always " | 150 | "tells ssh to fork rather than create a tty [optional]. This will always " |
150 | "return OK if ssh is executed" | 151 | "return OK if ssh is executed" |
151 | msgstr "" | 152 | msgstr "" |
152 | 153 | ||
153 | #: plugins/check_by_ssh.c:408 | 154 | #: plugins/check_by_ssh.c:413 |
154 | msgid "command to execute on the remote machine" | 155 | msgid "command to execute on the remote machine" |
155 | msgstr "" | 156 | msgstr "" |
156 | 157 | ||
157 | #: plugins/check_by_ssh.c:410 | 158 | #: plugins/check_by_ssh.c:415 |
158 | msgid "SSH user name on remote host [optional]" | 159 | msgid "SSH user name on remote host [optional]" |
159 | msgstr "" | 160 | msgstr "" |
160 | 161 | ||
161 | #: plugins/check_by_ssh.c:412 | 162 | #: plugins/check_by_ssh.c:417 |
162 | msgid "identity of an authorized key [optional]" | 163 | msgid "identity of an authorized key [optional]" |
163 | msgstr "" | 164 | msgstr "" |
164 | 165 | ||
165 | #: plugins/check_by_ssh.c:414 | 166 | #: plugins/check_by_ssh.c:419 |
166 | msgid "external command file for nagios [optional]" | 167 | msgid "external command file for monitoring [optional]" |
167 | msgstr "" | 168 | msgstr "" |
168 | 169 | ||
169 | #: plugins/check_by_ssh.c:416 | 170 | #: plugins/check_by_ssh.c:421 |
170 | msgid "list of nagios service names, separated by ':' [optional]" | 171 | msgid "list of monitoring service names, separated by ':' [optional]" |
171 | msgstr "" | 172 | msgstr "" |
172 | 173 | ||
173 | #: plugins/check_by_ssh.c:418 | 174 | #: plugins/check_by_ssh.c:423 |
174 | msgid "short name of host in nagios configuration [optional]" | 175 | msgid "short name of host in the monitoring configuration [optional]" |
175 | msgstr "" | 176 | msgstr "" |
176 | 177 | ||
177 | #: plugins/check_by_ssh.c:420 | 178 | #: plugins/check_by_ssh.c:425 |
178 | msgid "Call ssh with '-o OPTION' (may be used multiple times) [optional]" | 179 | msgid "Call ssh with '-o OPTION' (may be used multiple times) [optional]" |
179 | msgstr "" | 180 | msgstr "" |
180 | 181 | ||
181 | #: plugins/check_by_ssh.c:422 | 182 | #: plugins/check_by_ssh.c:427 |
183 | msgid "Tell ssh to use this configfile [optional]" | ||
184 | msgstr "" | ||
185 | |||
186 | #: plugins/check_by_ssh.c:429 | ||
182 | msgid "Tell ssh to suppress warning and diagnostic messages [optional]" | 187 | msgid "Tell ssh to suppress warning and diagnostic messages [optional]" |
183 | msgstr "" | 188 | msgstr "" |
184 | 189 | ||
185 | #: plugins/check_by_ssh.c:427 | 190 | #: plugins/check_by_ssh.c:434 |
186 | msgid "The most common mode of use is to refer to a local identity file with" | 191 | msgid "The most common mode of use is to refer to a local identity file with" |
187 | msgstr "" | 192 | msgstr "" |
188 | 193 | ||
189 | #: plugins/check_by_ssh.c:428 | 194 | #: plugins/check_by_ssh.c:435 |
190 | msgid "the '-i' option. In this mode, the identity pair should have a null" | 195 | msgid "the '-i' option. In this mode, the identity pair should have a null" |
191 | msgstr "" | 196 | msgstr "" |
192 | 197 | ||
193 | #: plugins/check_by_ssh.c:429 | 198 | #: plugins/check_by_ssh.c:436 |
194 | msgid "passphrase and the public key should be listed in the authorized_keys" | 199 | msgid "passphrase and the public key should be listed in the authorized_keys" |
195 | msgstr "" | 200 | msgstr "" |
196 | 201 | ||
197 | #: plugins/check_by_ssh.c:430 | 202 | #: plugins/check_by_ssh.c:437 |
198 | msgid "file of the remote host. Usually the key will be restricted to running" | 203 | msgid "file of the remote host. Usually the key will be restricted to running" |
199 | msgstr "" | 204 | msgstr "" |
200 | 205 | ||
201 | #: plugins/check_by_ssh.c:431 | 206 | #: plugins/check_by_ssh.c:438 |
202 | msgid "only one command on the remote server. If the remote SSH server tracks" | 207 | msgid "only one command on the remote server. If the remote SSH server tracks" |
203 | msgstr "" | 208 | msgstr "" |
204 | 209 | ||
205 | #: plugins/check_by_ssh.c:432 | 210 | #: plugins/check_by_ssh.c:439 |
206 | msgid "invocation arguments, the one remote program may be an agent that can" | 211 | msgid "invocation arguments, the one remote program may be an agent that can" |
207 | msgstr "" | 212 | msgstr "" |
208 | 213 | ||
209 | #: plugins/check_by_ssh.c:433 | 214 | #: plugins/check_by_ssh.c:440 |
210 | msgid "execute additional commands as proxy" | 215 | msgid "execute additional commands as proxy" |
211 | msgstr "" | 216 | msgstr "" |
212 | 217 | ||
213 | #: plugins/check_by_ssh.c:435 | 218 | #: plugins/check_by_ssh.c:442 |
214 | msgid "To use passive mode, provide multiple '-C' options, and provide" | 219 | msgid "To use passive mode, provide multiple '-C' options, and provide" |
215 | msgstr "" | 220 | msgstr "" |
216 | 221 | ||
217 | #: plugins/check_by_ssh.c:436 | 222 | #: plugins/check_by_ssh.c:443 |
218 | msgid "" | 223 | msgid "" |
219 | "all of -O, -s, and -n options (servicelist order must match '-C'options)" | 224 | "all of -O, -s, and -n options (servicelist order must match '-C'options)" |
220 | msgstr "" | 225 | msgstr "" |
221 | 226 | ||
222 | #: plugins/check_by_ssh.c:438 plugins/check_cluster.c:261 | 227 | #: plugins/check_by_ssh.c:445 plugins/check_cluster.c:261 |
223 | #: plugins/check_dig.c:342 plugins/check_disk.c:963 plugins/check_http.c:1415 | 228 | #: plugins/check_dig.c:355 plugins/check_disk.c:924 plugins/check_http.c:1560 |
224 | #: plugins/check_nagios.c:302 plugins/check_ntp.c:864 | 229 | #: plugins/check_nagios.c:312 plugins/check_ntp.c:869 |
225 | #: plugins/check_ntp_peer.c:698 plugins/check_ntp_time.c:628 | 230 | #: plugins/check_ntp_peer.c:705 plugins/check_ntp_time.c:633 |
226 | #: plugins/check_procs.c:742 plugins/negate.c:268 plugins/urlize.c:180 | 231 | #: plugins/check_procs.c:763 plugins/negate.c:271 plugins/urlize.c:180 |
227 | msgid "Examples:" | 232 | msgid "Examples:" |
228 | msgstr "" | 233 | msgstr "" |
229 | 234 | ||
230 | #: plugins/check_by_ssh.c:453 plugins/check_cluster.c:274 | 235 | #: plugins/check_by_ssh.c:460 plugins/check_cluster.c:274 |
231 | #: plugins/check_dig.c:354 plugins/check_disk.c:980 plugins/check_dns.c:486 | 236 | #: plugins/check_dig.c:367 plugins/check_disk.c:941 plugins/check_dns.c:486 |
232 | #: plugins/check_dummy.c:122 plugins/check_fping.c:432 | 237 | #: plugins/check_dummy.c:122 plugins/check_fping.c:505 |
233 | #: plugins/check_game.c:331 plugins/check_hpjd.c:414 plugins/check_http.c:1438 | 238 | #: plugins/check_game.c:331 plugins/check_hpjd.c:414 plugins/check_http.c:1590 |
234 | #: plugins/check_ldap.c:452 plugins/check_load.c:325 plugins/check_mrtg.c:382 | 239 | #: plugins/check_ldap.c:451 plugins/check_load.c:334 plugins/check_mrtg.c:382 |
235 | #: plugins/check_mysql.c:425 plugins/check_nagios.c:313 plugins/check_nt.c:759 | 240 | #: plugins/check_mysql.c:569 plugins/check_nagios.c:323 plugins/check_nt.c:774 |
236 | #: plugins/check_ntp.c:883 plugins/check_ntp_peer.c:718 | 241 | #: plugins/check_ntp.c:888 plugins/check_ntp_peer.c:725 |
237 | #: plugins/check_ntp_time.c:637 plugins/check_nwstat.c:1685 | 242 | #: plugins/check_ntp_time.c:642 plugins/check_nwstat.c:1685 |
238 | #: plugins/check_overcr.c:467 plugins/check_pgsql.c:477 | 243 | #: plugins/check_overcr.c:467 plugins/check_pgsql.c:578 |
239 | #: plugins/check_ping.c:601 plugins/check_procs.c:760 | 244 | #: plugins/check_ping.c:603 plugins/check_procs.c:781 |
240 | #: plugins/check_radius.c:385 plugins/check_real.c:451 | 245 | #: plugins/check_radius.c:385 plugins/check_real.c:451 |
241 | #: plugins/check_smtp.c:821 plugins/check_snmp.c:1107 plugins/check_ssh.c:302 | 246 | #: plugins/check_smtp.c:843 plugins/check_snmp.c:1207 plugins/check_ssh.c:309 |
242 | #: plugins/check_swap.c:558 plugins/check_tcp.c:651 plugins/check_time.c:371 | 247 | #: plugins/check_swap.c:558 plugins/check_tcp.c:684 plugins/check_time.c:371 |
243 | #: plugins/check_ups.c:660 plugins/check_users.c:229 | 248 | #: plugins/check_ups.c:660 plugins/check_users.c:240 |
244 | #: plugins/check_ide_smart.c:527 plugins/negate.c:292 plugins/urlize.c:197 | 249 | #: plugins/check_ide_smart.c:640 plugins/negate.c:295 plugins/urlize.c:197 |
245 | #: plugins-root/check_dhcp.c:1421 plugins-root/check_icmp.c:1347 | 250 | #: plugins-root/check_dhcp.c:1422 plugins-root/check_icmp.c:1354 |
246 | msgid "Usage:" | 251 | msgid "Usage:" |
247 | msgstr "" | 252 | msgstr "" |
248 | 253 | ||
249 | #: plugins/check_cluster.c:230 | 254 | #: plugins/check_cluster.c:230 |
250 | #, c-format | 255 | #, c-format |
251 | msgid "Host/Service Cluster Plugin for Nagios 2" | 256 | msgid "Host/Service Cluster Plugin for Monitoring" |
252 | msgstr "" | 257 | msgstr "" |
253 | 258 | ||
254 | #: plugins/check_cluster.c:236 plugins/check_nt.c:661 | 259 | #: plugins/check_cluster.c:236 plugins/check_nt.c:676 |
255 | msgid "Options:" | 260 | msgid "Options:" |
256 | msgstr "" | 261 | msgstr "" |
257 | 262 | ||
@@ -288,13 +293,13 @@ msgid "commas" | |||
288 | msgstr "" | 293 | msgstr "" |
289 | 294 | ||
290 | #: plugins/check_cluster.c:257 plugins/check_game.c:318 | 295 | #: plugins/check_cluster.c:257 plugins/check_game.c:318 |
291 | #: plugins/check_http.c:1401 plugins/check_ldap.c:434 plugins/check_mrtg.c:363 | 296 | #: plugins/check_http.c:1542 plugins/check_ldap.c:438 plugins/check_mrtg.c:363 |
292 | #: plugins/check_mrtgtraf.c:361 plugins/check_mysql.c:414 | 297 | #: plugins/check_mrtgtraf.c:361 plugins/check_mysql.c:558 |
293 | #: plugins/check_nt.c:743 plugins/check_ntp.c:860 plugins/check_ntp_peer.c:689 | 298 | #: plugins/check_nt.c:758 plugins/check_ntp.c:865 plugins/check_ntp_peer.c:696 |
294 | #: plugins/check_ntp_time.c:621 plugins/check_nwstat.c:1670 | 299 | #: plugins/check_ntp_time.c:626 plugins/check_nwstat.c:1670 |
295 | #: plugins/check_overcr.c:456 plugins/check_snmp.c:1078 | 300 | #: plugins/check_overcr.c:456 plugins/check_snmp.c:1178 |
296 | #: plugins/check_swap.c:547 plugins/check_ups.c:642 plugins/negate.c:274 | 301 | #: plugins/check_swap.c:547 plugins/check_ups.c:642 plugins/negate.c:277 |
297 | #: plugins-root/check_icmp.c:1322 | 302 | #: plugins-root/check_icmp.c:1329 |
298 | msgid "Notes:" | 303 | msgid "Notes:" |
299 | msgstr "" | 304 | msgstr "" |
300 | 305 | ||
@@ -307,64 +312,72 @@ msgstr "" | |||
307 | msgid "state." | 312 | msgid "state." |
308 | msgstr "" | 313 | msgstr "" |
309 | 314 | ||
310 | #: plugins/check_dig.c:99 plugins/check_dig.c:101 | 315 | #: plugins/check_dig.c:100 plugins/check_dig.c:102 |
311 | #, c-format | 316 | #, c-format |
312 | msgid "Looking for: '%s'\n" | 317 | msgid "Looking for: '%s'\n" |
313 | msgstr "" | 318 | msgstr "" |
314 | 319 | ||
315 | #: plugins/check_dig.c:108 | 320 | #: plugins/check_dig.c:109 |
316 | msgid "dig returned an error status" | 321 | msgid "dig returned an error status" |
317 | msgstr "dig hat einen Fehler zurückgegeben" | 322 | msgstr "dig hat einen Fehler zurückgegeben" |
318 | 323 | ||
319 | #: plugins/check_dig.c:133 | 324 | #: plugins/check_dig.c:134 |
320 | msgid "Server not found in ANSWER SECTION" | 325 | msgid "Server not found in ANSWER SECTION" |
321 | msgstr "Server nicht gefunden in ANSWER SECTION" | 326 | msgstr "Server nicht gefunden in ANSWER SECTION" |
322 | 327 | ||
323 | #: plugins/check_dig.c:143 | 328 | #: plugins/check_dig.c:144 |
324 | msgid "No ANSWER SECTION found" | 329 | msgid "No ANSWER SECTION found" |
325 | msgstr "Keine ANSWER SECTION gefunden" | 330 | msgstr "Keine ANSWER SECTION gefunden" |
326 | 331 | ||
327 | #: plugins/check_dig.c:170 | 332 | #: plugins/check_dig.c:171 |
328 | #, fuzzy | 333 | #, fuzzy |
329 | msgid "Probably a non-existent host/domain" | 334 | msgid "Probably a non-existent host/domain" |
330 | msgstr "nicht existierender Host/Domain" | 335 | msgstr "nicht existierender Host/Domain" |
331 | 336 | ||
332 | #: plugins/check_dig.c:230 | 337 | #: plugins/check_dig.c:233 |
333 | #, fuzzy, c-format | 338 | #, fuzzy, c-format |
334 | msgid "Port must be a positive integer - %s" | 339 | msgid "Port must be a positive integer - %s" |
335 | msgstr "Port muss ein positiver Integer sein - %s" | 340 | msgstr "Port muss ein positiver Integer sein - %s" |
336 | 341 | ||
337 | #: plugins/check_dig.c:241 | 342 | #: plugins/check_dig.c:244 |
338 | #, fuzzy, c-format | 343 | #, fuzzy, c-format |
339 | msgid "Warning interval must be a positive integer - %s" | 344 | msgid "Warning interval must be a positive integer - %s" |
340 | msgstr "Warning interval muss ein positiver Integer sein - %s" | 345 | msgstr "Warning interval muss ein positiver Integer sein - %s" |
341 | 346 | ||
342 | #: plugins/check_dig.c:249 | 347 | #: plugins/check_dig.c:252 |
343 | #, fuzzy, c-format | 348 | #, fuzzy, c-format |
344 | msgid "Critical interval must be a positive integer - %s" | 349 | msgid "Critical interval must be a positive integer - %s" |
345 | msgstr "Critical interval muss ein positiver Integer sein - %s" | 350 | msgstr "Critical interval muss ein positiver Integer sein - %s" |
346 | 351 | ||
347 | #: plugins/check_dig.c:257 | 352 | #: plugins/check_dig.c:260 |
348 | #, fuzzy, c-format | 353 | #, fuzzy, c-format |
349 | msgid "Timeout interval must be a positive integer - %s" | 354 | msgid "Timeout interval must be a positive integer - %s" |
350 | msgstr "Timeout interval muss ein positiver Integer sein - %s" | 355 | msgstr "Timeout interval muss ein positiver Integer sein - %s" |
351 | 356 | ||
352 | #: plugins/check_dig.c:316 | 357 | #: plugins/check_dig.c:325 |
353 | #, fuzzy, c-format | 358 | #, fuzzy, c-format |
354 | msgid "This plugin test the DNS service on the specified host using dig" | 359 | msgid "This plugin test the DNS service on the specified host using dig" |
355 | msgstr "Testet den DNS Dienst auf dem angegebenen Host mit dig" | 360 | msgstr "Testet den DNS Dienst auf dem angegebenen Host mit dig" |
356 | 361 | ||
357 | #: plugins/check_dig.c:329 | 362 | #: plugins/check_dig.c:338 |
363 | msgid "Force dig to only use IPv4 query transport" | ||
364 | msgstr "" | ||
365 | |||
366 | #: plugins/check_dig.c:340 | ||
367 | msgid "Force dig to only use IPv6 query transport" | ||
368 | msgstr "" | ||
369 | |||
370 | #: plugins/check_dig.c:342 | ||
358 | #, fuzzy | 371 | #, fuzzy |
359 | msgid "Machine name to lookup" | 372 | msgid "Machine name to lookup" |
360 | msgstr "zu prüfender Hostname" | 373 | msgstr "zu prüfender Hostname" |
361 | 374 | ||
362 | #: plugins/check_dig.c:331 | 375 | #: plugins/check_dig.c:344 |
363 | #, fuzzy | 376 | #, fuzzy |
364 | msgid "Record type to lookup (default: A)" | 377 | msgid "Record type to lookup (default: A)" |
365 | msgstr "abzufragender Datensatztyp (Default: A)" | 378 | msgstr "abzufragender Datensatztyp (Default: A)" |
366 | 379 | ||
367 | #: plugins/check_dig.c:333 | 380 | #: plugins/check_dig.c:346 |
368 | #, fuzzy | 381 | #, fuzzy |
369 | msgid "" | 382 | msgid "" |
370 | "An address expected to be in the answer section. If not set, uses whatever" | 383 | "An address expected to be in the answer section. If not set, uses whatever" |
@@ -372,93 +385,96 @@ msgstr "" | |||
372 | "Adresse die in der ANSWER SECTION erwartet wird.wenn nicht gesetzt, " | 385 | "Adresse die in der ANSWER SECTION erwartet wird.wenn nicht gesetzt, " |
373 | "ubernommen aus -l" | 386 | "ubernommen aus -l" |
374 | 387 | ||
375 | #: plugins/check_dig.c:334 | 388 | #: plugins/check_dig.c:347 |
376 | msgid "was in -l" | 389 | msgid "was in -l" |
377 | msgstr "" | 390 | msgstr "" |
378 | 391 | ||
379 | #: plugins/check_dig.c:336 | 392 | #: plugins/check_dig.c:349 |
380 | msgid "Pass STRING as argument(s) to dig" | 393 | msgid "Pass STRING as argument(s) to dig" |
381 | msgstr "" | 394 | msgstr "" |
382 | 395 | ||
383 | #: plugins/check_disk.c:214 | 396 | #: plugins/check_disk.c:216 |
384 | #, fuzzy, c-format | 397 | #, fuzzy, c-format |
385 | msgid "DISK %s: %s not found\n" | 398 | msgid "DISK %s: %s not found\n" |
386 | msgstr "%s [%s nicht gefunden]" | 399 | msgstr "%s [%s nicht gefunden]" |
387 | 400 | ||
388 | #: plugins/check_disk.c:214 plugins/check_disk.c:995 plugins/check_dns.c:241 | 401 | #: plugins/check_disk.c:216 plugins/check_disk.c:956 plugins/check_dns.c:241 |
389 | #: plugins/check_dummy.c:74 plugins/check_mysql.c:212 | 402 | #: plugins/check_dummy.c:74 plugins/check_mysql.c:299 |
390 | #: plugins/check_nagios.c:104 plugins/check_nagios.c:168 | 403 | #: plugins/check_nagios.c:104 plugins/check_nagios.c:168 |
391 | #: plugins/check_nagios.c:172 plugins/check_procs.c:290 | 404 | #: plugins/check_nagios.c:172 plugins/check_pgsql.c:601 |
405 | #: plugins/check_pgsql.c:618 plugins/check_pgsql.c:627 | ||
406 | #: plugins/check_pgsql.c:642 plugins/check_procs.c:351 | ||
392 | #, c-format | 407 | #, c-format |
393 | msgid "CRITICAL" | 408 | msgid "CRITICAL" |
394 | msgstr "CRITICAL" | 409 | msgstr "CRITICAL" |
395 | 410 | ||
396 | #: plugins/check_disk.c:599 | 411 | #: plugins/check_disk.c:550 |
397 | #, c-format | 412 | #, c-format |
398 | msgid "unit type %s not known\n" | 413 | msgid "unit type %s not known\n" |
399 | msgstr "unbekannter unit type: %s\n" | 414 | msgstr "unbekannter unit type: %s\n" |
400 | 415 | ||
401 | #: plugins/check_disk.c:602 | 416 | #: plugins/check_disk.c:553 |
402 | #, c-format | 417 | #, c-format |
403 | msgid "failed allocating storage for '%s'\n" | 418 | msgid "failed allocating storage for '%s'\n" |
404 | msgstr "konnte keinen Speicher für '%s' reservieren\n" | 419 | msgstr "konnte keinen Speicher für '%s' reservieren\n" |
405 | 420 | ||
406 | #: plugins/check_disk.c:626 plugins/check_disk.c:664 plugins/check_disk.c:669 | 421 | #: plugins/check_disk.c:577 plugins/check_disk.c:618 plugins/check_disk.c:626 |
407 | #: plugins/check_disk.c:676 plugins/check_disk.c:680 plugins/check_disk.c:720 | 422 | #: plugins/check_disk.c:633 plugins/check_disk.c:637 plugins/check_disk.c:677 |
408 | #: plugins/check_disk.c:726 plugins/check_disk.c:745 plugins/check_dummy.c:77 | 423 | #: plugins/check_disk.c:683 plugins/check_disk.c:702 plugins/check_dummy.c:77 |
409 | #: plugins/check_dummy.c:80 plugins/check_procs.c:451 | 424 | #: plugins/check_dummy.c:80 plugins/check_pgsql.c:643 |
425 | #: plugins/check_procs.c:506 | ||
410 | #, c-format | 426 | #, c-format |
411 | msgid "UNKNOWN" | 427 | msgid "UNKNOWN" |
412 | msgstr "UNKNOWN" | 428 | msgstr "UNKNOWN" |
413 | 429 | ||
414 | #: plugins/check_disk.c:626 | 430 | #: plugins/check_disk.c:577 |
415 | msgid "Must set a threshold value before using -p\n" | 431 | msgid "Must set a threshold value before using -p\n" |
416 | msgstr "" | 432 | msgstr "" |
417 | 433 | ||
418 | #: plugins/check_disk.c:664 | 434 | #: plugins/check_disk.c:618 |
419 | msgid "Must set -E before selecting paths\n" | 435 | msgid "Must set -E before selecting paths\n" |
420 | msgstr "" | 436 | msgstr "" |
421 | 437 | ||
422 | #: plugins/check_disk.c:669 | 438 | #: plugins/check_disk.c:626 |
423 | msgid "Must set group value before selecting paths\n" | 439 | msgid "Must set group value before selecting paths\n" |
424 | msgstr "" | 440 | msgstr "" |
425 | 441 | ||
426 | #: plugins/check_disk.c:676 | 442 | #: plugins/check_disk.c:633 |
427 | msgid "" | 443 | msgid "" |
428 | "Paths need to be selected before using -i/-I. Use -A to select all paths " | 444 | "Paths need to be selected before using -i/-I. Use -A to select all paths " |
429 | "explicitly" | 445 | "explicitly" |
430 | msgstr "" | 446 | msgstr "" |
431 | 447 | ||
432 | #: plugins/check_disk.c:680 plugins/check_disk.c:726 plugins/check_procs.c:451 | 448 | #: plugins/check_disk.c:637 plugins/check_disk.c:683 plugins/check_procs.c:506 |
433 | msgid "Could not compile regular expression" | 449 | msgid "Could not compile regular expression" |
434 | msgstr "" | 450 | msgstr "" |
435 | 451 | ||
436 | #: plugins/check_disk.c:720 | 452 | #: plugins/check_disk.c:677 |
437 | msgid "Must set a threshold value before using -r/-R\n" | 453 | msgid "Must set a threshold value before using -r/-R\n" |
438 | msgstr "" | 454 | msgstr "" |
439 | 455 | ||
440 | #: plugins/check_disk.c:746 | 456 | #: plugins/check_disk.c:703 |
441 | msgid "Regular expression did not match any path or disk" | 457 | msgid "Regular expression did not match any path or disk" |
442 | msgstr "" | 458 | msgstr "" |
443 | 459 | ||
444 | #: plugins/check_disk.c:792 | 460 | #: plugins/check_disk.c:749 |
445 | #, fuzzy | 461 | #, fuzzy |
446 | msgid "Unknown argument" | 462 | msgid "Unknown argument" |
447 | msgstr "Unbekanntes Argument" | 463 | msgstr "Unbekanntes Argument" |
448 | 464 | ||
449 | #: plugins/check_disk.c:826 | 465 | #: plugins/check_disk.c:783 |
450 | #, c-format | 466 | #, c-format |
451 | msgid " for %s\n" | 467 | msgid " for %s\n" |
452 | msgstr "" | 468 | msgstr "" |
453 | 469 | ||
454 | #: plugins/check_disk.c:900 | 470 | #: plugins/check_disk.c:857 |
455 | #, fuzzy | 471 | #, fuzzy |
456 | msgid "" | 472 | msgid "" |
457 | "This plugin checks the amount of used disk space on a mounted file system" | 473 | "This plugin checks the amount of used disk space on a mounted file system" |
458 | msgstr "" | 474 | msgstr "" |
459 | "Dieses Plugin prüft den freien Speicher auf einem gemounteten Filesystem" | 475 | "Dieses Plugin prüft den freien Speicher auf einem gemounteten Filesystem" |
460 | 476 | ||
461 | #: plugins/check_disk.c:901 | 477 | #: plugins/check_disk.c:858 |
462 | #, fuzzy | 478 | #, fuzzy |
463 | msgid "" | 479 | msgid "" |
464 | "and generates an alert if free space is less than one of the threshold values" | 480 | "and generates an alert if free space is less than one of the threshold values" |
@@ -466,141 +482,149 @@ msgstr "" | |||
466 | "und erzeugt einen Alarm wenn einer der angegebenen Schwellwerte " | 482 | "und erzeugt einen Alarm wenn einer der angegebenen Schwellwerte " |
467 | "unterschritten wird." | 483 | "unterschritten wird." |
468 | 484 | ||
469 | #: plugins/check_disk.c:911 | 485 | #: plugins/check_disk.c:868 |
470 | msgid "Exit with WARNING status if less than INTEGER units of disk are free" | 486 | msgid "Exit with WARNING status if less than INTEGER units of disk are free" |
471 | msgstr "" | 487 | msgstr "" |
472 | 488 | ||
473 | #: plugins/check_disk.c:913 | 489 | #: plugins/check_disk.c:870 |
474 | msgid "Exit with WARNING status if less than PERCENT of disk space is free" | 490 | msgid "Exit with WARNING status if less than PERCENT of disk space is free" |
475 | msgstr "" | 491 | msgstr "" |
476 | 492 | ||
477 | #: plugins/check_disk.c:915 | 493 | #: plugins/check_disk.c:872 |
478 | msgid "Exit with CRITICAL status if less than INTEGER units of disk are free" | 494 | msgid "Exit with CRITICAL status if less than INTEGER units of disk are free" |
479 | msgstr "" | 495 | msgstr "" |
480 | 496 | ||
481 | #: plugins/check_disk.c:917 | 497 | #: plugins/check_disk.c:874 |
482 | msgid "Exit with CRITCAL status if less than PERCENT of disk space is free" | 498 | msgid "Exit with CRITICAL status if less than PERCENT of disk space is free" |
483 | msgstr "" | 499 | msgstr "" |
484 | 500 | ||
485 | #: plugins/check_disk.c:919 | 501 | #: plugins/check_disk.c:876 |
486 | msgid "Exit with WARNING status if less than PERCENT of inode space is free" | 502 | msgid "Exit with WARNING status if less than PERCENT of inode space is free" |
487 | msgstr "" | 503 | msgstr "" |
488 | 504 | ||
489 | #: plugins/check_disk.c:921 | 505 | #: plugins/check_disk.c:878 |
490 | msgid "Exit with CRITICAL status if less than PERCENT of inode space is free" | 506 | msgid "Exit with CRITICAL status if less than PERCENT of inode space is free" |
491 | msgstr "" | 507 | msgstr "" |
492 | 508 | ||
493 | #: plugins/check_disk.c:923 | 509 | #: plugins/check_disk.c:880 |
494 | msgid "Path or partition (may be repeated)" | 510 | msgid "Path or partition (may be repeated)" |
495 | msgstr "" | 511 | msgstr "" |
496 | 512 | ||
497 | #: plugins/check_disk.c:925 | 513 | #: plugins/check_disk.c:882 |
498 | msgid "Ignore device (only works if -p unspecified)" | 514 | msgid "Ignore device (only works if -p unspecified)" |
499 | msgstr "" | 515 | msgstr "" |
500 | 516 | ||
501 | #: plugins/check_disk.c:927 | 517 | #: plugins/check_disk.c:884 |
502 | msgid "Clear thresholds" | 518 | msgid "Clear thresholds" |
503 | msgstr "" | 519 | msgstr "" |
504 | 520 | ||
505 | #: plugins/check_disk.c:929 | 521 | #: plugins/check_disk.c:886 |
506 | msgid "For paths or partitions specified with -p, only check for exact paths" | 522 | msgid "For paths or partitions specified with -p, only check for exact paths" |
507 | msgstr "" | 523 | msgstr "" |
508 | 524 | ||
509 | #: plugins/check_disk.c:931 | 525 | #: plugins/check_disk.c:888 |
510 | msgid "Display only devices/mountpoints with errors" | 526 | msgid "Display only devices/mountpoints with errors" |
511 | msgstr "" | 527 | msgstr "" |
512 | 528 | ||
513 | #: plugins/check_disk.c:933 | 529 | #: plugins/check_disk.c:890 |
530 | msgid "Don't account root-reserved blocks into freespace in perfdata" | ||
531 | msgstr "" | ||
532 | |||
533 | #: plugins/check_disk.c:892 | ||
514 | msgid "" | 534 | msgid "" |
515 | "Group paths. Thresholds apply to (free-)space of all partitions together" | 535 | "Group paths. Thresholds apply to (free-)space of all partitions together" |
516 | msgstr "" | 536 | msgstr "" |
517 | 537 | ||
518 | #: plugins/check_disk.c:935 | 538 | #: plugins/check_disk.c:894 |
519 | msgid "Same as '--units kB'" | 539 | msgid "Same as '--units kB'" |
520 | msgstr "" | 540 | msgstr "" |
521 | 541 | ||
522 | #: plugins/check_disk.c:937 | 542 | #: plugins/check_disk.c:896 |
523 | msgid "Only check local filesystems" | 543 | msgid "Only check local filesystems" |
524 | msgstr "" | 544 | msgstr "" |
525 | 545 | ||
526 | #: plugins/check_disk.c:939 | 546 | #: plugins/check_disk.c:898 |
527 | msgid "" | 547 | msgid "" |
528 | "Only check local filesystems against thresholds. Yet call stat on remote " | 548 | "Only check local filesystems against thresholds. Yet call stat on remote " |
529 | "filesystems" | 549 | "filesystems" |
530 | msgstr "" | 550 | msgstr "" |
531 | 551 | ||
532 | #: plugins/check_disk.c:940 | 552 | #: plugins/check_disk.c:899 |
533 | msgid "to test if they are accessible (e.g. to detect Stale NFS Handles)" | 553 | msgid "to test if they are accessible (e.g. to detect Stale NFS Handles)" |
534 | msgstr "" | 554 | msgstr "" |
535 | 555 | ||
536 | #: plugins/check_disk.c:942 | 556 | #: plugins/check_disk.c:901 |
537 | msgid "Display the mountpoint instead of the partition" | 557 | msgid "Display the mountpoint instead of the partition" |
538 | msgstr "" | 558 | msgstr "" |
539 | 559 | ||
540 | #: plugins/check_disk.c:944 | 560 | #: plugins/check_disk.c:903 |
541 | msgid "Same as '--units MB'" | 561 | msgid "Same as '--units MB'" |
542 | msgstr "" | 562 | msgstr "" |
543 | 563 | ||
544 | #: plugins/check_disk.c:946 | 564 | #: plugins/check_disk.c:905 |
545 | msgid "Explicitly select all paths. This is equivalent to -R '.*'" | 565 | msgid "Explicitly select all paths. This is equivalent to -R '.*'" |
546 | msgstr "" | 566 | msgstr "" |
547 | 567 | ||
548 | #: plugins/check_disk.c:948 | 568 | #: plugins/check_disk.c:907 |
549 | msgid "" | 569 | msgid "" |
550 | "Case insensitive regular expression for path/partition (may be repeated)" | 570 | "Case insensitive regular expression for path/partition (may be repeated)" |
551 | msgstr "" | 571 | msgstr "" |
552 | 572 | ||
553 | #: plugins/check_disk.c:950 | 573 | #: plugins/check_disk.c:909 |
554 | msgid "Regular expression for path or partition (may be repeated)" | 574 | msgid "Regular expression for path or partition (may be repeated)" |
555 | msgstr "" | 575 | msgstr "" |
556 | 576 | ||
557 | #: plugins/check_disk.c:952 | 577 | #: plugins/check_disk.c:911 |
558 | msgid "" | 578 | msgid "" |
559 | "Regular expression to ignore selected path/partition (case insensitive) (may " | 579 | "Regular expression to ignore selected path/partition (case insensitive) (may " |
560 | "be repeated)" | 580 | "be repeated)" |
561 | msgstr "" | 581 | msgstr "" |
562 | 582 | ||
563 | #: plugins/check_disk.c:954 | 583 | #: plugins/check_disk.c:913 |
564 | msgid "" | 584 | msgid "" |
565 | "Regular expression to ignore selected path or partition (may be repeated)" | 585 | "Regular expression to ignore selected path or partition (may be repeated)" |
566 | msgstr "" | 586 | msgstr "" |
567 | 587 | ||
568 | #: plugins/check_disk.c:957 | 588 | #: plugins/check_disk.c:916 |
569 | msgid "Choose bytes, kB, MB, GB, TB (default: MB)" | 589 | msgid "Choose bytes, kB, MB, GB, TB (default: MB)" |
570 | msgstr "" | 590 | msgstr "" |
571 | 591 | ||
572 | #: plugins/check_disk.c:960 | 592 | #: plugins/check_disk.c:919 |
573 | msgid "Ignore all filesystems of indicated type (may be repeated)" | 593 | msgid "Ignore all filesystems of indicated type (may be repeated)" |
574 | msgstr "" | 594 | msgstr "" |
575 | 595 | ||
576 | #: plugins/check_disk.c:965 | 596 | #: plugins/check_disk.c:921 |
597 | msgid "Check only filesystems of indicated type (may be repeated)" | ||
598 | msgstr "" | ||
599 | |||
600 | #: plugins/check_disk.c:926 | ||
577 | msgid "Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB" | 601 | msgid "Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB" |
578 | msgstr "" | 602 | msgstr "" |
579 | 603 | ||
580 | #: plugins/check_disk.c:967 | 604 | #: plugins/check_disk.c:928 |
581 | msgid "" | 605 | msgid "" |
582 | "Checks all filesystems not matching -r at 100M and 50M. The fs matching the -" | 606 | "Checks all filesystems not matching -r at 100M and 50M. The fs matching the -" |
583 | "r regex" | 607 | "r regex" |
584 | msgstr "" | 608 | msgstr "" |
585 | 609 | ||
586 | #: plugins/check_disk.c:968 | 610 | #: plugins/check_disk.c:929 |
587 | msgid "" | 611 | msgid "" |
588 | "are grouped which means the freespace thresholds are applied to all disks " | 612 | "are grouped which means the freespace thresholds are applied to all disks " |
589 | "together" | 613 | "together" |
590 | msgstr "" | 614 | msgstr "" |
591 | 615 | ||
592 | #: plugins/check_disk.c:970 | 616 | #: plugins/check_disk.c:931 |
593 | msgid "" | 617 | msgid "" |
594 | "Checks /foo for 1000M/500M and /bar for 5/3%. All remaining volumes use " | 618 | "Checks /foo for 1000M/500M and /bar for 5/3%. All remaining volumes use " |
595 | "100M/50M" | 619 | "100M/50M" |
596 | msgstr "" | 620 | msgstr "" |
597 | 621 | ||
598 | #: plugins/check_disk.c:996 | 622 | #: plugins/check_disk.c:957 |
599 | #, c-format | 623 | #, c-format |
600 | msgid "%s %s: %s\n" | 624 | msgid "%s %s: %s\n" |
601 | msgstr "" | 625 | msgstr "" |
602 | 626 | ||
603 | #: plugins/check_disk.c:996 | 627 | #: plugins/check_disk.c:957 |
604 | msgid "is not accessible" | 628 | msgid "is not accessible" |
605 | msgstr "" | 629 | msgstr "" |
606 | 630 | ||
@@ -638,13 +662,15 @@ msgid "server %s is not authoritative for %s" | |||
638 | msgstr "Server %s ist nicht autoritativ für %s" | 662 | msgstr "Server %s ist nicht autoritativ für %s" |
639 | 663 | ||
640 | #: plugins/check_dns.c:237 plugins/check_dummy.c:68 plugins/check_nagios.c:182 | 664 | #: plugins/check_dns.c:237 plugins/check_dummy.c:68 plugins/check_nagios.c:182 |
641 | #: plugins/check_procs.c:283 | 665 | #: plugins/check_pgsql.c:638 plugins/check_procs.c:344 |
642 | #, c-format | 666 | #, c-format |
643 | msgid "OK" | 667 | msgid "OK" |
644 | msgstr "OK" | 668 | msgstr "OK" |
645 | 669 | ||
646 | #: plugins/check_dns.c:239 plugins/check_dummy.c:71 plugins/check_mysql.c:209 | 670 | #: plugins/check_dns.c:239 plugins/check_dummy.c:71 plugins/check_mysql.c:296 |
647 | #: plugins/check_nagios.c:182 plugins/check_procs.c:285 | 671 | #: plugins/check_nagios.c:182 plugins/check_pgsql.c:607 |
672 | #: plugins/check_pgsql.c:612 plugins/check_pgsql.c:640 | ||
673 | #: plugins/check_procs.c:346 | ||
648 | #, c-format | 674 | #, c-format |
649 | msgid "WARNING" | 675 | msgid "WARNING" |
650 | msgstr "WARNING" | 676 | msgstr "WARNING" |
@@ -811,146 +837,182 @@ msgstr "" | |||
811 | msgid "of the <state> argument with optional text" | 837 | msgid "of the <state> argument with optional text" |
812 | msgstr "" | 838 | msgstr "" |
813 | 839 | ||
814 | #: plugins/check_fping.c:108 plugins/check_hpjd.c:128 plugins/check_ping.c:437 | 840 | #: plugins/check_fping.c:125 plugins/check_hpjd.c:128 plugins/check_ping.c:438 |
815 | #: plugins/check_swap.c:175 plugins/check_users.c:73 plugins/urlize.c:110 | 841 | #: plugins/check_swap.c:175 plugins/check_users.c:94 plugins/urlize.c:110 |
816 | #, c-format | 842 | #, c-format |
817 | msgid "Could not open pipe: %s\n" | 843 | msgid "Could not open pipe: %s\n" |
818 | msgstr "Pipe: %s konnte nicht geöffnet werden\n" | 844 | msgstr "Pipe: %s konnte nicht geöffnet werden\n" |
819 | 845 | ||
820 | #: plugins/check_fping.c:114 plugins/check_hpjd.c:134 plugins/check_load.c:153 | 846 | #: plugins/check_fping.c:131 plugins/check_hpjd.c:134 plugins/check_load.c:153 |
821 | #: plugins/check_swap.c:181 plugins/check_users.c:79 plugins/urlize.c:116 | 847 | #: plugins/check_swap.c:181 plugins/check_users.c:100 plugins/urlize.c:116 |
822 | #, c-format | 848 | #, c-format |
823 | msgid "Could not open stderr for %s\n" | 849 | msgid "Could not open stderr for %s\n" |
824 | msgstr "Konnte stderr nicht öffnen für: %s\n" | 850 | msgstr "Konnte stderr nicht öffnen für: %s\n" |
825 | 851 | ||
826 | #: plugins/check_fping.c:154 | 852 | #: plugins/check_fping.c:157 |
853 | #, fuzzy | ||
854 | msgid "FPING UNKNOWN - IP address not found\n" | ||
855 | msgstr "FPING UNKNOW - %s nicht gefunden\n" | ||
856 | |||
857 | #: plugins/check_fping.c:160 | ||
858 | msgid "FPING UNKNOWN - invalid commandline argument\n" | ||
859 | msgstr "" | ||
860 | |||
861 | #: plugins/check_fping.c:163 | ||
862 | #, fuzzy | ||
863 | msgid "FPING UNKNOWN - failed system call\n" | ||
864 | msgstr "FPING UNKNOW - %s nicht gefunden\n" | ||
865 | |||
866 | #: plugins/check_fping.c:187 | ||
827 | #, c-format | 867 | #, c-format |
828 | msgid "FPING UNKNOW - %s not found\n" | 868 | msgid "FPING UNKNOW - %s not found\n" |
829 | msgstr "FPING UNKNOW - %s nicht gefunden\n" | 869 | msgstr "FPING UNKNOW - %s nicht gefunden\n" |
830 | 870 | ||
831 | #: plugins/check_fping.c:158 | 871 | #: plugins/check_fping.c:191 |
832 | #, c-format | 872 | #, c-format |
833 | msgid "FPING CRITICAL - %s is unreachable\n" | 873 | msgid "FPING CRITICAL - %s is unreachable\n" |
834 | msgstr "FPING CRITICAL - %s ist nicht erreichbar\n" | 874 | msgstr "FPING CRITICAL - %s ist nicht erreichbar\n" |
835 | 875 | ||
836 | #: plugins/check_fping.c:163 | 876 | #: plugins/check_fping.c:196 |
877 | #, fuzzy, c-format | ||
878 | msgid "FPING UNKNOWN - %s parameter error\n" | ||
879 | msgstr "FPING UNKNOW - %s nicht gefunden\n" | ||
880 | |||
881 | #: plugins/check_fping.c:200 plugins/check_fping.c:240 | ||
837 | #, c-format | 882 | #, c-format |
838 | msgid "FPING CRITICAL - %s is down\n" | 883 | msgid "FPING CRITICAL - %s is down\n" |
839 | msgstr "FPING CRITICAL - %s ist down\n" | 884 | msgstr "FPING CRITICAL - %s ist down\n" |
840 | 885 | ||
841 | #: plugins/check_fping.c:190 | 886 | #: plugins/check_fping.c:227 |
842 | #, c-format | 887 | #, c-format |
843 | msgid "FPING %s - %s (loss=%.0f%%, rta=%f ms)|%s %s\n" | 888 | msgid "FPING %s - %s (loss=%.0f%%, rta=%f ms)|%s %s\n" |
844 | msgstr "FPING %s - %s (verloren=%.0f%%, rta=%f ms)|%s %s\n" | 889 | msgstr "FPING %s - %s (verloren=%.0f%%, rta=%f ms)|%s %s\n" |
845 | 890 | ||
846 | #: plugins/check_fping.c:211 | 891 | #: plugins/check_fping.c:253 |
847 | #, c-format | 892 | #, c-format |
848 | msgid "FPING %s - %s (loss=%.0f%% )|%s\n" | 893 | msgid "FPING %s - %s (loss=%.0f%% )|%s\n" |
849 | msgstr "FPING %s - %s (verloren=%.0f%% )|%s\n" | 894 | msgstr "FPING %s - %s (verloren=%.0f%% )|%s\n" |
850 | 895 | ||
851 | #: plugins/check_fping.c:280 plugins/check_hpjd.c:338 plugins/check_hpjd.c:361 | 896 | #: plugins/check_fping.c:326 plugins/check_fping.c:332 |
852 | #: plugins/check_mysql.c:276 plugins/check_mysql.c:334 plugins/check_ntp.c:705 | 897 | #: plugins/check_hpjd.c:338 plugins/check_hpjd.c:361 plugins/check_mysql.c:371 |
853 | #: plugins/check_ntp_peer.c:491 plugins/check_ntp_time.c:492 | 898 | #: plugins/check_mysql.c:455 plugins/check_ntp.c:709 |
854 | #: plugins/check_pgsql.c:268 plugins/check_ping.c:295 plugins/check_ping.c:418 | 899 | #: plugins/check_ntp_peer.c:497 plugins/check_ntp_time.c:496 |
900 | #: plugins/check_pgsql.c:335 plugins/check_ping.c:295 plugins/check_ping.c:418 | ||
855 | #: plugins/check_radius.c:264 plugins/check_real.c:314 | 901 | #: plugins/check_radius.c:264 plugins/check_real.c:314 |
856 | #: plugins/check_real.c:376 plugins/check_smtp.c:507 plugins/check_smtp.c:633 | 902 | #: plugins/check_real.c:376 plugins/check_smtp.c:499 plugins/check_smtp.c:641 |
857 | #: plugins/check_ssh.c:157 plugins/check_time.c:240 plugins/check_time.c:315 | 903 | #: plugins/check_ssh.c:157 plugins/check_time.c:240 plugins/check_time.c:315 |
858 | #: plugins/check_ups.c:504 plugins/check_ups.c:573 | 904 | #: plugins/check_ups.c:504 plugins/check_ups.c:573 |
859 | msgid "Invalid hostname/address" | 905 | msgid "Invalid hostname/address" |
860 | msgstr "Ungültige(r) Hostname/Adresse" | 906 | msgstr "Ungültige(r) Hostname/Adresse" |
861 | 907 | ||
862 | #: plugins/check_fping.c:314 | 908 | #: plugins/check_fping.c:345 plugins/check_ldap.c:353 plugins/check_ping.c:246 |
909 | msgid "IPv6 support not available\n" | ||
910 | msgstr "" | ||
911 | |||
912 | #: plugins/check_fping.c:378 | ||
863 | msgid "Packet size must be a positive integer" | 913 | msgid "Packet size must be a positive integer" |
864 | msgstr "Paketgröße muss ein positiver Integer sein" | 914 | msgstr "Paketgröße muss ein positiver Integer sein" |
865 | 915 | ||
866 | #: plugins/check_fping.c:320 | 916 | #: plugins/check_fping.c:384 |
867 | msgid "Packet count must be a positive integer" | 917 | msgid "Packet count must be a positive integer" |
868 | msgstr "Paketanzahl muss ein positiver Integer sein" | 918 | msgstr "Paketanzahl muss ein positiver Integer sein" |
869 | 919 | ||
870 | #: plugins/check_fping.c:326 | 920 | #: plugins/check_fping.c:390 |
871 | #, fuzzy | 921 | #, fuzzy |
872 | msgid "Target timeout must be a positive integer" | 922 | msgid "Target timeout must be a positive integer" |
873 | msgstr "Warnung time muss ein positiver Integer sein" | 923 | msgstr "Warnung time muss ein positiver Integer sein" |
874 | 924 | ||
875 | #: plugins/check_fping.c:332 | 925 | #: plugins/check_fping.c:396 |
876 | #, fuzzy | 926 | #, fuzzy |
877 | msgid "Interval must be a positive integer" | 927 | msgid "Interval must be a positive integer" |
878 | msgstr "Timeout interval muss ein positiver Integer sein" | 928 | msgstr "Timeout interval muss ein positiver Integer sein" |
879 | 929 | ||
880 | #: plugins/check_fping.c:338 plugins/check_ntp.c:729 | 930 | #: plugins/check_fping.c:402 plugins/check_ntp.c:733 |
881 | #: plugins/check_ntp_peer.c:518 plugins/check_ntp_time.c:519 | 931 | #: plugins/check_ntp_peer.c:524 plugins/check_ntp_time.c:523 |
882 | #: plugins/check_radius.c:314 plugins/check_time.c:319 | 932 | #: plugins/check_radius.c:314 plugins/check_time.c:319 |
883 | msgid "Hostname was not supplied" | 933 | msgid "Hostname was not supplied" |
884 | msgstr "" | 934 | msgstr "" |
885 | 935 | ||
886 | #: plugins/check_fping.c:358 | 936 | #: plugins/check_fping.c:422 |
887 | #, c-format | 937 | #, c-format |
888 | msgid "%s: Only one threshold may be packet loss (%s)\n" | 938 | msgid "%s: Only one threshold may be packet loss (%s)\n" |
889 | msgstr "%s: Nur ein Wert darf für paket loss angegeben werden (%s)\n" | 939 | msgstr "%s: Nur ein Wert darf für paket loss angegeben werden (%s)\n" |
890 | 940 | ||
891 | #: plugins/check_fping.c:362 | 941 | #: plugins/check_fping.c:426 |
892 | #, c-format | 942 | #, c-format |
893 | msgid "%s: Only one threshold must be packet loss (%s)\n" | 943 | msgid "%s: Only one threshold must be packet loss (%s)\n" |
894 | msgstr "%s: Nur ein Wert darf für paket loss angegeben werden (%s)\n" | 944 | msgstr "%s: Nur ein Wert darf für paket loss angegeben werden (%s)\n" |
895 | 945 | ||
896 | #: plugins/check_fping.c:394 | 946 | #: plugins/check_fping.c:458 |
897 | msgid "" | 947 | msgid "" |
898 | "This plugin will use the fping command to ping the specified host for a fast " | 948 | "This plugin will use the fping command to ping the specified host for a fast " |
899 | "check" | 949 | "check" |
900 | msgstr "" | 950 | msgstr "" |
901 | 951 | ||
902 | #: plugins/check_fping.c:396 | 952 | #: plugins/check_fping.c:460 |
903 | msgid "Note that it is necessary to set the suid flag on fping." | 953 | msgid "Note that it is necessary to set the suid flag on fping." |
904 | msgstr "" | 954 | msgstr "" |
905 | 955 | ||
906 | #: plugins/check_fping.c:406 | 956 | #: plugins/check_fping.c:472 |
907 | msgid "" | 957 | msgid "" |
908 | "name or IP Address of host to ping (IP Address bypasses name lookup, " | 958 | "name or IP Address of host to ping (IP Address bypasses name lookup, " |
909 | "reducing system load)" | 959 | "reducing system load)" |
910 | msgstr "" | 960 | msgstr "" |
911 | 961 | ||
912 | #: plugins/check_fping.c:408 plugins/check_ping.c:573 | 962 | #: plugins/check_fping.c:474 plugins/check_ping.c:575 |
913 | #, fuzzy | 963 | #, fuzzy |
914 | msgid "warning threshold pair" | 964 | msgid "warning threshold pair" |
915 | msgstr "Warning threshold Integer sein" | 965 | msgstr "Warning threshold Integer sein" |
916 | 966 | ||
917 | #: plugins/check_fping.c:410 plugins/check_ping.c:575 | 967 | #: plugins/check_fping.c:476 plugins/check_ping.c:577 |
918 | #, fuzzy | 968 | #, fuzzy |
919 | msgid "critical threshold pair" | 969 | msgid "critical threshold pair" |
920 | msgstr "Critical threshold muss ein Integer sein" | 970 | msgstr "Critical threshold muss ein Integer sein" |
921 | 971 | ||
922 | #: plugins/check_fping.c:412 | 972 | #: plugins/check_fping.c:478 |
923 | msgid "size of ICMP packet" | 973 | msgid "size of ICMP packet" |
924 | msgstr "" | 974 | msgstr "" |
925 | 975 | ||
926 | #: plugins/check_fping.c:414 | 976 | #: plugins/check_fping.c:480 |
927 | msgid "number of ICMP packets to send" | 977 | msgid "number of ICMP packets to send" |
928 | msgstr "" | 978 | msgstr "" |
929 | 979 | ||
930 | #: plugins/check_fping.c:416 | 980 | #: plugins/check_fping.c:482 |
931 | msgid "Target timeout (ms)" | 981 | msgid "Target timeout (ms)" |
932 | msgstr "" | 982 | msgstr "" |
933 | 983 | ||
934 | #: plugins/check_fping.c:418 | 984 | #: plugins/check_fping.c:484 |
935 | msgid "Interval (ms) between sending packets" | 985 | msgid "Interval (ms) between sending packets" |
936 | msgstr "" | 986 | msgstr "" |
937 | 987 | ||
938 | #: plugins/check_fping.c:421 | 988 | #: plugins/check_fping.c:486 |
989 | msgid "name or IP Address of sourceip" | ||
990 | msgstr "" | ||
991 | |||
992 | #: plugins/check_fping.c:488 | ||
993 | msgid "source interface name" | ||
994 | msgstr "" | ||
995 | |||
996 | #: plugins/check_fping.c:491 | ||
939 | #, c-format | 997 | #, c-format |
940 | msgid "" | 998 | msgid "" |
941 | "THRESHOLD is <rta>,<pl>%% where <rta> is the round trip average travel time " | 999 | "THRESHOLD is <rta>,<pl>%% where <rta> is the round trip average travel time " |
942 | "(ms)" | 1000 | "(ms)" |
943 | msgstr "" | 1001 | msgstr "" |
944 | 1002 | ||
945 | #: plugins/check_fping.c:422 | 1003 | #: plugins/check_fping.c:492 |
946 | msgid "" | 1004 | msgid "" |
947 | "which triggers a WARNING or CRITICAL state, and <pl> is the percentage of" | 1005 | "which triggers a WARNING or CRITICAL state, and <pl> is the percentage of" |
948 | msgstr "" | 1006 | msgstr "" |
949 | 1007 | ||
950 | #: plugins/check_fping.c:423 | 1008 | #: plugins/check_fping.c:493 |
951 | msgid "packet loss to trigger an alarm state." | 1009 | msgid "packet loss to trigger an alarm state." |
952 | msgstr "" | 1010 | msgstr "" |
953 | 1011 | ||
1012 | #: plugins/check_fping.c:496 | ||
1013 | msgid "IPv4 is used by default. Specify -6 to use IPv6." | ||
1014 | msgstr "" | ||
1015 | |||
954 | #: plugins/check_game.c:111 | 1016 | #: plugins/check_game.c:111 |
955 | #, c-format | 1017 | #, c-format |
956 | msgid "CRITICAL - Host type parameter incorrect!\n" | 1018 | msgid "CRITICAL - Host type parameter incorrect!\n" |
@@ -1086,457 +1148,535 @@ msgstr "" | |||
1086 | msgid "(default=%s)" | 1148 | msgid "(default=%s)" |
1087 | msgstr "" | 1149 | msgstr "" |
1088 | 1150 | ||
1089 | #: plugins/check_http.c:262 | 1151 | #: plugins/check_http.c:189 |
1090 | msgid "Critical threshold must be integer" | 1152 | msgid "file does not exist or is not readable" |
1091 | msgstr "Critical threshold muss ein Integer sein" | 1153 | msgstr "" |
1092 | |||
1093 | #: plugins/check_http.c:270 | ||
1094 | msgid "Warning threshold must be integer" | ||
1095 | msgstr "Warning threshold Integer sein" | ||
1096 | 1154 | ||
1097 | #: plugins/check_http.c:296 plugins/check_tcp.c:559 | 1155 | #: plugins/check_http.c:310 plugins/check_http.c:315 plugins/check_http.c:321 |
1156 | #: plugins/check_smtp.c:600 plugins/check_tcp.c:576 plugins/check_tcp.c:580 | ||
1157 | #: plugins/check_tcp.c:586 | ||
1098 | msgid "Invalid certificate expiration period" | 1158 | msgid "Invalid certificate expiration period" |
1099 | msgstr "Ungültiger Zertifikatsablauftermin" | 1159 | msgstr "Ungültiger Zertifikatsablauftermin" |
1100 | 1160 | ||
1101 | #: plugins/check_http.c:305 plugins/check_tcp.c:571 | 1161 | #: plugins/check_http.c:348 |
1162 | msgid "" | ||
1163 | "Invalid option - Valid values for SSL Version are 1 (TLSv1), 2 (SSLv2) or 3 " | ||
1164 | "(SSLv3)" | ||
1165 | msgstr "" | ||
1166 | |||
1167 | #: plugins/check_http.c:354 plugins/check_tcp.c:599 | ||
1102 | #, fuzzy | 1168 | #, fuzzy |
1103 | msgid "Invalid option - SSL is not available" | 1169 | msgid "Invalid option - SSL is not available" |
1104 | msgstr "Ungültige Option - SSL ist nicht verfügbar\n" | 1170 | msgstr "Ungültige Option - SSL ist nicht verfügbar\n" |
1105 | 1171 | ||
1106 | #: plugins/check_http.c:329 | 1172 | #: plugins/check_http.c:375 |
1107 | msgid "Invalid onredirect option" | 1173 | msgid "Invalid onredirect option" |
1108 | msgstr "" | 1174 | msgstr "" |
1109 | 1175 | ||
1110 | #: plugins/check_http.c:331 | 1176 | #: plugins/check_http.c:377 |
1111 | #, c-format | 1177 | #, c-format |
1112 | msgid "option f:%d \n" | 1178 | msgid "option f:%d \n" |
1113 | msgstr "Option f:%d \n" | 1179 | msgstr "Option f:%d \n" |
1114 | 1180 | ||
1115 | #: plugins/check_http.c:352 | 1181 | #: plugins/check_http.c:398 |
1116 | msgid "Invalid port number" | 1182 | msgid "Invalid port number" |
1117 | msgstr "Ungültige Portnummer" | 1183 | msgstr "Ungültige Portnummer" |
1118 | 1184 | ||
1119 | #: plugins/check_http.c:400 | 1185 | #: plugins/check_http.c:450 |
1120 | #, c-format | 1186 | #, c-format |
1121 | msgid "Could Not Compile Regular Expression: %s" | 1187 | msgid "Could Not Compile Regular Expression: %s" |
1122 | msgstr "" | 1188 | msgstr "" |
1123 | 1189 | ||
1124 | #: plugins/check_http.c:414 plugins/check_ntp.c:718 | 1190 | #: plugins/check_http.c:464 plugins/check_ntp.c:722 |
1125 | #: plugins/check_ntp_peer.c:507 plugins/check_ntp_time.c:508 | 1191 | #: plugins/check_ntp_peer.c:513 plugins/check_ntp_time.c:512 |
1126 | #: plugins/check_smtp.c:613 plugins/check_ssh.c:149 plugins/check_tcp.c:463 | 1192 | #: plugins/check_smtp.c:621 plugins/check_ssh.c:149 plugins/check_tcp.c:477 |
1127 | msgid "IPv6 support not available" | 1193 | msgid "IPv6 support not available" |
1128 | msgstr "IPv6 Unterstützung nicht vorhanden" | 1194 | msgstr "IPv6 Unterstützung nicht vorhanden" |
1129 | 1195 | ||
1130 | #: plugins/check_http.c:476 plugins/check_ping.c:422 | 1196 | #: plugins/check_http.c:529 plugins/check_ping.c:422 |
1131 | msgid "You must specify a server address or host name" | 1197 | msgid "You must specify a server address or host name" |
1132 | msgstr "Hostname oder Serveradresse muss angegeben werden" | 1198 | msgstr "Hostname oder Serveradresse muss angegeben werden" |
1133 | 1199 | ||
1134 | #: plugins/check_http.c:609 plugins/check_http.c:777 | 1200 | #: plugins/check_http.c:543 |
1201 | msgid "" | ||
1202 | "If you use a client certificate you must also specify a private key file" | ||
1203 | msgstr "" | ||
1204 | |||
1205 | #: plugins/check_http.c:667 plugins/check_http.c:835 | ||
1135 | #, fuzzy | 1206 | #, fuzzy |
1136 | msgid "HTTP UNKNOWN - Memory allocation error\n" | 1207 | msgid "HTTP UNKNOWN - Memory allocation error\n" |
1137 | msgstr "HTTP UNKNOWN - Konnte·url·nicht·zuweisen\n" | 1208 | msgstr "HTTP UNKNOWN - Konnte·url·nicht·zuweisen\n" |
1138 | 1209 | ||
1139 | #: plugins/check_http.c:681 | 1210 | #: plugins/check_http.c:739 |
1140 | #, fuzzy, c-format | 1211 | #, fuzzy, c-format |
1141 | msgid "%sServer date unknown, " | 1212 | msgid "%sServer date unknown, " |
1142 | msgstr "HTTP UNKNOWN - Serverdatum unbekannt\n" | 1213 | msgstr "HTTP UNKNOWN - Serverdatum unbekannt\n" |
1143 | 1214 | ||
1144 | #: plugins/check_http.c:684 | 1215 | #: plugins/check_http.c:742 |
1145 | #, fuzzy, c-format | 1216 | #, fuzzy, c-format |
1146 | msgid "%sDocument modification date unknown, " | 1217 | msgid "%sDocument modification date unknown, " |
1147 | msgstr "HTTP CRITICAL - Datum der letzten Änderung unbekannt\n" | 1218 | msgstr "HTTP CRITICAL - Datum der letzten Änderung unbekannt\n" |
1148 | 1219 | ||
1149 | #: plugins/check_http.c:691 | 1220 | #: plugins/check_http.c:749 |
1150 | #, fuzzy, c-format | 1221 | #, fuzzy, c-format |
1151 | msgid "%sServer date \"%100s\" unparsable, " | 1222 | msgid "%sServer date \"%100s\" unparsable, " |
1152 | msgstr "HTTP CRITICAL - Serverdatum \"%100s\" konnte nicht verarbeitet werden" | 1223 | msgstr "HTTP CRITICAL - Serverdatum \"%100s\" konnte nicht verarbeitet werden" |
1153 | 1224 | ||
1154 | #: plugins/check_http.c:694 | 1225 | #: plugins/check_http.c:752 |
1155 | #, fuzzy, c-format | 1226 | #, fuzzy, c-format |
1156 | msgid "%sDocument date \"%100s\" unparsable, " | 1227 | msgid "%sDocument date \"%100s\" unparsable, " |
1157 | msgstr "" | 1228 | msgstr "" |
1158 | "HTTP CRITICAL - Dokumentendatum \"%100s\" konnte nicht verarbeitet werden" | 1229 | "HTTP CRITICAL - Dokumentendatum \"%100s\" konnte nicht verarbeitet werden" |
1159 | 1230 | ||
1160 | #: plugins/check_http.c:697 | 1231 | #: plugins/check_http.c:755 |
1161 | #, fuzzy, c-format | 1232 | #, fuzzy, c-format |
1162 | msgid "%sDocument is %d seconds in the future, " | 1233 | msgid "%sDocument is %d seconds in the future, " |
1163 | msgstr "HTTP CRITICAL - Dokumentendatum ist %d Sekunden in der Zukunft\n" | 1234 | msgstr "HTTP CRITICAL - Dokumentendatum ist %d Sekunden in der Zukunft\n" |
1164 | 1235 | ||
1165 | #: plugins/check_http.c:702 | 1236 | #: plugins/check_http.c:760 |
1166 | #, fuzzy, c-format | 1237 | #, fuzzy, c-format |
1167 | msgid "%sLast modified %.1f days ago, " | 1238 | msgid "%sLast modified %.1f days ago, " |
1168 | msgstr "HTTP CRITICAL - Letzte Änderung vor %.1f Tagen\n" | 1239 | msgstr "HTTP CRITICAL - Letzte Änderung vor %.1f Tagen\n" |
1169 | 1240 | ||
1170 | #: plugins/check_http.c:705 | 1241 | #: plugins/check_http.c:763 |
1171 | #, fuzzy, c-format | 1242 | #, fuzzy, c-format |
1172 | msgid "%sLast modified %d:%02d:%02d ago, " | 1243 | msgid "%sLast modified %d:%02d:%02d ago, " |
1173 | msgstr "HTTP CRITICAL - Letzte Änderung vor %d:%02d:%02d \n" | 1244 | msgstr "HTTP CRITICAL - Letzte Änderung vor %d:%02d:%02d \n" |
1174 | 1245 | ||
1175 | #: plugins/check_http.c:807 | 1246 | #: plugins/check_http.c:876 |
1176 | msgid "HTTP CRITICAL - Unable to open TCP socket\n" | 1247 | msgid "HTTP CRITICAL - Unable to open TCP socket\n" |
1177 | msgstr "HTTP CRITICAL - Konnte TCP socket nicht öffnen\n" | 1248 | msgstr "HTTP CRITICAL - Konnte TCP socket nicht öffnen\n" |
1178 | 1249 | ||
1179 | #: plugins/check_http.c:910 | 1250 | #: plugins/check_http.c:995 |
1180 | msgid "HTTP CRITICAL - Error on receive\n" | 1251 | msgid "HTTP CRITICAL - Error on receive\n" |
1181 | msgstr "HTTP CRITICAL - Fehler beim Empfangen\n" | 1252 | msgstr "HTTP CRITICAL - Fehler beim Empfangen\n" |
1182 | 1253 | ||
1183 | #: plugins/check_http.c:920 | 1254 | #: plugins/check_http.c:1005 |
1184 | #, fuzzy | 1255 | #, fuzzy |
1185 | msgid "HTTP CRITICAL - No data received from host\n" | 1256 | msgid "HTTP CRITICAL - No data received from host\n" |
1186 | msgstr "HTTP CRITICAL - Keine Daten empfangen\n" | 1257 | msgstr "HTTP CRITICAL - Keine Daten empfangen\n" |
1187 | 1258 | ||
1188 | #: plugins/check_http.c:971 | 1259 | #: plugins/check_http.c:1056 |
1189 | #, fuzzy, c-format | 1260 | #, fuzzy, c-format |
1190 | msgid "Invalid HTTP response received from host: %s\n" | 1261 | msgid "Invalid HTTP response received from host: %s\n" |
1191 | msgstr "Ungültige HTTP Antwort von Host empfangen\n" | 1262 | msgstr "Ungültige HTTP Antwort von Host empfangen\n" |
1192 | 1263 | ||
1193 | #: plugins/check_http.c:975 | 1264 | #: plugins/check_http.c:1060 |
1194 | #, fuzzy, c-format | 1265 | #, fuzzy, c-format |
1195 | msgid "Invalid HTTP response received from host on port %d: %s\n" | 1266 | msgid "Invalid HTTP response received from host on port %d: %s\n" |
1196 | msgstr "Ungültige HTTP Antwort von Host erhalten auf Port %d\n" | 1267 | msgstr "Ungültige HTTP Antwort von Host erhalten auf Port %d\n" |
1197 | 1268 | ||
1198 | #: plugins/check_http.c:984 | 1269 | #: plugins/check_http.c:1069 |
1199 | #, fuzzy, c-format | 1270 | #, fuzzy, c-format |
1200 | msgid "Status line output matched \"%s\" - " | 1271 | msgid "Status line output matched \"%s\" - " |
1201 | msgstr "HTTP OK: Statusausgabe passt auf \"%s\"\n" | 1272 | msgstr "HTTP OK: Statusausgabe passt auf \"%s\"\n" |
1202 | 1273 | ||
1203 | #: plugins/check_http.c:995 | 1274 | #: plugins/check_http.c:1080 |
1204 | #, c-format | 1275 | #, c-format |
1205 | msgid "HTTP CRITICAL: Invalid Status Line (%s)\n" | 1276 | msgid "HTTP CRITICAL: Invalid Status Line (%s)\n" |
1206 | msgstr "HTTP CRITICAL: Ungültige Statusmeldung (%s)\n" | 1277 | msgstr "HTTP CRITICAL: Ungültige Statusmeldung (%s)\n" |
1207 | 1278 | ||
1208 | #: plugins/check_http.c:1002 | 1279 | #: plugins/check_http.c:1087 |
1209 | #, c-format | 1280 | #, c-format |
1210 | msgid "HTTP CRITICAL: Invalid Status (%s)\n" | 1281 | msgid "HTTP CRITICAL: Invalid Status (%s)\n" |
1211 | msgstr "HTTP CRITICAL: Ungültiger Status (%s)\n" | 1282 | msgstr "HTTP CRITICAL: Ungültiger Status (%s)\n" |
1212 | 1283 | ||
1213 | #: plugins/check_http.c:1006 plugins/check_http.c:1011 | 1284 | #: plugins/check_http.c:1091 plugins/check_http.c:1096 |
1214 | #: plugins/check_http.c:1021 plugins/check_http.c:1025 | 1285 | #: plugins/check_http.c:1106 plugins/check_http.c:1110 |
1215 | #, c-format | 1286 | #, c-format |
1216 | msgid "%s - " | 1287 | msgid "%s - " |
1217 | msgstr "" | 1288 | msgstr "" |
1218 | 1289 | ||
1219 | #: plugins/check_http.c:1045 | 1290 | #: plugins/check_http.c:1129 |
1291 | #, fuzzy, c-format | ||
1292 | msgid "%sheader '%s' not found on '%s://%s:%d%s', " | ||
1293 | msgstr "CRITICAL - Muster nicht gefunden%s|%s %s\n" | ||
1294 | |||
1295 | #: plugins/check_http.c:1141 | ||
1220 | #, fuzzy, c-format | 1296 | #, fuzzy, c-format |
1221 | msgid "%sstring '%s' not found on '%s://%s:%d%s', " | 1297 | msgid "%sstring '%s' not found on '%s://%s:%d%s', " |
1222 | msgstr "CRITICAL - Muster nicht gefunden%s|%s %s\n" | 1298 | msgstr "CRITICAL - Muster nicht gefunden%s|%s %s\n" |
1223 | 1299 | ||
1224 | #: plugins/check_http.c:1058 | 1300 | #: plugins/check_http.c:1154 |
1225 | #, fuzzy, c-format | 1301 | #, fuzzy, c-format |
1226 | msgid "%spattern not found, " | 1302 | msgid "%spattern not found, " |
1227 | msgstr "CRITICAL - Muster nicht gefunden%s|%s %s\n" | 1303 | msgstr "CRITICAL - Muster nicht gefunden%s|%s %s\n" |
1228 | 1304 | ||
1229 | #: plugins/check_http.c:1060 | 1305 | #: plugins/check_http.c:1156 |
1230 | #, fuzzy, c-format | 1306 | #, fuzzy, c-format |
1231 | msgid "%spattern found, " | 1307 | msgid "%spattern found, " |
1232 | msgstr "CRITICAL - Muster nicht gefunden%s|%s %s\n" | 1308 | msgstr "CRITICAL - Muster nicht gefunden%s|%s %s\n" |
1233 | 1309 | ||
1234 | #: plugins/check_http.c:1066 | 1310 | #: plugins/check_http.c:1162 |
1235 | #, fuzzy, c-format | 1311 | #, fuzzy, c-format |
1236 | msgid "%sExecute Error: %s, " | 1312 | msgid "%sExecute Error: %s, " |
1237 | msgstr "HTTP CRITICAL - Fehler: %s\n" | 1313 | msgstr "HTTP CRITICAL - Fehler: %s\n" |
1238 | 1314 | ||
1239 | #: plugins/check_http.c:1082 | 1315 | #: plugins/check_http.c:1178 |
1240 | #, fuzzy, c-format | 1316 | #, fuzzy, c-format |
1241 | msgid "%spage size %d too large, " | 1317 | msgid "%spage size %d too large, " |
1242 | msgstr "HTTP WARNING: Seitengröße %d zu klein%s|%s\n" | 1318 | msgstr "HTTP WARNING: Seitengröße %d zu klein%s|%s\n" |
1243 | 1319 | ||
1244 | #: plugins/check_http.c:1085 | 1320 | #: plugins/check_http.c:1181 |
1245 | #, fuzzy, c-format | 1321 | #, fuzzy, c-format |
1246 | msgid "%spage size %d too small, " | 1322 | msgid "%spage size %d too small, " |
1247 | msgstr "HTTP WARNING: Seitengröße %d zu klein%s|%s\n" | 1323 | msgstr "HTTP WARNING: Seitengröße %d zu klein%s|%s\n" |
1248 | 1324 | ||
1249 | #: plugins/check_http.c:1097 | 1325 | #: plugins/check_http.c:1194 |
1326 | #, fuzzy, c-format | ||
1327 | msgid "%s - %d bytes in %.3f second response time %s|%s %s %s %s %s %s %s" | ||
1328 | msgstr " - %s - %.3f Sekunden Antwortzeit %s%s|%s %s\n" | ||
1329 | |||
1330 | #: plugins/check_http.c:1206 | ||
1250 | #, fuzzy, c-format | 1331 | #, fuzzy, c-format |
1251 | msgid "%s - %d bytes in %.3f second response time %s|%s %s" | 1332 | msgid "%s - %d bytes in %.3f second response time %s|%s %s" |
1252 | msgstr " - %s - %.3f Sekunden Antwortzeit %s%s|%s %s\n" | 1333 | msgstr " - %s - %.3f Sekunden Antwortzeit %s%s|%s %s\n" |
1253 | 1334 | ||
1254 | #: plugins/check_http.c:1137 | 1335 | #: plugins/check_http.c:1244 |
1255 | msgid "HTTP UNKNOWN - Could not allocate addr\n" | 1336 | msgid "HTTP UNKNOWN - Could not allocate addr\n" |
1256 | msgstr "HTTP UNKNOWN - Konnte addr nicht zuweisen\n" | 1337 | msgstr "HTTP UNKNOWN - Konnte addr nicht zuweisen\n" |
1257 | 1338 | ||
1258 | #: plugins/check_http.c:1141 plugins/check_http.c:1172 | 1339 | #: plugins/check_http.c:1248 plugins/check_http.c:1279 |
1259 | #, fuzzy | 1340 | #, fuzzy |
1260 | msgid "HTTP UNKNOWN - Could not allocate URL\n" | 1341 | msgid "HTTP UNKNOWN - Could not allocate URL\n" |
1261 | msgstr "HTTP UNKNOWN - Konnte·url·nicht·zuweisen\n" | 1342 | msgstr "HTTP UNKNOWN - Konnte·url·nicht·zuweisen\n" |
1262 | 1343 | ||
1263 | #: plugins/check_http.c:1150 | 1344 | #: plugins/check_http.c:1257 |
1264 | #, c-format | 1345 | #, c-format |
1265 | msgid "HTTP UNKNOWN - Could not find redirect location - %s%s\n" | 1346 | msgid "HTTP UNKNOWN - Could not find redirect location - %s%s\n" |
1266 | msgstr "" | 1347 | msgstr "" |
1267 | 1348 | ||
1268 | #: plugins/check_http.c:1165 | 1349 | #: plugins/check_http.c:1272 |
1269 | #, fuzzy, c-format | 1350 | #, fuzzy, c-format |
1270 | msgid "HTTP UNKNOWN - Empty redirect location%s\n" | 1351 | msgid "HTTP UNKNOWN - Empty redirect location%s\n" |
1271 | msgstr "HTTP UNKNOWN - Serverdatum unbekannt\n" | 1352 | msgstr "HTTP UNKNOWN - Serverdatum unbekannt\n" |
1272 | 1353 | ||
1273 | #: plugins/check_http.c:1215 | 1354 | #: plugins/check_http.c:1322 |
1274 | #, c-format | 1355 | #, c-format |
1275 | msgid "HTTP UNKNOWN - Could not parse redirect location - %s%s\n" | 1356 | msgid "HTTP UNKNOWN - Could not parse redirect location - %s%s\n" |
1276 | msgstr "" | 1357 | msgstr "" |
1277 | 1358 | ||
1278 | #: plugins/check_http.c:1225 | 1359 | #: plugins/check_http.c:1332 |
1279 | #, fuzzy, c-format | 1360 | #, fuzzy, c-format |
1280 | msgid "HTTP WARNING - maximum redirection depth %d exceeded - %s://%s:%d%s%s\n" | 1361 | msgid "HTTP WARNING - maximum redirection depth %d exceeded - %s://%s:%d%s%s\n" |
1281 | msgstr "HTTP WARNING - Umleitung verursacht eine Schleife - %s://%s:%d%s%s\n" | 1362 | msgstr "HTTP WARNING - Umleitung verursacht eine Schleife - %s://%s:%d%s%s\n" |
1282 | 1363 | ||
1283 | #: plugins/check_http.c:1233 | 1364 | #: plugins/check_http.c:1340 |
1284 | #, c-format | 1365 | #, c-format |
1285 | msgid "HTTP WARNING - redirection creates an infinite loop - %s://%s:%d%s%s\n" | 1366 | msgid "HTTP WARNING - redirection creates an infinite loop - %s://%s:%d%s%s\n" |
1286 | msgstr "HTTP WARNING - Umleitung verursacht eine Schleife - %s://%s:%d%s%s\n" | 1367 | msgstr "HTTP WARNING - Umleitung verursacht eine Schleife - %s://%s:%d%s%s\n" |
1287 | 1368 | ||
1288 | #: plugins/check_http.c:1254 | 1369 | #: plugins/check_http.c:1361 |
1289 | #, fuzzy, c-format | 1370 | #, fuzzy, c-format |
1290 | msgid "HTTP UNKNOWN - Redirection to port above %d - %s://%s:%d%s%s\n" | 1371 | msgid "HTTP UNKNOWN - Redirection to port above %d - %s://%s:%d%s%s\n" |
1291 | msgstr "HTTP WARNING - Umleitung verursacht eine Schleife - %s://%s:%d%s%s\n" | 1372 | msgstr "HTTP WARNING - Umleitung verursacht eine Schleife - %s://%s:%d%s%s\n" |
1292 | 1373 | ||
1293 | #: plugins/check_http.c:1259 | 1374 | #: plugins/check_http.c:1366 |
1294 | #, c-format | 1375 | #, c-format |
1295 | msgid "Redirection to %s://%s:%d%s\n" | 1376 | msgid "Redirection to %s://%s:%d%s\n" |
1296 | msgstr "" | 1377 | msgstr "" |
1297 | 1378 | ||
1298 | #: plugins/check_http.c:1310 | 1379 | #: plugins/check_http.c:1440 |
1299 | #, fuzzy | 1380 | #, fuzzy |
1300 | msgid "This plugin tests the HTTP service on the specified host. It can test" | 1381 | msgid "This plugin tests the HTTP service on the specified host. It can test" |
1301 | msgstr "" | 1382 | msgstr "" |
1302 | "Testet den DNS Dienst auf dem angegebenen Host mit dig\n" | 1383 | "Testet den DNS Dienst auf dem angegebenen Host mit dig\n" |
1303 | "\n" | 1384 | "\n" |
1304 | 1385 | ||
1305 | #: plugins/check_http.c:1311 | 1386 | #: plugins/check_http.c:1441 |
1306 | msgid "normal (http) and secure (https) servers, follow redirects, search for" | 1387 | msgid "normal (http) and secure (https) servers, follow redirects, search for" |
1307 | msgstr "" | 1388 | msgstr "" |
1308 | 1389 | ||
1309 | #: plugins/check_http.c:1312 | 1390 | #: plugins/check_http.c:1442 |
1310 | msgid "strings and regular expressions, check connection times, and report on" | 1391 | msgid "strings and regular expressions, check connection times, and report on" |
1311 | msgstr "" | 1392 | msgstr "" |
1312 | 1393 | ||
1313 | #: plugins/check_http.c:1313 | 1394 | #: plugins/check_http.c:1443 |
1314 | #, fuzzy | 1395 | #, fuzzy |
1315 | msgid "certificate expiration times." | 1396 | msgid "certificate expiration times." |
1316 | msgstr "Clientzertifikat benötigt\n" | 1397 | msgstr "Clientzertifikat benötigt\n" |
1317 | 1398 | ||
1318 | #: plugins/check_http.c:1319 | 1399 | #: plugins/check_http.c:1449 |
1319 | #, c-format | 1400 | #, c-format |
1320 | msgid "NOTE: One or both of -H and -I must be specified" | 1401 | msgid "NOTE: One or both of -H and -I must be specified" |
1321 | msgstr "" | 1402 | msgstr "" |
1322 | 1403 | ||
1323 | #: plugins/check_http.c:1327 | 1404 | #: plugins/check_http.c:1457 |
1324 | msgid "Host name argument for servers using host headers (virtual host)" | 1405 | msgid "Host name argument for servers using host headers (virtual host)" |
1325 | msgstr "" | 1406 | msgstr "" |
1326 | 1407 | ||
1327 | #: plugins/check_http.c:1328 | 1408 | #: plugins/check_http.c:1458 |
1328 | msgid "Append a port to include it in the header (eg: example.com:5000)" | 1409 | msgid "Append a port to include it in the header (eg: example.com:5000)" |
1329 | msgstr "" | 1410 | msgstr "" |
1330 | 1411 | ||
1331 | #: plugins/check_http.c:1330 | 1412 | #: plugins/check_http.c:1460 |
1332 | msgid "" | 1413 | msgid "" |
1333 | "IP address or name (use numeric address if possible to bypass DNS lookup)." | 1414 | "IP address or name (use numeric address if possible to bypass DNS lookup)." |
1334 | msgstr "" | 1415 | msgstr "" |
1335 | 1416 | ||
1336 | #: plugins/check_http.c:1332 | 1417 | #: plugins/check_http.c:1462 |
1337 | msgid "Port number (default: " | 1418 | msgid "Port number (default: " |
1338 | msgstr "" | 1419 | msgstr "" |
1339 | 1420 | ||
1340 | #: plugins/check_http.c:1339 | 1421 | #: plugins/check_http.c:1469 |
1341 | msgid "Connect via SSL. Port defaults to 443" | 1422 | msgid "" |
1423 | "Connect via SSL. Port defaults to 443. VERSION is optional, and prevents" | ||
1342 | msgstr "" | 1424 | msgstr "" |
1343 | 1425 | ||
1344 | #: plugins/check_http.c:1341 | 1426 | #: plugins/check_http.c:1470 |
1427 | msgid "auto-negotiation (1 = TLSv1, 2 = SSLv2, 3 = SSLv3)." | ||
1428 | msgstr "" | ||
1429 | |||
1430 | #: plugins/check_http.c:1472 | ||
1345 | msgid "Enable SSL/TLS hostname extension support (SNI)" | 1431 | msgid "Enable SSL/TLS hostname extension support (SNI)" |
1346 | msgstr "" | 1432 | msgstr "" |
1347 | 1433 | ||
1348 | #: plugins/check_http.c:1343 | 1434 | #: plugins/check_http.c:1474 |
1349 | msgid "" | 1435 | msgid "" |
1350 | "Minimum number of days a certificate has to be valid. Port defaults to 443" | 1436 | "Minimum number of days a certificate has to be valid. Port defaults to 443" |
1351 | msgstr "" | 1437 | msgstr "" |
1352 | 1438 | ||
1353 | #: plugins/check_http.c:1344 | 1439 | #: plugins/check_http.c:1475 |
1354 | msgid "(when this option is used the URL is not checked.)\n" | 1440 | msgid "(when this option is used the URL is not checked.)" |
1441 | msgstr "" | ||
1442 | |||
1443 | #: plugins/check_http.c:1477 | ||
1444 | msgid "Name of file that contains the client certificate (PEM format)" | ||
1355 | msgstr "" | 1445 | msgstr "" |
1356 | 1446 | ||
1357 | #: plugins/check_http.c:1348 | 1447 | #: plugins/check_http.c:1478 |
1448 | msgid "to be used in establishing the SSL session" | ||
1449 | msgstr "" | ||
1450 | |||
1451 | #: plugins/check_http.c:1480 | ||
1452 | msgid "Name of file containing the private key (PEM format)" | ||
1453 | msgstr "" | ||
1454 | |||
1455 | #: plugins/check_http.c:1481 | ||
1456 | msgid "matching the client certificate" | ||
1457 | msgstr "" | ||
1458 | |||
1459 | #: plugins/check_http.c:1485 | ||
1358 | msgid "Comma-delimited list of strings, at least one of them is expected in" | 1460 | msgid "Comma-delimited list of strings, at least one of them is expected in" |
1359 | msgstr "" | 1461 | msgstr "" |
1360 | 1462 | ||
1361 | #: plugins/check_http.c:1349 | 1463 | #: plugins/check_http.c:1486 |
1362 | msgid "the first (status) line of the server response (default: " | 1464 | msgid "the first (status) line of the server response (default: " |
1363 | msgstr "" | 1465 | msgstr "" |
1364 | 1466 | ||
1365 | #: plugins/check_http.c:1351 | 1467 | #: plugins/check_http.c:1488 |
1366 | msgid "" | 1468 | msgid "" |
1367 | "If specified skips all other status line logic (ex: 3xx, 4xx, 5xx processing)" | 1469 | "If specified skips all other status line logic (ex: 3xx, 4xx, 5xx processing)" |
1368 | msgstr "" | 1470 | msgstr "" |
1369 | 1471 | ||
1370 | #: plugins/check_http.c:1353 | 1472 | #: plugins/check_http.c:1490 |
1473 | msgid "String to expect in the response headers" | ||
1474 | msgstr "" | ||
1475 | |||
1476 | #: plugins/check_http.c:1492 | ||
1371 | msgid "String to expect in the content" | 1477 | msgid "String to expect in the content" |
1372 | msgstr "" | 1478 | msgstr "" |
1373 | 1479 | ||
1374 | #: plugins/check_http.c:1355 | 1480 | #: plugins/check_http.c:1494 |
1375 | msgid "URL to GET or POST (default: /)" | 1481 | msgid "URL to GET or POST (default: /)" |
1376 | msgstr "" | 1482 | msgstr "" |
1377 | 1483 | ||
1378 | #: plugins/check_http.c:1357 | 1484 | #: plugins/check_http.c:1496 |
1379 | msgid "URL encoded http POST data" | 1485 | msgid "URL encoded http POST data" |
1380 | msgstr "" | 1486 | msgstr "" |
1381 | 1487 | ||
1382 | #: plugins/check_http.c:1359 | 1488 | #: plugins/check_http.c:1498 |
1383 | msgid "Set HTTP method." | 1489 | msgid "Set HTTP method." |
1384 | msgstr "" | 1490 | msgstr "" |
1385 | 1491 | ||
1386 | #: plugins/check_http.c:1361 | 1492 | #: plugins/check_http.c:1500 |
1387 | msgid "Don't wait for document body: stop reading after headers." | 1493 | msgid "Don't wait for document body: stop reading after headers." |
1388 | msgstr "" | 1494 | msgstr "" |
1389 | 1495 | ||
1390 | #: plugins/check_http.c:1362 | 1496 | #: plugins/check_http.c:1501 |
1391 | msgid "(Note that this still does an HTTP GET or POST, not a HEAD.)" | 1497 | msgid "(Note that this still does an HTTP GET or POST, not a HEAD.)" |
1392 | msgstr "" | 1498 | msgstr "" |
1393 | 1499 | ||
1394 | #: plugins/check_http.c:1364 | 1500 | #: plugins/check_http.c:1503 |
1395 | msgid "Warn if document is more than SECONDS old. the number can also be of" | 1501 | msgid "Warn if document is more than SECONDS old. the number can also be of" |
1396 | msgstr "" | 1502 | msgstr "" |
1397 | 1503 | ||
1398 | #: plugins/check_http.c:1365 | 1504 | #: plugins/check_http.c:1504 |
1399 | msgid "the form \"10m\" for minutes, \"10h\" for hours, or \"10d\" for days." | 1505 | msgid "the form \"10m\" for minutes, \"10h\" for hours, or \"10d\" for days." |
1400 | msgstr "" | 1506 | msgstr "" |
1401 | 1507 | ||
1402 | #: plugins/check_http.c:1367 | 1508 | #: plugins/check_http.c:1506 |
1403 | msgid "specify Content-Type header media type when POSTing\n" | 1509 | msgid "specify Content-Type header media type when POSTing\n" |
1404 | msgstr "" | 1510 | msgstr "" |
1405 | 1511 | ||
1406 | #: plugins/check_http.c:1370 | 1512 | #: plugins/check_http.c:1509 |
1407 | msgid "Allow regex to span newlines (must precede -r or -R)" | 1513 | msgid "Allow regex to span newlines (must precede -r or -R)" |
1408 | msgstr "" | 1514 | msgstr "" |
1409 | 1515 | ||
1410 | #: plugins/check_http.c:1372 | 1516 | #: plugins/check_http.c:1511 |
1411 | msgid "Search page for regex STRING" | 1517 | msgid "Search page for regex STRING" |
1412 | msgstr "" | 1518 | msgstr "" |
1413 | 1519 | ||
1414 | #: plugins/check_http.c:1374 | 1520 | #: plugins/check_http.c:1513 |
1415 | msgid "Search page for case-insensitive regex STRING" | 1521 | msgid "Search page for case-insensitive regex STRING" |
1416 | msgstr "" | 1522 | msgstr "" |
1417 | 1523 | ||
1418 | #: plugins/check_http.c:1376 | 1524 | #: plugins/check_http.c:1515 |
1419 | msgid "Return CRITICAL if found, OK if not\n" | 1525 | msgid "Return CRITICAL if found, OK if not\n" |
1420 | msgstr "" | 1526 | msgstr "" |
1421 | 1527 | ||
1422 | #: plugins/check_http.c:1379 | 1528 | #: plugins/check_http.c:1518 |
1423 | msgid "Username:password on sites with basic authentication" | 1529 | msgid "Username:password on sites with basic authentication" |
1424 | msgstr "" | 1530 | msgstr "" |
1425 | 1531 | ||
1426 | #: plugins/check_http.c:1381 | 1532 | #: plugins/check_http.c:1520 |
1427 | msgid "Username:password on proxy-servers with basic authentication" | 1533 | msgid "Username:password on proxy-servers with basic authentication" |
1428 | msgstr "" | 1534 | msgstr "" |
1429 | 1535 | ||
1430 | #: plugins/check_http.c:1383 | 1536 | #: plugins/check_http.c:1522 |
1431 | msgid "String to be sent in http header as \"User Agent\"" | 1537 | msgid "String to be sent in http header as \"User Agent\"" |
1432 | msgstr "" | 1538 | msgstr "" |
1433 | 1539 | ||
1434 | #: plugins/check_http.c:1385 | 1540 | #: plugins/check_http.c:1524 |
1435 | msgid "" | 1541 | msgid "" |
1436 | " Any other tags to be sent in http header. Use multiple times for additional " | 1542 | "Any other tags to be sent in http header. Use multiple times for additional " |
1437 | "headers" | 1543 | "headers" |
1438 | msgstr "" | 1544 | msgstr "" |
1439 | 1545 | ||
1440 | #: plugins/check_http.c:1387 | 1546 | #: plugins/check_http.c:1526 |
1547 | msgid "Print additional performance data" | ||
1548 | msgstr "" | ||
1549 | |||
1550 | #: plugins/check_http.c:1528 | ||
1441 | msgid "Wrap output in HTML link (obsoleted by urlize)" | 1551 | msgid "Wrap output in HTML link (obsoleted by urlize)" |
1442 | msgstr "" | 1552 | msgstr "" |
1443 | 1553 | ||
1444 | #: plugins/check_http.c:1389 | 1554 | #: plugins/check_http.c:1530 |
1445 | msgid "How to handle redirected pages. sticky is like follow but stick to the" | 1555 | msgid "How to handle redirected pages. sticky is like follow but stick to the" |
1446 | msgstr "" | 1556 | msgstr "" |
1447 | 1557 | ||
1448 | #: plugins/check_http.c:1390 | 1558 | #: plugins/check_http.c:1531 |
1449 | msgid "specified IP address. stickyport also ensure post stays the same." | 1559 | msgid "specified IP address. stickyport also ensures port stays the same." |
1450 | msgstr "" | 1560 | msgstr "" |
1451 | 1561 | ||
1452 | #: plugins/check_http.c:1392 | 1562 | #: plugins/check_http.c:1533 |
1453 | msgid "Minimum page size required (bytes) : Maximum page size required (bytes)" | 1563 | msgid "Minimum page size required (bytes) : Maximum page size required (bytes)" |
1454 | msgstr "" | 1564 | msgstr "" |
1455 | 1565 | ||
1456 | #: plugins/check_http.c:1402 | 1566 | #: plugins/check_http.c:1543 |
1457 | #, fuzzy | 1567 | #, fuzzy |
1458 | msgid "This plugin will attempt to open an HTTP connection with the host." | 1568 | msgid "This plugin will attempt to open an HTTP connection with the host." |
1459 | msgstr "Dieses plugin testet Gameserververbindungen zum angegebenen Host." | 1569 | msgstr "Dieses plugin testet Gameserververbindungen zum angegebenen Host." |
1460 | 1570 | ||
1461 | #: plugins/check_http.c:1403 | 1571 | #: plugins/check_http.c:1544 |
1462 | msgid "" | 1572 | msgid "" |
1463 | "Successful connects return STATE_OK, refusals and timeouts return " | 1573 | "Successful connects return STATE_OK, refusals and timeouts return " |
1464 | "STATE_CRITICAL" | 1574 | "STATE_CRITICAL" |
1465 | msgstr "" | 1575 | msgstr "" |
1466 | 1576 | ||
1467 | #: plugins/check_http.c:1404 | 1577 | #: plugins/check_http.c:1545 |
1468 | msgid "" | 1578 | msgid "" |
1469 | "other errors return STATE_UNKNOWN. Successful connects, but incorrect " | 1579 | "other errors return STATE_UNKNOWN. Successful connects, but incorrect " |
1470 | "reponse" | 1580 | "reponse" |
1471 | msgstr "" | 1581 | msgstr "" |
1472 | 1582 | ||
1473 | #: plugins/check_http.c:1405 | 1583 | #: plugins/check_http.c:1546 |
1474 | msgid "" | 1584 | msgid "" |
1475 | "messages from the host result in STATE_WARNING return values. If you are" | 1585 | "messages from the host result in STATE_WARNING return values. If you are" |
1476 | msgstr "" | 1586 | msgstr "" |
1477 | 1587 | ||
1478 | #: plugins/check_http.c:1406 | 1588 | #: plugins/check_http.c:1547 |
1479 | msgid "" | 1589 | msgid "" |
1480 | "checking a virtual server that uses 'host headers' you must supply the FQDN" | 1590 | "checking a virtual server that uses 'host headers' you must supply the FQDN" |
1481 | msgstr "" | 1591 | msgstr "" |
1482 | 1592 | ||
1483 | #: plugins/check_http.c:1407 | 1593 | #: plugins/check_http.c:1548 |
1484 | msgid "(fully qualified domain name) as the [host_name] argument." | 1594 | msgid "(fully qualified domain name) as the [host_name] argument." |
1485 | msgstr "" | 1595 | msgstr "" |
1486 | 1596 | ||
1487 | #: plugins/check_http.c:1411 | 1597 | #: plugins/check_http.c:1552 |
1488 | msgid "This plugin can also check whether an SSL enabled web server is able to" | 1598 | msgid "This plugin can also check whether an SSL enabled web server is able to" |
1489 | msgstr "" | 1599 | msgstr "" |
1490 | 1600 | ||
1491 | #: plugins/check_http.c:1412 | 1601 | #: plugins/check_http.c:1553 |
1492 | msgid "serve content (optionally within a specified time) or whether the X509 " | 1602 | msgid "serve content (optionally within a specified time) or whether the X509 " |
1493 | msgstr "" | 1603 | msgstr "" |
1494 | 1604 | ||
1495 | #: plugins/check_http.c:1413 | 1605 | #: plugins/check_http.c:1554 |
1496 | msgid "certificate is still valid for the specified number of days." | 1606 | msgid "certificate is still valid for the specified number of days." |
1497 | msgstr "" | 1607 | msgstr "" |
1498 | 1608 | ||
1499 | #: plugins/check_http.c:1417 | 1609 | #: plugins/check_http.c:1556 |
1610 | #, fuzzy | ||
1611 | msgid "Please note that this plugin does not check if the presented server" | ||
1612 | msgstr "" | ||
1613 | "Testet den DNS Dienst auf dem angegebenen Host mit dig\n" | ||
1614 | "\n" | ||
1615 | |||
1616 | #: plugins/check_http.c:1557 | ||
1617 | msgid "certificate matches the hostname of the server, or if the certificate" | ||
1618 | msgstr "" | ||
1619 | |||
1620 | #: plugins/check_http.c:1558 | ||
1621 | msgid "has a valid chain of trust to one of the locally installed CAs." | ||
1622 | msgstr "" | ||
1623 | |||
1624 | #: plugins/check_http.c:1562 | ||
1500 | msgid "" | 1625 | msgid "" |
1501 | "When the 'www.verisign.com' server returns its content within 5 seconds," | 1626 | "When the 'www.verisign.com' server returns its content within 5 seconds," |
1502 | msgstr "" | 1627 | msgstr "" |
1503 | 1628 | ||
1504 | #: plugins/check_http.c:1418 | 1629 | #: plugins/check_http.c:1563 |
1505 | msgid "" | 1630 | msgid "" |
1506 | "a STATE_OK will be returned. When the server returns its content but exceeds" | 1631 | "a STATE_OK will be returned. When the server returns its content but exceeds" |
1507 | msgstr "" | 1632 | msgstr "" |
1508 | 1633 | ||
1509 | #: plugins/check_http.c:1419 | 1634 | #: plugins/check_http.c:1564 |
1510 | msgid "" | 1635 | msgid "" |
1511 | "the 5-second threshold, a STATE_WARNING will be returned. When an error " | 1636 | "the 5-second threshold, a STATE_WARNING will be returned. When an error " |
1512 | "occurs," | 1637 | "occurs," |
1513 | msgstr "" | 1638 | msgstr "" |
1514 | 1639 | ||
1515 | #: plugins/check_http.c:1420 | 1640 | #: plugins/check_http.c:1565 |
1516 | msgid "a STATE_CRITICAL will be returned." | 1641 | msgid "a STATE_CRITICAL will be returned." |
1517 | msgstr "" | 1642 | msgstr "" |
1518 | 1643 | ||
1519 | #: plugins/check_http.c:1423 | 1644 | #: plugins/check_http.c:1568 |
1520 | msgid "" | 1645 | msgid "" |
1521 | "When the certificate of 'www.verisign.com' is valid for more than 14 days," | 1646 | "When the certificate of 'www.verisign.com' is valid for more than 14 days," |
1522 | msgstr "" | 1647 | msgstr "" |
1523 | 1648 | ||
1524 | #: plugins/check_http.c:1424 | 1649 | #: plugins/check_http.c:1569 plugins/check_http.c:1575 |
1525 | msgid "" | 1650 | msgid "" |
1526 | "a STATE_OK is returned. When the certificate is still valid, but for less " | 1651 | "a STATE_OK is returned. When the certificate is still valid, but for less " |
1527 | "than" | 1652 | "than" |
1528 | msgstr "" | 1653 | msgstr "" |
1529 | 1654 | ||
1530 | #: plugins/check_http.c:1425 | 1655 | #: plugins/check_http.c:1570 |
1531 | msgid "" | 1656 | msgid "" |
1532 | "14 days, a STATE_WARNING is returned. A STATE_CRITICAL will be returned when" | 1657 | "14 days, a STATE_WARNING is returned. A STATE_CRITICAL will be returned when" |
1533 | msgstr "" | 1658 | msgstr "" |
1534 | 1659 | ||
1535 | #: plugins/check_http.c:1426 | 1660 | #: plugins/check_http.c:1571 |
1536 | #, fuzzy | 1661 | #, fuzzy |
1537 | msgid "the certificate is expired." | 1662 | msgid "the certificate is expired." |
1538 | msgstr "Clientzertifikat benötigt\n" | 1663 | msgstr "Clientzertifikat benötigt\n" |
1539 | 1664 | ||
1665 | #: plugins/check_http.c:1574 | ||
1666 | msgid "" | ||
1667 | "When the certificate of 'www.verisign.com' is valid for more than 30 days," | ||
1668 | msgstr "" | ||
1669 | |||
1670 | #: plugins/check_http.c:1576 | ||
1671 | msgid "30 days, but more than 14 days, a STATE_WARNING is returned." | ||
1672 | msgstr "" | ||
1673 | |||
1674 | #: plugins/check_http.c:1577 | ||
1675 | msgid "" | ||
1676 | "A STATE_CRITICAL will be returned when certificate expires in less than 14 " | ||
1677 | "days" | ||
1678 | msgstr "" | ||
1679 | |||
1540 | #: plugins/check_ldap.c:133 | 1680 | #: plugins/check_ldap.c:133 |
1541 | #, c-format | 1681 | #, c-format |
1542 | msgid "Could not connect to the server at port %i\n" | 1682 | msgid "Could not connect to the server at port %i\n" |
@@ -1582,81 +1722,77 @@ msgstr "" | |||
1582 | msgid "LDAP %s - %.3f seconds response time|%s\n" | 1722 | msgid "LDAP %s - %.3f seconds response time|%s\n" |
1583 | msgstr "" | 1723 | msgstr "" |
1584 | 1724 | ||
1585 | #: plugins/check_ldap.c:339 plugins/check_ldap.c:346 | 1725 | #: plugins/check_ldap.c:339 plugins/check_ldap.c:347 |
1586 | #, c-format | 1726 | #, c-format |
1587 | msgid "%s cannot be combined with %s" | 1727 | msgid "%s cannot be combined with %s" |
1588 | msgstr "" | 1728 | msgstr "" |
1589 | 1729 | ||
1590 | #: plugins/check_ldap.c:352 plugins/check_ping.c:246 | 1730 | #: plugins/check_ldap.c:379 |
1591 | msgid "IPv6 support not available\n" | ||
1592 | msgstr "" | ||
1593 | |||
1594 | #: plugins/check_ldap.c:375 | ||
1595 | msgid "Please specify the host name\n" | 1731 | msgid "Please specify the host name\n" |
1596 | msgstr "" | 1732 | msgstr "" |
1597 | 1733 | ||
1598 | #: plugins/check_ldap.c:378 | 1734 | #: plugins/check_ldap.c:382 |
1599 | msgid "Please specify the LDAP base\n" | 1735 | msgid "Please specify the LDAP base\n" |
1600 | msgstr "" | 1736 | msgstr "" |
1601 | 1737 | ||
1602 | #: plugins/check_ldap.c:407 | 1738 | #: plugins/check_ldap.c:411 |
1603 | msgid "ldap attribute to search (default: \"(objectclass=*)\"" | 1739 | msgid "ldap attribute to search (default: \"(objectclass=*)\"" |
1604 | msgstr "" | 1740 | msgstr "" |
1605 | 1741 | ||
1606 | #: plugins/check_ldap.c:409 | 1742 | #: plugins/check_ldap.c:413 |
1607 | msgid "ldap base (eg. ou=my unit, o=my org, c=at" | 1743 | msgid "ldap base (eg. ou=my unit, o=my org, c=at" |
1608 | msgstr "" | 1744 | msgstr "" |
1609 | 1745 | ||
1610 | #: plugins/check_ldap.c:411 | 1746 | #: plugins/check_ldap.c:415 |
1611 | msgid "ldap bind DN (if required)" | 1747 | msgid "ldap bind DN (if required)" |
1612 | msgstr "" | 1748 | msgstr "" |
1613 | 1749 | ||
1614 | #: plugins/check_ldap.c:413 | 1750 | #: plugins/check_ldap.c:417 |
1615 | msgid "ldap password (if required)" | 1751 | msgid "ldap password (if required)" |
1616 | msgstr "" | 1752 | msgstr "" |
1617 | 1753 | ||
1618 | #: plugins/check_ldap.c:415 | 1754 | #: plugins/check_ldap.c:419 |
1619 | msgid "use starttls mechanism introduced in protocol version 3" | 1755 | msgid "use starttls mechanism introduced in protocol version 3" |
1620 | msgstr "" | 1756 | msgstr "" |
1621 | 1757 | ||
1622 | #: plugins/check_ldap.c:417 | 1758 | #: plugins/check_ldap.c:421 |
1623 | msgid "use ldaps (ldap v2 ssl method). this also sets the default port to" | 1759 | msgid "use ldaps (ldap v2 ssl method). this also sets the default port to" |
1624 | msgstr "" | 1760 | msgstr "" |
1625 | 1761 | ||
1626 | #: plugins/check_ldap.c:421 | 1762 | #: plugins/check_ldap.c:425 |
1627 | msgid "use ldap protocol version 2" | 1763 | msgid "use ldap protocol version 2" |
1628 | msgstr "" | 1764 | msgstr "" |
1629 | 1765 | ||
1630 | #: plugins/check_ldap.c:423 | 1766 | #: plugins/check_ldap.c:427 |
1631 | msgid "use ldap protocol version 3" | 1767 | msgid "use ldap protocol version 3" |
1632 | msgstr "" | 1768 | msgstr "" |
1633 | 1769 | ||
1634 | #: plugins/check_ldap.c:424 | 1770 | #: plugins/check_ldap.c:428 |
1635 | msgid "default protocol version:" | 1771 | msgid "default protocol version:" |
1636 | msgstr "" | 1772 | msgstr "" |
1637 | 1773 | ||
1638 | #: plugins/check_ldap.c:435 | 1774 | #: plugins/check_ldap.c:439 |
1639 | msgid "If this plugin is called via 'check_ldaps', method 'STARTTLS' will be" | 1775 | msgid "If this plugin is called via 'check_ldaps', method 'STARTTLS' will be" |
1640 | msgstr "" | 1776 | msgstr "" |
1641 | 1777 | ||
1642 | #: plugins/check_ldap.c:436 | 1778 | #: plugins/check_ldap.c:440 |
1643 | #, c-format | 1779 | #, c-format |
1644 | msgid "" | 1780 | msgid "" |
1645 | " implied (using default port %i) unless --port=636 is specified. In that " | 1781 | " implied (using default port %i) unless --port=636 is specified. In that " |
1646 | "case\n" | 1782 | "case\n" |
1647 | msgstr "" | 1783 | msgstr "" |
1648 | 1784 | ||
1649 | #: plugins/check_ldap.c:437 | 1785 | #: plugins/check_ldap.c:441 |
1650 | msgid "'SSL on connect' will be used no matter how the plugin was called." | 1786 | msgid "'SSL on connect' will be used no matter how the plugin was called." |
1651 | msgstr "" | 1787 | msgstr "" |
1652 | 1788 | ||
1653 | #: plugins/check_ldap.c:438 | 1789 | #: plugins/check_ldap.c:442 |
1654 | msgid "" | 1790 | msgid "" |
1655 | "This detection is deprecated, please use 'check_ldap' with the '--starttls' " | 1791 | "This detection is deprecated, please use 'check_ldap' with the '--starttls' " |
1656 | "or '--ssl' flags" | 1792 | "or '--ssl' flags" |
1657 | msgstr "" | 1793 | msgstr "" |
1658 | 1794 | ||
1659 | #: plugins/check_ldap.c:439 | 1795 | #: plugins/check_ldap.c:443 |
1660 | msgid "to define the behaviour explicitly instead." | 1796 | msgid "to define the behaviour explicitly instead." |
1661 | msgstr "" | 1797 | msgstr "" |
1662 | 1798 | ||
@@ -1669,61 +1805,66 @@ msgstr "" | |||
1669 | msgid "Error opening %s\n" | 1805 | msgid "Error opening %s\n" |
1670 | msgstr "" | 1806 | msgstr "" |
1671 | 1807 | ||
1672 | #: plugins/check_load.c:160 | 1808 | #: plugins/check_load.c:163 |
1809 | #, fuzzy, c-format | ||
1810 | msgid "could not parse load from uptime: %s\n" | ||
1811 | msgstr "Argumente konnten nicht ausgewertet werden" | ||
1812 | |||
1813 | #: plugins/check_load.c:169 | ||
1673 | #, c-format | 1814 | #, c-format |
1674 | msgid "Error code %d returned in %s\n" | 1815 | msgid "Error code %d returned in %s\n" |
1675 | msgstr "" | 1816 | msgstr "" |
1676 | 1817 | ||
1677 | #: plugins/check_load.c:175 | 1818 | #: plugins/check_load.c:184 |
1678 | #, c-format | 1819 | #, c-format |
1679 | msgid "Error in getloadavg()\n" | 1820 | msgid "Error in getloadavg()\n" |
1680 | msgstr "" | 1821 | msgstr "" |
1681 | 1822 | ||
1682 | #: plugins/check_load.c:178 plugins/check_load.c:180 | 1823 | #: plugins/check_load.c:187 plugins/check_load.c:189 |
1683 | #, c-format | 1824 | #, c-format |
1684 | msgid "Error processing %s\n" | 1825 | msgid "Error processing %s\n" |
1685 | msgstr "" | 1826 | msgstr "" |
1686 | 1827 | ||
1687 | #: plugins/check_load.c:189 | 1828 | #: plugins/check_load.c:198 |
1688 | #, c-format | 1829 | #, c-format |
1689 | msgid "load average: %.2f, %.2f, %.2f" | 1830 | msgid "load average: %.2f, %.2f, %.2f" |
1690 | msgstr "" | 1831 | msgstr "" |
1691 | 1832 | ||
1692 | #: plugins/check_load.c:282 | 1833 | #: plugins/check_load.c:291 |
1693 | #, fuzzy, c-format | 1834 | #, fuzzy, c-format |
1694 | msgid "Critical threshold for %d-minute load average is not specified\n" | 1835 | msgid "Critical threshold for %d-minute load average is not specified\n" |
1695 | msgstr "Critical threshold muss ein positiver Integer sein\n" | 1836 | msgstr "Critical threshold muss ein positiver Integer sein\n" |
1696 | 1837 | ||
1697 | #: plugins/check_load.c:284 | 1838 | #: plugins/check_load.c:293 |
1698 | #, fuzzy, c-format | 1839 | #, fuzzy, c-format |
1699 | msgid "Warning threshold for %d-minute load average is not specified\n" | 1840 | msgid "Warning threshold for %d-minute load average is not specified\n" |
1700 | msgstr "Warning threshold muss ein positiver Integer sein\n" | 1841 | msgstr "Warning threshold muss ein positiver Integer sein\n" |
1701 | 1842 | ||
1702 | #: plugins/check_load.c:286 | 1843 | #: plugins/check_load.c:295 |
1703 | #, c-format | 1844 | #, c-format |
1704 | msgid "" | 1845 | msgid "" |
1705 | "Parameter inconsistency: %d-minute \"warning load\" is greater than " | 1846 | "Parameter inconsistency: %d-minute \"warning load\" is greater than " |
1706 | "\"critical load\"\n" | 1847 | "\"critical load\"\n" |
1707 | msgstr "" | 1848 | msgstr "" |
1708 | 1849 | ||
1709 | #: plugins/check_load.c:302 | 1850 | #: plugins/check_load.c:311 |
1710 | #, c-format | 1851 | #, c-format |
1711 | msgid "This plugin tests the current system load average." | 1852 | msgid "This plugin tests the current system load average." |
1712 | msgstr "" | 1853 | msgstr "" |
1713 | 1854 | ||
1714 | #: plugins/check_load.c:312 | 1855 | #: plugins/check_load.c:321 |
1715 | msgid "Exit with WARNING status if load average exceeds WLOADn" | 1856 | msgid "Exit with WARNING status if load average exceeds WLOADn" |
1716 | msgstr "" | 1857 | msgstr "" |
1717 | 1858 | ||
1718 | #: plugins/check_load.c:314 | 1859 | #: plugins/check_load.c:323 |
1719 | msgid "Exit with CRITICAL status if load average exceed CLOADn" | 1860 | msgid "Exit with CRITICAL status if load average exceed CLOADn" |
1720 | msgstr "" | 1861 | msgstr "" |
1721 | 1862 | ||
1722 | #: plugins/check_load.c:315 | 1863 | #: plugins/check_load.c:324 |
1723 | msgid "the load average format is the same used by \"uptime\" and \"w\"" | 1864 | msgid "the load average format is the same used by \"uptime\" and \"w\"" |
1724 | msgstr "" | 1865 | msgstr "" |
1725 | 1866 | ||
1726 | #: plugins/check_load.c:317 | 1867 | #: plugins/check_load.c:326 |
1727 | msgid "Divide the load averages by the number of CPUs (when possible)" | 1868 | msgid "Divide the load averages by the number of CPUs (when possible)" |
1728 | msgstr "" | 1869 | msgstr "" |
1729 | 1870 | ||
@@ -1857,7 +1998,7 @@ msgstr "" | |||
1857 | 1998 | ||
1858 | #: plugins/check_mrtg.c:359 | 1999 | #: plugins/check_mrtg.c:359 |
1859 | msgid "" | 2000 | msgid "" |
1860 | "packets/sec, etc. I use MRTG in conjuction with the Novell NLM that allows" | 2001 | "packets/sec, etc. I use MRTG in conjunction with the Novell NLM that allows" |
1861 | msgstr "" | 2002 | msgstr "" |
1862 | 2003 | ||
1863 | #: plugins/check_mrtg.c:360 | 2004 | #: plugins/check_mrtg.c:360 |
@@ -1987,93 +2128,130 @@ msgstr "" | |||
1987 | msgid "Usage" | 2128 | msgid "Usage" |
1988 | msgstr "" | 2129 | msgstr "" |
1989 | 2130 | ||
1990 | #: plugins/check_mysql.c:126 | 2131 | #: plugins/check_mysql.c:171 |
2132 | #, c-format | ||
2133 | msgid "status store_result error: %s\n" | ||
2134 | msgstr "" | ||
2135 | |||
2136 | #: plugins/check_mysql.c:202 | ||
1991 | #, c-format | 2137 | #, c-format |
1992 | msgid "slave query error: %s\n" | 2138 | msgid "slave query error: %s\n" |
1993 | msgstr "" | 2139 | msgstr "" |
1994 | 2140 | ||
1995 | #: plugins/check_mysql.c:133 | 2141 | #: plugins/check_mysql.c:209 |
1996 | #, c-format | 2142 | #, c-format |
1997 | msgid "slave store_result error: %s\n" | 2143 | msgid "slave store_result error: %s\n" |
1998 | msgstr "" | 2144 | msgstr "" |
1999 | 2145 | ||
2000 | #: plugins/check_mysql.c:139 | 2146 | #: plugins/check_mysql.c:215 |
2001 | msgid "No slaves defined" | 2147 | msgid "No slaves defined" |
2002 | msgstr "" | 2148 | msgstr "" |
2003 | 2149 | ||
2004 | #: plugins/check_mysql.c:147 | 2150 | #: plugins/check_mysql.c:223 |
2005 | #, c-format | 2151 | #, c-format |
2006 | msgid "slave fetch row error: %s\n" | 2152 | msgid "slave fetch row error: %s\n" |
2007 | msgstr "" | 2153 | msgstr "" |
2008 | 2154 | ||
2009 | #: plugins/check_mysql.c:152 | 2155 | #: plugins/check_mysql.c:228 |
2010 | #, c-format | 2156 | #, c-format |
2011 | msgid "Slave running: %s" | 2157 | msgid "Slave running: %s" |
2012 | msgstr "" | 2158 | msgstr "" |
2013 | 2159 | ||
2014 | #: plugins/check_mysql.c:378 | 2160 | #: plugins/check_mysql.c:505 |
2015 | msgid "This program tests connections to a MySQL server" | 2161 | msgid "This program tests connections to a MySQL server" |
2016 | msgstr "" | 2162 | msgstr "" |
2017 | 2163 | ||
2018 | #: plugins/check_mysql.c:389 | 2164 | #: plugins/check_mysql.c:516 |
2019 | msgid "Use the specified socket (has no effect if -H is used)" | 2165 | msgid "Use the specified socket (has no effect if -H is used)" |
2020 | msgstr "" | 2166 | msgstr "" |
2021 | 2167 | ||
2022 | #: plugins/check_mysql.c:392 | 2168 | #: plugins/check_mysql.c:519 |
2023 | msgid "Check database with indicated name" | 2169 | msgid "Check database with indicated name" |
2024 | msgstr "" | 2170 | msgstr "" |
2025 | 2171 | ||
2026 | #: plugins/check_mysql.c:394 | 2172 | #: plugins/check_mysql.c:521 |
2173 | msgid "Read from the specified client options file" | ||
2174 | msgstr "" | ||
2175 | |||
2176 | #: plugins/check_mysql.c:523 | ||
2177 | msgid "Use a client options group" | ||
2178 | msgstr "" | ||
2179 | |||
2180 | #: plugins/check_mysql.c:525 | ||
2027 | msgid "Connect using the indicated username" | 2181 | msgid "Connect using the indicated username" |
2028 | msgstr "" | 2182 | msgstr "" |
2029 | 2183 | ||
2030 | #: plugins/check_mysql.c:396 | 2184 | #: plugins/check_mysql.c:527 |
2031 | msgid "Use the indicated password to authenticate the connection" | 2185 | msgid "Use the indicated password to authenticate the connection" |
2032 | msgstr "" | 2186 | msgstr "" |
2033 | 2187 | ||
2034 | #: plugins/check_mysql.c:397 | 2188 | #: plugins/check_mysql.c:528 |
2035 | msgid "IMPORTANT: THIS FORM OF AUTHENTICATION IS NOT SECURE!!!" | 2189 | msgid "IMPORTANT: THIS FORM OF AUTHENTICATION IS NOT SECURE!!!" |
2036 | msgstr "" | 2190 | msgstr "" |
2037 | 2191 | ||
2038 | #: plugins/check_mysql.c:398 | 2192 | #: plugins/check_mysql.c:529 |
2039 | msgid "Your clear-text password could be visible as a process table entry" | 2193 | msgid "Your clear-text password could be visible as a process table entry" |
2040 | msgstr "" | 2194 | msgstr "" |
2041 | 2195 | ||
2042 | #: plugins/check_mysql.c:400 | 2196 | #: plugins/check_mysql.c:531 |
2043 | msgid "Check if the slave thread is running properly." | 2197 | msgid "Check if the slave thread is running properly." |
2044 | msgstr "" | 2198 | msgstr "" |
2045 | 2199 | ||
2046 | #: plugins/check_mysql.c:402 | 2200 | #: plugins/check_mysql.c:533 |
2047 | msgid "Exit with WARNING status if slave server is more than INTEGER seconds" | 2201 | msgid "Exit with WARNING status if slave server is more than INTEGER seconds" |
2048 | msgstr "" | 2202 | msgstr "" |
2049 | 2203 | ||
2050 | #: plugins/check_mysql.c:403 plugins/check_mysql.c:406 | 2204 | #: plugins/check_mysql.c:534 plugins/check_mysql.c:537 |
2051 | msgid "behind master" | 2205 | msgid "behind master" |
2052 | msgstr "" | 2206 | msgstr "" |
2053 | 2207 | ||
2054 | #: plugins/check_mysql.c:405 | 2208 | #: plugins/check_mysql.c:536 |
2055 | msgid "Exit with CRITICAL status if slave server is more then INTEGER seconds" | 2209 | msgid "Exit with CRITICAL status if slave server is more then INTEGER seconds" |
2056 | msgstr "" | 2210 | msgstr "" |
2057 | 2211 | ||
2058 | #: plugins/check_mysql.c:409 | 2212 | #: plugins/check_mysql.c:539 |
2213 | msgid "Use ssl encryptation" | ||
2214 | msgstr "" | ||
2215 | |||
2216 | #: plugins/check_mysql.c:541 | ||
2217 | msgid "Path to CA signing the cert" | ||
2218 | msgstr "" | ||
2219 | |||
2220 | #: plugins/check_mysql.c:543 | ||
2221 | msgid "Path to SSL certificate" | ||
2222 | msgstr "" | ||
2223 | |||
2224 | #: plugins/check_mysql.c:545 | ||
2225 | msgid "Path to private SSL key" | ||
2226 | msgstr "" | ||
2227 | |||
2228 | #: plugins/check_mysql.c:547 | ||
2229 | msgid "Path to CA directory" | ||
2230 | msgstr "" | ||
2231 | |||
2232 | #: plugins/check_mysql.c:549 | ||
2233 | msgid "List of valid SSL ciphers" | ||
2234 | msgstr "" | ||
2235 | |||
2236 | #: plugins/check_mysql.c:553 | ||
2059 | msgid "" | 2237 | msgid "" |
2060 | "There are no required arguments. By default, the local database is checked" | 2238 | "There are no required arguments. By default, the local database is checked" |
2061 | msgstr "" | 2239 | msgstr "" |
2062 | 2240 | ||
2063 | #: plugins/check_mysql.c:410 | 2241 | #: plugins/check_mysql.c:554 |
2064 | msgid "" | 2242 | msgid "" |
2065 | "using the default unix socket. You can force TCP on localhost by using an" | 2243 | "using the default unix socket. You can force TCP on localhost by using an" |
2066 | msgstr "" | 2244 | msgstr "" |
2067 | 2245 | ||
2068 | #: plugins/check_mysql.c:411 | 2246 | #: plugins/check_mysql.c:555 |
2069 | msgid "IP address or FQDN ('localhost' will use the socket as well)." | 2247 | msgid "IP address or FQDN ('localhost' will use the socket as well)." |
2070 | msgstr "" | 2248 | msgstr "" |
2071 | 2249 | ||
2072 | #: plugins/check_mysql.c:415 | 2250 | #: plugins/check_mysql.c:559 |
2073 | msgid "You must specify -p with an empty string to force an empty password," | 2251 | msgid "You must specify -p with an empty string to force an empty password," |
2074 | msgstr "" | 2252 | msgstr "" |
2075 | 2253 | ||
2076 | #: plugins/check_mysql.c:416 | 2254 | #: plugins/check_mysql.c:560 |
2077 | msgid "overriding any my.cnf settings." | 2255 | msgid "overriding any my.cnf settings." |
2078 | msgstr "" | 2256 | msgstr "" |
2079 | 2257 | ||
@@ -2094,7 +2272,7 @@ msgstr "" | |||
2094 | msgid "Cannot parse Nagios log file for valid time" | 2272 | msgid "Cannot parse Nagios log file for valid time" |
2095 | msgstr "" | 2273 | msgstr "" |
2096 | 2274 | ||
2097 | #: plugins/check_nagios.c:183 plugins/check_procs.c:295 | 2275 | #: plugins/check_nagios.c:183 plugins/check_procs.c:356 |
2098 | #, c-format | 2276 | #, c-format |
2099 | msgid "%d process" | 2277 | msgid "%d process" |
2100 | msgid_plural "%d processes" | 2278 | msgid_plural "%d processes" |
@@ -2108,22 +2286,27 @@ msgid_plural "status log updated %d seconds ago" | |||
2108 | msgstr[0] "" | 2286 | msgstr[0] "" |
2109 | msgstr[1] "" | 2287 | msgstr[1] "" |
2110 | 2288 | ||
2111 | #: plugins/check_nagios.c:223 plugins/check_nagios.c:252 | 2289 | #: plugins/check_nagios.c:224 plugins/check_nagios.c:253 |
2112 | #, fuzzy | 2290 | #, fuzzy |
2113 | msgid "Expiration time must be an integer (seconds)\n" | 2291 | msgid "Expiration time must be an integer (seconds)\n" |
2114 | msgstr "skip lines muss ein Integer sein" | 2292 | msgstr "skip lines muss ein Integer sein" |
2115 | 2293 | ||
2116 | #: plugins/check_nagios.c:264 | 2294 | #: plugins/check_nagios.c:260 |
2295 | #, fuzzy | ||
2296 | msgid "Timeout must be an integer (seconds)\n" | ||
2297 | msgstr "skip lines muss ein Integer sein" | ||
2298 | |||
2299 | #: plugins/check_nagios.c:272 | ||
2117 | #, fuzzy | 2300 | #, fuzzy |
2118 | msgid "You must provide the status_log\n" | 2301 | msgid "You must provide the status_log\n" |
2119 | msgstr "%s: Hostname muss angegeben werden\n" | 2302 | msgstr "%s: Hostname muss angegeben werden\n" |
2120 | 2303 | ||
2121 | #: plugins/check_nagios.c:267 | 2304 | #: plugins/check_nagios.c:275 |
2122 | #, fuzzy | 2305 | #, fuzzy |
2123 | msgid "You must provide a process string\n" | 2306 | msgid "You must provide a process string\n" |
2124 | msgstr "%s: Hostname muss angegeben werden\n" | 2307 | msgstr "%s: Hostname muss angegeben werden\n" |
2125 | 2308 | ||
2126 | #: plugins/check_nagios.c:281 | 2309 | #: plugins/check_nagios.c:289 |
2127 | #, fuzzy | 2310 | #, fuzzy |
2128 | msgid "" | 2311 | msgid "" |
2129 | "This plugin checks the status of the Nagios process on the local machine" | 2312 | "This plugin checks the status of the Nagios process on the local machine" |
@@ -2133,552 +2316,555 @@ msgstr "" | |||
2133 | "unterschritten wird.\n" | 2316 | "unterschritten wird.\n" |
2134 | "\n" | 2317 | "\n" |
2135 | 2318 | ||
2136 | #: plugins/check_nagios.c:282 | 2319 | #: plugins/check_nagios.c:290 |
2137 | msgid "" | 2320 | msgid "" |
2138 | "The plugin will check to make sure the Nagios status log is no older than" | 2321 | "The plugin will check to make sure the Nagios status log is no older than" |
2139 | msgstr "" | 2322 | msgstr "" |
2140 | 2323 | ||
2141 | #: plugins/check_nagios.c:283 | 2324 | #: plugins/check_nagios.c:291 |
2142 | msgid "the number of minutes specified by the expires option." | 2325 | msgid "the number of minutes specified by the expires option." |
2143 | msgstr "" | 2326 | msgstr "" |
2144 | 2327 | ||
2145 | #: plugins/check_nagios.c:284 | 2328 | #: plugins/check_nagios.c:292 |
2146 | msgid "" | 2329 | msgid "" |
2147 | "It also checks the process table for a process matching the command argument." | 2330 | "It also checks the process table for a process matching the command argument." |
2148 | msgstr "" | 2331 | msgstr "" |
2149 | 2332 | ||
2150 | #: plugins/check_nagios.c:294 | 2333 | #: plugins/check_nagios.c:302 |
2151 | msgid "Name of the log file to check" | 2334 | msgid "Name of the log file to check" |
2152 | msgstr "" | 2335 | msgstr "" |
2153 | 2336 | ||
2154 | #: plugins/check_nagios.c:296 | 2337 | #: plugins/check_nagios.c:304 |
2155 | msgid "Minutes aging after which logfile is considered stale" | 2338 | msgid "Minutes aging after which logfile is considered stale" |
2156 | msgstr "" | 2339 | msgstr "" |
2157 | 2340 | ||
2158 | #: plugins/check_nagios.c:298 | 2341 | #: plugins/check_nagios.c:306 |
2159 | msgid "Substring to search for in process arguments" | 2342 | msgid "Substring to search for in process arguments" |
2160 | msgstr "" | 2343 | msgstr "" |
2161 | 2344 | ||
2162 | #: plugins/check_nt.c:141 | 2345 | #: plugins/check_nagios.c:308 |
2346 | msgid "Timeout for the plugin in seconds" | ||
2347 | msgstr "" | ||
2348 | |||
2349 | #: plugins/check_nt.c:142 | ||
2163 | #, c-format | 2350 | #, c-format |
2164 | msgid "Wrong client version - running: %s, required: %s" | 2351 | msgid "Wrong client version - running: %s, required: %s" |
2165 | msgstr "" | 2352 | msgstr "" |
2166 | 2353 | ||
2167 | #: plugins/check_nt.c:152 plugins/check_nt.c:212 | 2354 | #: plugins/check_nt.c:153 plugins/check_nt.c:218 |
2168 | msgid "missing -l parameters" | 2355 | msgid "missing -l parameters" |
2169 | msgstr "" | 2356 | msgstr "" |
2170 | 2357 | ||
2171 | #: plugins/check_nt.c:154 | 2358 | #: plugins/check_nt.c:155 |
2172 | msgid "wrong -l parameter." | 2359 | msgid "wrong -l parameter." |
2173 | msgstr "" | 2360 | msgstr "" |
2174 | 2361 | ||
2175 | #: plugins/check_nt.c:158 | 2362 | #: plugins/check_nt.c:159 |
2176 | msgid "CPU Load" | 2363 | msgid "CPU Load" |
2177 | msgstr "" | 2364 | msgstr "" |
2178 | 2365 | ||
2179 | #: plugins/check_nt.c:181 | 2366 | #: plugins/check_nt.c:182 |
2180 | #, c-format | 2367 | #, c-format |
2181 | msgid " %lu%% (%lu min average)" | 2368 | msgid " %lu%% (%lu min average)" |
2182 | msgstr "" | 2369 | msgstr "" |
2183 | 2370 | ||
2184 | #: plugins/check_nt.c:183 | 2371 | #: plugins/check_nt.c:184 |
2185 | #, c-format | 2372 | #, c-format |
2186 | msgid " '%lu min avg Load'=%lu%%;%lu;%lu;0;100" | 2373 | msgid " '%lu min avg Load'=%lu%%;%lu;%lu;0;100" |
2187 | msgstr "" | 2374 | msgstr "" |
2188 | 2375 | ||
2189 | #: plugins/check_nt.c:193 | 2376 | #: plugins/check_nt.c:194 |
2190 | msgid "not enough values for -l parameters" | 2377 | msgid "not enough values for -l parameters" |
2191 | msgstr "" | 2378 | msgstr "" |
2192 | 2379 | ||
2193 | #: plugins/check_nt.c:205 | 2380 | #: plugins/check_nt.c:206 |
2194 | #, c-format | 2381 | #, c-format |
2195 | msgid "System Uptime - %u day(s) %u hour(s) %u minute(s)" | 2382 | msgid "System Uptime - %u day(s) %u hour(s) %u minute(s)" |
2196 | msgstr "" | 2383 | msgstr "" |
2197 | 2384 | ||
2198 | #: plugins/check_nt.c:214 | 2385 | #: plugins/check_nt.c:220 |
2199 | msgid "wrong -l argument" | 2386 | msgid "wrong -l argument" |
2200 | msgstr "" | 2387 | msgstr "" |
2201 | 2388 | ||
2202 | #: plugins/check_nt.c:230 | 2389 | #: plugins/check_nt.c:236 |
2203 | #, c-format | 2390 | #, c-format |
2204 | msgid "%s:\\ - total: %.2f Gb - used: %.2f Gb (%.0f%%) - free %.2f Gb (%.0f%%)" | 2391 | msgid "%s:\\ - total: %.2f Gb - used: %.2f Gb (%.0f%%) - free %.2f Gb (%.0f%%)" |
2205 | msgstr "" | 2392 | msgstr "" |
2206 | 2393 | ||
2207 | #: plugins/check_nt.c:233 | 2394 | #: plugins/check_nt.c:239 |
2208 | #, c-format | 2395 | #, c-format |
2209 | msgid "'%s:\\ Used Space'=%.2fGb;%.2f;%.2f;0.00;%.2f" | 2396 | msgid "'%s:\\ Used Space'=%.2fGb;%.2f;%.2f;0.00;%.2f" |
2210 | msgstr "" | 2397 | msgstr "" |
2211 | 2398 | ||
2212 | #: plugins/check_nt.c:247 | 2399 | #: plugins/check_nt.c:253 |
2213 | msgid "Free disk space : Invalid drive" | 2400 | msgid "Free disk space : Invalid drive" |
2214 | msgstr "" | 2401 | msgstr "" |
2215 | 2402 | ||
2216 | #: plugins/check_nt.c:257 | 2403 | #: plugins/check_nt.c:263 |
2217 | msgid "No service/process specified" | 2404 | msgid "No service/process specified" |
2218 | msgstr "" | 2405 | msgstr "" |
2219 | 2406 | ||
2220 | #: plugins/check_nt.c:281 | 2407 | #: plugins/check_nt.c:271 plugins/check_nt.c:284 plugins/check_nt.c:288 |
2408 | #: plugins/check_nt.c:622 | ||
2409 | msgid "could not fetch information from server\n" | ||
2410 | msgstr "" | ||
2411 | |||
2412 | #: plugins/check_nt.c:296 | ||
2221 | #, c-format | 2413 | #, c-format |
2222 | msgid "" | 2414 | msgid "" |
2223 | "Memory usage: total:%.2f Mb - used: %.2f Mb (%.0f%%) - free: %.2f Mb (%.0f%%)" | 2415 | "Memory usage: total:%.2f Mb - used: %.2f Mb (%.0f%%) - free: %.2f Mb (%.0f%%)" |
2224 | msgstr "" | 2416 | msgstr "" |
2225 | 2417 | ||
2226 | #: plugins/check_nt.c:284 | 2418 | #: plugins/check_nt.c:299 |
2227 | #, c-format | 2419 | #, c-format |
2228 | msgid "'Memory usage'=%.2fMb;%.2f;%.2f;0.00;%.2f" | 2420 | msgid "'Memory usage'=%.2fMb;%.2f;%.2f;0.00;%.2f" |
2229 | msgstr "" | 2421 | msgstr "" |
2230 | 2422 | ||
2231 | #: plugins/check_nt.c:320 plugins/check_nt.c:405 plugins/check_nt.c:435 | 2423 | #: plugins/check_nt.c:335 plugins/check_nt.c:420 plugins/check_nt.c:450 |
2232 | msgid "No counter specified" | 2424 | msgid "No counter specified" |
2233 | msgstr "" | 2425 | msgstr "" |
2234 | 2426 | ||
2235 | #: plugins/check_nt.c:352 | 2427 | #: plugins/check_nt.c:367 |
2236 | msgid "Minimum value contains non-numbers" | 2428 | msgid "Minimum value contains non-numbers" |
2237 | msgstr "" | 2429 | msgstr "" |
2238 | 2430 | ||
2239 | #: plugins/check_nt.c:356 | 2431 | #: plugins/check_nt.c:371 |
2240 | msgid "Maximum value contains non-numbers" | 2432 | msgid "Maximum value contains non-numbers" |
2241 | msgstr "" | 2433 | msgstr "" |
2242 | 2434 | ||
2243 | #: plugins/check_nt.c:363 | 2435 | #: plugins/check_nt.c:378 |
2244 | msgid "No unit counter specified" | 2436 | msgid "No unit counter specified" |
2245 | msgstr "" | 2437 | msgstr "" |
2246 | 2438 | ||
2247 | #: plugins/check_nt.c:450 | 2439 | #: plugins/check_nt.c:465 |
2248 | msgid "Please specify a variable to check" | 2440 | msgid "Please specify a variable to check" |
2249 | msgstr "" | 2441 | msgstr "" |
2250 | 2442 | ||
2251 | #: plugins/check_nt.c:534 | 2443 | #: plugins/check_nt.c:549 |
2252 | #, fuzzy | 2444 | #, fuzzy |
2253 | msgid "Server port must be an integer\n" | 2445 | msgid "Server port must be an integer\n" |
2254 | msgstr "skip lines muss ein Integer sein" | 2446 | msgstr "skip lines muss ein Integer sein" |
2255 | 2447 | ||
2256 | #: plugins/check_nt.c:588 | 2448 | #: plugins/check_nt.c:603 |
2257 | #, fuzzy | 2449 | #, fuzzy |
2258 | msgid "You must provide a server address or host name" | 2450 | msgid "You must provide a server address or host name" |
2259 | msgstr "Hostname oder Serveradresse muss angegeben werden" | 2451 | msgstr "Hostname oder Serveradresse muss angegeben werden" |
2260 | 2452 | ||
2261 | #: plugins/check_nt.c:594 | 2453 | #: plugins/check_nt.c:609 |
2262 | msgid "None" | 2454 | msgid "None" |
2263 | msgstr "" | 2455 | msgstr "" |
2264 | 2456 | ||
2265 | #: plugins/check_nt.c:607 | 2457 | #: plugins/check_nt.c:666 |
2266 | msgid "could not fetch information from server\n" | ||
2267 | msgstr "" | ||
2268 | |||
2269 | #: plugins/check_nt.c:651 | ||
2270 | msgid "This plugin collects data from the NSClient service running on a" | 2458 | msgid "This plugin collects data from the NSClient service running on a" |
2271 | msgstr "" | 2459 | msgstr "" |
2272 | 2460 | ||
2273 | #: plugins/check_nt.c:652 | 2461 | #: plugins/check_nt.c:667 |
2274 | msgid "Windows NT/2000/XP/2003 server." | 2462 | msgid "Windows NT/2000/XP/2003 server." |
2275 | msgstr "" | 2463 | msgstr "" |
2276 | 2464 | ||
2277 | #: plugins/check_nt.c:663 | 2465 | #: plugins/check_nt.c:678 |
2278 | msgid "Name of the host to check" | 2466 | msgid "Name of the host to check" |
2279 | msgstr "" | 2467 | msgstr "" |
2280 | 2468 | ||
2281 | #: plugins/check_nt.c:665 | 2469 | #: plugins/check_nt.c:680 |
2282 | #, fuzzy | 2470 | #, fuzzy |
2283 | msgid "Optional port number (default: " | 2471 | msgid "Optional port number (default: " |
2284 | msgstr "Ungültige Portnummer" | 2472 | msgstr "Ungültige Portnummer" |
2285 | 2473 | ||
2286 | #: plugins/check_nt.c:668 | 2474 | #: plugins/check_nt.c:683 |
2287 | msgid "Password needed for the request" | 2475 | msgid "Password needed for the request" |
2288 | msgstr "" | 2476 | msgstr "" |
2289 | 2477 | ||
2290 | #: plugins/check_nt.c:670 plugins/check_nwstat.c:1661 | 2478 | #: plugins/check_nt.c:685 plugins/check_nwstat.c:1661 |
2291 | #: plugins/check_overcr.c:432 | 2479 | #: plugins/check_overcr.c:432 |
2292 | msgid "Threshold which will result in a warning status" | 2480 | msgid "Threshold which will result in a warning status" |
2293 | msgstr "" | 2481 | msgstr "" |
2294 | 2482 | ||
2295 | #: plugins/check_nt.c:672 plugins/check_nwstat.c:1663 | 2483 | #: plugins/check_nt.c:687 plugins/check_nwstat.c:1663 |
2296 | #: plugins/check_overcr.c:434 | 2484 | #: plugins/check_overcr.c:434 |
2297 | msgid "Threshold which will result in a critical status" | 2485 | msgid "Threshold which will result in a critical status" |
2298 | msgstr "" | 2486 | msgstr "" |
2299 | 2487 | ||
2300 | #: plugins/check_nt.c:674 | 2488 | #: plugins/check_nt.c:689 |
2301 | msgid "Seconds before connection attempt times out (default: " | 2489 | msgid "Seconds before connection attempt times out (default: " |
2302 | msgstr "" | 2490 | msgstr "" |
2303 | 2491 | ||
2304 | #: plugins/check_nt.c:676 | 2492 | #: plugins/check_nt.c:691 |
2305 | msgid "Parameters passed to specified check (see below)" | 2493 | msgid "Parameters passed to specified check (see below)" |
2306 | msgstr "" | 2494 | msgstr "" |
2307 | 2495 | ||
2308 | #: plugins/check_nt.c:678 | 2496 | #: plugins/check_nt.c:693 |
2309 | msgid "Display options (currently only SHOWALL works)" | 2497 | msgid "Display options (currently only SHOWALL works)" |
2310 | msgstr "" | 2498 | msgstr "" |
2311 | 2499 | ||
2312 | #: plugins/check_nt.c:680 | 2500 | #: plugins/check_nt.c:695 |
2313 | msgid "Return UNKNOWN on timeouts" | 2501 | msgid "Return UNKNOWN on timeouts" |
2314 | msgstr "" | 2502 | msgstr "" |
2315 | 2503 | ||
2316 | #: plugins/check_nt.c:683 | 2504 | #: plugins/check_nt.c:698 |
2317 | msgid "Print this help screen" | 2505 | msgid "Print this help screen" |
2318 | msgstr "" | 2506 | msgstr "" |
2319 | 2507 | ||
2320 | #: plugins/check_nt.c:685 | 2508 | #: plugins/check_nt.c:700 |
2321 | msgid "Print version information" | 2509 | msgid "Print version information" |
2322 | msgstr "" | 2510 | msgstr "" |
2323 | 2511 | ||
2324 | #: plugins/check_nt.c:687 | 2512 | #: plugins/check_nt.c:702 |
2325 | msgid "Variable to check" | 2513 | msgid "Variable to check" |
2326 | msgstr "" | 2514 | msgstr "" |
2327 | 2515 | ||
2328 | #: plugins/check_nt.c:688 | 2516 | #: plugins/check_nt.c:703 |
2329 | msgid "Valid variables are:" | 2517 | msgid "Valid variables are:" |
2330 | msgstr "" | 2518 | msgstr "" |
2331 | 2519 | ||
2332 | #: plugins/check_nt.c:690 | 2520 | #: plugins/check_nt.c:705 |
2333 | msgid "Get the NSClient version" | 2521 | msgid "Get the NSClient version" |
2334 | msgstr "" | 2522 | msgstr "" |
2335 | 2523 | ||
2336 | #: plugins/check_nt.c:691 | 2524 | #: plugins/check_nt.c:706 |
2337 | msgid "If -l <version> is specified, will return warning if versions differ." | 2525 | msgid "If -l <version> is specified, will return warning if versions differ." |
2338 | msgstr "" | 2526 | msgstr "" |
2339 | 2527 | ||
2340 | #: plugins/check_nt.c:693 | 2528 | #: plugins/check_nt.c:708 |
2341 | msgid "Average CPU load on last x minutes." | 2529 | msgid "Average CPU load on last x minutes." |
2342 | msgstr "" | 2530 | msgstr "" |
2343 | 2531 | ||
2344 | #: plugins/check_nt.c:694 | 2532 | #: plugins/check_nt.c:709 |
2345 | msgid "Request a -l parameter with the following syntax:" | 2533 | msgid "Request a -l parameter with the following syntax:" |
2346 | msgstr "" | 2534 | msgstr "" |
2347 | 2535 | ||
2348 | #: plugins/check_nt.c:695 | 2536 | #: plugins/check_nt.c:710 |
2349 | msgid "-l <minutes range>,<warning threshold>,<critical threshold>." | 2537 | msgid "-l <minutes range>,<warning threshold>,<critical threshold>." |
2350 | msgstr "" | 2538 | msgstr "" |
2351 | 2539 | ||
2352 | #: plugins/check_nt.c:696 | 2540 | #: plugins/check_nt.c:711 |
2353 | msgid "<minute range> should be less than 24*60." | 2541 | msgid "<minute range> should be less than 24*60." |
2354 | msgstr "" | 2542 | msgstr "" |
2355 | 2543 | ||
2356 | #: plugins/check_nt.c:697 | 2544 | #: plugins/check_nt.c:712 |
2357 | msgid "" | 2545 | msgid "" |
2358 | "Thresholds are percentage and up to 10 requests can be done in one shot." | 2546 | "Thresholds are percentage and up to 10 requests can be done in one shot." |
2359 | msgstr "" | 2547 | msgstr "" |
2360 | 2548 | ||
2361 | #: plugins/check_nt.c:700 | 2549 | #: plugins/check_nt.c:715 |
2362 | msgid "Get the uptime of the machine." | 2550 | msgid "Get the uptime of the machine." |
2363 | msgstr "" | 2551 | msgstr "" |
2364 | 2552 | ||
2365 | #: plugins/check_nt.c:701 | 2553 | #: plugins/check_nt.c:716 |
2366 | msgid "No specific parameters. No warning or critical threshold" | 2554 | msgid "No specific parameters. No warning or critical threshold" |
2367 | msgstr "" | 2555 | msgstr "" |
2368 | 2556 | ||
2369 | #: plugins/check_nt.c:703 | 2557 | #: plugins/check_nt.c:718 |
2370 | msgid "Size and percentage of disk use." | 2558 | msgid "Size and percentage of disk use." |
2371 | msgstr "" | 2559 | msgstr "" |
2372 | 2560 | ||
2373 | #: plugins/check_nt.c:704 | 2561 | #: plugins/check_nt.c:719 |
2374 | msgid "Request a -l parameter containing the drive letter only." | 2562 | msgid "Request a -l parameter containing the drive letter only." |
2375 | msgstr "" | 2563 | msgstr "" |
2376 | 2564 | ||
2377 | #: plugins/check_nt.c:705 plugins/check_nt.c:708 | 2565 | #: plugins/check_nt.c:720 plugins/check_nt.c:723 |
2378 | msgid "Warning and critical thresholds can be specified with -w and -c." | 2566 | msgid "Warning and critical thresholds can be specified with -w and -c." |
2379 | msgstr "" | 2567 | msgstr "" |
2380 | 2568 | ||
2381 | #: plugins/check_nt.c:707 | 2569 | #: plugins/check_nt.c:722 |
2382 | msgid "Memory use." | 2570 | msgid "Memory use." |
2383 | msgstr "" | 2571 | msgstr "" |
2384 | 2572 | ||
2385 | #: plugins/check_nt.c:710 | 2573 | #: plugins/check_nt.c:725 |
2386 | msgid "Check the state of one or several services." | 2574 | msgid "Check the state of one or several services." |
2387 | msgstr "" | 2575 | msgstr "" |
2388 | 2576 | ||
2389 | #: plugins/check_nt.c:711 plugins/check_nt.c:720 | 2577 | #: plugins/check_nt.c:726 plugins/check_nt.c:735 |
2390 | msgid "Request a -l parameters with the following syntax:" | 2578 | msgid "Request a -l parameters with the following syntax:" |
2391 | msgstr "" | 2579 | msgstr "" |
2392 | 2580 | ||
2393 | #: plugins/check_nt.c:712 | 2581 | #: plugins/check_nt.c:727 |
2394 | msgid "-l <service1>,<service2>,<service3>,..." | 2582 | msgid "-l <service1>,<service2>,<service3>,..." |
2395 | msgstr "" | 2583 | msgstr "" |
2396 | 2584 | ||
2397 | #: plugins/check_nt.c:713 | 2585 | #: plugins/check_nt.c:728 |
2398 | msgid "You can specify -d SHOWALL in case you want to see working services" | 2586 | msgid "You can specify -d SHOWALL in case you want to see working services" |
2399 | msgstr "" | 2587 | msgstr "" |
2400 | 2588 | ||
2401 | #: plugins/check_nt.c:714 | 2589 | #: plugins/check_nt.c:729 |
2402 | msgid "in the returned string." | 2590 | msgid "in the returned string." |
2403 | msgstr "" | 2591 | msgstr "" |
2404 | 2592 | ||
2405 | #: plugins/check_nt.c:716 | 2593 | #: plugins/check_nt.c:731 |
2406 | msgid "Check if one or several process are running." | 2594 | msgid "Check if one or several process are running." |
2407 | msgstr "" | 2595 | msgstr "" |
2408 | 2596 | ||
2409 | #: plugins/check_nt.c:717 | 2597 | #: plugins/check_nt.c:732 |
2410 | msgid "Same syntax as SERVICESTATE." | 2598 | msgid "Same syntax as SERVICESTATE." |
2411 | msgstr "" | 2599 | msgstr "" |
2412 | 2600 | ||
2413 | #: plugins/check_nt.c:719 | 2601 | #: plugins/check_nt.c:734 |
2414 | msgid "Check any performance counter of Windows NT/2000." | 2602 | msgid "Check any performance counter of Windows NT/2000." |
2415 | msgstr "" | 2603 | msgstr "" |
2416 | 2604 | ||
2417 | #: plugins/check_nt.c:721 | 2605 | #: plugins/check_nt.c:736 |
2418 | msgid "-l \"\\\\<performance object>\\\\counter\",\"<description>" | 2606 | msgid "-l \"\\\\<performance object>\\\\counter\",\"<description>" |
2419 | msgstr "" | 2607 | msgstr "" |
2420 | 2608 | ||
2421 | #: plugins/check_nt.c:722 | 2609 | #: plugins/check_nt.c:737 |
2422 | msgid "The <description> parameter is optional and is given to a printf " | 2610 | msgid "The <description> parameter is optional and is given to a printf " |
2423 | msgstr "" | 2611 | msgstr "" |
2424 | 2612 | ||
2425 | #: plugins/check_nt.c:723 | 2613 | #: plugins/check_nt.c:738 |
2426 | msgid "output command which requires a float parameter." | 2614 | msgid "output command which requires a float parameter." |
2427 | msgstr "" | 2615 | msgstr "" |
2428 | 2616 | ||
2429 | #: plugins/check_nt.c:724 | 2617 | #: plugins/check_nt.c:739 |
2430 | #, c-format | 2618 | #, c-format |
2431 | msgid "If <description> does not include \"%%\", it is used as a label." | 2619 | msgid "If <description> does not include \"%%\", it is used as a label." |
2432 | msgstr "" | 2620 | msgstr "" |
2433 | 2621 | ||
2434 | #: plugins/check_nt.c:725 plugins/check_nt.c:740 | 2622 | #: plugins/check_nt.c:740 plugins/check_nt.c:755 |
2435 | msgid "Some examples:" | 2623 | msgid "Some examples:" |
2436 | msgstr "" | 2624 | msgstr "" |
2437 | 2625 | ||
2438 | #: plugins/check_nt.c:729 | 2626 | #: plugins/check_nt.c:744 |
2439 | msgid "Check any performance counter object of Windows NT/2000." | 2627 | msgid "Check any performance counter object of Windows NT/2000." |
2440 | msgstr "" | 2628 | msgstr "" |
2441 | 2629 | ||
2442 | #: plugins/check_nt.c:730 | 2630 | #: plugins/check_nt.c:745 |
2443 | msgid "" | 2631 | msgid "" |
2444 | "Syntax: check_nt -H <hostname> -p <port> -v INSTANCES -l <counter object>" | 2632 | "Syntax: check_nt -H <hostname> -p <port> -v INSTANCES -l <counter object>" |
2445 | msgstr "" | 2633 | msgstr "" |
2446 | 2634 | ||
2447 | #: plugins/check_nt.c:731 | 2635 | #: plugins/check_nt.c:746 |
2448 | msgid "<counter object> is a Windows Perfmon Counter object (eg. Process)," | 2636 | msgid "<counter object> is a Windows Perfmon Counter object (eg. Process)," |
2449 | msgstr "" | 2637 | msgstr "" |
2450 | 2638 | ||
2451 | #: plugins/check_nt.c:732 | 2639 | #: plugins/check_nt.c:747 |
2452 | msgid "if it is two words, it should be enclosed in quotes" | 2640 | msgid "if it is two words, it should be enclosed in quotes" |
2453 | msgstr "" | 2641 | msgstr "" |
2454 | 2642 | ||
2455 | #: plugins/check_nt.c:733 | 2643 | #: plugins/check_nt.c:748 |
2456 | msgid "The returned results will be a comma-separated list of instances on " | 2644 | msgid "The returned results will be a comma-separated list of instances on " |
2457 | msgstr "" | 2645 | msgstr "" |
2458 | 2646 | ||
2459 | #: plugins/check_nt.c:734 | 2647 | #: plugins/check_nt.c:749 |
2460 | msgid " the selected computer for that object." | 2648 | msgid " the selected computer for that object." |
2461 | msgstr "" | 2649 | msgstr "" |
2462 | 2650 | ||
2463 | #: plugins/check_nt.c:735 | 2651 | #: plugins/check_nt.c:750 |
2464 | msgid "" | 2652 | msgid "" |
2465 | "The purpose of this is to be run from command line to determine what " | 2653 | "The purpose of this is to be run from command line to determine what " |
2466 | "instances" | 2654 | "instances" |
2467 | msgstr "" | 2655 | msgstr "" |
2468 | 2656 | ||
2469 | #: plugins/check_nt.c:736 | 2657 | #: plugins/check_nt.c:751 |
2470 | msgid "" | 2658 | msgid "" |
2471 | " are available for monitoring without having to log onto the Windows server" | 2659 | " are available for monitoring without having to log onto the Windows server" |
2472 | msgstr "" | 2660 | msgstr "" |
2473 | 2661 | ||
2474 | #: plugins/check_nt.c:737 | 2662 | #: plugins/check_nt.c:752 |
2475 | msgid " to run Perfmon directly." | 2663 | msgid " to run Perfmon directly." |
2476 | msgstr "" | 2664 | msgstr "" |
2477 | 2665 | ||
2478 | #: plugins/check_nt.c:738 | 2666 | #: plugins/check_nt.c:753 |
2479 | msgid "It can also be used in scripts that automatically create Nagios service" | 2667 | msgid "" |
2668 | "It can also be used in scripts that automatically create the monitoring " | ||
2669 | "service" | ||
2480 | msgstr "" | 2670 | msgstr "" |
2481 | 2671 | ||
2482 | #: plugins/check_nt.c:739 | 2672 | #: plugins/check_nt.c:754 |
2483 | msgid " configuration files." | 2673 | msgid " configuration files." |
2484 | msgstr "" | 2674 | msgstr "" |
2485 | 2675 | ||
2486 | #: plugins/check_nt.c:741 | 2676 | #: plugins/check_nt.c:756 |
2487 | msgid "check_nt -H 192.168.1.1 -p 1248 -v INSTANCES -l Process" | 2677 | msgid "check_nt -H 192.168.1.1 -p 1248 -v INSTANCES -l Process" |
2488 | msgstr "" | 2678 | msgstr "" |
2489 | 2679 | ||
2490 | #: plugins/check_nt.c:744 | 2680 | #: plugins/check_nt.c:759 |
2491 | msgid "" | 2681 | msgid "" |
2492 | "- The NSClient service should be running on the server to get any information" | 2682 | "- The NSClient service should be running on the server to get any information" |
2493 | msgstr "" | 2683 | msgstr "" |
2494 | 2684 | ||
2495 | #: plugins/check_nt.c:746 | 2685 | #: plugins/check_nt.c:761 |
2496 | msgid "- Critical thresholds should be lower than warning thresholds" | 2686 | msgid "- Critical thresholds should be lower than warning thresholds" |
2497 | msgstr "" | 2687 | msgstr "" |
2498 | 2688 | ||
2499 | #: plugins/check_nt.c:747 | 2689 | #: plugins/check_nt.c:762 |
2500 | msgid "- Default port 1248 is sometimes in use by other services. The error" | 2690 | msgid "- Default port 1248 is sometimes in use by other services. The error" |
2501 | msgstr "" | 2691 | msgstr "" |
2502 | 2692 | ||
2503 | #: plugins/check_nt.c:748 | 2693 | #: plugins/check_nt.c:763 |
2504 | msgid "" | 2694 | msgid "" |
2505 | "output when this happens contains \"Cannot map xxxxx to protocol number\"." | 2695 | "output when this happens contains \"Cannot map xxxxx to protocol number\"." |
2506 | msgstr "" | 2696 | msgstr "" |
2507 | 2697 | ||
2508 | #: plugins/check_nt.c:749 | 2698 | #: plugins/check_nt.c:764 |
2509 | msgid "One fix for this is to change the port to something else on check_nt " | 2699 | msgid "One fix for this is to change the port to something else on check_nt " |
2510 | msgstr "" | 2700 | msgstr "" |
2511 | 2701 | ||
2512 | #: plugins/check_nt.c:750 | 2702 | #: plugins/check_nt.c:765 |
2513 | msgid "and on the client service it's connecting to." | 2703 | msgid "and on the client service it's connecting to." |
2514 | msgstr "" | 2704 | msgstr "" |
2515 | 2705 | ||
2516 | #: plugins/check_ntp.c:803 plugins/check_ntp_peer.c:606 | 2706 | #: plugins/check_ntp.c:807 plugins/check_ntp_peer.c:612 |
2517 | #: plugins/check_ntp_time.c:567 | 2707 | #: plugins/check_ntp_time.c:571 |
2518 | #, c-format | ||
2519 | msgid "NTP CRITICAL:" | 2708 | msgid "NTP CRITICAL:" |
2520 | msgstr "NTP CRITICAL:" | 2709 | msgstr "NTP CRITICAL:" |
2521 | 2710 | ||
2522 | #: plugins/check_ntp.c:806 plugins/check_ntp_peer.c:609 | 2711 | #: plugins/check_ntp.c:810 plugins/check_ntp_peer.c:615 |
2523 | #: plugins/check_ntp_time.c:570 | 2712 | #: plugins/check_ntp_time.c:574 |
2524 | #, c-format | ||
2525 | msgid "NTP WARNING:" | 2713 | msgid "NTP WARNING:" |
2526 | msgstr "NTP WARNING:" | 2714 | msgstr "NTP WARNING:" |
2527 | 2715 | ||
2528 | #: plugins/check_ntp.c:809 plugins/check_ntp_peer.c:612 | 2716 | #: plugins/check_ntp.c:813 plugins/check_ntp_peer.c:618 |
2529 | #: plugins/check_ntp_time.c:573 | 2717 | #: plugins/check_ntp_time.c:577 |
2530 | #, c-format | ||
2531 | msgid "NTP OK:" | 2718 | msgid "NTP OK:" |
2532 | msgstr "NTP OK:" | 2719 | msgstr "NTP OK:" |
2533 | 2720 | ||
2534 | #: plugins/check_ntp.c:812 plugins/check_ntp_peer.c:615 | 2721 | #: plugins/check_ntp.c:816 plugins/check_ntp_peer.c:621 |
2535 | #: plugins/check_ntp_time.c:576 | 2722 | #: plugins/check_ntp_time.c:580 |
2536 | #, c-format | ||
2537 | msgid "NTP UNKNOWN:" | 2723 | msgid "NTP UNKNOWN:" |
2538 | msgstr "NTP UNKNOWN:" | 2724 | msgstr "NTP UNKNOWN:" |
2539 | 2725 | ||
2540 | #: plugins/check_ntp.c:816 plugins/check_ntp_peer.c:624 | 2726 | #: plugins/check_ntp.c:820 plugins/check_ntp_peer.c:630 |
2541 | #: plugins/check_ntp_time.c:580 | 2727 | #: plugins/check_ntp_time.c:584 |
2542 | msgid "Offset unknown" | 2728 | msgid "Offset unknown" |
2543 | msgstr "" | 2729 | msgstr "" |
2544 | 2730 | ||
2545 | #: plugins/check_ntp.c:819 plugins/check_ntp_peer.c:627 | 2731 | #: plugins/check_ntp.c:823 plugins/check_ntp_peer.c:633 |
2546 | #: plugins/check_ntp_time.c:583 | 2732 | #: plugins/check_ntp_time.c:587 |
2547 | msgid "Offset" | 2733 | msgid "Offset" |
2548 | msgstr "" | 2734 | msgstr "" |
2549 | 2735 | ||
2550 | #: plugins/check_ntp.c:840 plugins/check_ntp_peer.c:656 | 2736 | #: plugins/check_ntp.c:844 plugins/check_ntp_peer.c:662 |
2551 | #, fuzzy | 2737 | #, fuzzy |
2552 | msgid "This plugin checks the selected ntp server" | 2738 | msgid "This plugin checks the selected ntp server" |
2553 | msgstr "" | 2739 | msgstr "" |
2554 | "Testet den DNS Dienst auf dem angegebenen Host mit dig\n" | 2740 | "Testet den DNS Dienst auf dem angegebenen Host mit dig\n" |
2555 | "\n" | 2741 | "\n" |
2556 | 2742 | ||
2557 | #: plugins/check_ntp.c:849 plugins/check_ntp_peer.c:667 | 2743 | #: plugins/check_ntp.c:854 plugins/check_ntp_peer.c:674 |
2558 | #: plugins/check_ntp_time.c:609 | 2744 | #: plugins/check_ntp_time.c:614 |
2559 | msgid "Offset to result in warning status (seconds)" | 2745 | msgid "Offset to result in warning status (seconds)" |
2560 | msgstr "" | 2746 | msgstr "" |
2561 | 2747 | ||
2562 | #: plugins/check_ntp.c:851 plugins/check_ntp_peer.c:669 | 2748 | #: plugins/check_ntp.c:856 plugins/check_ntp_peer.c:676 |
2563 | #: plugins/check_ntp_time.c:611 | 2749 | #: plugins/check_ntp_time.c:616 |
2564 | msgid "Offset to result in critical status (seconds)" | 2750 | msgid "Offset to result in critical status (seconds)" |
2565 | msgstr "" | 2751 | msgstr "" |
2566 | 2752 | ||
2567 | #: plugins/check_ntp.c:853 plugins/check_ntp_peer.c:675 | 2753 | #: plugins/check_ntp.c:858 plugins/check_ntp_peer.c:682 |
2568 | #, fuzzy | 2754 | #, fuzzy |
2569 | msgid "Warning threshold for jitter" | 2755 | msgid "Warning threshold for jitter" |
2570 | msgstr "Warning threshold Integer sein" | 2756 | msgstr "Warning threshold Integer sein" |
2571 | 2757 | ||
2572 | #: plugins/check_ntp.c:855 plugins/check_ntp_peer.c:677 | 2758 | #: plugins/check_ntp.c:860 plugins/check_ntp_peer.c:684 |
2573 | #, fuzzy | 2759 | #, fuzzy |
2574 | msgid "Critical threshold for jitter" | 2760 | msgid "Critical threshold for jitter" |
2575 | msgstr "Critical threshold muss ein Integer sein" | 2761 | msgstr "Critical threshold muss ein Integer sein" |
2576 | 2762 | ||
2577 | #: plugins/check_ntp.c:865 | 2763 | #: plugins/check_ntp.c:870 |
2578 | msgid "Normal offset check:" | 2764 | msgid "Normal offset check:" |
2579 | msgstr "" | 2765 | msgstr "" |
2580 | 2766 | ||
2581 | #: plugins/check_ntp.c:868 plugins/check_ntp_peer.c:702 | 2767 | #: plugins/check_ntp.c:873 plugins/check_ntp_peer.c:709 |
2582 | msgid "" | 2768 | msgid "" |
2583 | "Check jitter too, avoiding critical notifications if jitter isn't available" | 2769 | "Check jitter too, avoiding critical notifications if jitter isn't available" |
2584 | msgstr "" | 2770 | msgstr "" |
2585 | 2771 | ||
2586 | #: plugins/check_ntp.c:869 plugins/check_ntp_peer.c:703 | 2772 | #: plugins/check_ntp.c:874 plugins/check_ntp_peer.c:710 |
2587 | msgid "(See Notes above for more details on thresholds formats):" | 2773 | msgid "(See Notes above for more details on thresholds formats):" |
2588 | msgstr "" | 2774 | msgstr "" |
2589 | 2775 | ||
2590 | #: plugins/check_ntp.c:874 plugins/check_ntp.c:881 | 2776 | #: plugins/check_ntp.c:879 plugins/check_ntp.c:886 |
2591 | msgid "WARNING: check_ntp is deprecated. Please use check_ntp_peer or" | 2777 | msgid "WARNING: check_ntp is deprecated. Please use check_ntp_peer or" |
2592 | msgstr "" | 2778 | msgstr "" |
2593 | 2779 | ||
2594 | #: plugins/check_ntp.c:875 plugins/check_ntp.c:882 | 2780 | #: plugins/check_ntp.c:880 plugins/check_ntp.c:887 |
2595 | msgid "check_ntp_time instead." | 2781 | msgid "check_ntp_time instead." |
2596 | msgstr "" | 2782 | msgstr "" |
2597 | 2783 | ||
2598 | #: plugins/check_ntp_peer.c:619 | 2784 | #: plugins/check_ntp_peer.c:625 |
2599 | msgid "Server not synchronized" | 2785 | msgid "Server not synchronized" |
2600 | msgstr "" | 2786 | msgstr "" |
2601 | 2787 | ||
2602 | #: plugins/check_ntp_peer.c:621 | 2788 | #: plugins/check_ntp_peer.c:627 |
2603 | msgid "Server has the LI_ALARM bit set" | 2789 | msgid "Server has the LI_ALARM bit set" |
2604 | msgstr "" | 2790 | msgstr "" |
2605 | 2791 | ||
2606 | #: plugins/check_ntp_peer.c:665 | 2792 | #: plugins/check_ntp_peer.c:672 |
2607 | msgid "" | 2793 | msgid "" |
2608 | "Returns UNKNOWN instead of CRITICAL or WARNING if server isn't synchronized" | 2794 | "Returns UNKNOWN instead of CRITICAL or WARNING if server isn't synchronized" |
2609 | msgstr "" | 2795 | msgstr "" |
2610 | 2796 | ||
2611 | #: plugins/check_ntp_peer.c:671 | 2797 | #: plugins/check_ntp_peer.c:678 |
2612 | #, fuzzy | 2798 | #, fuzzy |
2613 | msgid "Warning threshold for stratum" | 2799 | msgid "Warning threshold for stratum of server's synchronization peer" |
2614 | msgstr "Warning threshold Integer sein" | 2800 | msgstr "Warning threshold Integer sein" |
2615 | 2801 | ||
2616 | #: plugins/check_ntp_peer.c:673 | 2802 | #: plugins/check_ntp_peer.c:680 |
2617 | #, fuzzy | 2803 | #, fuzzy |
2618 | msgid "Critical threshold for stratum" | 2804 | msgid "Critical threshold for stratum of server's synchronization peer" |
2619 | msgstr "Critical threshold muss ein Integer sein" | 2805 | msgstr "Critical threshold muss ein Integer sein" |
2620 | 2806 | ||
2621 | #: plugins/check_ntp_peer.c:679 | 2807 | #: plugins/check_ntp_peer.c:686 |
2622 | #, fuzzy | 2808 | #, fuzzy |
2623 | msgid "Warning threshold for number of usable time sources (\"truechimers\")" | 2809 | msgid "Warning threshold for number of usable time sources (\"truechimers\")" |
2624 | msgstr "Warning threshold muss ein positiver Integer sein\n" | 2810 | msgstr "Warning threshold muss ein positiver Integer sein\n" |
2625 | 2811 | ||
2626 | #: plugins/check_ntp_peer.c:681 | 2812 | #: plugins/check_ntp_peer.c:688 |
2627 | #, fuzzy | 2813 | #, fuzzy |
2628 | msgid "Critical threshold for number of usable time sources (\"truechimers\")" | 2814 | msgid "Critical threshold for number of usable time sources (\"truechimers\")" |
2629 | msgstr "Critical threshold muss ein positiver Integer sein\n" | 2815 | msgstr "Critical threshold muss ein positiver Integer sein\n" |
2630 | 2816 | ||
2631 | #: plugins/check_ntp_peer.c:686 | 2817 | #: plugins/check_ntp_peer.c:693 |
2632 | msgid "This plugin checks an NTP server independent of any commandline" | 2818 | msgid "This plugin checks an NTP server independent of any commandline" |
2633 | msgstr "" | 2819 | msgstr "" |
2634 | 2820 | ||
2635 | #: plugins/check_ntp_peer.c:687 | 2821 | #: plugins/check_ntp_peer.c:694 |
2636 | msgid "programs or external libraries." | 2822 | msgid "programs or external libraries." |
2637 | msgstr "" | 2823 | msgstr "" |
2638 | 2824 | ||
2639 | #: plugins/check_ntp_peer.c:690 | 2825 | #: plugins/check_ntp_peer.c:697 |
2640 | #, fuzzy | 2826 | #, fuzzy |
2641 | msgid "Use this plugin to check the health of an NTP server. It supports" | 2827 | msgid "Use this plugin to check the health of an NTP server. It supports" |
2642 | msgstr "" | 2828 | msgstr "" |
2643 | "Testet den DNS Dienst auf dem angegebenen Host mit dig\n" | 2829 | "Testet den DNS Dienst auf dem angegebenen Host mit dig\n" |
2644 | "\n" | 2830 | "\n" |
2645 | 2831 | ||
2646 | #: plugins/check_ntp_peer.c:691 | 2832 | #: plugins/check_ntp_peer.c:698 |
2647 | msgid "checking the offset with the sync peer, the jitter and stratum. This" | 2833 | msgid "checking the offset with the sync peer, the jitter and stratum. This" |
2648 | msgstr "" | 2834 | msgstr "" |
2649 | 2835 | ||
2650 | #: plugins/check_ntp_peer.c:692 | 2836 | #: plugins/check_ntp_peer.c:699 |
2651 | msgid "plugin will not check the clock offset between the local host and NTP" | 2837 | msgid "plugin will not check the clock offset between the local host and NTP" |
2652 | msgstr "" | 2838 | msgstr "" |
2653 | 2839 | ||
2654 | #: plugins/check_ntp_peer.c:693 | 2840 | #: plugins/check_ntp_peer.c:700 |
2655 | msgid "server; please use check_ntp_time for that purpose." | 2841 | msgid "server; please use check_ntp_time for that purpose." |
2656 | msgstr "" | 2842 | msgstr "" |
2657 | 2843 | ||
2658 | #: plugins/check_ntp_peer.c:699 | 2844 | #: plugins/check_ntp_peer.c:706 |
2659 | msgid "Simple NTP server check:" | 2845 | msgid "Simple NTP server check:" |
2660 | msgstr "" | 2846 | msgstr "" |
2661 | 2847 | ||
2662 | #: plugins/check_ntp_peer.c:706 | 2848 | #: plugins/check_ntp_peer.c:713 |
2663 | msgid "Only check the number of usable time sources (\"truechimers\"):" | 2849 | msgid "Only check the number of usable time sources (\"truechimers\"):" |
2664 | msgstr "" | 2850 | msgstr "" |
2665 | 2851 | ||
2666 | #: plugins/check_ntp_peer.c:709 | 2852 | #: plugins/check_ntp_peer.c:716 |
2667 | msgid "Check only stratum:" | 2853 | msgid "Check only stratum:" |
2668 | msgstr "" | 2854 | msgstr "" |
2669 | 2855 | ||
2670 | #: plugins/check_ntp_time.c:598 | 2856 | #: plugins/check_ntp_time.c:602 |
2671 | #, fuzzy | 2857 | #, fuzzy |
2672 | msgid "This plugin checks the clock offset with the ntp server" | 2858 | msgid "This plugin checks the clock offset with the ntp server" |
2673 | msgstr "" | 2859 | msgstr "" |
2674 | "Testet den DNS Dienst auf dem angegebenen Host mit dig\n" | 2860 | "Testet den DNS Dienst auf dem angegebenen Host mit dig\n" |
2675 | "\n" | 2861 | "\n" |
2676 | 2862 | ||
2677 | #: plugins/check_ntp_time.c:607 | 2863 | #: plugins/check_ntp_time.c:612 |
2678 | msgid "Returns UNKNOWN instead of CRITICAL if offset cannot be found" | 2864 | msgid "Returns UNKNOWN instead of CRITICAL if offset cannot be found" |
2679 | msgstr "" | 2865 | msgstr "" |
2680 | 2866 | ||
2681 | #: plugins/check_ntp_time.c:616 | 2867 | #: plugins/check_ntp_time.c:621 |
2682 | #, fuzzy | 2868 | #, fuzzy |
2683 | msgid "This plugin checks the clock offset between the local host and a" | 2869 | msgid "This plugin checks the clock offset between the local host and a" |
2684 | msgstr "" | 2870 | msgstr "" |
@@ -2687,19 +2873,19 @@ msgstr "" | |||
2687 | "unterschritten wird.\n" | 2873 | "unterschritten wird.\n" |
2688 | "\n" | 2874 | "\n" |
2689 | 2875 | ||
2690 | #: plugins/check_ntp_time.c:617 | 2876 | #: plugins/check_ntp_time.c:622 |
2691 | msgid "remote NTP server. It is independent of any commandline programs or" | 2877 | msgid "remote NTP server. It is independent of any commandline programs or" |
2692 | msgstr "" | 2878 | msgstr "" |
2693 | 2879 | ||
2694 | #: plugins/check_ntp_time.c:618 | 2880 | #: plugins/check_ntp_time.c:623 |
2695 | msgid "external libraries." | 2881 | msgid "external libraries." |
2696 | msgstr "" | 2882 | msgstr "" |
2697 | 2883 | ||
2698 | #: plugins/check_ntp_time.c:622 | 2884 | #: plugins/check_ntp_time.c:627 |
2699 | msgid "If you'd rather want to monitor an NTP server, please use" | 2885 | msgid "If you'd rather want to monitor an NTP server, please use" |
2700 | msgstr "" | 2886 | msgstr "" |
2701 | 2887 | ||
2702 | #: plugins/check_ntp_time.c:623 | 2888 | #: plugins/check_ntp_time.c:628 |
2703 | msgid "check_ntp_peer." | 2889 | msgid "check_ntp_peer." |
2704 | msgstr "" | 2890 | msgstr "" |
2705 | 2891 | ||
@@ -2798,17 +2984,15 @@ msgid "disabled" | |||
2798 | msgstr "" | 2984 | msgstr "" |
2799 | 2985 | ||
2800 | #: plugins/check_nwstat.c:560 | 2986 | #: plugins/check_nwstat.c:560 |
2801 | #, fuzzy, c-format | 2987 | #, fuzzy |
2802 | msgid "CRITICAL - NRM Status is bad!" | 2988 | msgid "CRITICAL - NRM Status is bad!" |
2803 | msgstr "CRITICAL - Serverdatum \"%100s\" konnte nicht verarbeitet werden" | 2989 | msgstr "CRITICAL - Serverdatum \"%100s\" konnte nicht verarbeitet werden" |
2804 | 2990 | ||
2805 | #: plugins/check_nwstat.c:565 | 2991 | #: plugins/check_nwstat.c:565 |
2806 | #, c-format | ||
2807 | msgid "Warning - NRM Status is suspect!" | 2992 | msgid "Warning - NRM Status is suspect!" |
2808 | msgstr "" | 2993 | msgstr "" |
2809 | 2994 | ||
2810 | #: plugins/check_nwstat.c:568 | 2995 | #: plugins/check_nwstat.c:568 |
2811 | #, c-format | ||
2812 | msgid "OK - NRM Status is good!" | 2996 | msgid "OK - NRM Status is good!" |
2813 | msgstr "" | 2997 | msgstr "" |
2814 | 2998 | ||
@@ -2868,12 +3052,10 @@ msgid "%lu current service processes (%lu max)|Processes=%lu;%lu;%lu;0;%lu" | |||
2868 | msgstr "" | 3052 | msgstr "" |
2869 | 3053 | ||
2870 | #: plugins/check_nwstat.c:904 | 3054 | #: plugins/check_nwstat.c:904 |
2871 | #, c-format | ||
2872 | msgid "CRITICAL - Time not in sync with network!" | 3055 | msgid "CRITICAL - Time not in sync with network!" |
2873 | msgstr "" | 3056 | msgstr "" |
2874 | 3057 | ||
2875 | #: plugins/check_nwstat.c:907 | 3058 | #: plugins/check_nwstat.c:907 |
2876 | #, c-format | ||
2877 | msgid "OK - Time in sync with network!" | 3059 | msgid "OK - Time in sync with network!" |
2878 | msgstr "" | 3060 | msgstr "" |
2879 | 3061 | ||
@@ -3275,112 +3457,219 @@ msgid "" | |||
3275 | "higher than the warning threshold value, EXCEPT with the uptime variable" | 3457 | "higher than the warning threshold value, EXCEPT with the uptime variable" |
3276 | msgstr "" | 3458 | msgstr "" |
3277 | 3459 | ||
3278 | #: plugins/check_pgsql.c:183 | 3460 | #: plugins/check_pgsql.c:222 |
3279 | #, c-format | 3461 | #, c-format |
3280 | msgid "CRITICAL - no connection to '%s' (%s).\n" | 3462 | msgid "CRITICAL - no connection to '%s' (%s).\n" |
3281 | msgstr "" | 3463 | msgstr "" |
3282 | 3464 | ||
3283 | #: plugins/check_pgsql.c:200 | 3465 | #: plugins/check_pgsql.c:250 |
3284 | #, c-format | 3466 | #, c-format |
3285 | msgid " %s - database %s (%d sec.)|%s\n" | 3467 | msgid " %s - database %s (%f sec.)|%s\n" |
3286 | msgstr "" | 3468 | msgstr "" |
3287 | 3469 | ||
3288 | #: plugins/check_pgsql.c:256 plugins/check_time.c:277 plugins/check_time.c:289 | 3470 | #: plugins/check_pgsql.c:317 plugins/check_time.c:277 plugins/check_time.c:289 |
3289 | #: plugins/check_users.c:166 | 3471 | #: plugins/check_users.c:181 |
3290 | msgid "Critical threshold must be a positive integer" | 3472 | msgid "Critical threshold must be a positive integer" |
3291 | msgstr "Critical threshold muss ein positiver Integer sein" | 3473 | msgstr "Critical threshold muss ein positiver Integer sein" |
3292 | 3474 | ||
3293 | #: plugins/check_pgsql.c:262 plugins/check_time.c:258 plugins/check_time.c:282 | 3475 | #: plugins/check_pgsql.c:323 plugins/check_time.c:258 plugins/check_time.c:282 |
3294 | #: plugins/check_users.c:172 plugins/check_users.c:182 | 3476 | #: plugins/check_users.c:187 plugins/check_users.c:197 |
3295 | #: plugins/check_users.c:189 | 3477 | #: plugins/check_users.c:203 |
3296 | msgid "Warning threshold must be a positive integer" | 3478 | msgid "Warning threshold must be a positive integer" |
3297 | msgstr "Warning threshold muss ein positiver Integer sein" | 3479 | msgstr "Warning threshold muss ein positiver Integer sein" |
3298 | 3480 | ||
3299 | #: plugins/check_pgsql.c:280 | 3481 | #: plugins/check_pgsql.c:347 |
3300 | msgid "Database name is not valid" | 3482 | msgid "Database name is not valid" |
3301 | msgstr "" | 3483 | msgstr "" |
3302 | 3484 | ||
3303 | #: plugins/check_pgsql.c:286 | 3485 | #: plugins/check_pgsql.c:353 |
3304 | msgid "User name is not valid" | 3486 | msgid "User name is not valid" |
3305 | msgstr "" | 3487 | msgstr "" |
3306 | 3488 | ||
3307 | #: plugins/check_pgsql.c:426 | 3489 | #: plugins/check_pgsql.c:504 |
3308 | #, c-format | 3490 | #, c-format |
3309 | msgid "Test whether a PostgreSQL Database is accepting connections." | 3491 | msgid "Test whether a PostgreSQL Database is accepting connections." |
3310 | msgstr "" | 3492 | msgstr "" |
3311 | 3493 | ||
3312 | #: plugins/check_pgsql.c:440 | 3494 | #: plugins/check_pgsql.c:516 |
3313 | msgid "Database to check " | 3495 | msgid "Database to check " |
3314 | msgstr "" | 3496 | msgstr "" |
3315 | 3497 | ||
3316 | #: plugins/check_pgsql.c:441 | 3498 | #: plugins/check_pgsql.c:517 |
3317 | #, c-format | 3499 | #, c-format |
3318 | msgid "(default: %s)" | 3500 | msgid "(default: %s)" |
3319 | msgstr "" | 3501 | msgstr "" |
3320 | 3502 | ||
3321 | #: plugins/check_pgsql.c:443 | 3503 | #: plugins/check_pgsql.c:519 |
3322 | msgid "Login name of user" | 3504 | msgid "Login name of user" |
3323 | msgstr "" | 3505 | msgstr "" |
3324 | 3506 | ||
3325 | #: plugins/check_pgsql.c:445 | 3507 | #: plugins/check_pgsql.c:521 |
3326 | msgid "Password (BIG SECURITY ISSUE)" | 3508 | msgid "Password (BIG SECURITY ISSUE)" |
3327 | msgstr "" | 3509 | msgstr "" |
3328 | 3510 | ||
3329 | #: plugins/check_pgsql.c:454 | 3511 | #: plugins/check_pgsql.c:523 |
3512 | msgid "Connection parameters (keyword = value), see below" | ||
3513 | msgstr "" | ||
3514 | |||
3515 | #: plugins/check_pgsql.c:530 | ||
3516 | msgid "SQL query to run. Only first column in first row will be read" | ||
3517 | msgstr "" | ||
3518 | |||
3519 | #: plugins/check_pgsql.c:532 | ||
3520 | msgid "SQL query value to result in warning status (double)" | ||
3521 | msgstr "" | ||
3522 | |||
3523 | #: plugins/check_pgsql.c:534 | ||
3524 | msgid "SQL query value to result in critical status (double)" | ||
3525 | msgstr "" | ||
3526 | |||
3527 | #: plugins/check_pgsql.c:539 | ||
3330 | msgid "All parameters are optional." | 3528 | msgid "All parameters are optional." |
3331 | msgstr "" | 3529 | msgstr "" |
3332 | 3530 | ||
3333 | #: plugins/check_pgsql.c:455 | 3531 | #: plugins/check_pgsql.c:540 |
3334 | msgid "" | 3532 | msgid "" |
3335 | "This plugin tests a PostgreSQL DBMS to determine whether it is active and" | 3533 | "This plugin tests a PostgreSQL DBMS to determine whether it is active and" |
3336 | msgstr "" | 3534 | msgstr "" |
3337 | 3535 | ||
3338 | #: plugins/check_pgsql.c:456 | 3536 | #: plugins/check_pgsql.c:541 |
3339 | msgid "accepting queries. In its current operation, it simply connects to the" | 3537 | msgid "accepting queries. In its current operation, it simply connects to the" |
3340 | msgstr "" | 3538 | msgstr "" |
3341 | 3539 | ||
3342 | #: plugins/check_pgsql.c:457 | 3540 | #: plugins/check_pgsql.c:542 |
3343 | msgid "" | 3541 | msgid "" |
3344 | "specified database, and then disconnects. If no database is specified, it" | 3542 | "specified database, and then disconnects. If no database is specified, it" |
3345 | msgstr "" | 3543 | msgstr "" |
3346 | 3544 | ||
3347 | #: plugins/check_pgsql.c:458 | 3545 | #: plugins/check_pgsql.c:543 |
3348 | msgid "" | 3546 | msgid "" |
3349 | "connects to the template1 database, which is present in every functioning" | 3547 | "connects to the template1 database, which is present in every functioning" |
3350 | msgstr "" | 3548 | msgstr "" |
3351 | 3549 | ||
3352 | #: plugins/check_pgsql.c:459 | 3550 | #: plugins/check_pgsql.c:544 |
3353 | msgid "PostgreSQL DBMS." | 3551 | msgid "PostgreSQL DBMS." |
3354 | msgstr "" | 3552 | msgstr "" |
3355 | 3553 | ||
3356 | #: plugins/check_pgsql.c:461 | 3554 | #: plugins/check_pgsql.c:546 |
3555 | msgid "If a query is specified using the -q option, it will be executed after" | ||
3556 | msgstr "" | ||
3557 | |||
3558 | #: plugins/check_pgsql.c:547 | ||
3559 | msgid "connecting to the server. The result from the query has to be numeric." | ||
3560 | msgstr "" | ||
3561 | |||
3562 | #: plugins/check_pgsql.c:548 | ||
3563 | msgid "" | ||
3564 | "Multiple SQL commands, separated by semicolon, are allowed but the result " | ||
3565 | msgstr "" | ||
3566 | |||
3567 | #: plugins/check_pgsql.c:549 | ||
3568 | msgid "of the last command is taken into account only. The value of the first" | ||
3569 | msgstr "" | ||
3570 | |||
3571 | #: plugins/check_pgsql.c:550 | ||
3572 | msgid "column in the first row is used as the check result." | ||
3573 | msgstr "" | ||
3574 | |||
3575 | #: plugins/check_pgsql.c:552 | ||
3576 | msgid "" | ||
3577 | "See the chapter \"Monitoring Database Activity\" of the PostgreSQL manual" | ||
3578 | msgstr "" | ||
3579 | |||
3580 | #: plugins/check_pgsql.c:553 | ||
3581 | msgid "" | ||
3582 | "for details about how to access internal statistics of the database server." | ||
3583 | msgstr "" | ||
3584 | |||
3585 | #: plugins/check_pgsql.c:555 | ||
3586 | msgid "" | ||
3587 | "For a list of available connection parameters which may be used with the -o" | ||
3588 | msgstr "" | ||
3589 | |||
3590 | #: plugins/check_pgsql.c:556 | ||
3591 | msgid "" | ||
3592 | "command line option, see the documentation for PQconnectdb() in the chapter" | ||
3593 | msgstr "" | ||
3594 | |||
3595 | #: plugins/check_pgsql.c:557 | ||
3596 | msgid "" | ||
3597 | "\"libpq - C Library\" of the PostgreSQL manual. For example, this may be" | ||
3598 | msgstr "" | ||
3599 | |||
3600 | #: plugins/check_pgsql.c:558 | ||
3601 | msgid "" | ||
3602 | "used to specify a service name in pg_service.conf to be used for additional" | ||
3603 | msgstr "" | ||
3604 | |||
3605 | #: plugins/check_pgsql.c:559 | ||
3606 | msgid "connection parameters: -o 'service=<name>' or to specify the SSL mode:" | ||
3607 | msgstr "" | ||
3608 | |||
3609 | #: plugins/check_pgsql.c:560 | ||
3610 | msgid "-o 'sslmode=require'." | ||
3611 | msgstr "" | ||
3612 | |||
3613 | #: plugins/check_pgsql.c:562 | ||
3357 | msgid "" | 3614 | msgid "" |
3358 | "The plugin will connect to a local postmaster if no host is specified. To" | 3615 | "The plugin will connect to a local postmaster if no host is specified. To" |
3359 | msgstr "" | 3616 | msgstr "" |
3360 | 3617 | ||
3361 | #: plugins/check_pgsql.c:462 | 3618 | #: plugins/check_pgsql.c:563 |
3362 | msgid "" | 3619 | msgid "" |
3363 | "connect to a remote host, be sure that the remote postmaster accepts TCP/IP" | 3620 | "connect to a remote host, be sure that the remote postmaster accepts TCP/IP" |
3364 | msgstr "" | 3621 | msgstr "" |
3365 | 3622 | ||
3366 | #: plugins/check_pgsql.c:463 | 3623 | #: plugins/check_pgsql.c:564 |
3367 | msgid "connections (start the postmaster with the -i option)." | 3624 | msgid "connections (start the postmaster with the -i option)." |
3368 | msgstr "" | 3625 | msgstr "" |
3369 | 3626 | ||
3370 | #: plugins/check_pgsql.c:465 | 3627 | #: plugins/check_pgsql.c:566 |
3371 | msgid "" | 3628 | msgid "" |
3372 | "Typically, the nagios user (unless the --logname option is used) should be" | 3629 | "Typically, the monitoring user (unless the --logname option is used) should " |
3630 | "be" | ||
3373 | msgstr "" | 3631 | msgstr "" |
3374 | 3632 | ||
3375 | #: plugins/check_pgsql.c:466 | 3633 | #: plugins/check_pgsql.c:567 |
3376 | msgid "" | 3634 | msgid "" |
3377 | "able to connect to the database without a password. The plugin can also send" | 3635 | "able to connect to the database without a password. The plugin can also send" |
3378 | msgstr "" | 3636 | msgstr "" |
3379 | 3637 | ||
3380 | #: plugins/check_pgsql.c:467 | 3638 | #: plugins/check_pgsql.c:568 |
3381 | msgid "a password, but no effort is made to obsure or encrypt the password." | 3639 | msgid "a password, but no effort is made to obsure or encrypt the password." |
3382 | msgstr "" | 3640 | msgstr "" |
3383 | 3641 | ||
3642 | #: plugins/check_pgsql.c:601 | ||
3643 | #, c-format | ||
3644 | msgid "QUERY %s - %s: %s.\n" | ||
3645 | msgstr "" | ||
3646 | |||
3647 | #: plugins/check_pgsql.c:601 | ||
3648 | msgid "Error with query" | ||
3649 | msgstr "" | ||
3650 | |||
3651 | #: plugins/check_pgsql.c:607 | ||
3652 | msgid "No rows returned" | ||
3653 | msgstr "" | ||
3654 | |||
3655 | #: plugins/check_pgsql.c:612 | ||
3656 | msgid "No columns returned" | ||
3657 | msgstr "" | ||
3658 | |||
3659 | #: plugins/check_pgsql.c:618 | ||
3660 | #, fuzzy | ||
3661 | msgid "No data returned" | ||
3662 | msgstr "Keine Daten empfangen %s\n" | ||
3663 | |||
3664 | #: plugins/check_pgsql.c:627 | ||
3665 | msgid "Is not a numeric" | ||
3666 | msgstr "" | ||
3667 | |||
3668 | #: plugins/check_pgsql.c:644 | ||
3669 | #, fuzzy, c-format | ||
3670 | msgid "'%s' returned %f" | ||
3671 | msgstr "%s hat %s zurückgegeben" | ||
3672 | |||
3384 | #: plugins/check_ping.c:141 | 3673 | #: plugins/check_ping.c:141 |
3385 | msgid "CRITICAL - Could not interpret output from ping command\n" | 3674 | msgid "CRITICAL - Could not interpret output from ping command\n" |
3386 | msgstr "" | 3675 | msgstr "" |
@@ -3461,314 +3750,307 @@ msgstr "" | |||
3461 | msgid "<wpl> (%d) cannot be larger than <cpl> (%d)\n" | 3750 | msgid "<wpl> (%d) cannot be larger than <cpl> (%d)\n" |
3462 | msgstr "" | 3751 | msgstr "" |
3463 | 3752 | ||
3464 | #: plugins/check_ping.c:441 | 3753 | #: plugins/check_ping.c:442 |
3465 | #, c-format | 3754 | #, c-format |
3466 | msgid "Cannot open stderr for %s\n" | 3755 | msgid "Cannot open stderr for %s\n" |
3467 | msgstr "" | 3756 | msgstr "" |
3468 | 3757 | ||
3469 | #: plugins/check_ping.c:490 plugins/check_ping.c:492 | 3758 | #: plugins/check_ping.c:492 plugins/check_ping.c:494 |
3470 | msgid "System call sent warnings to stderr " | 3759 | msgid "System call sent warnings to stderr " |
3471 | msgstr "" | 3760 | msgstr "" |
3472 | 3761 | ||
3473 | #: plugins/check_ping.c:519 | 3762 | #: plugins/check_ping.c:519 |
3474 | #, fuzzy, c-format | 3763 | #, fuzzy, c-format |
3475 | msgid "CRITICAL - Network Unreachable (%s)" | 3764 | msgid "CRITICAL - Network Unreachable (%s)\n" |
3476 | msgstr "CRITICAL - Netzwerk nicht erreichbar (%s)" | 3765 | msgstr "CRITICAL - Netzwerk nicht erreichbar (%s)" |
3477 | 3766 | ||
3478 | #: plugins/check_ping.c:521 | 3767 | #: plugins/check_ping.c:521 |
3479 | #, c-format | 3768 | #, fuzzy, c-format |
3480 | msgid "CRITICAL - Host Unreachable (%s)" | 3769 | msgid "CRITICAL - Host Unreachable (%s)\n" |
3481 | msgstr "" | 3770 | msgstr "CRITICAL - Netzwerk nicht erreichbar (%s)" |
3482 | 3771 | ||
3483 | #: plugins/check_ping.c:523 | 3772 | #: plugins/check_ping.c:523 |
3484 | #, fuzzy, c-format | 3773 | #, fuzzy, c-format |
3485 | msgid "CRITICAL - Bogus ICMP: Port Unreachable (%s)" | 3774 | msgid "CRITICAL - Bogus ICMP: Port Unreachable (%s)\n" |
3486 | msgstr "CRITICAL - Netzwerk nicht erreichbar (%s)" | 3775 | msgstr "CRITICAL - Netzwerk nicht erreichbar (%s)" |
3487 | 3776 | ||
3488 | #: plugins/check_ping.c:525 | 3777 | #: plugins/check_ping.c:525 |
3489 | #, fuzzy, c-format | 3778 | #, fuzzy, c-format |
3490 | msgid "CRITICAL - Bogus ICMP: Protocol Unreachable (%s)" | 3779 | msgid "CRITICAL - Bogus ICMP: Protocol Unreachable (%s)\n" |
3491 | msgstr "CRITICAL - Netzwerk nicht erreichbar (%s)" | 3780 | msgstr "CRITICAL - Netzwerk nicht erreichbar (%s)" |
3492 | 3781 | ||
3493 | #: plugins/check_ping.c:527 | 3782 | #: plugins/check_ping.c:527 |
3494 | #, fuzzy, c-format | 3783 | #, fuzzy, c-format |
3495 | msgid "CRITICAL - Network Prohibited (%s)" | 3784 | msgid "CRITICAL - Network Prohibited (%s)\n" |
3496 | msgstr "CRITICAL - Netzwerk nicht erreichbar (%s)" | 3785 | msgstr "CRITICAL - Netzwerk nicht erreichbar (%s)" |
3497 | 3786 | ||
3498 | #: plugins/check_ping.c:529 | 3787 | #: plugins/check_ping.c:529 |
3499 | #, fuzzy, c-format | 3788 | #, fuzzy, c-format |
3500 | msgid "CRITICAL - Host Prohibited (%s)" | 3789 | msgid "CRITICAL - Host Prohibited (%s)\n" |
3501 | msgstr "CRITICAL - Netzwerk nicht erreichbar (%s)" | 3790 | msgstr "CRITICAL - Netzwerk nicht erreichbar (%s)" |
3502 | 3791 | ||
3503 | #: plugins/check_ping.c:531 | 3792 | #: plugins/check_ping.c:531 |
3504 | #, fuzzy, c-format | 3793 | #, fuzzy, c-format |
3505 | msgid "CRITICAL - Packet Filtered (%s)" | 3794 | msgid "CRITICAL - Packet Filtered (%s)\n" |
3506 | msgstr "CRITICAL - Netzwerk nicht erreichbar (%s)" | 3795 | msgstr "CRITICAL - Netzwerk nicht erreichbar (%s)" |
3507 | 3796 | ||
3508 | #: plugins/check_ping.c:533 | 3797 | #: plugins/check_ping.c:533 |
3509 | #, c-format | 3798 | #, fuzzy, c-format |
3510 | msgid "CRITICAL - Host not found (%s)" | 3799 | msgid "CRITICAL - Host not found (%s)\n" |
3511 | msgstr "" | 3800 | msgstr "CRITICAL - Text nicht gefunden%s|%s %s\n" |
3512 | 3801 | ||
3513 | #: plugins/check_ping.c:535 | 3802 | #: plugins/check_ping.c:535 |
3514 | #, c-format | 3803 | #, fuzzy, c-format |
3515 | msgid "CRITICAL - Time to live exceeded (%s)" | 3804 | msgid "CRITICAL - Time to live exceeded (%s)\n" |
3516 | msgstr "" | 3805 | msgstr "CRITICAL - Netzwerk nicht erreichbar (%s)" |
3806 | |||
3807 | #: plugins/check_ping.c:537 | ||
3808 | #, fuzzy, c-format | ||
3809 | msgid "CRITICAL - Destination Unreachable (%s)\n" | ||
3810 | msgstr "CRITICAL - Netzwerk nicht erreichbar (%s)" | ||
3517 | 3811 | ||
3518 | #: plugins/check_ping.c:542 | 3812 | #: plugins/check_ping.c:544 |
3519 | msgid "Unable to realloc warn_text" | 3813 | msgid "Unable to realloc warn_text\n" |
3520 | msgstr "" | 3814 | msgstr "" |
3521 | 3815 | ||
3522 | #: plugins/check_ping.c:559 | 3816 | #: plugins/check_ping.c:561 |
3523 | #, c-format | 3817 | #, c-format |
3524 | msgid "Use ping to check connection statistics for a remote host." | 3818 | msgid "Use ping to check connection statistics for a remote host." |
3525 | msgstr "" | 3819 | msgstr "" |
3526 | 3820 | ||
3527 | #: plugins/check_ping.c:571 | 3821 | #: plugins/check_ping.c:573 |
3528 | msgid "host to ping" | 3822 | msgid "host to ping" |
3529 | msgstr "" | 3823 | msgstr "" |
3530 | 3824 | ||
3531 | #: plugins/check_ping.c:577 | 3825 | #: plugins/check_ping.c:579 |
3532 | msgid "number of ICMP ECHO packets to send" | 3826 | msgid "number of ICMP ECHO packets to send" |
3533 | msgstr "" | 3827 | msgstr "" |
3534 | 3828 | ||
3535 | #: plugins/check_ping.c:578 | 3829 | #: plugins/check_ping.c:580 |
3536 | #, c-format | 3830 | #, c-format |
3537 | msgid "(Default: %d)\n" | 3831 | msgid "(Default: %d)\n" |
3538 | msgstr "" | 3832 | msgstr "" |
3539 | 3833 | ||
3540 | #: plugins/check_ping.c:580 | 3834 | #: plugins/check_ping.c:582 |
3541 | msgid "show HTML in the plugin output (obsoleted by urlize)" | 3835 | msgid "show HTML in the plugin output (obsoleted by urlize)" |
3542 | msgstr "" | 3836 | msgstr "" |
3543 | 3837 | ||
3544 | #: plugins/check_ping.c:585 | 3838 | #: plugins/check_ping.c:587 |
3545 | msgid "THRESHOLD is <rta>,<pl>% where <rta> is the round trip average travel" | 3839 | msgid "THRESHOLD is <rta>,<pl>% where <rta> is the round trip average travel" |
3546 | msgstr "" | 3840 | msgstr "" |
3547 | 3841 | ||
3548 | #: plugins/check_ping.c:586 | 3842 | #: plugins/check_ping.c:588 |
3549 | msgid "time (ms) which triggers a WARNING or CRITICAL state, and <pl> is the" | 3843 | msgid "time (ms) which triggers a WARNING or CRITICAL state, and <pl> is the" |
3550 | msgstr "" | 3844 | msgstr "" |
3551 | 3845 | ||
3552 | #: plugins/check_ping.c:587 | 3846 | #: plugins/check_ping.c:589 |
3553 | msgid "percentage of packet loss to trigger an alarm state." | 3847 | msgid "percentage of packet loss to trigger an alarm state." |
3554 | msgstr "" | 3848 | msgstr "" |
3555 | 3849 | ||
3556 | #: plugins/check_ping.c:590 | 3850 | #: plugins/check_ping.c:592 |
3557 | #, fuzzy | 3851 | #, fuzzy |
3558 | msgid "" | 3852 | msgid "" |
3559 | "This plugin uses the ping command to probe the specified host for packet loss" | 3853 | "This plugin uses the ping command to probe the specified host for packet loss" |
3560 | msgstr "Dieses plugin testet Gameserververbindungen zum angegebenen Host." | 3854 | msgstr "Dieses plugin testet Gameserververbindungen zum angegebenen Host." |
3561 | 3855 | ||
3562 | #: plugins/check_ping.c:591 | 3856 | #: plugins/check_ping.c:593 |
3563 | msgid "" | 3857 | msgid "" |
3564 | "(percentage) and round trip average (milliseconds). It can produce HTML " | 3858 | "(percentage) and round trip average (milliseconds). It can produce HTML " |
3565 | "output" | 3859 | "output" |
3566 | msgstr "" | 3860 | msgstr "" |
3567 | 3861 | ||
3568 | #: plugins/check_ping.c:592 | 3862 | #: plugins/check_ping.c:594 |
3569 | msgid "" | 3863 | msgid "" |
3570 | "linking to a traceroute CGI contributed by Ian Cass. The CGI can be found in" | 3864 | "linking to a traceroute CGI contributed by Ian Cass. The CGI can be found in" |
3571 | msgstr "" | 3865 | msgstr "" |
3572 | 3866 | ||
3573 | #: plugins/check_ping.c:593 | 3867 | #: plugins/check_ping.c:595 |
3574 | msgid "the contrib area of the downloads section at http://www.nagios.org/" | 3868 | msgid "the contrib area of the downloads section at http://www.nagios.org/" |
3575 | msgstr "" | 3869 | msgstr "" |
3576 | 3870 | ||
3577 | #: plugins/check_procs.c:159 | 3871 | #: plugins/check_procs.c:193 |
3578 | #, c-format | 3872 | #, c-format |
3579 | msgid "CMD: %s\n" | 3873 | msgid "CMD: %s\n" |
3580 | msgstr "" | 3874 | msgstr "" |
3581 | 3875 | ||
3582 | #: plugins/check_procs.c:164 | 3876 | #: plugins/check_procs.c:198 |
3583 | msgid "System call sent warnings to stderr" | 3877 | msgid "System call sent warnings to stderr" |
3584 | msgstr "" | 3878 | msgstr "" |
3585 | 3879 | ||
3586 | #: plugins/check_procs.c:265 | 3880 | #: plugins/check_procs.c:326 |
3587 | #, c-format | 3881 | #, c-format |
3588 | msgid "Not parseable: %s" | 3882 | msgid "Not parseable: %s" |
3589 | msgstr "" | 3883 | msgstr "" |
3590 | 3884 | ||
3591 | #: plugins/check_procs.c:270 | 3885 | #: plugins/check_procs.c:331 |
3592 | #, c-format | 3886 | #, c-format |
3593 | msgid "Unable to read output\n" | 3887 | msgid "Unable to read output\n" |
3594 | msgstr "" | 3888 | msgstr "" |
3595 | 3889 | ||
3596 | #: plugins/check_procs.c:287 | 3890 | #: plugins/check_procs.c:348 |
3597 | #, c-format | 3891 | #, c-format |
3598 | msgid "%d warn out of " | 3892 | msgid "%d warn out of " |
3599 | msgstr "" | 3893 | msgstr "" |
3600 | 3894 | ||
3601 | #: plugins/check_procs.c:292 | 3895 | #: plugins/check_procs.c:353 |
3602 | #, c-format | 3896 | #, c-format |
3603 | msgid "%d crit, %d warn out of " | 3897 | msgid "%d crit, %d warn out of " |
3604 | msgstr "" | 3898 | msgstr "" |
3605 | 3899 | ||
3606 | #: plugins/check_procs.c:298 | 3900 | #: plugins/check_procs.c:359 |
3607 | #, c-format | 3901 | #, c-format |
3608 | msgid " with %s" | 3902 | msgid " with %s" |
3609 | msgstr "" | 3903 | msgstr "" |
3610 | 3904 | ||
3611 | #: plugins/check_procs.c:378 | 3905 | #: plugins/check_procs.c:453 |
3612 | #, fuzzy | ||
3613 | msgid "Critical Process Count must be an integer!" | ||
3614 | msgstr "Critical threshold muss ein Integer sein" | ||
3615 | |||
3616 | #: plugins/check_procs.c:390 | ||
3617 | #, fuzzy | ||
3618 | msgid "Warning Process Count must be an integer!" | ||
3619 | msgstr "Warning threshold Integer sein" | ||
3620 | |||
3621 | #: plugins/check_procs.c:398 | ||
3622 | #, fuzzy | 3906 | #, fuzzy |
3623 | msgid "Parent Process ID must be an integer!" | 3907 | msgid "Parent Process ID must be an integer!" |
3624 | msgstr "Argument für check_dummy muss ein Integer sein" | 3908 | msgstr "Argument für check_dummy muss ein Integer sein" |
3625 | 3909 | ||
3626 | #: plugins/check_procs.c:404 plugins/check_procs.c:518 | 3910 | #: plugins/check_procs.c:459 plugins/check_procs.c:586 |
3627 | #, c-format | 3911 | #, c-format |
3628 | msgid "%s%sSTATE = %s" | 3912 | msgid "%s%sSTATE = %s" |
3629 | msgstr "" | 3913 | msgstr "" |
3630 | 3914 | ||
3631 | #: plugins/check_procs.c:413 | 3915 | #: plugins/check_procs.c:468 |
3632 | #, fuzzy | 3916 | #, fuzzy |
3633 | msgid "UID was not found" | 3917 | msgid "UID was not found" |
3634 | msgstr "%s [%s nicht gefunden]" | 3918 | msgstr "%s [%s nicht gefunden]" |
3635 | 3919 | ||
3636 | #: plugins/check_procs.c:419 | 3920 | #: plugins/check_procs.c:474 |
3637 | #, fuzzy | 3921 | #, fuzzy |
3638 | msgid "User name was not found" | 3922 | msgid "User name was not found" |
3639 | msgstr "%s [%s nicht gefunden]" | 3923 | msgstr "%s [%s nicht gefunden]" |
3640 | 3924 | ||
3641 | #: plugins/check_procs.c:434 | 3925 | #: plugins/check_procs.c:489 |
3642 | #, c-format | 3926 | #, c-format |
3643 | msgid "%s%scommand name '%s'" | 3927 | msgid "%s%scommand name '%s'" |
3644 | msgstr "" | 3928 | msgstr "" |
3645 | 3929 | ||
3646 | #: plugins/check_procs.c:462 | 3930 | #: plugins/check_procs.c:524 |
3647 | #, fuzzy | 3931 | #, fuzzy |
3648 | msgid "RSS must be an integer!" | 3932 | msgid "RSS must be an integer!" |
3649 | msgstr "skip lines muss ein Integer sein" | 3933 | msgstr "skip lines muss ein Integer sein" |
3650 | 3934 | ||
3651 | #: plugins/check_procs.c:469 | 3935 | #: plugins/check_procs.c:531 |
3652 | #, fuzzy | 3936 | #, fuzzy |
3653 | msgid "VSZ must be an integer!" | 3937 | msgid "VSZ must be an integer!" |
3654 | msgstr "skip lines muss ein Integer sein" | 3938 | msgstr "skip lines muss ein Integer sein" |
3655 | 3939 | ||
3656 | #: plugins/check_procs.c:477 | 3940 | #: plugins/check_procs.c:539 |
3657 | msgid "PCPU must be a float!" | 3941 | msgid "PCPU must be a float!" |
3658 | msgstr "" | 3942 | msgstr "" |
3659 | 3943 | ||
3660 | #: plugins/check_procs.c:501 | 3944 | #: plugins/check_procs.c:563 |
3661 | msgid "Metric must be one of PROCS, VSZ, RSS, CPU, ELAPSED!" | 3945 | msgid "Metric must be one of PROCS, VSZ, RSS, CPU, ELAPSED!" |
3662 | msgstr "" | 3946 | msgstr "" |
3663 | 3947 | ||
3664 | #: plugins/check_procs.c:537 | 3948 | #: plugins/check_procs.c:694 |
3665 | #, c-format | ||
3666 | msgid "wmax (%d) cannot be greater than cmax (%d)\n" | ||
3667 | msgstr "" | ||
3668 | |||
3669 | #: plugins/check_procs.c:541 | ||
3670 | #, c-format | ||
3671 | msgid "wmin (%d) cannot be less than cmin (%d)\n" | ||
3672 | msgstr "" | ||
3673 | |||
3674 | #: plugins/check_procs.c:678 | ||
3675 | msgid "" | 3949 | msgid "" |
3676 | "Checks all processes and generates WARNING or CRITICAL states if the " | 3950 | "Checks all processes and generates WARNING or CRITICAL states if the " |
3677 | "specified" | 3951 | "specified" |
3678 | msgstr "" | 3952 | msgstr "" |
3679 | 3953 | ||
3680 | #: plugins/check_procs.c:679 | 3954 | #: plugins/check_procs.c:695 |
3681 | msgid "" | 3955 | msgid "" |
3682 | "metric is outside the required threshold ranges. The metric defaults to " | 3956 | "metric is outside the required threshold ranges. The metric defaults to " |
3683 | "number" | 3957 | "number" |
3684 | msgstr "" | 3958 | msgstr "" |
3685 | 3959 | ||
3686 | #: plugins/check_procs.c:680 | 3960 | #: plugins/check_procs.c:696 |
3687 | msgid "" | 3961 | msgid "" |
3688 | "of processes. Search filters can be applied to limit the processes to check." | 3962 | "of processes. Search filters can be applied to limit the processes to check." |
3689 | msgstr "" | 3963 | msgstr "" |
3690 | 3964 | ||
3691 | #: plugins/check_procs.c:689 | 3965 | #: plugins/check_procs.c:705 |
3692 | msgid "Generate warning state if metric is outside this range" | 3966 | msgid "Generate warning state if metric is outside this range" |
3693 | msgstr "" | 3967 | msgstr "" |
3694 | 3968 | ||
3695 | #: plugins/check_procs.c:691 | 3969 | #: plugins/check_procs.c:707 |
3696 | msgid "Generate critical state if metric is outside this range" | 3970 | msgid "Generate critical state if metric is outside this range" |
3697 | msgstr "" | 3971 | msgstr "" |
3698 | 3972 | ||
3699 | #: plugins/check_procs.c:693 | 3973 | #: plugins/check_procs.c:709 |
3700 | msgid "Check thresholds against metric. Valid types:" | 3974 | msgid "Check thresholds against metric. Valid types:" |
3701 | msgstr "" | 3975 | msgstr "" |
3702 | 3976 | ||
3703 | #: plugins/check_procs.c:694 | 3977 | #: plugins/check_procs.c:710 |
3704 | msgid "PROCS - number of processes (default)" | 3978 | msgid "PROCS - number of processes (default)" |
3705 | msgstr "" | 3979 | msgstr "" |
3706 | 3980 | ||
3707 | #: plugins/check_procs.c:695 | 3981 | #: plugins/check_procs.c:711 |
3708 | msgid "VSZ - virtual memory size" | 3982 | msgid "VSZ - virtual memory size" |
3709 | msgstr "" | 3983 | msgstr "" |
3710 | 3984 | ||
3711 | #: plugins/check_procs.c:696 | 3985 | #: plugins/check_procs.c:712 |
3712 | msgid "RSS - resident set memory size" | 3986 | msgid "RSS - resident set memory size" |
3713 | msgstr "" | 3987 | msgstr "" |
3714 | 3988 | ||
3715 | #: plugins/check_procs.c:697 | 3989 | #: plugins/check_procs.c:713 |
3716 | msgid "CPU - percentage CPU" | 3990 | msgid "CPU - percentage CPU" |
3717 | msgstr "" | 3991 | msgstr "" |
3718 | 3992 | ||
3719 | #: plugins/check_procs.c:700 | 3993 | #: plugins/check_procs.c:716 |
3720 | msgid "ELAPSED - time elapsed in seconds" | 3994 | msgid "ELAPSED - time elapsed in seconds" |
3721 | msgstr "" | 3995 | msgstr "" |
3722 | 3996 | ||
3723 | #: plugins/check_procs.c:705 | 3997 | #: plugins/check_procs.c:721 |
3724 | msgid "Extra information. Up to 3 verbosity levels" | 3998 | msgid "Extra information. Up to 3 verbosity levels" |
3725 | msgstr "" | 3999 | msgstr "" |
3726 | 4000 | ||
3727 | #: plugins/check_procs.c:710 | 4001 | #: plugins/check_procs.c:724 |
4002 | msgid "Filter own process the traditional way by PID instead of /proc/pid/exe" | ||
4003 | msgstr "" | ||
4004 | |||
4005 | #: plugins/check_procs.c:729 | ||
3728 | msgid "Only scan for processes that have, in the output of `ps`, one or" | 4006 | msgid "Only scan for processes that have, in the output of `ps`, one or" |
3729 | msgstr "" | 4007 | msgstr "" |
3730 | 4008 | ||
3731 | #: plugins/check_procs.c:711 | 4009 | #: plugins/check_procs.c:730 |
3732 | msgid "more of the status flags you specify (for example R, Z, S, RS," | 4010 | msgid "more of the status flags you specify (for example R, Z, S, RS," |
3733 | msgstr "" | 4011 | msgstr "" |
3734 | 4012 | ||
3735 | #: plugins/check_procs.c:712 | 4013 | #: plugins/check_procs.c:731 |
3736 | msgid "RSZDT, plus others based on the output of your 'ps' command)." | 4014 | msgid "RSZDT, plus others based on the output of your 'ps' command)." |
3737 | msgstr "" | 4015 | msgstr "" |
3738 | 4016 | ||
3739 | #: plugins/check_procs.c:714 | 4017 | #: plugins/check_procs.c:733 |
3740 | msgid "Only scan for children of the parent process ID indicated." | 4018 | msgid "Only scan for children of the parent process ID indicated." |
3741 | msgstr "" | 4019 | msgstr "" |
3742 | 4020 | ||
3743 | #: plugins/check_procs.c:716 | 4021 | #: plugins/check_procs.c:735 |
3744 | msgid "Only scan for processes with VSZ higher than indicated." | 4022 | msgid "Only scan for processes with VSZ higher than indicated." |
3745 | msgstr "" | 4023 | msgstr "" |
3746 | 4024 | ||
3747 | #: plugins/check_procs.c:718 | 4025 | #: plugins/check_procs.c:737 |
3748 | msgid "Only scan for processes with RSS higher than indicated." | 4026 | msgid "Only scan for processes with RSS higher than indicated." |
3749 | msgstr "" | 4027 | msgstr "" |
3750 | 4028 | ||
3751 | #: plugins/check_procs.c:720 | 4029 | #: plugins/check_procs.c:739 |
3752 | msgid "Only scan for processes with PCPU higher than indicated." | 4030 | msgid "Only scan for processes with PCPU higher than indicated." |
3753 | msgstr "" | 4031 | msgstr "" |
3754 | 4032 | ||
3755 | #: plugins/check_procs.c:722 | 4033 | #: plugins/check_procs.c:741 |
3756 | msgid "Only scan for processes with user name or ID indicated." | 4034 | msgid "Only scan for processes with user name or ID indicated." |
3757 | msgstr "" | 4035 | msgstr "" |
3758 | 4036 | ||
3759 | #: plugins/check_procs.c:724 | 4037 | #: plugins/check_procs.c:743 |
3760 | msgid "Only scan for processes with args that contain STRING." | 4038 | msgid "Only scan for processes with args that contain STRING." |
3761 | msgstr "" | 4039 | msgstr "" |
3762 | 4040 | ||
3763 | #: plugins/check_procs.c:726 | 4041 | #: plugins/check_procs.c:745 |
3764 | msgid "Only scan for processes with args that contain the regex STRING." | 4042 | msgid "Only scan for processes with args that contain the regex STRING." |
3765 | msgstr "" | 4043 | msgstr "" |
3766 | 4044 | ||
3767 | #: plugins/check_procs.c:728 | 4045 | #: plugins/check_procs.c:747 |
3768 | msgid "Only scan for exact matches of COMMAND (without path)." | 4046 | msgid "Only scan for exact matches of COMMAND (without path)." |
3769 | msgstr "" | 4047 | msgstr "" |
3770 | 4048 | ||
3771 | #: plugins/check_procs.c:730 | 4049 | #: plugins/check_procs.c:749 |
4050 | msgid "Only scan for non kernel threads (works on Linux only)." | ||
4051 | msgstr "" | ||
4052 | |||
4053 | #: plugins/check_procs.c:751 | ||
3772 | #, c-format | 4054 | #, c-format |
3773 | msgid "" | 4055 | msgid "" |
3774 | "\n" | 4056 | "\n" |
@@ -3778,7 +4060,7 @@ msgid "" | |||
3778 | "\n" | 4060 | "\n" |
3779 | msgstr "" | 4061 | msgstr "" |
3780 | 4062 | ||
3781 | #: plugins/check_procs.c:735 | 4063 | #: plugins/check_procs.c:756 |
3782 | #, c-format | 4064 | #, c-format |
3783 | msgid "" | 4065 | msgid "" |
3784 | "This plugin checks the number of currently running processes and\n" | 4066 | "This plugin checks the number of currently running processes and\n" |
@@ -3789,27 +4071,27 @@ msgid "" | |||
3789 | "\n" | 4071 | "\n" |
3790 | msgstr "" | 4072 | msgstr "" |
3791 | 4073 | ||
3792 | #: plugins/check_procs.c:744 | 4074 | #: plugins/check_procs.c:765 |
3793 | msgid "Warning if not two processes with command name portsentry." | 4075 | msgid "Warning if not two processes with command name portsentry." |
3794 | msgstr "" | 4076 | msgstr "" |
3795 | 4077 | ||
3796 | #: plugins/check_procs.c:745 | 4078 | #: plugins/check_procs.c:766 |
3797 | msgid "Critical if < 2 or > 1024 processes" | 4079 | msgid "Critical if < 2 or > 1024 processes" |
3798 | msgstr "" | 4080 | msgstr "" |
3799 | 4081 | ||
3800 | #: plugins/check_procs.c:747 | 4082 | #: plugins/check_procs.c:768 |
3801 | msgid "Warning alert if > 10 processes with command arguments containing" | 4083 | msgid "Warning alert if > 10 processes with command arguments containing" |
3802 | msgstr "" | 4084 | msgstr "" |
3803 | 4085 | ||
3804 | #: plugins/check_procs.c:748 | 4086 | #: plugins/check_procs.c:769 |
3805 | msgid "'/usr/local/bin/perl' and owned by root" | 4087 | msgid "'/usr/local/bin/perl' and owned by root" |
3806 | msgstr "" | 4088 | msgstr "" |
3807 | 4089 | ||
3808 | #: plugins/check_procs.c:750 | 4090 | #: plugins/check_procs.c:771 |
3809 | msgid "Alert if VSZ of any processes over 50K or 100K" | 4091 | msgid "Alert if VSZ of any processes over 50K or 100K" |
3810 | msgstr "" | 4092 | msgstr "" |
3811 | 4093 | ||
3812 | #: plugins/check_procs.c:752 | 4094 | #: plugins/check_procs.c:773 |
3813 | #, c-format | 4095 | #, c-format |
3814 | msgid "Alert if CPU of any processes over 10%% or 20%%" | 4096 | msgid "Alert if CPU of any processes over 10%% or 20%%" |
3815 | msgstr "" | 4097 | msgstr "" |
@@ -3941,7 +4223,7 @@ msgid "" | |||
3941 | msgstr "" | 4223 | msgstr "" |
3942 | 4224 | ||
3943 | #: plugins/check_radius.c:373 | 4225 | #: plugins/check_radius.c:373 |
3944 | msgid "in a process listing. This risk is exacerbated because nagios will" | 4226 | msgid "in a process listing. This risk is exacerbated because the monitor will" |
3945 | msgstr "" | 4227 | msgstr "" |
3946 | 4228 | ||
3947 | #: plugins/check_radius.c:374 | 4229 | #: plugins/check_radius.c:374 |
@@ -3972,7 +4254,7 @@ msgstr "Ungültige HTTP Antwort von Host empfangen\n" | |||
3972 | msgid "Invalid REAL response received from host on port %d\n" | 4254 | msgid "Invalid REAL response received from host on port %d\n" |
3973 | msgstr "" | 4255 | msgstr "" |
3974 | 4256 | ||
3975 | #: plugins/check_real.c:184 plugins/check_tcp.c:292 | 4257 | #: plugins/check_real.c:184 plugins/check_tcp.c:311 |
3976 | #, c-format | 4258 | #, c-format |
3977 | msgid "No data received from host\n" | 4259 | msgid "No data received from host\n" |
3978 | msgstr "" | 4260 | msgstr "" |
@@ -3982,11 +4264,11 @@ msgstr "" | |||
3982 | msgid "REAL %s - %d second response time\n" | 4264 | msgid "REAL %s - %d second response time\n" |
3983 | msgstr "" | 4265 | msgstr "" |
3984 | 4266 | ||
3985 | #: plugins/check_real.c:336 plugins/check_smtp.c:576 plugins/check_ups.c:536 | 4267 | #: plugins/check_real.c:336 plugins/check_ups.c:536 |
3986 | msgid "Warning time must be a positive integer" | 4268 | msgid "Warning time must be a positive integer" |
3987 | msgstr "Warnung time muss ein positiver Integer sein" | 4269 | msgstr "Warnung time muss ein positiver Integer sein" |
3988 | 4270 | ||
3989 | #: plugins/check_real.c:345 plugins/check_smtp.c:567 plugins/check_ups.c:527 | 4271 | #: plugins/check_real.c:345 plugins/check_ups.c:527 |
3990 | msgid "Critical time must be a positive integer" | 4272 | msgid "Critical time must be a positive integer" |
3991 | msgstr "Critical time muss ein positiver Integer sein" | 4273 | msgstr "Critical time muss ein positiver Integer sein" |
3992 | 4274 | ||
@@ -4016,7 +4298,7 @@ msgstr "" | |||
4016 | msgid "This plugin will attempt to open an RTSP connection with the host." | 4298 | msgid "This plugin will attempt to open an RTSP connection with the host." |
4017 | msgstr "Dieses plugin testet Gameserververbindungen zum angegebenen Host." | 4299 | msgstr "Dieses plugin testet Gameserververbindungen zum angegebenen Host." |
4018 | 4300 | ||
4019 | #: plugins/check_real.c:438 plugins/check_smtp.c:808 | 4301 | #: plugins/check_real.c:438 plugins/check_smtp.c:830 |
4020 | msgid "Successul connects return STATE_OK, refusals and timeouts return" | 4302 | msgid "Successul connects return STATE_OK, refusals and timeouts return" |
4021 | msgstr "" | 4303 | msgstr "" |
4022 | 4304 | ||
@@ -4034,511 +4316,524 @@ msgstr "" | |||
4034 | msgid "values." | 4316 | msgid "values." |
4035 | msgstr "" | 4317 | msgstr "" |
4036 | 4318 | ||
4037 | #: plugins/check_smtp.c:146 plugins/check_swap.c:265 plugins/check_swap.c:271 | 4319 | #: plugins/check_smtp.c:150 plugins/check_swap.c:265 plugins/check_swap.c:271 |
4038 | #, c-format | 4320 | #, c-format |
4039 | msgid "malloc() failed!\n" | 4321 | msgid "malloc() failed!\n" |
4040 | msgstr "" | 4322 | msgstr "" |
4041 | 4323 | ||
4042 | #: plugins/check_smtp.c:150 | 4324 | #: plugins/check_smtp.c:154 |
4043 | #, c-format | 4325 | #, c-format |
4044 | msgid "gethostname() failed!\n" | 4326 | msgid "gethostname() failed!\n" |
4045 | msgstr "" | 4327 | msgstr "" |
4046 | 4328 | ||
4047 | #: plugins/check_smtp.c:185 plugins/check_smtp.c:209 | 4329 | #: plugins/check_smtp.c:189 plugins/check_smtp.c:213 |
4048 | #, c-format | 4330 | #, c-format |
4049 | msgid "recv() failed\n" | 4331 | msgid "recv() failed\n" |
4050 | msgstr "" | 4332 | msgstr "" |
4051 | 4333 | ||
4052 | #: plugins/check_smtp.c:196 | 4334 | #: plugins/check_smtp.c:200 |
4053 | #, fuzzy, c-format | 4335 | #, fuzzy, c-format |
4054 | msgid "Invalid SMTP response received from host: %s\n" | 4336 | msgid "Invalid SMTP response received from host: %s\n" |
4055 | msgstr "Ungültige HTTP Antwort von Host empfangen\n" | 4337 | msgstr "Ungültige HTTP Antwort von Host empfangen\n" |
4056 | 4338 | ||
4057 | #: plugins/check_smtp.c:198 | 4339 | #: plugins/check_smtp.c:202 |
4058 | #, fuzzy, c-format | 4340 | #, fuzzy, c-format |
4059 | msgid "Invalid SMTP response received from host on port %d: %s\n" | 4341 | msgid "Invalid SMTP response received from host on port %d: %s\n" |
4060 | msgstr "Ungültige HTTP Antwort von Host erhalten auf Port %d\n" | 4342 | msgstr "Ungültige HTTP Antwort von Host erhalten auf Port %d\n" |
4061 | 4343 | ||
4062 | #: plugins/check_smtp.c:219 | 4344 | #: plugins/check_smtp.c:223 |
4063 | #, c-format | 4345 | #, c-format |
4064 | msgid "WARNING - TLS not supported by server\n" | 4346 | msgid "WARNING - TLS not supported by server\n" |
4065 | msgstr "" | 4347 | msgstr "" |
4066 | 4348 | ||
4067 | #: plugins/check_smtp.c:231 | 4349 | #: plugins/check_smtp.c:235 |
4068 | #, c-format | 4350 | #, c-format |
4069 | msgid "Server does not support STARTTLS\n" | 4351 | msgid "Server does not support STARTTLS\n" |
4070 | msgstr "" | 4352 | msgstr "" |
4071 | 4353 | ||
4072 | #: plugins/check_smtp.c:237 | 4354 | #: plugins/check_smtp.c:241 |
4073 | #, c-format | 4355 | #, c-format |
4074 | msgid "CRITICAL - Cannot create SSL context.\n" | 4356 | msgid "CRITICAL - Cannot create SSL context.\n" |
4075 | msgstr "" | 4357 | msgstr "" |
4076 | 4358 | ||
4077 | #: plugins/check_smtp.c:257 | 4359 | #: plugins/check_smtp.c:261 |
4078 | msgid "SMTP UNKNOWN - Cannot send EHLO command via TLS." | 4360 | msgid "SMTP UNKNOWN - Cannot send EHLO command via TLS." |
4079 | msgstr "" | 4361 | msgstr "" |
4080 | 4362 | ||
4081 | #: plugins/check_smtp.c:262 | 4363 | #: plugins/check_smtp.c:266 |
4082 | #, c-format | 4364 | #, c-format |
4083 | msgid "sent %s" | 4365 | msgid "sent %s" |
4084 | msgstr "" | 4366 | msgstr "" |
4085 | 4367 | ||
4086 | #: plugins/check_smtp.c:264 | 4368 | #: plugins/check_smtp.c:268 |
4087 | msgid "SMTP UNKNOWN - Cannot read EHLO response via TLS." | 4369 | msgid "SMTP UNKNOWN - Cannot read EHLO response via TLS." |
4088 | msgstr "" | 4370 | msgstr "" |
4089 | 4371 | ||
4090 | #: plugins/check_smtp.c:276 | 4372 | #: plugins/check_smtp.c:303 plugins/check_snmp.c:806 |
4091 | #, fuzzy | ||
4092 | msgid "CRITICAL - Cannot retrieve server certificate." | ||
4093 | msgstr "CRITICAL - Konnte kein Serverzertifikat erhalten\n" | ||
4094 | |||
4095 | #: plugins/check_smtp.c:311 plugins/check_snmp.c:722 | ||
4096 | #, c-format | 4373 | #, c-format |
4097 | msgid "Could Not Compile Regular Expression" | 4374 | msgid "Could Not Compile Regular Expression" |
4098 | msgstr "" | 4375 | msgstr "" |
4099 | 4376 | ||
4100 | #: plugins/check_smtp.c:320 | 4377 | #: plugins/check_smtp.c:312 |
4101 | #, c-format | 4378 | #, c-format |
4102 | msgid "SMTP %s - Invalid response '%s' to command '%s'\n" | 4379 | msgid "SMTP %s - Invalid response '%s' to command '%s'\n" |
4103 | msgstr "" | 4380 | msgstr "" |
4104 | 4381 | ||
4105 | #: plugins/check_smtp.c:324 plugins/check_snmp.c:453 | 4382 | #: plugins/check_smtp.c:316 plugins/check_snmp.c:511 |
4106 | #, c-format | 4383 | #, c-format |
4107 | msgid "Execute Error: %s\n" | 4384 | msgid "Execute Error: %s\n" |
4108 | msgstr "" | 4385 | msgstr "" |
4109 | 4386 | ||
4110 | #: plugins/check_smtp.c:338 | 4387 | #: plugins/check_smtp.c:330 |
4111 | #, c-format | ||
4112 | msgid "no authuser specified, " | 4388 | msgid "no authuser specified, " |
4113 | msgstr "" | 4389 | msgstr "" |
4114 | 4390 | ||
4115 | #: plugins/check_smtp.c:343 | 4391 | #: plugins/check_smtp.c:335 |
4116 | #, c-format | ||
4117 | msgid "no authpass specified, " | 4392 | msgid "no authpass specified, " |
4118 | msgstr "" | 4393 | msgstr "" |
4119 | 4394 | ||
4120 | #: plugins/check_smtp.c:350 plugins/check_smtp.c:372 plugins/check_smtp.c:393 | 4395 | #: plugins/check_smtp.c:342 plugins/check_smtp.c:363 plugins/check_smtp.c:383 |
4121 | #: plugins/check_smtp.c:668 | 4396 | #: plugins/check_smtp.c:688 |
4122 | #, c-format | 4397 | #, c-format |
4123 | msgid "sent %s\n" | 4398 | msgid "sent %s\n" |
4124 | msgstr "" | 4399 | msgstr "" |
4125 | 4400 | ||
4126 | #: plugins/check_smtp.c:353 | 4401 | #: plugins/check_smtp.c:345 |
4127 | #, fuzzy, c-format | 4402 | #, fuzzy |
4128 | msgid "recv() failed after AUTH LOGIN, " | 4403 | msgid "recv() failed after AUTH LOGIN, " |
4129 | msgstr "Ungültige HTTP Antwort von Host empfangen\n" | 4404 | msgstr "Ungültige HTTP Antwort von Host empfangen\n" |
4130 | 4405 | ||
4131 | #: plugins/check_smtp.c:358 plugins/check_smtp.c:380 plugins/check_smtp.c:401 | 4406 | #: plugins/check_smtp.c:350 plugins/check_smtp.c:371 plugins/check_smtp.c:391 |
4132 | #: plugins/check_smtp.c:679 | 4407 | #: plugins/check_smtp.c:699 |
4133 | #, fuzzy, c-format | 4408 | #, fuzzy, c-format |
4134 | msgid "received %s\n" | 4409 | msgid "received %s\n" |
4135 | msgstr "Keine Daten empfangen %s\n" | 4410 | msgstr "Keine Daten empfangen %s\n" |
4136 | 4411 | ||
4137 | #: plugins/check_smtp.c:362 | 4412 | #: plugins/check_smtp.c:354 |
4138 | #, fuzzy, c-format | 4413 | #, fuzzy |
4139 | msgid "invalid response received after AUTH LOGIN, " | 4414 | msgid "invalid response received after AUTH LOGIN, " |
4140 | msgstr "Ungültige HTTP Antwort von Host empfangen\n" | 4415 | msgstr "Ungültige HTTP Antwort von Host empfangen\n" |
4141 | 4416 | ||
4142 | #: plugins/check_smtp.c:376 | 4417 | #: plugins/check_smtp.c:367 |
4143 | #, c-format | ||
4144 | msgid "recv() failed after sending authuser, " | 4418 | msgid "recv() failed after sending authuser, " |
4145 | msgstr "" | 4419 | msgstr "" |
4146 | 4420 | ||
4147 | #: plugins/check_smtp.c:384 | 4421 | #: plugins/check_smtp.c:375 |
4148 | #, fuzzy, c-format | 4422 | #, fuzzy |
4149 | msgid "invalid response received after authuser, " | 4423 | msgid "invalid response received after authuser, " |
4150 | msgstr "Ungültige HTTP Antwort von Host empfangen\n" | 4424 | msgstr "Ungültige HTTP Antwort von Host empfangen\n" |
4151 | 4425 | ||
4152 | #: plugins/check_smtp.c:397 | 4426 | #: plugins/check_smtp.c:387 |
4153 | #, c-format | ||
4154 | msgid "recv() failed after sending authpass, " | 4427 | msgid "recv() failed after sending authpass, " |
4155 | msgstr "" | 4428 | msgstr "" |
4156 | 4429 | ||
4157 | #: plugins/check_smtp.c:405 | 4430 | #: plugins/check_smtp.c:395 |
4158 | #, fuzzy, c-format | 4431 | #, fuzzy |
4159 | msgid "invalid response received after authpass, " | 4432 | msgid "invalid response received after authpass, " |
4160 | msgstr "Ungültige HTTP Antwort von Host empfangen\n" | 4433 | msgstr "Ungültige HTTP Antwort von Host empfangen\n" |
4161 | 4434 | ||
4162 | #: plugins/check_smtp.c:412 | 4435 | #: plugins/check_smtp.c:402 |
4163 | #, c-format | ||
4164 | msgid "only authtype LOGIN is supported, " | 4436 | msgid "only authtype LOGIN is supported, " |
4165 | msgstr "" | 4437 | msgstr "" |
4166 | 4438 | ||
4167 | #: plugins/check_smtp.c:436 | 4439 | #: plugins/check_smtp.c:426 |
4168 | #, fuzzy, c-format | 4440 | #, fuzzy, c-format |
4169 | msgid "SMTP %s - %s%.3f sec. response time%s%s|%s\n" | 4441 | msgid "SMTP %s - %s%.3f sec. response time%s%s|%s\n" |
4170 | msgstr " - %s - %.3f Sekunden Antwortzeit %s%s|%s %s\n" | 4442 | msgstr " - %s - %.3f Sekunden Antwortzeit %s%s|%s %s\n" |
4171 | 4443 | ||
4172 | #: plugins/check_smtp.c:543 plugins/check_smtp.c:555 | 4444 | #: plugins/check_smtp.c:536 plugins/check_smtp.c:548 |
4173 | #, c-format | 4445 | #, c-format |
4174 | msgid "Could not realloc() units [%d]\n" | 4446 | msgid "Could not realloc() units [%d]\n" |
4175 | msgstr "" | 4447 | msgstr "" |
4176 | 4448 | ||
4177 | #: plugins/check_smtp.c:603 | 4449 | #: plugins/check_smtp.c:556 |
4450 | #, fuzzy | ||
4451 | msgid "Critical time must be a positive" | ||
4452 | msgstr "Critical time muss ein positiver Integer sein" | ||
4453 | |||
4454 | #: plugins/check_smtp.c:564 | ||
4455 | #, fuzzy | ||
4456 | msgid "Warning time must be a positive" | ||
4457 | msgstr "Warnung time muss ein positiver Integer sein" | ||
4458 | |||
4459 | #: plugins/check_smtp.c:611 | ||
4178 | msgid "SSL support not available - install OpenSSL and recompile" | 4460 | msgid "SSL support not available - install OpenSSL and recompile" |
4179 | msgstr "" | 4461 | msgstr "" |
4180 | 4462 | ||
4181 | #: plugins/check_smtp.c:674 | 4463 | #: plugins/check_smtp.c:679 plugins/check_smtp.c:684 |
4464 | #, c-format | ||
4465 | msgid "Connection closed by server before sending QUIT command\n" | ||
4466 | msgstr "" | ||
4467 | |||
4468 | #: plugins/check_smtp.c:694 | ||
4182 | #, fuzzy, c-format | 4469 | #, fuzzy, c-format |
4183 | msgid "recv() failed after QUIT." | 4470 | msgid "recv() failed after QUIT." |
4184 | msgstr "Ungültige HTTP Antwort von Host empfangen\n" | 4471 | msgstr "Ungültige HTTP Antwort von Host empfangen\n" |
4185 | 4472 | ||
4186 | #: plugins/check_smtp.c:676 | 4473 | #: plugins/check_smtp.c:696 |
4187 | #, c-format | 4474 | #, c-format |
4188 | msgid "Connection reset by peer." | 4475 | msgid "Connection reset by peer." |
4189 | msgstr "" | 4476 | msgstr "" |
4190 | 4477 | ||
4191 | #: plugins/check_smtp.c:764 | 4478 | #: plugins/check_smtp.c:784 |
4192 | #, fuzzy | 4479 | #, fuzzy |
4193 | msgid "This plugin will attempt to open an SMTP connection with the host." | 4480 | msgid "This plugin will attempt to open an SMTP connection with the host." |
4194 | msgstr "Dieses plugin testet Gameserververbindungen zum angegebenen Host." | 4481 | msgstr "Dieses plugin testet Gameserververbindungen zum angegebenen Host." |
4195 | 4482 | ||
4196 | #: plugins/check_smtp.c:778 | 4483 | #: plugins/check_smtp.c:798 |
4197 | #, c-format | 4484 | #, c-format |
4198 | msgid " String to expect in first line of server response (default: '%s')\n" | 4485 | msgid " String to expect in first line of server response (default: '%s')\n" |
4199 | msgstr "" | 4486 | msgstr "" |
4200 | 4487 | ||
4201 | #: plugins/check_smtp.c:780 | 4488 | #: plugins/check_smtp.c:800 |
4202 | msgid "SMTP command (may be used repeatedly)" | 4489 | msgid "SMTP command (may be used repeatedly)" |
4203 | msgstr "" | 4490 | msgstr "" |
4204 | 4491 | ||
4205 | #: plugins/check_smtp.c:782 | 4492 | #: plugins/check_smtp.c:802 |
4206 | msgid "Expected response to command (may be used repeatedly)" | 4493 | msgid "Expected response to command (may be used repeatedly)" |
4207 | msgstr "" | 4494 | msgstr "" |
4208 | 4495 | ||
4209 | #: plugins/check_smtp.c:784 | 4496 | #: plugins/check_smtp.c:804 |
4210 | msgid "FROM-address to include in MAIL command, required by Exchange 2000" | 4497 | msgid "FROM-address to include in MAIL command, required by Exchange 2000" |
4211 | msgstr "" | 4498 | msgstr "" |
4212 | 4499 | ||
4213 | #: plugins/check_smtp.c:786 | 4500 | #: plugins/check_smtp.c:806 |
4214 | msgid "FQDN used for HELO" | 4501 | msgid "FQDN used for HELO" |
4215 | msgstr "" | 4502 | msgstr "" |
4216 | 4503 | ||
4217 | #: plugins/check_smtp.c:789 plugins/check_tcp.c:633 | 4504 | #: plugins/check_smtp.c:809 plugins/check_tcp.c:665 |
4218 | msgid "Minimum number of days a certificate has to be valid." | 4505 | msgid "Minimum number of days a certificate has to be valid." |
4219 | msgstr "" | 4506 | msgstr "" |
4220 | 4507 | ||
4221 | #: plugins/check_smtp.c:791 | 4508 | #: plugins/check_smtp.c:811 |
4222 | msgid "Use STARTTLS for the connection." | 4509 | msgid "Use STARTTLS for the connection." |
4223 | msgstr "" | 4510 | msgstr "" |
4224 | 4511 | ||
4225 | #: plugins/check_smtp.c:795 | 4512 | #: plugins/check_smtp.c:815 |
4226 | msgid "SMTP AUTH type to check (default none, only LOGIN supported)" | 4513 | msgid "SMTP AUTH type to check (default none, only LOGIN supported)" |
4227 | msgstr "" | 4514 | msgstr "" |
4228 | 4515 | ||
4229 | #: plugins/check_smtp.c:797 | 4516 | #: plugins/check_smtp.c:817 |
4230 | msgid "SMTP AUTH username" | 4517 | msgid "SMTP AUTH username" |
4231 | msgstr "" | 4518 | msgstr "" |
4232 | 4519 | ||
4233 | #: plugins/check_smtp.c:799 | 4520 | #: plugins/check_smtp.c:819 |
4234 | msgid "SMTP AUTH password" | 4521 | msgid "SMTP AUTH password" |
4235 | msgstr "" | 4522 | msgstr "" |
4236 | 4523 | ||
4237 | #: plugins/check_smtp.c:809 | 4524 | #: plugins/check_smtp.c:821 |
4525 | msgid "Ignore failure when sending QUIT command to server" | ||
4526 | msgstr "" | ||
4527 | |||
4528 | #: plugins/check_smtp.c:831 | ||
4238 | msgid "STATE_CRITICAL, other errors return STATE_UNKNOWN. Successful" | 4529 | msgid "STATE_CRITICAL, other errors return STATE_UNKNOWN. Successful" |
4239 | msgstr "" | 4530 | msgstr "" |
4240 | 4531 | ||
4241 | #: plugins/check_smtp.c:810 | 4532 | #: plugins/check_smtp.c:832 |
4242 | msgid "connects, but incorrect reponse messages from the host result in" | 4533 | msgid "connects, but incorrect reponse messages from the host result in" |
4243 | msgstr "" | 4534 | msgstr "" |
4244 | 4535 | ||
4245 | #: plugins/check_smtp.c:811 | 4536 | #: plugins/check_smtp.c:833 |
4246 | msgid "STATE_WARNING return values." | 4537 | msgid "STATE_WARNING return values." |
4247 | msgstr "" | 4538 | msgstr "" |
4248 | 4539 | ||
4249 | #: plugins/check_snmp.c:299 | 4540 | #: plugins/check_snmp.c:169 plugins/check_snmp.c:582 |
4541 | msgid "Cannot malloc" | ||
4542 | msgstr "" | ||
4543 | |||
4544 | #: plugins/check_snmp.c:356 | ||
4250 | #, fuzzy, c-format | 4545 | #, fuzzy, c-format |
4251 | msgid "External command error: %s\n" | 4546 | msgid "External command error: %s\n" |
4252 | msgstr "Papierfehler" | 4547 | msgstr "Papierfehler" |
4253 | 4548 | ||
4254 | #: plugins/check_snmp.c:304 | 4549 | #: plugins/check_snmp.c:361 |
4255 | #, c-format | 4550 | #, c-format |
4256 | msgid "External command error with no output (return code: %d)\n" | 4551 | msgid "External command error with no output (return code: %d)\n" |
4257 | msgstr "" | 4552 | msgstr "" |
4258 | 4553 | ||
4259 | #: plugins/check_snmp.c:410 | 4554 | #: plugins/check_snmp.c:464 |
4260 | msgid "No valid data returned" | 4555 | #, fuzzy, c-format |
4261 | msgstr "" | 4556 | msgid "No valid data returned (%s)\n" |
4557 | msgstr "Keine Daten empfangen %s\n" | ||
4262 | 4558 | ||
4263 | #: plugins/check_snmp.c:417 | 4559 | #: plugins/check_snmp.c:475 |
4264 | msgid "Time duration between plugin calls is invalid" | 4560 | msgid "Time duration between plugin calls is invalid" |
4265 | msgstr "" | 4561 | msgstr "" |
4266 | 4562 | ||
4267 | #: plugins/check_snmp.c:513 | 4563 | #: plugins/check_snmp.c:588 |
4268 | msgid "Cannot malloc" | ||
4269 | msgstr "" | ||
4270 | |||
4271 | #: plugins/check_snmp.c:519 | ||
4272 | msgid "Cannot asprintf()" | 4564 | msgid "Cannot asprintf()" |
4273 | msgstr "" | 4565 | msgstr "" |
4274 | 4566 | ||
4275 | #: plugins/check_snmp.c:525 | 4567 | #: plugins/check_snmp.c:594 |
4276 | msgid "Cannot realloc()" | 4568 | msgid "Cannot realloc()" |
4277 | msgstr "" | 4569 | msgstr "" |
4278 | 4570 | ||
4279 | #: plugins/check_snmp.c:541 | 4571 | #: plugins/check_snmp.c:610 |
4280 | msgid "No previous data to calculate rate - assume okay" | 4572 | msgid "No previous data to calculate rate - assume okay" |
4281 | msgstr "" | 4573 | msgstr "" |
4282 | 4574 | ||
4283 | #: plugins/check_snmp.c:680 | 4575 | #: plugins/check_snmp.c:751 |
4284 | #, fuzzy | 4576 | #, fuzzy |
4285 | msgid "Retries interval must be a positive integer" | 4577 | msgid "Retries interval must be a positive integer" |
4286 | msgstr "Time interval muss ein positiver Integer sein" | 4578 | msgstr "Time interval muss ein positiver Integer sein" |
4287 | 4579 | ||
4288 | #: plugins/check_snmp.c:742 | 4580 | #: plugins/check_snmp.c:831 |
4289 | #, fuzzy, c-format | 4581 | #, fuzzy, c-format |
4290 | msgid "Could not reallocate labels[%d]" | 4582 | msgid "Could not reallocate labels[%d]" |
4291 | msgstr "Konnte addr nicht zuweisen\n" | 4583 | msgstr "Konnte addr nicht zuweisen\n" |
4292 | 4584 | ||
4293 | #: plugins/check_snmp.c:754 | 4585 | #: plugins/check_snmp.c:844 |
4294 | #, fuzzy | 4586 | #, fuzzy |
4295 | msgid "Could not reallocate labels\n" | 4587 | msgid "Could not reallocate labels\n" |
4296 | msgstr "Konnte·url·nicht·zuweisen\n" | 4588 | msgstr "Konnte·url·nicht·zuweisen\n" |
4297 | 4589 | ||
4298 | #: plugins/check_snmp.c:771 | 4590 | #: plugins/check_snmp.c:860 |
4299 | #, fuzzy, c-format | 4591 | #, fuzzy, c-format |
4300 | msgid "Could not reallocate units [%d]\n" | 4592 | msgid "Could not reallocate units [%d]\n" |
4301 | msgstr "Konnte·url·nicht·zuweisen\n" | 4593 | msgstr "Konnte·url·nicht·zuweisen\n" |
4302 | 4594 | ||
4303 | #: plugins/check_snmp.c:783 | 4595 | #: plugins/check_snmp.c:872 |
4304 | msgid "Could not realloc() units\n" | 4596 | msgid "Could not realloc() units\n" |
4305 | msgstr "" | 4597 | msgstr "" |
4306 | 4598 | ||
4307 | #: plugins/check_snmp.c:800 | 4599 | #: plugins/check_snmp.c:889 |
4308 | #, fuzzy | 4600 | #, fuzzy |
4309 | msgid "Rate multiplier must be a positive integer" | 4601 | msgid "Rate multiplier must be a positive integer" |
4310 | msgstr "Paketgröße muss ein positiver Integer sein" | 4602 | msgstr "Paketgröße muss ein positiver Integer sein" |
4311 | 4603 | ||
4312 | #: plugins/check_snmp.c:852 | 4604 | #: plugins/check_snmp.c:947 |
4313 | #, fuzzy | 4605 | #, fuzzy |
4314 | msgid "No host specified\n" | 4606 | msgid "No host specified\n" |
4315 | msgstr "" | 4607 | msgstr "" |
4316 | "Kein Hostname angegeben\n" | 4608 | "Kein Hostname angegeben\n" |
4317 | "\n" | 4609 | "\n" |
4318 | 4610 | ||
4319 | #: plugins/check_snmp.c:856 | 4611 | #: plugins/check_snmp.c:951 |
4320 | #, fuzzy | 4612 | #, fuzzy |
4321 | msgid "No OIDs specified\n" | 4613 | msgid "No OIDs specified\n" |
4322 | msgstr "" | 4614 | msgstr "" |
4323 | "Kein Hostname angegeben\n" | 4615 | "Kein Hostname angegeben\n" |
4324 | "\n" | 4616 | "\n" |
4325 | 4617 | ||
4326 | #: plugins/check_snmp.c:878 | 4618 | #: plugins/check_snmp.c:973 |
4327 | msgid "Invalid seclevel" | 4619 | msgid "Invalid seclevel" |
4328 | msgstr "" | 4620 | msgstr "" |
4329 | 4621 | ||
4330 | #: plugins/check_snmp.c:885 plugins/check_snmp.c:888 plugins/check_snmp.c:906 | 4622 | #: plugins/check_snmp.c:980 plugins/check_snmp.c:983 plugins/check_snmp.c:1001 |
4331 | #, c-format | 4623 | #, c-format |
4332 | msgid "Required parameter: %s\n" | 4624 | msgid "Required parameter: %s\n" |
4333 | msgstr "" | 4625 | msgstr "" |
4334 | 4626 | ||
4335 | #: plugins/check_snmp.c:927 | 4627 | #: plugins/check_snmp.c:1022 |
4336 | msgid "Invalid SNMP version" | 4628 | msgid "Invalid SNMP version" |
4337 | msgstr "" | 4629 | msgstr "" |
4338 | 4630 | ||
4339 | #: plugins/check_snmp.c:944 | 4631 | #: plugins/check_snmp.c:1039 |
4340 | msgid "Unbalanced quotes\n" | 4632 | msgid "Unbalanced quotes\n" |
4341 | msgstr "" | 4633 | msgstr "" |
4342 | 4634 | ||
4343 | #: plugins/check_snmp.c:993 | 4635 | #: plugins/check_snmp.c:1088 |
4344 | msgid "Check status of remote machines and obtain system information via SNMP" | 4636 | msgid "Check status of remote machines and obtain system information via SNMP" |
4345 | msgstr "" | 4637 | msgstr "" |
4346 | 4638 | ||
4347 | #: plugins/check_snmp.c:1006 | 4639 | #: plugins/check_snmp.c:1101 |
4348 | msgid "Use SNMP GETNEXT instead of SNMP GET" | 4640 | msgid "Use SNMP GETNEXT instead of SNMP GET" |
4349 | msgstr "" | 4641 | msgstr "" |
4350 | 4642 | ||
4351 | #: plugins/check_snmp.c:1008 | 4643 | #: plugins/check_snmp.c:1103 |
4352 | msgid "SNMP protocol version" | 4644 | msgid "SNMP protocol version" |
4353 | msgstr "" | 4645 | msgstr "" |
4354 | 4646 | ||
4355 | #: plugins/check_snmp.c:1010 | 4647 | #: plugins/check_snmp.c:1105 |
4356 | msgid "SNMPv3 securityLevel" | 4648 | msgid "SNMPv3 securityLevel" |
4357 | msgstr "" | 4649 | msgstr "" |
4358 | 4650 | ||
4359 | #: plugins/check_snmp.c:1012 | 4651 | #: plugins/check_snmp.c:1107 |
4360 | msgid "SNMPv3 auth proto" | 4652 | msgid "SNMPv3 auth proto" |
4361 | msgstr "" | 4653 | msgstr "" |
4362 | 4654 | ||
4363 | #: plugins/check_snmp.c:1014 | 4655 | #: plugins/check_snmp.c:1109 |
4364 | msgid "SNMPv3 priv proto (default DES)" | 4656 | msgid "SNMPv3 priv proto (default DES)" |
4365 | msgstr "" | 4657 | msgstr "" |
4366 | 4658 | ||
4367 | #: plugins/check_snmp.c:1018 | 4659 | #: plugins/check_snmp.c:1113 |
4368 | msgid "Optional community string for SNMP communication" | 4660 | msgid "Optional community string for SNMP communication" |
4369 | msgstr "" | 4661 | msgstr "" |
4370 | 4662 | ||
4371 | #: plugins/check_snmp.c:1019 | 4663 | #: plugins/check_snmp.c:1114 |
4372 | msgid "default is" | 4664 | msgid "default is" |
4373 | msgstr "" | 4665 | msgstr "" |
4374 | 4666 | ||
4375 | #: plugins/check_snmp.c:1021 | 4667 | #: plugins/check_snmp.c:1116 |
4376 | msgid "SNMPv3 username" | 4668 | msgid "SNMPv3 username" |
4377 | msgstr "" | 4669 | msgstr "" |
4378 | 4670 | ||
4379 | #: plugins/check_snmp.c:1023 | 4671 | #: plugins/check_snmp.c:1118 |
4380 | msgid "SNMPv3 authentication password" | 4672 | msgid "SNMPv3 authentication password" |
4381 | msgstr "" | 4673 | msgstr "" |
4382 | 4674 | ||
4383 | #: plugins/check_snmp.c:1025 | 4675 | #: plugins/check_snmp.c:1120 |
4384 | msgid "SNMPv3 privacy password" | 4676 | msgid "SNMPv3 privacy password" |
4385 | msgstr "" | 4677 | msgstr "" |
4386 | 4678 | ||
4387 | #: plugins/check_snmp.c:1029 | 4679 | #: plugins/check_snmp.c:1124 |
4388 | msgid "Object identifier(s) or SNMP variables whose value you wish to query" | 4680 | msgid "Object identifier(s) or SNMP variables whose value you wish to query" |
4389 | msgstr "" | 4681 | msgstr "" |
4390 | 4682 | ||
4391 | #: plugins/check_snmp.c:1031 | 4683 | #: plugins/check_snmp.c:1126 |
4392 | msgid "" | 4684 | msgid "" |
4393 | "List of MIBS to be loaded (default = none if using numeric OIDs or 'ALL'" | 4685 | "List of MIBS to be loaded (default = none if using numeric OIDs or 'ALL'" |
4394 | msgstr "" | 4686 | msgstr "" |
4395 | 4687 | ||
4396 | #: plugins/check_snmp.c:1032 | 4688 | #: plugins/check_snmp.c:1127 |
4397 | msgid "for symbolic OIDs.)" | 4689 | msgid "for symbolic OIDs.)" |
4398 | msgstr "" | 4690 | msgstr "" |
4399 | 4691 | ||
4400 | #: plugins/check_snmp.c:1034 | 4692 | #: plugins/check_snmp.c:1129 |
4401 | msgid "Delimiter to use when parsing returned data. Default is" | 4693 | msgid "Delimiter to use when parsing returned data. Default is" |
4402 | msgstr "" | 4694 | msgstr "" |
4403 | 4695 | ||
4404 | #: plugins/check_snmp.c:1035 | 4696 | #: plugins/check_snmp.c:1130 |
4405 | msgid "Any data on the right hand side of the delimiter is considered" | 4697 | msgid "Any data on the right hand side of the delimiter is considered" |
4406 | msgstr "" | 4698 | msgstr "" |
4407 | 4699 | ||
4408 | #: plugins/check_snmp.c:1036 | 4700 | #: plugins/check_snmp.c:1131 |
4409 | msgid "to be the data that should be used in the evaluation." | 4701 | msgid "to be the data that should be used in the evaluation." |
4410 | msgstr "" | 4702 | msgstr "" |
4411 | 4703 | ||
4412 | #: plugins/check_snmp.c:1040 | 4704 | #: plugins/check_snmp.c:1135 |
4413 | #, fuzzy | 4705 | #, fuzzy |
4414 | msgid "Warning threshold range(s)" | 4706 | msgid "Warning threshold range(s)" |
4415 | msgstr "Warning threshold Integer sein" | 4707 | msgstr "Warning threshold Integer sein" |
4416 | 4708 | ||
4417 | #: plugins/check_snmp.c:1042 | 4709 | #: plugins/check_snmp.c:1137 |
4418 | #, fuzzy | 4710 | #, fuzzy |
4419 | msgid "Critical threshold range(s)" | 4711 | msgid "Critical threshold range(s)" |
4420 | msgstr "Critical threshold muss ein Integer sein" | 4712 | msgstr "Critical threshold muss ein Integer sein" |
4421 | 4713 | ||
4422 | #: plugins/check_snmp.c:1044 | 4714 | #: plugins/check_snmp.c:1139 |
4423 | msgid "Enable rate calculation. See 'Rate Calculation' below" | 4715 | msgid "Enable rate calculation. See 'Rate Calculation' below" |
4424 | msgstr "" | 4716 | msgstr "" |
4425 | 4717 | ||
4426 | #: plugins/check_snmp.c:1046 | 4718 | #: plugins/check_snmp.c:1141 |
4427 | msgid "" | 4719 | msgid "" |
4428 | "Converts rate per second. For example, set to 60 to convert to per minute" | 4720 | "Converts rate per second. For example, set to 60 to convert to per minute" |
4429 | msgstr "" | 4721 | msgstr "" |
4430 | 4722 | ||
4431 | #: plugins/check_snmp.c:1050 | 4723 | #: plugins/check_snmp.c:1143 |
4724 | msgid "Add/substract the specified OFFSET to numeric sensor data" | ||
4725 | msgstr "" | ||
4726 | |||
4727 | #: plugins/check_snmp.c:1147 | ||
4432 | msgid "Return OK state (for that OID) if STRING is an exact match" | 4728 | msgid "Return OK state (for that OID) if STRING is an exact match" |
4433 | msgstr "" | 4729 | msgstr "" |
4434 | 4730 | ||
4435 | #: plugins/check_snmp.c:1052 | 4731 | #: plugins/check_snmp.c:1149 |
4436 | msgid "" | 4732 | msgid "" |
4437 | "Return OK state (for that OID) if extended regular expression REGEX matches" | 4733 | "Return OK state (for that OID) if extended regular expression REGEX matches" |
4438 | msgstr "" | 4734 | msgstr "" |
4439 | 4735 | ||
4440 | #: plugins/check_snmp.c:1054 | 4736 | #: plugins/check_snmp.c:1151 |
4441 | msgid "" | 4737 | msgid "" |
4442 | "Return OK state (for that OID) if case-insensitive extended REGEX matches" | 4738 | "Return OK state (for that OID) if case-insensitive extended REGEX matches" |
4443 | msgstr "" | 4739 | msgstr "" |
4444 | 4740 | ||
4445 | #: plugins/check_snmp.c:1056 | 4741 | #: plugins/check_snmp.c:1153 |
4446 | msgid "Invert search result (CRITICAL if found)" | 4742 | msgid "Invert search result (CRITICAL if found)" |
4447 | msgstr "" | 4743 | msgstr "" |
4448 | 4744 | ||
4449 | #: plugins/check_snmp.c:1060 | 4745 | #: plugins/check_snmp.c:1157 |
4450 | msgid "Prefix label for output from plugin" | 4746 | msgid "Prefix label for output from plugin" |
4451 | msgstr "" | 4747 | msgstr "" |
4452 | 4748 | ||
4453 | #: plugins/check_snmp.c:1062 | 4749 | #: plugins/check_snmp.c:1159 |
4454 | msgid "Units label(s) for output data (e.g., 'sec.')." | 4750 | msgid "Units label(s) for output data (e.g., 'sec.')." |
4455 | msgstr "" | 4751 | msgstr "" |
4456 | 4752 | ||
4457 | #: plugins/check_snmp.c:1064 | 4753 | #: plugins/check_snmp.c:1161 |
4458 | msgid "Separates output on multiple OID requests" | 4754 | msgid "Separates output on multiple OID requests" |
4459 | msgstr "" | 4755 | msgstr "" |
4460 | 4756 | ||
4461 | #: plugins/check_snmp.c:1068 | 4757 | #: plugins/check_snmp.c:1165 |
4462 | msgid "Number of retries to be used in the requests" | 4758 | msgid "Number of retries to be used in the requests" |
4463 | msgstr "" | 4759 | msgstr "" |
4464 | 4760 | ||
4465 | #: plugins/check_snmp.c:1073 | 4761 | #: plugins/check_snmp.c:1168 |
4762 | msgid "Label performance data with OIDs instead of --label's" | ||
4763 | msgstr "" | ||
4764 | |||
4765 | #: plugins/check_snmp.c:1173 | ||
4466 | msgid "" | 4766 | msgid "" |
4467 | "This plugin uses the 'snmpget' command included with the NET-SNMP package." | 4767 | "This plugin uses the 'snmpget' command included with the NET-SNMP package." |
4468 | msgstr "" | 4768 | msgstr "" |
4469 | 4769 | ||
4470 | #: plugins/check_snmp.c:1074 | 4770 | #: plugins/check_snmp.c:1174 |
4471 | msgid "" | 4771 | msgid "" |
4472 | "if you don't have the package installed, you will need to download it from" | 4772 | "if you don't have the package installed, you will need to download it from" |
4473 | msgstr "" | 4773 | msgstr "" |
4474 | 4774 | ||
4475 | #: plugins/check_snmp.c:1075 | 4775 | #: plugins/check_snmp.c:1175 |
4476 | msgid "http://net-snmp.sourceforge.net before you can use this plugin." | 4776 | msgid "http://net-snmp.sourceforge.net before you can use this plugin." |
4477 | msgstr "" | 4777 | msgstr "" |
4478 | 4778 | ||
4479 | #: plugins/check_snmp.c:1079 | 4779 | #: plugins/check_snmp.c:1179 |
4480 | msgid "" | 4780 | msgid "" |
4481 | "- Multiple OIDs may be indicated by a comma or space-delimited list (lists " | 4781 | "- Multiple OIDs (and labels) may be indicated by a comma or space-delimited " |
4482 | "with" | ||
4483 | msgstr "" | ||
4484 | |||
4485 | #: plugins/check_snmp.c:1080 | ||
4486 | msgid "internal spaces must be quoted). Maximum:" | ||
4487 | msgstr "" | 4782 | msgstr "" |
4488 | 4783 | ||
4489 | #: plugins/check_snmp.c:1080 | 4784 | #: plugins/check_snmp.c:1180 |
4490 | msgid "OIDs." | 4785 | msgid "list (lists with internal spaces must be quoted)." |
4491 | msgstr "" | 4786 | msgstr "" |
4492 | 4787 | ||
4493 | #: plugins/check_snmp.c:1084 | 4788 | #: plugins/check_snmp.c:1184 |
4494 | msgid "" | 4789 | msgid "" |
4495 | "- When checking multiple OIDs, separate ranges by commas like '-w " | 4790 | "- When checking multiple OIDs, separate ranges by commas like '-w " |
4496 | "1:10,1:,:20'" | 4791 | "1:10,1:,:20'" |
4497 | msgstr "" | 4792 | msgstr "" |
4498 | 4793 | ||
4499 | #: plugins/check_snmp.c:1085 | 4794 | #: plugins/check_snmp.c:1185 |
4500 | msgid "- Note that only one string and one regex may be checked at present" | 4795 | msgid "- Note that only one string and one regex may be checked at present" |
4501 | msgstr "" | 4796 | msgstr "" |
4502 | 4797 | ||
4503 | #: plugins/check_snmp.c:1086 | 4798 | #: plugins/check_snmp.c:1186 |
4504 | msgid "" | 4799 | msgid "" |
4505 | "- All evaluation methods other than PR, STR, and SUBSTR expect that the value" | 4800 | "- All evaluation methods other than PR, STR, and SUBSTR expect that the value" |
4506 | msgstr "" | 4801 | msgstr "" |
4507 | 4802 | ||
4508 | #: plugins/check_snmp.c:1087 | 4803 | #: plugins/check_snmp.c:1187 |
4509 | msgid "returned from the SNMP query is an unsigned integer." | 4804 | msgid "returned from the SNMP query is an unsigned integer." |
4510 | msgstr "" | 4805 | msgstr "" |
4511 | 4806 | ||
4512 | #: plugins/check_snmp.c:1090 | 4807 | #: plugins/check_snmp.c:1190 |
4513 | msgid "Rate Calculation:" | 4808 | msgid "Rate Calculation:" |
4514 | msgstr "" | 4809 | msgstr "" |
4515 | 4810 | ||
4516 | #: plugins/check_snmp.c:1091 | 4811 | #: plugins/check_snmp.c:1191 |
4517 | msgid "In many places, SNMP returns counters that are only meaningful when" | 4812 | msgid "In many places, SNMP returns counters that are only meaningful when" |
4518 | msgstr "" | 4813 | msgstr "" |
4519 | 4814 | ||
4520 | #: plugins/check_snmp.c:1092 | 4815 | #: plugins/check_snmp.c:1192 |
4521 | msgid "calculating the counter difference since the last check. check_snmp" | 4816 | msgid "calculating the counter difference since the last check. check_snmp" |
4522 | msgstr "" | 4817 | msgstr "" |
4523 | 4818 | ||
4524 | #: plugins/check_snmp.c:1093 | 4819 | #: plugins/check_snmp.c:1193 |
4525 | msgid "saves the last state information in a file so that the rate per second" | 4820 | msgid "saves the last state information in a file so that the rate per second" |
4526 | msgstr "" | 4821 | msgstr "" |
4527 | 4822 | ||
4528 | #: plugins/check_snmp.c:1094 | 4823 | #: plugins/check_snmp.c:1194 |
4529 | msgid "can be calculated. Use the --rate option to save state information." | 4824 | msgid "can be calculated. Use the --rate option to save state information." |
4530 | msgstr "" | 4825 | msgstr "" |
4531 | 4826 | ||
4532 | #: plugins/check_snmp.c:1095 | 4827 | #: plugins/check_snmp.c:1195 |
4533 | msgid "" | 4828 | msgid "" |
4534 | "On the first run, there will be no prior state - this will return with OK." | 4829 | "On the first run, there will be no prior state - this will return with OK." |
4535 | msgstr "" | 4830 | msgstr "" |
4536 | 4831 | ||
4537 | #: plugins/check_snmp.c:1096 | 4832 | #: plugins/check_snmp.c:1196 |
4538 | msgid "The state is uniquely determined by the arguments to the plugin, so" | 4833 | msgid "The state is uniquely determined by the arguments to the plugin, so" |
4539 | msgstr "" | 4834 | msgstr "" |
4540 | 4835 | ||
4541 | #: plugins/check_snmp.c:1097 | 4836 | #: plugins/check_snmp.c:1197 |
4542 | msgid "changing the arguments will create a new state file." | 4837 | msgid "changing the arguments will create a new state file." |
4543 | msgstr "" | 4838 | msgstr "" |
4544 | 4839 | ||
@@ -4547,26 +4842,26 @@ msgstr "" | |||
4547 | msgid "Port number must be a positive integer" | 4842 | msgid "Port number must be a positive integer" |
4548 | msgstr "Port muss ein positiver Integer sein" | 4843 | msgstr "Port muss ein positiver Integer sein" |
4549 | 4844 | ||
4550 | #: plugins/check_ssh.c:228 | 4845 | #: plugins/check_ssh.c:232 |
4551 | #, c-format | 4846 | #, c-format |
4552 | msgid "Server answer: %s" | 4847 | msgid "Server answer: %s" |
4553 | msgstr "" | 4848 | msgstr "" |
4554 | 4849 | ||
4555 | #: plugins/check_ssh.c:247 | 4850 | #: plugins/check_ssh.c:251 |
4556 | #, c-format | 4851 | #, c-format |
4557 | msgid "SSH WARNING - %s (protocol %s) version mismatch, expected '%s'\n" | 4852 | msgid "SSH WARNING - %s (protocol %s) version mismatch, expected '%s'\n" |
4558 | msgstr "" | 4853 | msgstr "" |
4559 | 4854 | ||
4560 | #: plugins/check_ssh.c:254 | 4855 | #: plugins/check_ssh.c:260 |
4561 | #, c-format | 4856 | #, c-format |
4562 | msgid "SSH OK - %s (protocol %s)\n" | 4857 | msgid "SSH OK - %s (protocol %s) | %s\n" |
4563 | msgstr "" | 4858 | msgstr "" |
4564 | 4859 | ||
4565 | #: plugins/check_ssh.c:274 | 4860 | #: plugins/check_ssh.c:281 |
4566 | msgid "Try to connect to an SSH server at specified server and port" | 4861 | msgid "Try to connect to an SSH server at specified server and port" |
4567 | msgstr "" | 4862 | msgstr "" |
4568 | 4863 | ||
4569 | #: plugins/check_ssh.c:290 | 4864 | #: plugins/check_ssh.c:297 |
4570 | msgid "" | 4865 | msgid "" |
4571 | "Warn if string doesn't match expected server version (ex: OpenSSH_3.9p1)" | 4866 | "Warn if string doesn't match expected server version (ex: OpenSSH_3.9p1)" |
4572 | msgstr "" | 4867 | msgstr "" |
@@ -4659,109 +4954,108 @@ msgstr "" | |||
4659 | msgid "On AIX, if -a is specified, uses lsps -a, otherwise uses lsps -s." | 4954 | msgid "On AIX, if -a is specified, uses lsps -a, otherwise uses lsps -s." |
4660 | msgstr "" | 4955 | msgstr "" |
4661 | 4956 | ||
4662 | #: plugins/check_tcp.c:197 | 4957 | #: plugins/check_tcp.c:206 |
4663 | msgid "CRITICAL - Generic check_tcp called with unknown service\n" | 4958 | msgid "CRITICAL - Generic check_tcp called with unknown service\n" |
4664 | msgstr "" | 4959 | msgstr "" |
4665 | 4960 | ||
4666 | #: plugins/check_tcp.c:221 | 4961 | #: plugins/check_tcp.c:230 |
4667 | msgid "With UDP checks, a send/expect string must be specified." | 4962 | msgid "With UDP checks, a send/expect string must be specified." |
4668 | msgstr "" | 4963 | msgstr "" |
4669 | 4964 | ||
4670 | #: plugins/check_tcp.c:240 | 4965 | #: plugins/check_tcp.c:431 |
4671 | #, c-format | ||
4672 | msgid "CRITICAL - Cannot retrieve server certificate.\n" | ||
4673 | msgstr "CRITICAL - Konnte kein Serverzertifikat erhalten\n" | ||
4674 | |||
4675 | #: plugins/check_tcp.c:418 | ||
4676 | msgid "No arguments found" | 4966 | msgid "No arguments found" |
4677 | msgstr "" | 4967 | msgstr "" |
4678 | 4968 | ||
4679 | #: plugins/check_tcp.c:519 | 4969 | #: plugins/check_tcp.c:534 |
4680 | msgid "Maxbytes must be a positive integer" | 4970 | msgid "Maxbytes must be a positive integer" |
4681 | msgstr "Maxbytes muss ein positiver Integer sein" | 4971 | msgstr "Maxbytes muss ein positiver Integer sein" |
4682 | 4972 | ||
4683 | #: plugins/check_tcp.c:537 | 4973 | #: plugins/check_tcp.c:552 |
4684 | msgid "Refuse must be one of ok, warn, crit" | 4974 | msgid "Refuse must be one of ok, warn, crit" |
4685 | msgstr "" | 4975 | msgstr "" |
4686 | 4976 | ||
4687 | #: plugins/check_tcp.c:547 | 4977 | #: plugins/check_tcp.c:562 |
4688 | msgid "Mismatch must be one of ok, warn, crit" | 4978 | msgid "Mismatch must be one of ok, warn, crit" |
4689 | msgstr "" | 4979 | msgstr "" |
4690 | 4980 | ||
4691 | #: plugins/check_tcp.c:553 | 4981 | #: plugins/check_tcp.c:568 |
4692 | msgid "Delay must be a positive integer" | 4982 | msgid "Delay must be a positive integer" |
4693 | msgstr "Delay muss ein positiver Integer sein" | 4983 | msgstr "Delay muss ein positiver Integer sein" |
4694 | 4984 | ||
4695 | #: plugins/check_tcp.c:581 | 4985 | #: plugins/check_tcp.c:613 |
4696 | #, fuzzy | 4986 | #, fuzzy |
4697 | msgid "You must provide a server address" | 4987 | msgid "You must provide a server address" |
4698 | msgstr "%s: Hostname muss angegeben werden\n" | 4988 | msgstr "%s: Hostname muss angegeben werden\n" |
4699 | 4989 | ||
4700 | #: plugins/check_tcp.c:583 | 4990 | #: plugins/check_tcp.c:615 |
4701 | #, fuzzy | 4991 | #, fuzzy |
4702 | msgid "Invalid hostname, address or socket" | 4992 | msgid "Invalid hostname, address or socket" |
4703 | msgstr "Ungültige(r) Hostname/Adresse" | 4993 | msgstr "Ungültige(r) Hostname/Adresse" |
4704 | 4994 | ||
4705 | #: plugins/check_tcp.c:597 | 4995 | #: plugins/check_tcp.c:629 |
4706 | #, fuzzy, c-format | 4996 | #, fuzzy, c-format |
4707 | msgid "" | 4997 | msgid "" |
4708 | "This plugin tests %s connections with the specified host (or unix socket).\n" | 4998 | "This plugin tests %s connections with the specified host (or unix socket).\n" |
4709 | "\n" | 4999 | "\n" |
4710 | msgstr "Dieses plugin testet Gameserververbindungen zum angegebenen Host." | 5000 | msgstr "Dieses plugin testet Gameserververbindungen zum angegebenen Host." |
4711 | 5001 | ||
4712 | #: plugins/check_tcp.c:610 | 5002 | #: plugins/check_tcp.c:642 |
4713 | msgid "" | 5003 | msgid "" |
4714 | "Can use \\n, \\r, \\t or \\ in send or quit string. Must come before send or " | 5004 | "Can use \\n, \\r, \\t or \\ in send or quit string. Must come before send or " |
4715 | "quit option" | 5005 | "quit option" |
4716 | msgstr "" | 5006 | msgstr "" |
4717 | 5007 | ||
4718 | #: plugins/check_tcp.c:611 | 5008 | #: plugins/check_tcp.c:643 |
4719 | msgid "Default: nothing added to send, \\r\\n added to end of quit" | 5009 | msgid "Default: nothing added to send, \\r\\n added to end of quit" |
4720 | msgstr "" | 5010 | msgstr "" |
4721 | 5011 | ||
4722 | #: plugins/check_tcp.c:613 | 5012 | #: plugins/check_tcp.c:645 |
4723 | msgid "String to send to the server" | 5013 | msgid "String to send to the server" |
4724 | msgstr "" | 5014 | msgstr "" |
4725 | 5015 | ||
4726 | #: plugins/check_tcp.c:615 | 5016 | #: plugins/check_tcp.c:647 |
4727 | msgid "String to expect in server response" | 5017 | msgid "String to expect in server response" |
4728 | msgstr "" | 5018 | msgstr "" |
4729 | 5019 | ||
4730 | #: plugins/check_tcp.c:615 | 5020 | #: plugins/check_tcp.c:647 |
4731 | msgid "(may be repeated)" | 5021 | msgid "(may be repeated)" |
4732 | msgstr "" | 5022 | msgstr "" |
4733 | 5023 | ||
4734 | #: plugins/check_tcp.c:617 | 5024 | #: plugins/check_tcp.c:649 |
4735 | msgid "All expect strings need to occur in server response. Default is any" | 5025 | msgid "All expect strings need to occur in server response. Default is any" |
4736 | msgstr "" | 5026 | msgstr "" |
4737 | 5027 | ||
4738 | #: plugins/check_tcp.c:619 | 5028 | #: plugins/check_tcp.c:651 |
4739 | msgid "String to send server to initiate a clean close of the connection" | 5029 | msgid "String to send server to initiate a clean close of the connection" |
4740 | msgstr "" | 5030 | msgstr "" |
4741 | 5031 | ||
4742 | #: plugins/check_tcp.c:621 | 5032 | #: plugins/check_tcp.c:653 |
4743 | msgid "Accept TCP refusals with states ok, warn, crit (default: crit)" | 5033 | msgid "Accept TCP refusals with states ok, warn, crit (default: crit)" |
4744 | msgstr "" | 5034 | msgstr "" |
4745 | 5035 | ||
4746 | #: plugins/check_tcp.c:623 | 5036 | #: plugins/check_tcp.c:655 |
4747 | msgid "" | 5037 | msgid "" |
4748 | "Accept expected string mismatches with states ok, warn, crit (default: warn)" | 5038 | "Accept expected string mismatches with states ok, warn, crit (default: warn)" |
4749 | msgstr "" | 5039 | msgstr "" |
4750 | 5040 | ||
4751 | #: plugins/check_tcp.c:625 | 5041 | #: plugins/check_tcp.c:657 |
4752 | #, fuzzy | 5042 | #, fuzzy |
4753 | msgid "Hide output from TCP socket" | 5043 | msgid "Hide output from TCP socket" |
4754 | msgstr "Konnte TCP socket nicht öffnen\n" | 5044 | msgstr "Konnte TCP socket nicht öffnen\n" |
4755 | 5045 | ||
4756 | #: plugins/check_tcp.c:627 | 5046 | #: plugins/check_tcp.c:659 |
4757 | msgid "Close connection once more than this number of bytes are received" | 5047 | msgid "Close connection once more than this number of bytes are received" |
4758 | msgstr "" | 5048 | msgstr "" |
4759 | 5049 | ||
4760 | #: plugins/check_tcp.c:629 | 5050 | #: plugins/check_tcp.c:661 |
4761 | msgid "Seconds to wait between sending string and polling for response" | 5051 | msgid "Seconds to wait between sending string and polling for response" |
4762 | msgstr "" | 5052 | msgstr "" |
4763 | 5053 | ||
4764 | #: plugins/check_tcp.c:635 | 5054 | #: plugins/check_tcp.c:666 |
5055 | msgid "1st is #days for warning, 2nd is critical (if not specified - 0)." | ||
5056 | msgstr "" | ||
5057 | |||
5058 | #: plugins/check_tcp.c:668 | ||
4765 | msgid "Use SSL for the connection." | 5059 | msgid "Use SSL for the connection." |
4766 | msgstr "" | 5060 | msgstr "" |
4767 | 5061 | ||
@@ -4826,7 +5120,6 @@ msgid "Response time (sec.) necessary to result in critical status" | |||
4826 | msgstr "" | 5120 | msgstr "" |
4827 | 5121 | ||
4828 | #: plugins/check_ups.c:144 | 5122 | #: plugins/check_ups.c:144 |
4829 | #, c-format | ||
4830 | msgid "On Battery, Low Battery" | 5123 | msgid "On Battery, Low Battery" |
4831 | msgstr "" | 5124 | msgstr "" |
4832 | 5125 | ||
@@ -4879,7 +5172,7 @@ msgid ", Unknown" | |||
4879 | msgstr "" | 5172 | msgstr "" |
4880 | 5173 | ||
4881 | #: plugins/check_ups.c:324 | 5174 | #: plugins/check_ups.c:324 |
4882 | #, fuzzy, c-format | 5175 | #, fuzzy |
4883 | msgid "UPS does not support any available options\n" | 5176 | msgid "UPS does not support any available options\n" |
4884 | msgstr "IPv6 Unterstützung nicht vorhanden" | 5177 | msgstr "IPv6 Unterstützung nicht vorhanden" |
4885 | 5178 | ||
@@ -4999,21 +5292,21 @@ msgstr "" | |||
4999 | msgid "http://www.networkupstools.org" | 5292 | msgid "http://www.networkupstools.org" |
5000 | msgstr "" | 5293 | msgstr "" |
5001 | 5294 | ||
5002 | #: plugins/check_users.c:92 | 5295 | #: plugins/check_users.c:110 |
5003 | #, c-format | 5296 | #, c-format |
5004 | msgid "# users=%d" | 5297 | msgid "# users=%d" |
5005 | msgstr "" | 5298 | msgstr "" |
5006 | 5299 | ||
5007 | #: plugins/check_users.c:115 | 5300 | #: plugins/check_users.c:133 |
5008 | msgid "Unable to read output" | 5301 | msgid "Unable to read output" |
5009 | msgstr "" | 5302 | msgstr "" |
5010 | 5303 | ||
5011 | #: plugins/check_users.c:122 | 5304 | #: plugins/check_users.c:140 |
5012 | #, c-format | 5305 | #, c-format |
5013 | msgid "USERS %s - %d users currently logged in |%s\n" | 5306 | msgid "USERS %s - %d users currently logged in |%s\n" |
5014 | msgstr "" | 5307 | msgstr "" |
5015 | 5308 | ||
5016 | #: plugins/check_users.c:207 | 5309 | #: plugins/check_users.c:219 |
5017 | #, fuzzy | 5310 | #, fuzzy |
5018 | msgid "This plugin checks the number of users currently logged in on the local" | 5311 | msgid "This plugin checks the number of users currently logged in on the local" |
5019 | msgstr "" | 5312 | msgstr "" |
@@ -5022,265 +5315,265 @@ msgstr "" | |||
5022 | "unterschritten wird.\n" | 5315 | "unterschritten wird.\n" |
5023 | "\n" | 5316 | "\n" |
5024 | 5317 | ||
5025 | #: plugins/check_users.c:208 | 5318 | #: plugins/check_users.c:220 |
5026 | msgid "" | 5319 | msgid "" |
5027 | "system and generates an error if the number exceeds the thresholds specified." | 5320 | "system and generates an error if the number exceeds the thresholds specified." |
5028 | msgstr "" | 5321 | msgstr "" |
5029 | 5322 | ||
5030 | #: plugins/check_users.c:218 | 5323 | #: plugins/check_users.c:230 |
5031 | msgid "Set WARNING status if more than INTEGER users are logged in" | 5324 | msgid "Set WARNING status if more than INTEGER users are logged in" |
5032 | msgstr "" | 5325 | msgstr "" |
5033 | 5326 | ||
5034 | #: plugins/check_users.c:220 | 5327 | #: plugins/check_users.c:232 |
5035 | msgid "Set CRITICAL status if more than INTEGER users are logged in" | 5328 | msgid "Set CRITICAL status if more than INTEGER users are logged in" |
5036 | msgstr "" | 5329 | msgstr "" |
5037 | 5330 | ||
5038 | #: plugins/check_ide_smart.c:229 | 5331 | #: plugins/check_ide_smart.c:256 |
5039 | #, fuzzy, c-format | 5332 | #, fuzzy, c-format |
5040 | msgid "CRITICAL - Couldn't open device %s: %s\n" | 5333 | msgid "CRITICAL - Couldn't open device %s: %s\n" |
5041 | msgstr "CRITICAL - Device konnte nicht geöffnet werden: %s\n" | 5334 | msgstr "CRITICAL - Device konnte nicht geöffnet werden: %s\n" |
5042 | 5335 | ||
5043 | #: plugins/check_ide_smart.c:234 | 5336 | #: plugins/check_ide_smart.c:261 |
5044 | #, c-format | 5337 | #, c-format |
5045 | msgid "CRITICAL - SMART_CMD_ENABLE\n" | 5338 | msgid "CRITICAL - SMART_CMD_ENABLE\n" |
5046 | msgstr "" | 5339 | msgstr "" |
5047 | 5340 | ||
5048 | #: plugins/check_ide_smart.c:295 | 5341 | #: plugins/check_ide_smart.c:323 plugins/check_ide_smart.c:350 |
5049 | #, c-format | 5342 | #, c-format |
5050 | msgid "CRITICAL - SMART_READ_VALUES: %s\n" | 5343 | msgid "CRITICAL - SMART_READ_VALUES: %s\n" |
5051 | msgstr "" | 5344 | msgstr "" |
5052 | 5345 | ||
5053 | #: plugins/check_ide_smart.c:364 | 5346 | #: plugins/check_ide_smart.c:421 |
5054 | #, c-format | 5347 | #, c-format |
5055 | msgid "CRITICAL - %d Harddrive PreFailure%cDetected! %d/%d tests failed.\n" | 5348 | msgid "CRITICAL - %d Harddrive PreFailure%cDetected! %d/%d tests failed.\n" |
5056 | msgstr "" | 5349 | msgstr "" |
5057 | 5350 | ||
5058 | #: plugins/check_ide_smart.c:372 | 5351 | #: plugins/check_ide_smart.c:429 |
5059 | #, c-format | 5352 | #, c-format |
5060 | msgid "WARNING - %d Harddrive Advisor%s Detected. %d/%d tests failed.\n" | 5353 | msgid "WARNING - %d Harddrive Advisor%s Detected. %d/%d tests failed.\n" |
5061 | msgstr "" | 5354 | msgstr "" |
5062 | 5355 | ||
5063 | #: plugins/check_ide_smart.c:380 | 5356 | #: plugins/check_ide_smart.c:437 |
5064 | #, c-format | 5357 | #, c-format |
5065 | msgid "OK - Operational (%d/%d tests passed)\n" | 5358 | msgid "OK - Operational (%d/%d tests passed)\n" |
5066 | msgstr "" | 5359 | msgstr "" |
5067 | 5360 | ||
5068 | #: plugins/check_ide_smart.c:384 | 5361 | #: plugins/check_ide_smart.c:441 |
5069 | #, c-format | 5362 | #, c-format |
5070 | msgid "ERROR - Status '%d' unkown. %d/%d tests passed\n" | 5363 | msgid "ERROR - Status '%d' unknown. %d/%d tests passed\n" |
5071 | msgstr "" | 5364 | msgstr "" |
5072 | 5365 | ||
5073 | #: plugins/check_ide_smart.c:417 | 5366 | #: plugins/check_ide_smart.c:474 |
5074 | #, c-format | 5367 | #, c-format |
5075 | msgid "OffLineStatus=%d {%s}, AutoOffLine=%s, OffLineTimeout=%d minutes\n" | 5368 | msgid "OffLineStatus=%d {%s}, AutoOffLine=%s, OffLineTimeout=%d minutes\n" |
5076 | msgstr "" | 5369 | msgstr "" |
5077 | 5370 | ||
5078 | #: plugins/check_ide_smart.c:423 | 5371 | #: plugins/check_ide_smart.c:480 |
5079 | #, c-format | 5372 | #, c-format |
5080 | msgid "OffLineCapability=%d {%s %s %s}\n" | 5373 | msgid "OffLineCapability=%d {%s %s %s}\n" |
5081 | msgstr "" | 5374 | msgstr "" |
5082 | 5375 | ||
5083 | #: plugins/check_ide_smart.c:429 | 5376 | #: plugins/check_ide_smart.c:486 |
5084 | #, c-format | 5377 | #, c-format |
5085 | msgid "SmartRevision=%d, CheckSum=%d, SmartCapability=%d {%s %s}\n" | 5378 | msgid "SmartRevision=%d, CheckSum=%d, SmartCapability=%d {%s %s}\n" |
5086 | msgstr "" | 5379 | msgstr "" |
5087 | 5380 | ||
5088 | #: plugins/check_ide_smart.c:450 | 5381 | #: plugins/check_ide_smart.c:508 plugins/check_ide_smart.c:532 |
5089 | #, c-format | 5382 | #, c-format |
5090 | msgid "CRITICAL - %s: %s\n" | 5383 | msgid "CRITICAL - %s: %s\n" |
5091 | msgstr "" | 5384 | msgstr "" |
5092 | 5385 | ||
5093 | #: plugins/check_ide_smart.c:469 | 5386 | #: plugins/check_ide_smart.c:553 plugins/check_ide_smart.c:580 |
5094 | #, c-format | 5387 | #, c-format |
5095 | msgid "CRITICAL - SMART_READ_THRESHOLDS: %s\n" | 5388 | msgid "CRITICAL - SMART_READ_THRESHOLDS: %s\n" |
5096 | msgstr "" | 5389 | msgstr "" |
5097 | 5390 | ||
5098 | #: plugins/check_ide_smart.c:486 | 5391 | #: plugins/check_ide_smart.c:599 |
5099 | #, c-format | 5392 | #, c-format |
5100 | msgid "" | 5393 | msgid "" |
5101 | "This plugin checks a local hard drive with the (Linux specific) SMART " | 5394 | "This plugin checks a local hard drive with the (Linux specific) SMART " |
5102 | "interface [http://smartlinux.sourceforge.net/smart/index.php]." | 5395 | "interface [http://smartlinux.sourceforge.net/smart/index.php]." |
5103 | msgstr "" | 5396 | msgstr "" |
5104 | 5397 | ||
5105 | #: plugins/check_ide_smart.c:496 | 5398 | #: plugins/check_ide_smart.c:609 |
5106 | msgid "Select device DEVICE" | 5399 | msgid "Select device DEVICE" |
5107 | msgstr "" | 5400 | msgstr "" |
5108 | 5401 | ||
5109 | #: plugins/check_ide_smart.c:497 | 5402 | #: plugins/check_ide_smart.c:610 |
5110 | msgid "" | 5403 | msgid "" |
5111 | "Note: if the device is selected with this option, _no_ other options are " | 5404 | "Note: if the device is selected with this option, _no_ other options are " |
5112 | "accepted" | 5405 | "accepted" |
5113 | msgstr "" | 5406 | msgstr "" |
5114 | 5407 | ||
5115 | #: plugins/check_ide_smart.c:499 | 5408 | #: plugins/check_ide_smart.c:612 |
5116 | msgid "Perform immediately offline tests" | 5409 | msgid "Perform immediately offline tests" |
5117 | msgstr "" | 5410 | msgstr "" |
5118 | 5411 | ||
5119 | #: plugins/check_ide_smart.c:501 | 5412 | #: plugins/check_ide_smart.c:614 |
5120 | msgid "Returns the number of failed tests" | 5413 | msgid "Returns the number of failed tests" |
5121 | msgstr "" | 5414 | msgstr "" |
5122 | 5415 | ||
5123 | #: plugins/check_ide_smart.c:503 | 5416 | #: plugins/check_ide_smart.c:616 |
5124 | msgid "Turn on automatic offline tests" | 5417 | msgid "Turn on automatic offline tests" |
5125 | msgstr "" | 5418 | msgstr "" |
5126 | 5419 | ||
5127 | #: plugins/check_ide_smart.c:505 | 5420 | #: plugins/check_ide_smart.c:618 |
5128 | msgid "Turn off automatic offline tests" | 5421 | msgid "Turn off automatic offline tests" |
5129 | msgstr "" | 5422 | msgstr "" |
5130 | 5423 | ||
5131 | #: plugins/check_ide_smart.c:507 | 5424 | #: plugins/check_ide_smart.c:620 |
5132 | msgid "Output suitable for Nagios" | 5425 | msgid "Output suitable for the monitoring system" |
5133 | msgstr "" | 5426 | msgstr "" |
5134 | 5427 | ||
5135 | #: plugins/negate.c:96 | 5428 | #: plugins/negate.c:99 |
5136 | #, fuzzy | 5429 | #, fuzzy |
5137 | msgid "No data returned from command\n" | 5430 | msgid "No data returned from command\n" |
5138 | msgstr "Keine Daten empfangen %s\n" | 5431 | msgstr "Keine Daten empfangen %s\n" |
5139 | 5432 | ||
5140 | #: plugins/negate.c:167 | 5433 | #: plugins/negate.c:170 |
5141 | msgid "" | 5434 | msgid "" |
5142 | "Timeout result must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) " | 5435 | "Timeout result must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) " |
5143 | "or integer (0-3)." | 5436 | "or integer (0-3)." |
5144 | msgstr "" | 5437 | msgstr "" |
5145 | 5438 | ||
5146 | #: plugins/negate.c:171 | 5439 | #: plugins/negate.c:174 |
5147 | msgid "" | 5440 | msgid "" |
5148 | "Ok must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or integer (0-" | 5441 | "Ok must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or integer " |
5149 | "3)." | 5442 | "(0-3)." |
5150 | msgstr "" | 5443 | msgstr "" |
5151 | 5444 | ||
5152 | #: plugins/negate.c:177 | 5445 | #: plugins/negate.c:180 |
5153 | msgid "" | 5446 | msgid "" |
5154 | "Warning must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or " | 5447 | "Warning must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or " |
5155 | "integer (0-3)." | 5448 | "integer (0-3)." |
5156 | msgstr "" | 5449 | msgstr "" |
5157 | 5450 | ||
5158 | #: plugins/negate.c:182 | 5451 | #: plugins/negate.c:185 |
5159 | msgid "" | 5452 | msgid "" |
5160 | "Critical must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or " | 5453 | "Critical must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or " |
5161 | "integer (0-3)." | 5454 | "integer (0-3)." |
5162 | msgstr "" | 5455 | msgstr "" |
5163 | 5456 | ||
5164 | #: plugins/negate.c:187 | 5457 | #: plugins/negate.c:190 |
5165 | msgid "" | 5458 | msgid "" |
5166 | "Unknown must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or " | 5459 | "Unknown must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or " |
5167 | "integer (0-3)." | 5460 | "integer (0-3)." |
5168 | msgstr "" | 5461 | msgstr "" |
5169 | 5462 | ||
5170 | #: plugins/negate.c:214 | 5463 | #: plugins/negate.c:217 |
5171 | msgid "Require path to command" | 5464 | msgid "Require path to command" |
5172 | msgstr "" | 5465 | msgstr "" |
5173 | 5466 | ||
5174 | #: plugins/negate.c:243 | 5467 | #: plugins/negate.c:246 |
5175 | msgid "" | 5468 | msgid "" |
5176 | "Negates the status of a plugin (returns OK for CRITICAL and vice-versa)." | 5469 | "Negates the status of a plugin (returns OK for CRITICAL and vice-versa)." |
5177 | msgstr "" | 5470 | msgstr "" |
5178 | 5471 | ||
5179 | #: plugins/negate.c:244 | 5472 | #: plugins/negate.c:247 |
5180 | msgid "Additional switches can be used to control which state becomes what." | 5473 | msgid "Additional switches can be used to control which state becomes what." |
5181 | msgstr "" | 5474 | msgstr "" |
5182 | 5475 | ||
5183 | #: plugins/negate.c:253 | 5476 | #: plugins/negate.c:256 |
5184 | msgid "Keep timeout longer than the plugin timeout to retain CRITICAL status." | 5477 | msgid "Keep timeout longer than the plugin timeout to retain CRITICAL status." |
5185 | msgstr "" | 5478 | msgstr "" |
5186 | 5479 | ||
5187 | #: plugins/negate.c:255 | 5480 | #: plugins/negate.c:258 |
5188 | msgid "Custom result on Negate timeouts; see below for STATUS definition\n" | 5481 | msgid "Custom result on Negate timeouts; see below for STATUS definition\n" |
5189 | msgstr "" | 5482 | msgstr "" |
5190 | 5483 | ||
5191 | #: plugins/negate.c:261 | 5484 | #: plugins/negate.c:264 |
5192 | #, c-format | 5485 | #, c-format |
5193 | msgid "" | 5486 | msgid "" |
5194 | " STATUS can be 'OK', 'WARNING', 'CRITICAL' or 'UNKNOWN' without single\n" | 5487 | " STATUS can be 'OK', 'WARNING', 'CRITICAL' or 'UNKNOWN' without single\n" |
5195 | msgstr "" | 5488 | msgstr "" |
5196 | 5489 | ||
5197 | #: plugins/negate.c:262 | 5490 | #: plugins/negate.c:265 |
5198 | #, c-format | 5491 | #, c-format |
5199 | msgid "" | 5492 | msgid "" |
5200 | " quotes. Numeric values are accepted. If nothing is specified, permutes\n" | 5493 | " quotes. Numeric values are accepted. If nothing is specified, permutes\n" |
5201 | msgstr "" | 5494 | msgstr "" |
5202 | 5495 | ||
5203 | #: plugins/negate.c:263 | 5496 | #: plugins/negate.c:266 |
5204 | #, c-format | 5497 | #, c-format |
5205 | msgid " OK and CRITICAL.\n" | 5498 | msgid " OK and CRITICAL.\n" |
5206 | msgstr "" | 5499 | msgstr "" |
5207 | 5500 | ||
5208 | #: plugins/negate.c:265 | 5501 | #: plugins/negate.c:268 |
5209 | #, c-format | 5502 | #, c-format |
5210 | msgid "" | 5503 | msgid "" |
5211 | " Substitute output text as well. Will only substitute text in CAPITALS\n" | 5504 | " Substitute output text as well. Will only substitute text in CAPITALS\n" |
5212 | msgstr "" | 5505 | msgstr "" |
5213 | 5506 | ||
5214 | #: plugins/negate.c:270 | 5507 | #: plugins/negate.c:273 |
5215 | msgid "Run check_ping and invert result. Must use full path to plugin" | 5508 | msgid "Run check_ping and invert result. Must use full path to plugin" |
5216 | msgstr "" | 5509 | msgstr "" |
5217 | 5510 | ||
5218 | #: plugins/negate.c:272 | 5511 | #: plugins/negate.c:275 |
5219 | msgid "This will return OK instead of WARNING and UNKNOWN instead of CRITICAL" | 5512 | msgid "This will return OK instead of WARNING and UNKNOWN instead of CRITICAL" |
5220 | msgstr "" | 5513 | msgstr "" |
5221 | 5514 | ||
5222 | #: plugins/negate.c:275 | 5515 | #: plugins/negate.c:278 |
5223 | msgid "" | 5516 | msgid "" |
5224 | "This plugin is a wrapper to take the output of another plugin and invert it." | 5517 | "This plugin is a wrapper to take the output of another plugin and invert it." |
5225 | msgstr "" | 5518 | msgstr "" |
5226 | 5519 | ||
5227 | #: plugins/negate.c:276 | 5520 | #: plugins/negate.c:279 |
5228 | msgid "The full path of the plugin must be provided." | 5521 | msgid "The full path of the plugin must be provided." |
5229 | msgstr "" | 5522 | msgstr "" |
5230 | 5523 | ||
5231 | #: plugins/negate.c:277 | 5524 | #: plugins/negate.c:280 |
5232 | msgid "If the wrapped plugin returns OK, the wrapper will return CRITICAL." | 5525 | msgid "If the wrapped plugin returns OK, the wrapper will return CRITICAL." |
5233 | msgstr "" | 5526 | msgstr "" |
5234 | 5527 | ||
5235 | #: plugins/negate.c:278 | 5528 | #: plugins/negate.c:281 |
5236 | msgid "If the wrapped plugin returns CRITICAL, the wrapper will return OK." | 5529 | msgid "If the wrapped plugin returns CRITICAL, the wrapper will return OK." |
5237 | msgstr "" | 5530 | msgstr "" |
5238 | 5531 | ||
5239 | #: plugins/negate.c:279 | 5532 | #: plugins/negate.c:282 |
5240 | msgid "Otherwise, the output state of the wrapped plugin is unchanged." | 5533 | msgid "Otherwise, the output state of the wrapped plugin is unchanged." |
5241 | msgstr "" | 5534 | msgstr "" |
5242 | 5535 | ||
5243 | #: plugins/negate.c:281 | 5536 | #: plugins/negate.c:284 |
5244 | msgid "" | 5537 | msgid "" |
5245 | "Using timeout-result, it is possible to override the timeout behaviour or a" | 5538 | "Using timeout-result, it is possible to override the timeout behaviour or a" |
5246 | msgstr "" | 5539 | msgstr "" |
5247 | 5540 | ||
5248 | #: plugins/negate.c:282 | 5541 | #: plugins/negate.c:285 |
5249 | msgid "plugin by setting the negate timeout a bit lower." | 5542 | msgid "plugin by setting the negate timeout a bit lower." |
5250 | msgstr "" | 5543 | msgstr "" |
5251 | 5544 | ||
5252 | #: plugins/netutils.c:48 | 5545 | #: plugins/netutils.c:49 |
5253 | #, fuzzy, c-format | 5546 | #, fuzzy, c-format |
5254 | msgid "%s - Socket timeout after %d seconds\n" | 5547 | msgid "%s - Socket timeout after %d seconds\n" |
5255 | msgstr "CRITICAL - Dokumentendatum ist %d Sekunden in der Zukunft\n" | 5548 | msgstr "CRITICAL - Dokumentendatum ist %d Sekunden in der Zukunft\n" |
5256 | 5549 | ||
5257 | #: plugins/netutils.c:50 | 5550 | #: plugins/netutils.c:51 |
5258 | #, fuzzy, c-format | 5551 | #, fuzzy, c-format |
5259 | msgid "%s - Abnormal timeout after %d seconds\n" | 5552 | msgid "%s - Abnormal timeout after %d seconds\n" |
5260 | msgstr "CRITICAL - Dokumentendatum ist %d Sekunden in der Zukunft\n" | 5553 | msgstr "CRITICAL - Dokumentendatum ist %d Sekunden in der Zukunft\n" |
5261 | 5554 | ||
5262 | #: plugins/netutils.c:78 plugins/netutils.c:280 | 5555 | #: plugins/netutils.c:79 plugins/netutils.c:281 |
5263 | msgid "Send failed" | 5556 | msgid "Send failed" |
5264 | msgstr "" | 5557 | msgstr "" |
5265 | 5558 | ||
5266 | #: plugins/netutils.c:95 plugins/netutils.c:295 | 5559 | #: plugins/netutils.c:96 plugins/netutils.c:296 |
5267 | #, fuzzy | 5560 | #, fuzzy |
5268 | msgid "No data was received from host!" | 5561 | msgid "No data was received from host!" |
5269 | msgstr "Keine Daten empfangen %s\n" | 5562 | msgstr "Keine Daten empfangen %s\n" |
5270 | 5563 | ||
5271 | #: plugins/netutils.c:203 plugins/netutils.c:239 | 5564 | #: plugins/netutils.c:204 plugins/netutils.c:240 |
5272 | msgid "Socket creation failed" | 5565 | msgid "Socket creation failed" |
5273 | msgstr "" | 5566 | msgstr "" |
5274 | 5567 | ||
5275 | #: plugins/netutils.c:232 | 5568 | #: plugins/netutils.c:233 |
5276 | msgid "Supplied path too long unix domain socket" | 5569 | msgid "Supplied path too long unix domain socket" |
5277 | msgstr "" | 5570 | msgstr "" |
5278 | 5571 | ||
5279 | #: plugins/netutils.c:304 | 5572 | #: plugins/netutils.c:305 |
5280 | msgid "Receive failed" | 5573 | msgid "Receive failed" |
5281 | msgstr "" | 5574 | msgstr "" |
5282 | 5575 | ||
5283 | #: plugins/netutils.c:330 plugins-root/check_dhcp.c:1341 | 5576 | #: plugins/netutils.c:331 plugins-root/check_dhcp.c:1342 |
5284 | #, fuzzy, c-format | 5577 | #, fuzzy, c-format |
5285 | msgid "Invalid hostname/address - %s" | 5578 | msgid "Invalid hostname/address - %s" |
5286 | msgstr "" | 5579 | msgstr "" |
@@ -5323,18 +5616,19 @@ msgid "" | |||
5323 | msgstr "" | 5616 | msgstr "" |
5324 | 5617 | ||
5325 | #: plugins/urlize.c:169 | 5618 | #: plugins/urlize.c:169 |
5326 | msgid "This plugin wraps the text output of another command (plugin)" | 5619 | msgid "" |
5620 | "This plugin wraps the text output of another command (plugin) in HTML <A>" | ||
5327 | msgstr "" | 5621 | msgstr "" |
5328 | 5622 | ||
5329 | #: plugins/urlize.c:170 | 5623 | #: plugins/urlize.c:170 |
5330 | msgid "" | 5624 | msgid "" |
5331 | "in HTML <A> tags, thus displaying the child plugin's output as a clickable " | 5625 | "tags, thus displaying the child plugin's output as a clickable link in " |
5332 | "link in" | 5626 | "compatible" |
5333 | msgstr "" | 5627 | msgstr "" |
5334 | 5628 | ||
5335 | #: plugins/urlize.c:171 | 5629 | #: plugins/urlize.c:171 |
5336 | msgid "" | 5630 | msgid "" |
5337 | "the Nagios status screen. This plugin returns the status of the invoked " | 5631 | "monitoring status screen. This plugin returns the status of the invoked " |
5338 | "plugin." | 5632 | "plugin." |
5339 | msgstr "" | 5633 | msgstr "" |
5340 | 5634 | ||
@@ -5367,29 +5661,34 @@ msgstr "" | |||
5367 | msgid "urlize http://example.com/ \"check_http -H example.com -r 'two words'\"" | 5661 | msgid "urlize http://example.com/ \"check_http -H example.com -r 'two words'\"" |
5368 | msgstr "" | 5662 | msgstr "" |
5369 | 5663 | ||
5370 | #: plugins/utils.c:171 | 5664 | #: plugins/utils.c:174 |
5371 | #, fuzzy, c-format | 5665 | #, fuzzy, c-format |
5372 | msgid "%s - Plugin timed out after %d seconds\n" | 5666 | msgid "%s - Plugin timed out after %d seconds\n" |
5373 | msgstr "CRITICAL - Dokumentendatum ist %d Sekunden in der Zukunft\n" | 5667 | msgstr "CRITICAL - Dokumentendatum ist %d Sekunden in der Zukunft\n" |
5374 | 5668 | ||
5375 | #: plugins/utils.c:466 | 5669 | #: plugins/utils.c:469 |
5376 | #, fuzzy | 5670 | #, fuzzy |
5377 | msgid "failed realloc in strpcpy\n" | 5671 | msgid "failed realloc in strpcpy\n" |
5378 | msgstr "konnte keinen Speicher für '%s' reservieren\n" | 5672 | msgstr "konnte keinen Speicher für '%s' reservieren\n" |
5379 | 5673 | ||
5380 | #: plugins/utils.c:508 | 5674 | #: plugins/utils.c:511 |
5381 | #, fuzzy | 5675 | #, fuzzy |
5382 | msgid "failed malloc in strscat\n" | 5676 | msgid "failed malloc in strscat\n" |
5383 | msgstr "konnte keinen Speicher für '%s' reservieren\n" | 5677 | msgstr "konnte keinen Speicher für '%s' reservieren\n" |
5384 | 5678 | ||
5385 | #: plugins/utils.h:140 | 5679 | #: plugins/utils.c:531 |
5680 | #, fuzzy | ||
5681 | msgid "failed malloc in xvasprintf\n" | ||
5682 | msgstr "konnte keinen Speicher für '%s' reservieren\n" | ||
5683 | |||
5684 | #: plugins/utils.h:137 | ||
5386 | #, c-format | 5685 | #, c-format |
5387 | msgid "" | 5686 | msgid "" |
5388 | " %s (-h | --help) for detailed help\n" | 5687 | " %s (-h | --help) for detailed help\n" |
5389 | " %s (-V | --version) for version information\n" | 5688 | " %s (-V | --version) for version information\n" |
5390 | msgstr "" | 5689 | msgstr "" |
5391 | 5690 | ||
5392 | #: plugins/utils.h:144 | 5691 | #: plugins/utils.h:141 |
5393 | msgid "" | 5692 | msgid "" |
5394 | "\n" | 5693 | "\n" |
5395 | "Options:\n" | 5694 | "Options:\n" |
@@ -5399,7 +5698,7 @@ msgid "" | |||
5399 | " Print version information\n" | 5698 | " Print version information\n" |
5400 | msgstr "" | 5699 | msgstr "" |
5401 | 5700 | ||
5402 | #: plugins/utils.h:151 | 5701 | #: plugins/utils.h:148 |
5403 | #, c-format | 5702 | #, c-format |
5404 | msgid "" | 5703 | msgid "" |
5405 | " -H, --hostname=ADDRESS\n" | 5704 | " -H, --hostname=ADDRESS\n" |
@@ -5408,7 +5707,7 @@ msgid "" | |||
5408 | " Port number (default: %s)\n" | 5707 | " Port number (default: %s)\n" |
5409 | msgstr "" | 5708 | msgstr "" |
5410 | 5709 | ||
5411 | #: plugins/utils.h:157 | 5710 | #: plugins/utils.h:154 |
5412 | msgid "" | 5711 | msgid "" |
5413 | " -4, --use-ipv4\n" | 5712 | " -4, --use-ipv4\n" |
5414 | " Use IPv4 connection\n" | 5713 | " Use IPv4 connection\n" |
@@ -5416,13 +5715,14 @@ msgid "" | |||
5416 | " Use IPv6 connection\n" | 5715 | " Use IPv6 connection\n" |
5417 | msgstr "" | 5716 | msgstr "" |
5418 | 5717 | ||
5419 | #: plugins/utils.h:163 | 5718 | #: plugins/utils.h:160 |
5420 | msgid "" | 5719 | msgid "" |
5421 | " -v, --verbose\n" | 5720 | " -v, --verbose\n" |
5422 | " Show details for command-line debugging (Nagios may truncate output)\n" | 5721 | " Show details for command-line debugging (output may be truncated by\n" |
5722 | "\t\tthe monitoring system)\n" | ||
5423 | msgstr "" | 5723 | msgstr "" |
5424 | 5724 | ||
5425 | #: plugins/utils.h:167 | 5725 | #: plugins/utils.h:165 |
5426 | msgid "" | 5726 | msgid "" |
5427 | " -w, --warning=DOUBLE\n" | 5727 | " -w, --warning=DOUBLE\n" |
5428 | " Response time to result in warning status (seconds)\n" | 5728 | " Response time to result in warning status (seconds)\n" |
@@ -5430,7 +5730,7 @@ msgid "" | |||
5430 | " Response time to result in critical status (seconds)\n" | 5730 | " Response time to result in critical status (seconds)\n" |
5431 | msgstr "" | 5731 | msgstr "" |
5432 | 5732 | ||
5433 | #: plugins/utils.h:173 | 5733 | #: plugins/utils.h:171 |
5434 | msgid "" | 5734 | msgid "" |
5435 | " -w, --warning=RANGE\n" | 5735 | " -w, --warning=RANGE\n" |
5436 | " Warning range (format: start:end). Alert if outside this range\n" | 5736 | " Warning range (format: start:end). Alert if outside this range\n" |
@@ -5438,41 +5738,42 @@ msgid "" | |||
5438 | " Critical range\n" | 5738 | " Critical range\n" |
5439 | msgstr "" | 5739 | msgstr "" |
5440 | 5740 | ||
5441 | #: plugins/utils.h:179 | 5741 | #: plugins/utils.h:177 |
5442 | #, c-format | 5742 | #, c-format |
5443 | msgid "" | 5743 | msgid "" |
5444 | " -t, --timeout=INTEGER\n" | 5744 | " -t, --timeout=INTEGER\n" |
5445 | " Seconds before connection times out (default: %d)\n" | 5745 | " Seconds before connection times out (default: %d)\n" |
5446 | msgstr "" | 5746 | msgstr "" |
5447 | 5747 | ||
5448 | #: plugins/utils.h:184 | 5748 | #: plugins/utils.h:182 |
5449 | msgid "" | 5749 | msgid "" |
5450 | " --extra-opts=[section][@file]\n" | 5750 | " --extra-opts=[section][@file]\n" |
5451 | " Read options from an ini file. See http://nagiosplugins.org/extra-opts\n" | 5751 | " Read options from an ini file. See\n" |
5752 | " https://www.monitoring-plugins.org/doc/extra-opts.html\n" | ||
5452 | " for usage and examples.\n" | 5753 | " for usage and examples.\n" |
5453 | msgstr "" | 5754 | msgstr "" |
5454 | 5755 | ||
5455 | #: plugins/utils.h:192 | 5756 | #: plugins/utils.h:190 |
5456 | msgid "" | 5757 | msgid "" |
5457 | " See:\n" | 5758 | " See:\n" |
5458 | " http://nagiosplug.sourceforge.net/developer-guidelines." | 5759 | " https://www.monitoring-plugins.org/doc/guidelines.html#THRESHOLDFORMAT\n" |
5459 | "html#THRESHOLDFORMAT\n" | ||
5460 | " for THRESHOLD format and examples.\n" | 5760 | " for THRESHOLD format and examples.\n" |
5461 | msgstr "" | 5761 | msgstr "" |
5462 | 5762 | ||
5463 | #: plugins/utils.h:197 | 5763 | #: plugins/utils.h:195 |
5464 | msgid "" | 5764 | msgid "" |
5465 | "\n" | 5765 | "\n" |
5466 | "Send email to nagios-users@lists.sourceforge.net if you have questions\n" | 5766 | "Send email to help@monitoring-plugins.org if you have questions regarding\n" |
5467 | "regarding use of this software. To submit patches or suggest improvements,\n" | 5767 | "use of this software. To submit patches or suggest improvements, send email\n" |
5468 | "send email to nagiosplug-devel@lists.sourceforge.net\n" | 5768 | "to devel@monitoring-plugins.org\n" |
5469 | "\n" | 5769 | "\n" |
5470 | msgstr "" | 5770 | msgstr "" |
5471 | 5771 | ||
5472 | #: plugins/utils.h:202 | 5772 | #: plugins/utils.h:200 |
5473 | msgid "" | 5773 | msgid "" |
5474 | "\n" | 5774 | "\n" |
5475 | "The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\n" | 5775 | "The Monitoring Plugins come with ABSOLUTELY NO WARRANTY. You may " |
5776 | "redistribute\n" | ||
5476 | "copies of the plugins under the terms of the GNU General Public License.\n" | 5777 | "copies of the plugins under the terms of the GNU General Public License.\n" |
5477 | "For more information about these matters, see the file named COPYING.\n" | 5778 | "For more information about these matters, see the file named COPYING.\n" |
5478 | msgstr "" | 5779 | msgstr "" |
@@ -5503,52 +5804,52 @@ msgstr "" | |||
5503 | msgid "Error: Couldn't get hardware address from %s. sysctl 2 error - %s.\n" | 5804 | msgid "Error: Couldn't get hardware address from %s. sysctl 2 error - %s.\n" |
5504 | msgstr "" | 5805 | msgstr "" |
5505 | 5806 | ||
5506 | #: plugins-root/check_dhcp.c:383 | 5807 | #: plugins-root/check_dhcp.c:388 |
5507 | #, c-format | 5808 | #, c-format |
5508 | msgid "" | 5809 | msgid "" |
5509 | "Error: can't find unit number in interface_name (%s) - expecting TypeNumber " | 5810 | "Error: can't find unit number in interface_name (%s) - expecting TypeNumber " |
5510 | "eg lnc0.\n" | 5811 | "eg lnc0.\n" |
5511 | msgstr "" | 5812 | msgstr "" |
5512 | 5813 | ||
5513 | #: plugins-root/check_dhcp.c:388 plugins-root/check_dhcp.c:400 | 5814 | #: plugins-root/check_dhcp.c:393 plugins-root/check_dhcp.c:405 |
5514 | #, c-format | 5815 | #, c-format |
5515 | msgid "" | 5816 | msgid "" |
5516 | "Error: can't read MAC address from DLPI streams interface for device %s unit " | 5817 | "Error: can't read MAC address from DLPI streams interface for device %s unit " |
5517 | "%d.\n" | 5818 | "%d.\n" |
5518 | msgstr "" | 5819 | msgstr "" |
5519 | 5820 | ||
5520 | #: plugins-root/check_dhcp.c:406 | 5821 | #: plugins-root/check_dhcp.c:411 |
5521 | #, c-format | 5822 | #, c-format |
5522 | msgid "" | 5823 | msgid "" |
5523 | "Error: can't get MAC address for this architecture. Use the --mac option.\n" | 5824 | "Error: can't get MAC address for this architecture. Use the --mac option.\n" |
5524 | msgstr "" | 5825 | msgstr "" |
5525 | 5826 | ||
5526 | #: plugins-root/check_dhcp.c:425 | 5827 | #: plugins-root/check_dhcp.c:430 |
5527 | #, c-format | 5828 | #, c-format |
5528 | msgid "Error: Cannot determine IP address of interface %s\n" | 5829 | msgid "Error: Cannot determine IP address of interface %s\n" |
5529 | msgstr "" | 5830 | msgstr "" |
5530 | 5831 | ||
5531 | #: plugins-root/check_dhcp.c:433 | 5832 | #: plugins-root/check_dhcp.c:438 |
5532 | #, c-format | 5833 | #, c-format |
5533 | msgid "Error: Cannot get interface IP address on this platform.\n" | 5834 | msgid "Error: Cannot get interface IP address on this platform.\n" |
5534 | msgstr "" | 5835 | msgstr "" |
5535 | 5836 | ||
5536 | #: plugins-root/check_dhcp.c:438 | 5837 | #: plugins-root/check_dhcp.c:443 |
5537 | #, c-format | 5838 | #, c-format |
5538 | msgid "Pretending to be relay client %s\n" | 5839 | msgid "Pretending to be relay client %s\n" |
5539 | msgstr "" | 5840 | msgstr "" |
5540 | 5841 | ||
5541 | #: plugins-root/check_dhcp.c:523 | 5842 | #: plugins-root/check_dhcp.c:528 |
5542 | #, c-format | 5843 | #, c-format |
5543 | msgid "DHCPDISCOVER to %s port %d\n" | 5844 | msgid "DHCPDISCOVER to %s port %d\n" |
5544 | msgstr "" | 5845 | msgstr "" |
5545 | 5846 | ||
5546 | #: plugins-root/check_dhcp.c:575 | 5847 | #: plugins-root/check_dhcp.c:580 |
5547 | #, c-format | 5848 | #, c-format |
5548 | msgid "Result=ERROR\n" | 5849 | msgid "Result=ERROR\n" |
5549 | msgstr "" | 5850 | msgstr "" |
5550 | 5851 | ||
5551 | #: plugins-root/check_dhcp.c:581 | 5852 | #: plugins-root/check_dhcp.c:586 |
5552 | #, c-format | 5853 | #, c-format |
5553 | msgid "Result=OK\n" | 5854 | msgid "Result=OK\n" |
5554 | msgstr "" | 5855 | msgstr "" |
@@ -5641,241 +5942,262 @@ msgstr "" | |||
5641 | msgid "Requested server address: %s\n" | 5942 | msgid "Requested server address: %s\n" |
5642 | msgstr "" | 5943 | msgstr "" |
5643 | 5944 | ||
5644 | #: plugins-root/check_dhcp.c:881 | 5945 | #: plugins-root/check_dhcp.c:882 |
5645 | #, c-format | 5946 | #, c-format |
5646 | msgid "Lease Time: Infinite\n" | 5947 | msgid "Lease Time: Infinite\n" |
5647 | msgstr "" | 5948 | msgstr "" |
5648 | 5949 | ||
5649 | #: plugins-root/check_dhcp.c:883 | 5950 | #: plugins-root/check_dhcp.c:884 |
5650 | #, c-format | 5951 | #, c-format |
5651 | msgid "Lease Time: %lu seconds\n" | 5952 | msgid "Lease Time: %lu seconds\n" |
5652 | msgstr "" | 5953 | msgstr "" |
5653 | 5954 | ||
5654 | #: plugins-root/check_dhcp.c:885 | 5955 | #: plugins-root/check_dhcp.c:886 |
5655 | #, c-format | 5956 | #, c-format |
5656 | msgid "Renewal Time: Infinite\n" | 5957 | msgid "Renewal Time: Infinite\n" |
5657 | msgstr "" | 5958 | msgstr "" |
5658 | 5959 | ||
5659 | #: plugins-root/check_dhcp.c:887 | 5960 | #: plugins-root/check_dhcp.c:888 |
5660 | #, c-format | 5961 | #, c-format |
5661 | msgid "Renewal Time: %lu seconds\n" | 5962 | msgid "Renewal Time: %lu seconds\n" |
5662 | msgstr "" | 5963 | msgstr "" |
5663 | 5964 | ||
5664 | #: plugins-root/check_dhcp.c:889 | 5965 | #: plugins-root/check_dhcp.c:890 |
5665 | #, c-format | 5966 | #, c-format |
5666 | msgid "Rebinding Time: Infinite\n" | 5967 | msgid "Rebinding Time: Infinite\n" |
5667 | msgstr "" | 5968 | msgstr "" |
5668 | 5969 | ||
5669 | #: plugins-root/check_dhcp.c:890 | 5970 | #: plugins-root/check_dhcp.c:891 |
5670 | #, c-format | 5971 | #, c-format |
5671 | msgid "Rebinding Time: %lu seconds\n" | 5972 | msgid "Rebinding Time: %lu seconds\n" |
5672 | msgstr "" | 5973 | msgstr "" |
5673 | 5974 | ||
5674 | #: plugins-root/check_dhcp.c:918 | 5975 | #: plugins-root/check_dhcp.c:919 |
5675 | #, c-format | 5976 | #, c-format |
5676 | msgid "Added offer from server @ %s" | 5977 | msgid "Added offer from server @ %s" |
5677 | msgstr "" | 5978 | msgstr "" |
5678 | 5979 | ||
5679 | #: plugins-root/check_dhcp.c:919 | 5980 | #: plugins-root/check_dhcp.c:920 |
5680 | #, c-format | 5981 | #, c-format |
5681 | msgid " of IP address %s\n" | 5982 | msgid " of IP address %s\n" |
5682 | msgstr "" | 5983 | msgstr "" |
5683 | 5984 | ||
5684 | #: plugins-root/check_dhcp.c:986 | 5985 | #: plugins-root/check_dhcp.c:987 |
5685 | #, c-format | 5986 | #, c-format |
5686 | msgid "DHCP Server Match: Offerer=%s" | 5987 | msgid "DHCP Server Match: Offerer=%s" |
5687 | msgstr "" | 5988 | msgstr "" |
5688 | 5989 | ||
5689 | #: plugins-root/check_dhcp.c:987 | 5990 | #: plugins-root/check_dhcp.c:988 |
5690 | #, c-format | 5991 | #, c-format |
5691 | msgid " Requested=%s" | 5992 | msgid " Requested=%s" |
5692 | msgstr "" | 5993 | msgstr "" |
5693 | 5994 | ||
5694 | #: plugins-root/check_dhcp.c:989 | 5995 | #: plugins-root/check_dhcp.c:990 |
5695 | #, c-format | 5996 | #, c-format |
5696 | msgid " (duplicate)" | 5997 | msgid " (duplicate)" |
5697 | msgstr "" | 5998 | msgstr "" |
5698 | 5999 | ||
5699 | #: plugins-root/check_dhcp.c:990 | 6000 | #: plugins-root/check_dhcp.c:991 |
5700 | #, c-format | 6001 | #, c-format |
5701 | msgid "\n" | 6002 | msgid "\n" |
5702 | msgstr "" | 6003 | msgstr "" |
5703 | 6004 | ||
5704 | #: plugins-root/check_dhcp.c:1038 | 6005 | #: plugins-root/check_dhcp.c:1039 |
5705 | #, c-format | 6006 | #, c-format |
5706 | msgid "No DHCPOFFERs were received.\n" | 6007 | msgid "No DHCPOFFERs were received.\n" |
5707 | msgstr "" | 6008 | msgstr "" |
5708 | 6009 | ||
5709 | #: plugins-root/check_dhcp.c:1042 | 6010 | #: plugins-root/check_dhcp.c:1043 |
5710 | #, c-format | 6011 | #, c-format |
5711 | msgid "Received %d DHCPOFFER(s)" | 6012 | msgid "Received %d DHCPOFFER(s)" |
5712 | msgstr "" | 6013 | msgstr "" |
5713 | 6014 | ||
5714 | #: plugins-root/check_dhcp.c:1045 | 6015 | #: plugins-root/check_dhcp.c:1046 |
5715 | #, c-format | 6016 | #, c-format |
5716 | msgid ", %s%d of %d requested servers responded" | 6017 | msgid ", %s%d of %d requested servers responded" |
5717 | msgstr "" | 6018 | msgstr "" |
5718 | 6019 | ||
5719 | #: plugins-root/check_dhcp.c:1048 | 6020 | #: plugins-root/check_dhcp.c:1049 |
5720 | #, c-format | 6021 | #, c-format |
5721 | msgid ", requested address (%s) was %soffered" | 6022 | msgid ", requested address (%s) was %soffered" |
5722 | msgstr "" | 6023 | msgstr "" |
5723 | 6024 | ||
5724 | #: plugins-root/check_dhcp.c:1048 | 6025 | #: plugins-root/check_dhcp.c:1049 |
5725 | msgid "not " | 6026 | msgid "not " |
5726 | msgstr "" | 6027 | msgstr "" |
5727 | 6028 | ||
5728 | #: plugins-root/check_dhcp.c:1050 | 6029 | #: plugins-root/check_dhcp.c:1051 |
5729 | #, c-format | 6030 | #, c-format |
5730 | msgid ", max lease time = " | 6031 | msgid ", max lease time = " |
5731 | msgstr "" | 6032 | msgstr "" |
5732 | 6033 | ||
5733 | #: plugins-root/check_dhcp.c:1052 | 6034 | #: plugins-root/check_dhcp.c:1053 |
5734 | #, c-format | 6035 | #, c-format |
5735 | msgid "Infinity" | 6036 | msgid "Infinity" |
5736 | msgstr "" | 6037 | msgstr "" |
5737 | 6038 | ||
5738 | #: plugins-root/check_dhcp.c:1233 | 6039 | #: plugins-root/check_dhcp.c:1234 |
5739 | #, c-format | 6040 | #, c-format |
5740 | msgid "Error: DLPI stream API failed to get MAC in check_ctrl: %s.\n" | 6041 | msgid "Error: DLPI stream API failed to get MAC in check_ctrl: %s.\n" |
5741 | msgstr "" | 6042 | msgstr "" |
5742 | 6043 | ||
5743 | #: plugins-root/check_dhcp.c:1245 | 6044 | #: plugins-root/check_dhcp.c:1246 |
5744 | #, c-format | 6045 | #, c-format |
5745 | msgid "Error: DLPI stream API failed to get MAC in put_ctrl/putmsg(): %s.\n" | 6046 | msgid "Error: DLPI stream API failed to get MAC in put_ctrl/putmsg(): %s.\n" |
5746 | msgstr "" | 6047 | msgstr "" |
5747 | 6048 | ||
5748 | #: plugins-root/check_dhcp.c:1258 | 6049 | #: plugins-root/check_dhcp.c:1259 |
5749 | #, c-format | 6050 | #, c-format |
5750 | msgid "Error: DLPI stream API failed to get MAC in put_both/putmsg().\n" | 6051 | msgid "Error: DLPI stream API failed to get MAC in put_both/putmsg().\n" |
5751 | msgstr "" | 6052 | msgstr "" |
5752 | 6053 | ||
5753 | #: plugins-root/check_dhcp.c:1270 | 6054 | #: plugins-root/check_dhcp.c:1271 |
5754 | #, c-format | 6055 | #, c-format |
5755 | msgid "" | 6056 | msgid "" |
5756 | "Error: DLPI stream API failed to get MAC in dl_attach_req/open(%s..): %s.\n" | 6057 | "Error: DLPI stream API failed to get MAC in dl_attach_req/open(%s..): %s.\n" |
5757 | msgstr "" | 6058 | msgstr "" |
5758 | 6059 | ||
5759 | #: plugins-root/check_dhcp.c:1294 | 6060 | #: plugins-root/check_dhcp.c:1295 |
5760 | #, c-format | 6061 | #, c-format |
5761 | msgid "Error: DLPI stream API failed to get MAC in dl_bind/check_ctrl(): %s.\n" | 6062 | msgid "Error: DLPI stream API failed to get MAC in dl_bind/check_ctrl(): %s.\n" |
5762 | msgstr "" | 6063 | msgstr "" |
5763 | 6064 | ||
5764 | #: plugins-root/check_dhcp.c:1373 | 6065 | #: plugins-root/check_dhcp.c:1374 |
5765 | #, c-format | 6066 | #, c-format |
5766 | msgid "Hardware address: " | 6067 | msgid "Hardware address: " |
5767 | msgstr "" | 6068 | msgstr "" |
5768 | 6069 | ||
5769 | #: plugins-root/check_dhcp.c:1389 | 6070 | #: plugins-root/check_dhcp.c:1390 |
5770 | msgid "This plugin tests the availability of DHCP servers on a network." | 6071 | msgid "This plugin tests the availability of DHCP servers on a network." |
5771 | msgstr "" | 6072 | msgstr "" |
5772 | 6073 | ||
5773 | #: plugins-root/check_dhcp.c:1401 | 6074 | #: plugins-root/check_dhcp.c:1402 |
5774 | msgid "IP address of DHCP server that we must hear from" | 6075 | msgid "IP address of DHCP server that we must hear from" |
5775 | msgstr "" | 6076 | msgstr "" |
5776 | 6077 | ||
5777 | #: plugins-root/check_dhcp.c:1403 | 6078 | #: plugins-root/check_dhcp.c:1404 |
5778 | msgid "IP address that should be offered by at least one DHCP server" | 6079 | msgid "IP address that should be offered by at least one DHCP server" |
5779 | msgstr "" | 6080 | msgstr "" |
5780 | 6081 | ||
5781 | #: plugins-root/check_dhcp.c:1405 | 6082 | #: plugins-root/check_dhcp.c:1406 |
5782 | msgid "Seconds to wait for DHCPOFFER before timeout occurs" | 6083 | msgid "Seconds to wait for DHCPOFFER before timeout occurs" |
5783 | msgstr "" | 6084 | msgstr "" |
5784 | 6085 | ||
5785 | #: plugins-root/check_dhcp.c:1407 | 6086 | #: plugins-root/check_dhcp.c:1408 |
5786 | msgid "Interface to to use for listening (i.e. eth0)" | 6087 | msgid "Interface to to use for listening (i.e. eth0)" |
5787 | msgstr "" | 6088 | msgstr "" |
5788 | 6089 | ||
5789 | #: plugins-root/check_dhcp.c:1409 | 6090 | #: plugins-root/check_dhcp.c:1410 |
5790 | msgid "MAC address to use in the DHCP request" | 6091 | msgid "MAC address to use in the DHCP request" |
5791 | msgstr "" | 6092 | msgstr "" |
5792 | 6093 | ||
5793 | #: plugins-root/check_dhcp.c:1411 | 6094 | #: plugins-root/check_dhcp.c:1412 |
5794 | msgid "Unicast testing: mimic a DHCP relay, requires -s" | 6095 | msgid "Unicast testing: mimic a DHCP relay, requires -s" |
5795 | msgstr "" | 6096 | msgstr "" |
5796 | 6097 | ||
5797 | #: plugins-root/check_icmp.c:1288 | 6098 | #: plugins-root/check_icmp.c:1295 |
5798 | msgid "specify a target" | 6099 | msgid "specify a target" |
5799 | msgstr "" | 6100 | msgstr "" |
5800 | 6101 | ||
5801 | #: plugins-root/check_icmp.c:1290 | 6102 | #: plugins-root/check_icmp.c:1297 |
5802 | #, fuzzy | 6103 | #, fuzzy |
5803 | msgid "warning threshold (currently " | 6104 | msgid "warning threshold (currently " |
5804 | msgstr "Warning threshold Integer sein" | 6105 | msgstr "Warning threshold Integer sein" |
5805 | 6106 | ||
5806 | #: plugins-root/check_icmp.c:1293 | 6107 | #: plugins-root/check_icmp.c:1300 |
5807 | #, fuzzy | 6108 | #, fuzzy |
5808 | msgid "critical threshold (currently " | 6109 | msgid "critical threshold (currently " |
5809 | msgstr "Critical threshold muss ein Integer sein" | 6110 | msgstr "Critical threshold muss ein Integer sein" |
5810 | 6111 | ||
5811 | #: plugins-root/check_icmp.c:1296 | 6112 | #: plugins-root/check_icmp.c:1303 |
5812 | #, fuzzy | 6113 | #, fuzzy |
5813 | msgid "specify a source IP address or device name" | 6114 | msgid "specify a source IP address or device name" |
5814 | msgstr "Hostname oder Serveradresse muss angegeben werden" | 6115 | msgstr "Hostname oder Serveradresse muss angegeben werden" |
5815 | 6116 | ||
5816 | #: plugins-root/check_icmp.c:1298 | 6117 | #: plugins-root/check_icmp.c:1305 |
5817 | msgid "number of packets to send (currently " | 6118 | msgid "number of packets to send (currently " |
5818 | msgstr "" | 6119 | msgstr "" |
5819 | 6120 | ||
5820 | #: plugins-root/check_icmp.c:1301 | 6121 | #: plugins-root/check_icmp.c:1308 |
5821 | msgid "max packet interval (currently " | 6122 | msgid "max packet interval (currently " |
5822 | msgstr "" | 6123 | msgstr "" |
5823 | 6124 | ||
5824 | #: plugins-root/check_icmp.c:1304 | 6125 | #: plugins-root/check_icmp.c:1311 |
5825 | msgid "max target interval (currently " | 6126 | msgid "max target interval (currently " |
5826 | msgstr "" | 6127 | msgstr "" |
5827 | 6128 | ||
5828 | #: plugins-root/check_icmp.c:1307 | 6129 | #: plugins-root/check_icmp.c:1314 |
5829 | msgid "number of alive hosts required for success" | 6130 | msgid "number of alive hosts required for success" |
5830 | msgstr "" | 6131 | msgstr "" |
5831 | 6132 | ||
5832 | #: plugins-root/check_icmp.c:1310 | 6133 | #: plugins-root/check_icmp.c:1317 |
5833 | msgid "TTL on outgoing packets (currently " | 6134 | msgid "TTL on outgoing packets (currently " |
5834 | msgstr "" | 6135 | msgstr "" |
5835 | 6136 | ||
5836 | #: plugins-root/check_icmp.c:1313 | 6137 | #: plugins-root/check_icmp.c:1320 |
5837 | msgid "timeout value (seconds, currently " | 6138 | msgid "timeout value (seconds, currently " |
5838 | msgstr "" | 6139 | msgstr "" |
5839 | 6140 | ||
5840 | #: plugins-root/check_icmp.c:1316 | 6141 | #: plugins-root/check_icmp.c:1323 |
5841 | msgid "Number of icmp data bytes to send" | 6142 | msgid "Number of icmp data bytes to send" |
5842 | msgstr "" | 6143 | msgstr "" |
5843 | 6144 | ||
5844 | #: plugins-root/check_icmp.c:1317 | 6145 | #: plugins-root/check_icmp.c:1324 |
5845 | msgid "Packet size will be data bytes + icmp header (currently" | 6146 | msgid "Packet size will be data bytes + icmp header (currently" |
5846 | msgstr "" | 6147 | msgstr "" |
5847 | 6148 | ||
5848 | #: plugins-root/check_icmp.c:1319 | 6149 | #: plugins-root/check_icmp.c:1326 |
5849 | msgid "verbose" | 6150 | msgid "verbose" |
5850 | msgstr "" | 6151 | msgstr "" |
5851 | 6152 | ||
5852 | #: plugins-root/check_icmp.c:1323 | 6153 | #: plugins-root/check_icmp.c:1330 |
5853 | msgid "The -H switch is optional. Naming a host (or several) to check is not." | 6154 | msgid "The -H switch is optional. Naming a host (or several) to check is not." |
5854 | msgstr "" | 6155 | msgstr "" |
5855 | 6156 | ||
5856 | #: plugins-root/check_icmp.c:1325 | 6157 | #: plugins-root/check_icmp.c:1332 |
5857 | msgid "" | 6158 | msgid "" |
5858 | "Threshold format for -w and -c is 200.25,60% for 200.25 msec RTA and 60%" | 6159 | "Threshold format for -w and -c is 200.25,60% for 200.25 msec RTA and 60%" |
5859 | msgstr "" | 6160 | msgstr "" |
5860 | 6161 | ||
5861 | #: plugins-root/check_icmp.c:1326 | 6162 | #: plugins-root/check_icmp.c:1333 |
5862 | msgid "packet loss. The default values should work well for most users." | 6163 | msgid "packet loss. The default values should work well for most users." |
5863 | msgstr "" | 6164 | msgstr "" |
5864 | 6165 | ||
5865 | #: plugins-root/check_icmp.c:1327 | 6166 | #: plugins-root/check_icmp.c:1334 |
5866 | msgid "" | 6167 | msgid "" |
5867 | "You can specify different RTA factors using the standardized abbreviations" | 6168 | "You can specify different RTA factors using the standardized abbreviations" |
5868 | msgstr "" | 6169 | msgstr "" |
5869 | 6170 | ||
5870 | #: plugins-root/check_icmp.c:1328 | 6171 | #: plugins-root/check_icmp.c:1335 |
5871 | msgid "" | 6172 | msgid "" |
5872 | "us (microseconds), ms (milliseconds, default) or just plain s for seconds." | 6173 | "us (microseconds), ms (milliseconds, default) or just plain s for seconds." |
5873 | msgstr "" | 6174 | msgstr "" |
5874 | 6175 | ||
5875 | #: plugins-root/check_icmp.c:1334 | 6176 | #: plugins-root/check_icmp.c:1341 |
5876 | msgid "The -v switch can be specified several times for increased verbosity." | 6177 | msgid "The -v switch can be specified several times for increased verbosity." |
5877 | msgstr "" | 6178 | msgstr "" |
5878 | 6179 | ||
6180 | #~ msgid "Critical threshold must be integer" | ||
6181 | #~ msgstr "Critical threshold muss ein Integer sein" | ||
6182 | |||
6183 | #~ msgid "Warning threshold must be integer" | ||
6184 | #~ msgstr "Warning threshold Integer sein" | ||
6185 | |||
6186 | #, fuzzy | ||
6187 | #~ msgid "Critical Process Count must be an integer!" | ||
6188 | #~ msgstr "Critical threshold muss ein Integer sein" | ||
6189 | |||
6190 | #, fuzzy | ||
6191 | #~ msgid "Warning Process Count must be an integer!" | ||
6192 | #~ msgstr "Warning threshold Integer sein" | ||
6193 | |||
6194 | #, fuzzy | ||
6195 | #~ msgid "CRITICAL - Cannot retrieve server certificate." | ||
6196 | #~ msgstr "CRITICAL - Konnte kein Serverzertifikat erhalten\n" | ||
6197 | |||
6198 | #~ msgid "CRITICAL - Cannot retrieve server certificate.\n" | ||
6199 | #~ msgstr "CRITICAL - Konnte kein Serverzertifikat erhalten\n" | ||
6200 | |||
5879 | #~ msgid "Invalid HTTP response received from host\n" | 6201 | #~ msgid "Invalid HTTP response received from host\n" |
5880 | #~ msgstr "Ungültige HTTP Antwort von Host empfangen\n" | 6202 | #~ msgstr "Ungültige HTTP Antwort von Host empfangen\n" |
5881 | 6203 | ||
@@ -5949,9 +6271,6 @@ msgstr "" | |||
5949 | #~ "%s: Unbekanntes Argument: %s\n" | 6271 | #~ "%s: Unbekanntes Argument: %s\n" |
5950 | #~ "\n" | 6272 | #~ "\n" |
5951 | 6273 | ||
5952 | #~ msgid "No data received %s\n" | ||
5953 | #~ msgstr "Keine Daten empfangen %s\n" | ||
5954 | |||
5955 | #~ msgid "" | 6274 | #~ msgid "" |
5956 | #~ " -1, --proto1\n" | 6275 | #~ " -1, --proto1\n" |
5957 | #~ " tell ssh to use Protocol 1\n" | 6276 | #~ " tell ssh to use Protocol 1\n" |
@@ -9,37 +9,38 @@ | |||
9 | msgid "" | 9 | msgid "" |
10 | msgstr "" | 10 | msgstr "" |
11 | "Project-Id-Version: fr\n" | 11 | "Project-Id-Version: fr\n" |
12 | "Report-Msgid-Bugs-To: nagiosplug-devel@lists.sourceforge.net\n" | 12 | "Report-Msgid-Bugs-To: devel@monitoring-plugins.org\n" |
13 | "POT-Creation-Date: 2010-07-09 19:30-0400\n" | 13 | "POT-Creation-Date: 2014-01-19 16:30-0500\n" |
14 | "PO-Revision-Date: 2010-04-21 23:38-0400\n" | 14 | "PO-Revision-Date: 2010-04-21 23:38-0400\n" |
15 | "Last-Translator: Thomas Guyot-Sionnest <dermoth@aei.ca>\n" | 15 | "Last-Translator: Thomas Guyot-Sionnest <dermoth@aei.ca>\n" |
16 | "Language-Team: Nagios Plugin Development Mailing List <nagiosplug-" | 16 | "Language-Team: Nagios Plugin Development Mailing List <nagiosplug-" |
17 | "devel@lists.sourceforge.net>\n" | 17 | "devel@monitoring-plugins.org>\n" |
18 | "Language: \n" | ||
18 | "MIME-Version: 1.0\n" | 19 | "MIME-Version: 1.0\n" |
19 | "Content-Type: text/plain; charset=UTF-8\n" | 20 | "Content-Type: text/plain; charset=UTF-8\n" |
20 | "Content-Transfer-Encoding: 8bit\n" | 21 | "Content-Transfer-Encoding: 8bit\n" |
21 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" | 22 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" |
22 | "X-Generator: KBabel 1.11.4\n" | 23 | "X-Generator: KBabel 1.11.4\n" |
23 | 24 | ||
24 | #: plugins/check_by_ssh.c:86 plugins/check_cluster.c:76 plugins/check_dig.c:87 | 25 | #: plugins/check_by_ssh.c:86 plugins/check_cluster.c:76 plugins/check_dig.c:88 |
25 | #: plugins/check_disk.c:192 plugins/check_dns.c:102 plugins/check_dummy.c:52 | 26 | #: plugins/check_disk.c:194 plugins/check_dns.c:102 plugins/check_dummy.c:52 |
26 | #: plugins/check_fping.c:89 plugins/check_game.c:82 plugins/check_hpjd.c:103 | 27 | #: plugins/check_fping.c:93 plugins/check_game.c:82 plugins/check_hpjd.c:103 |
27 | #: plugins/check_http.c:157 plugins/check_ldap.c:109 plugins/check_load.c:122 | 28 | #: plugins/check_http.c:167 plugins/check_ldap.c:109 plugins/check_load.c:122 |
28 | #: plugins/check_mrtgtraf.c:83 plugins/check_mysql.c:85 | 29 | #: plugins/check_mrtgtraf.c:83 plugins/check_mysql.c:122 |
29 | #: plugins/check_nagios.c:91 plugins/check_nt.c:126 plugins/check_ntp.c:766 | 30 | #: plugins/check_nagios.c:91 plugins/check_nt.c:127 plugins/check_ntp.c:770 |
30 | #: plugins/check_ntp_peer.c:569 plugins/check_ntp_time.c:548 | 31 | #: plugins/check_ntp_peer.c:575 plugins/check_ntp_time.c:552 |
31 | #: plugins/check_nwstat.c:173 plugins/check_overcr.c:102 | 32 | #: plugins/check_nwstat.c:173 plugins/check_overcr.c:102 |
32 | #: plugins/check_pgsql.c:154 plugins/check_ping.c:95 plugins/check_procs.c:147 | 33 | #: plugins/check_pgsql.c:172 plugins/check_ping.c:95 plugins/check_procs.c:172 |
33 | #: plugins/check_radius.c:160 plugins/check_real.c:80 plugins/check_smtp.c:140 | 34 | #: plugins/check_radius.c:160 plugins/check_real.c:80 plugins/check_smtp.c:144 |
34 | #: plugins/check_snmp.c:205 plugins/check_ssh.c:73 plugins/check_swap.c:110 | 35 | #: plugins/check_snmp.c:240 plugins/check_ssh.c:73 plugins/check_swap.c:110 |
35 | #: plugins/check_tcp.c:209 plugins/check_time.c:78 plugins/check_ups.c:122 | 36 | #: plugins/check_tcp.c:218 plugins/check_time.c:78 plugins/check_ups.c:122 |
36 | #: plugins/check_users.c:68 plugins/negate.c:211 plugins-root/check_dhcp.c:270 | 37 | #: plugins/check_users.c:77 plugins/negate.c:214 plugins-root/check_dhcp.c:270 |
37 | msgid "Could not parse arguments" | 38 | msgid "Could not parse arguments" |
38 | msgstr "Impossible de décomposer les arguments" | 39 | msgstr "Impossible de décomposer les arguments" |
39 | 40 | ||
40 | #: plugins/check_by_ssh.c:90 plugins/check_dig.c:81 plugins/check_dns.c:95 | 41 | #: plugins/check_by_ssh.c:90 plugins/check_dig.c:82 plugins/check_dns.c:95 |
41 | #: plugins/check_nagios.c:95 plugins/check_pgsql.c:160 plugins/check_ping.c:99 | 42 | #: plugins/check_nagios.c:95 plugins/check_pgsql.c:178 plugins/check_ping.c:99 |
42 | #: plugins/check_procs.c:154 plugins/negate.c:76 | 43 | #: plugins/check_procs.c:188 plugins/check_snmp.c:336 plugins/negate.c:79 |
43 | msgid "Cannot catch SIGALRM" | 44 | msgid "Cannot catch SIGALRM" |
44 | msgstr "Impossible d'obtenir le signal SIGALRM" | 45 | msgstr "Impossible d'obtenir le signal SIGALRM" |
45 | 46 | ||
@@ -63,197 +64,205 @@ msgstr "SSH AVERTISSEMENT: impossible d'ouvrir %s\n" | |||
63 | msgid "%s: Error parsing output\n" | 64 | msgid "%s: Error parsing output\n" |
64 | msgstr "%s: Erreur d'analyse du résultat\n" | 65 | msgstr "%s: Erreur d'analyse du résultat\n" |
65 | 66 | ||
66 | #: plugins/check_by_ssh.c:219 plugins/check_disk.c:525 | 67 | #: plugins/check_by_ssh.c:220 plugins/check_disk.c:476 |
67 | #: plugins/check_http.c:256 plugins/check_ldap.c:293 plugins/check_pgsql.c:250 | 68 | #: plugins/check_http.c:278 plugins/check_ldap.c:293 plugins/check_pgsql.c:311 |
68 | #: plugins/check_procs.c:364 plugins/check_radius.c:308 | 69 | #: plugins/check_procs.c:437 plugins/check_radius.c:308 |
69 | #: plugins/check_real.c:356 plugins/check_smtp.c:587 plugins/check_snmp.c:665 | 70 | #: plugins/check_real.c:356 plugins/check_smtp.c:581 plugins/check_snmp.c:736 |
70 | #: plugins/check_ssh.c:138 plugins/check_tcp.c:490 plugins/check_time.c:302 | 71 | #: plugins/check_ssh.c:138 plugins/check_tcp.c:505 plugins/check_time.c:302 |
71 | #: plugins/check_ups.c:556 plugins/negate.c:161 | 72 | #: plugins/check_ups.c:556 plugins/negate.c:164 |
72 | msgid "Timeout interval must be a positive integer" | 73 | msgid "Timeout interval must be a positive integer" |
73 | msgstr "Le délai d'attente doit être un entier positif" | 74 | msgstr "Le délai d'attente doit être un entier positif" |
74 | 75 | ||
75 | #: plugins/check_by_ssh.c:229 plugins/check_pgsql.c:274 | 76 | #: plugins/check_by_ssh.c:230 plugins/check_pgsql.c:341 |
76 | #: plugins/check_radius.c:272 plugins/check_real.c:327 | 77 | #: plugins/check_radius.c:272 plugins/check_real.c:327 |
77 | #: plugins/check_smtp.c:514 plugins/check_tcp.c:496 plugins/check_time.c:296 | 78 | #: plugins/check_smtp.c:506 plugins/check_tcp.c:511 plugins/check_time.c:296 |
78 | #: plugins/check_ups.c:518 | 79 | #: plugins/check_ups.c:518 |
79 | msgid "Port must be a positive integer" | 80 | msgid "Port must be a positive integer" |
80 | msgstr "Le numéro du port doit être un entier positif" | 81 | msgstr "Le numéro du port doit être un entier positif" |
81 | 82 | ||
82 | #: plugins/check_by_ssh.c:290 | 83 | #: plugins/check_by_ssh.c:291 |
83 | msgid "skip-stdout argument must be an integer" | 84 | msgid "skip-stdout argument must be an integer" |
84 | msgstr "Le nombres de lignes à sauter (skip-stdout) doit être un entier" | 85 | msgstr "Le nombres de lignes à sauter (skip-stdout) doit être un entier" |
85 | 86 | ||
86 | #: plugins/check_by_ssh.c:298 | 87 | #: plugins/check_by_ssh.c:299 |
87 | msgid "skip-stderr argument must be an integer" | 88 | msgid "skip-stderr argument must be an integer" |
88 | msgstr "Le nombres de lignes à sauter (skip-stderr) doit être un entier" | 89 | msgstr "Le nombres de lignes à sauter (skip-stderr) doit être un entier" |
89 | 90 | ||
90 | #: plugins/check_by_ssh.c:317 | 91 | #: plugins/check_by_ssh.c:322 |
91 | #, c-format | 92 | #, c-format |
92 | msgid "%s: You must provide a host name\n" | 93 | msgid "%s: You must provide a host name\n" |
93 | msgstr "%s: Vous devez fournir un nom d'hôte\n" | 94 | msgstr "%s: Vous devez fournir un nom d'hôte\n" |
94 | 95 | ||
95 | #: plugins/check_by_ssh.c:335 | 96 | #: plugins/check_by_ssh.c:340 |
96 | msgid "No remotecmd" | 97 | msgid "No remotecmd" |
97 | msgstr "Pas de commande distante" | 98 | msgstr "Pas de commande distante" |
98 | 99 | ||
99 | #: plugins/check_by_ssh.c:349 | 100 | #: plugins/check_by_ssh.c:354 |
100 | #, c-format | 101 | #, c-format |
101 | msgid "%s: Argument limit of %d exceeded\n" | 102 | msgid "%s: Argument limit of %d exceeded\n" |
102 | msgstr "" | 103 | msgstr "" |
103 | 104 | ||
104 | #: plugins/check_by_ssh.c:352 | 105 | #: plugins/check_by_ssh.c:357 |
105 | msgid "Can not (re)allocate 'commargv' buffer\n" | 106 | msgid "Can not (re)allocate 'commargv' buffer\n" |
106 | msgstr "Impossible de réallouer le tampon 'commargv'\n" | 107 | msgstr "Impossible de réallouer le tampon 'commargv'\n" |
107 | 108 | ||
108 | #: plugins/check_by_ssh.c:366 | 109 | #: plugins/check_by_ssh.c:371 |
109 | #, c-format | 110 | #, c-format |
110 | msgid "" | 111 | msgid "" |
111 | "%s: In passive mode, you must provide a service name for each command.\n" | 112 | "%s: In passive mode, you must provide a service name for each command.\n" |
112 | msgstr "" | 113 | msgstr "" |
113 | "%s: En mode passif, vous devez fournir un service pour chaque commande.\n" | 114 | "%s: En mode passif, vous devez fournir un service pour chaque commande.\n" |
114 | 115 | ||
115 | #: plugins/check_by_ssh.c:369 | 116 | #: plugins/check_by_ssh.c:374 |
116 | #, c-format | 117 | #, fuzzy, c-format |
117 | msgid "" | 118 | msgid "" |
118 | "%s: In passive mode, you must provide the host short name from the nagios " | 119 | "%s: In passive mode, you must provide the host short name from the " |
119 | "configs.\n" | 120 | "monitoring configs.\n" |
120 | msgstr "" | 121 | msgstr "" |
121 | "%s: En mode passif, vous devez fournir le nom court du hôte mentionné dans " | 122 | "%s: En mode passif, vous devez fournir le nom court du hôte mentionné dans " |
122 | "la configuration de nagios.\n" | 123 | "la configuration de nagios.\n" |
123 | 124 | ||
124 | #: plugins/check_by_ssh.c:383 | 125 | #: plugins/check_by_ssh.c:388 |
125 | #, c-format | 126 | #, c-format |
126 | msgid "This plugin uses SSH to execute commands on a remote host" | 127 | msgid "This plugin uses SSH to execute commands on a remote host" |
127 | msgstr "Ce plugin utilise SSH pour exécuter des commandes sur un hôte distant" | 128 | msgstr "Ce plugin utilise SSH pour exécuter des commandes sur un hôte distant" |
128 | 129 | ||
129 | #: plugins/check_by_ssh.c:398 | 130 | #: plugins/check_by_ssh.c:403 |
130 | msgid "tell ssh to use Protocol 1 [optional]" | 131 | msgid "tell ssh to use Protocol 1 [optional]" |
131 | msgstr "dire à ssh d'utiliser le protocole version 1 [optionnel]" | 132 | msgstr "dire à ssh d'utiliser le protocole version 1 [optionnel]" |
132 | 133 | ||
133 | #: plugins/check_by_ssh.c:400 | 134 | #: plugins/check_by_ssh.c:405 |
134 | msgid "tell ssh to use Protocol 2 [optional]" | 135 | msgid "tell ssh to use Protocol 2 [optional]" |
135 | msgstr "dire à ssh d'utiliser le protocole 2 [optionnel]" | 136 | msgstr "dire à ssh d'utiliser le protocole 2 [optionnel]" |
136 | 137 | ||
137 | #: plugins/check_by_ssh.c:402 | 138 | #: plugins/check_by_ssh.c:407 |
138 | msgid "Ignore all or (if specified) first n lines on STDOUT [optional]" | 139 | msgid "Ignore all or (if specified) first n lines on STDOUT [optional]" |
139 | msgstr "" | 140 | msgstr "" |
140 | 141 | ||
141 | #: plugins/check_by_ssh.c:404 | 142 | #: plugins/check_by_ssh.c:409 |
142 | msgid "Ignore all or (if specified) first n lines on STDERR [optional]" | 143 | msgid "Ignore all or (if specified) first n lines on STDERR [optional]" |
143 | msgstr "" | 144 | msgstr "" |
144 | 145 | ||
145 | #: plugins/check_by_ssh.c:406 | 146 | #: plugins/check_by_ssh.c:411 |
146 | msgid "" | 147 | msgid "" |
147 | "tells ssh to fork rather than create a tty [optional]. This will always " | 148 | "tells ssh to fork rather than create a tty [optional]. This will always " |
148 | "return OK if ssh is executed" | 149 | "return OK if ssh is executed" |
149 | msgstr "" | 150 | msgstr "" |
150 | 151 | ||
151 | #: plugins/check_by_ssh.c:408 | 152 | #: plugins/check_by_ssh.c:413 |
152 | msgid "command to execute on the remote machine" | 153 | msgid "command to execute on the remote machine" |
153 | msgstr "commande à exécuter sur la machine distante" | 154 | msgstr "commande à exécuter sur la machine distante" |
154 | 155 | ||
155 | #: plugins/check_by_ssh.c:410 | 156 | #: plugins/check_by_ssh.c:415 |
156 | msgid "SSH user name on remote host [optional]" | 157 | msgid "SSH user name on remote host [optional]" |
157 | msgstr "Nom d'utilisateur ssh sur la machine distante [optionnel]" | 158 | msgstr "Nom d'utilisateur ssh sur la machine distante [optionnel]" |
158 | 159 | ||
159 | #: plugins/check_by_ssh.c:412 | 160 | #: plugins/check_by_ssh.c:417 |
160 | msgid "identity of an authorized key [optional]" | 161 | msgid "identity of an authorized key [optional]" |
161 | msgstr "Identité de la clé autorisée [optionnel]" | 162 | msgstr "Identité de la clé autorisée [optionnel]" |
162 | 163 | ||
163 | #: plugins/check_by_ssh.c:414 | 164 | #: plugins/check_by_ssh.c:419 |
164 | msgid "external command file for nagios [optional]" | 165 | #, fuzzy |
166 | msgid "external command file for monitoring [optional]" | ||
165 | msgstr "commande externe pour nagios [optionnel]" | 167 | msgstr "commande externe pour nagios [optionnel]" |
166 | 168 | ||
167 | #: plugins/check_by_ssh.c:416 | 169 | #: plugins/check_by_ssh.c:421 |
168 | msgid "list of nagios service names, separated by ':' [optional]" | 170 | #, fuzzy |
171 | msgid "list of monitoring service names, separated by ':' [optional]" | ||
169 | msgstr "liste des services nagios, séparés par ':' [optionnel] " | 172 | msgstr "liste des services nagios, séparés par ':' [optionnel] " |
170 | 173 | ||
171 | #: plugins/check_by_ssh.c:418 | 174 | #: plugins/check_by_ssh.c:423 |
172 | msgid "short name of host in nagios configuration [optional]" | 175 | #, fuzzy |
176 | msgid "short name of host in the monitoring configuration [optional]" | ||
173 | msgstr "nom court de l'hôte dans la configuration nagios [optionnel]" | 177 | msgstr "nom court de l'hôte dans la configuration nagios [optionnel]" |
174 | 178 | ||
175 | #: plugins/check_by_ssh.c:420 | 179 | #: plugins/check_by_ssh.c:425 |
176 | msgid "Call ssh with '-o OPTION' (may be used multiple times) [optional]" | 180 | msgid "Call ssh with '-o OPTION' (may be used multiple times) [optional]" |
177 | msgstr "" | 181 | msgstr "" |
178 | "appelle ssh avec '-o OPTION' (peut être utilisé plusieurs fois) [optionnel]" | 182 | "appelle ssh avec '-o OPTION' (peut être utilisé plusieurs fois) [optionnel]" |
179 | 183 | ||
180 | #: plugins/check_by_ssh.c:422 | 184 | #: plugins/check_by_ssh.c:427 |
185 | #, fuzzy | ||
186 | msgid "Tell ssh to use this configfile [optional]" | ||
187 | msgstr "dire à ssh d'utiliser le protocole version 1 [optionnel]" | ||
188 | |||
189 | #: plugins/check_by_ssh.c:429 | ||
181 | msgid "Tell ssh to suppress warning and diagnostic messages [optional]" | 190 | msgid "Tell ssh to suppress warning and diagnostic messages [optional]" |
182 | msgstr "" | 191 | msgstr "" |
183 | "dire à ssh de supprimer les messages d'erreurs et de diagnostic [optionnel]" | 192 | "dire à ssh de supprimer les messages d'erreurs et de diagnostic [optionnel]" |
184 | 193 | ||
185 | #: plugins/check_by_ssh.c:427 | 194 | #: plugins/check_by_ssh.c:434 |
186 | msgid "The most common mode of use is to refer to a local identity file with" | 195 | msgid "The most common mode of use is to refer to a local identity file with" |
187 | msgstr "" | 196 | msgstr "" |
188 | 197 | ||
189 | #: plugins/check_by_ssh.c:428 | 198 | #: plugins/check_by_ssh.c:435 |
190 | msgid "the '-i' option. In this mode, the identity pair should have a null" | 199 | msgid "the '-i' option. In this mode, the identity pair should have a null" |
191 | msgstr "" | 200 | msgstr "" |
192 | 201 | ||
193 | #: plugins/check_by_ssh.c:429 | 202 | #: plugins/check_by_ssh.c:436 |
194 | msgid "passphrase and the public key should be listed in the authorized_keys" | 203 | msgid "passphrase and the public key should be listed in the authorized_keys" |
195 | msgstr "" | 204 | msgstr "" |
196 | 205 | ||
197 | #: plugins/check_by_ssh.c:430 | 206 | #: plugins/check_by_ssh.c:437 |
198 | msgid "file of the remote host. Usually the key will be restricted to running" | 207 | msgid "file of the remote host. Usually the key will be restricted to running" |
199 | msgstr "" | 208 | msgstr "" |
200 | 209 | ||
201 | #: plugins/check_by_ssh.c:431 | 210 | #: plugins/check_by_ssh.c:438 |
202 | msgid "only one command on the remote server. If the remote SSH server tracks" | 211 | msgid "only one command on the remote server. If the remote SSH server tracks" |
203 | msgstr "" | 212 | msgstr "" |
204 | 213 | ||
205 | #: plugins/check_by_ssh.c:432 | 214 | #: plugins/check_by_ssh.c:439 |
206 | msgid "invocation arguments, the one remote program may be an agent that can" | 215 | msgid "invocation arguments, the one remote program may be an agent that can" |
207 | msgstr "" | 216 | msgstr "" |
208 | 217 | ||
209 | #: plugins/check_by_ssh.c:433 | 218 | #: plugins/check_by_ssh.c:440 |
210 | msgid "execute additional commands as proxy" | 219 | msgid "execute additional commands as proxy" |
211 | msgstr "" | 220 | msgstr "" |
212 | 221 | ||
213 | #: plugins/check_by_ssh.c:435 | 222 | #: plugins/check_by_ssh.c:442 |
214 | msgid "To use passive mode, provide multiple '-C' options, and provide" | 223 | msgid "To use passive mode, provide multiple '-C' options, and provide" |
215 | msgstr "Pour utiliser le mode passif, utilisez plusieurs fois l'option '-C',et" | 224 | msgstr "Pour utiliser le mode passif, utilisez plusieurs fois l'option '-C',et" |
216 | 225 | ||
217 | #: plugins/check_by_ssh.c:436 | 226 | #: plugins/check_by_ssh.c:443 |
218 | msgid "" | 227 | msgid "" |
219 | "all of -O, -s, and -n options (servicelist order must match '-C'options)" | 228 | "all of -O, -s, and -n options (servicelist order must match '-C'options)" |
220 | msgstr "" | 229 | msgstr "" |
221 | "et les options -O, -s, n (l'ordre des services doit correspondre aux " | 230 | "et les options -O, -s, n (l'ordre des services doit correspondre aux " |
222 | "multiples options '-C)" | 231 | "multiples options '-C)" |
223 | 232 | ||
224 | #: plugins/check_by_ssh.c:438 plugins/check_cluster.c:261 | 233 | #: plugins/check_by_ssh.c:445 plugins/check_cluster.c:261 |
225 | #: plugins/check_dig.c:342 plugins/check_disk.c:963 plugins/check_http.c:1415 | 234 | #: plugins/check_dig.c:355 plugins/check_disk.c:924 plugins/check_http.c:1560 |
226 | #: plugins/check_nagios.c:302 plugins/check_ntp.c:864 | 235 | #: plugins/check_nagios.c:312 plugins/check_ntp.c:869 |
227 | #: plugins/check_ntp_peer.c:698 plugins/check_ntp_time.c:628 | 236 | #: plugins/check_ntp_peer.c:705 plugins/check_ntp_time.c:633 |
228 | #: plugins/check_procs.c:742 plugins/negate.c:268 plugins/urlize.c:180 | 237 | #: plugins/check_procs.c:763 plugins/negate.c:271 plugins/urlize.c:180 |
229 | msgid "Examples:" | 238 | msgid "Examples:" |
230 | msgstr "Exemples:" | 239 | msgstr "Exemples:" |
231 | 240 | ||
232 | #: plugins/check_by_ssh.c:453 plugins/check_cluster.c:274 | 241 | #: plugins/check_by_ssh.c:460 plugins/check_cluster.c:274 |
233 | #: plugins/check_dig.c:354 plugins/check_disk.c:980 plugins/check_dns.c:486 | 242 | #: plugins/check_dig.c:367 plugins/check_disk.c:941 plugins/check_dns.c:486 |
234 | #: plugins/check_dummy.c:122 plugins/check_fping.c:432 | 243 | #: plugins/check_dummy.c:122 plugins/check_fping.c:505 |
235 | #: plugins/check_game.c:331 plugins/check_hpjd.c:414 plugins/check_http.c:1438 | 244 | #: plugins/check_game.c:331 plugins/check_hpjd.c:414 plugins/check_http.c:1590 |
236 | #: plugins/check_ldap.c:452 plugins/check_load.c:325 plugins/check_mrtg.c:382 | 245 | #: plugins/check_ldap.c:451 plugins/check_load.c:334 plugins/check_mrtg.c:382 |
237 | #: plugins/check_mysql.c:425 plugins/check_nagios.c:313 plugins/check_nt.c:759 | 246 | #: plugins/check_mysql.c:569 plugins/check_nagios.c:323 plugins/check_nt.c:774 |
238 | #: plugins/check_ntp.c:883 plugins/check_ntp_peer.c:718 | 247 | #: plugins/check_ntp.c:888 plugins/check_ntp_peer.c:725 |
239 | #: plugins/check_ntp_time.c:637 plugins/check_nwstat.c:1685 | 248 | #: plugins/check_ntp_time.c:642 plugins/check_nwstat.c:1685 |
240 | #: plugins/check_overcr.c:467 plugins/check_pgsql.c:477 | 249 | #: plugins/check_overcr.c:467 plugins/check_pgsql.c:578 |
241 | #: plugins/check_ping.c:601 plugins/check_procs.c:760 | 250 | #: plugins/check_ping.c:603 plugins/check_procs.c:781 |
242 | #: plugins/check_radius.c:385 plugins/check_real.c:451 | 251 | #: plugins/check_radius.c:385 plugins/check_real.c:451 |
243 | #: plugins/check_smtp.c:821 plugins/check_snmp.c:1107 plugins/check_ssh.c:302 | 252 | #: plugins/check_smtp.c:843 plugins/check_snmp.c:1207 plugins/check_ssh.c:309 |
244 | #: plugins/check_swap.c:558 plugins/check_tcp.c:651 plugins/check_time.c:371 | 253 | #: plugins/check_swap.c:558 plugins/check_tcp.c:684 plugins/check_time.c:371 |
245 | #: plugins/check_ups.c:660 plugins/check_users.c:229 | 254 | #: plugins/check_ups.c:660 plugins/check_users.c:240 |
246 | #: plugins/check_ide_smart.c:527 plugins/negate.c:292 plugins/urlize.c:197 | 255 | #: plugins/check_ide_smart.c:640 plugins/negate.c:295 plugins/urlize.c:197 |
247 | #: plugins-root/check_dhcp.c:1421 plugins-root/check_icmp.c:1347 | 256 | #: plugins-root/check_dhcp.c:1422 plugins-root/check_icmp.c:1354 |
248 | msgid "Usage:" | 257 | msgid "Usage:" |
249 | msgstr "Utilisation:" | 258 | msgstr "Utilisation:" |
250 | 259 | ||
251 | #: plugins/check_cluster.c:230 | 260 | #: plugins/check_cluster.c:230 |
252 | #, c-format | 261 | #, fuzzy, c-format |
253 | msgid "Host/Service Cluster Plugin for Nagios 2" | 262 | msgid "Host/Service Cluster Plugin for Monitoring" |
254 | msgstr "Plugin de Cluster d'Hôte/Service pour Nagios 2" | 263 | msgstr "Plugin de Cluster d'Hôte/Service pour Nagios 2" |
255 | 264 | ||
256 | #: plugins/check_cluster.c:236 plugins/check_nt.c:661 | 265 | #: plugins/check_cluster.c:236 plugins/check_nt.c:676 |
257 | msgid "Options:" | 266 | msgid "Options:" |
258 | msgstr "Options:" | 267 | msgstr "Options:" |
259 | 268 | ||
@@ -290,13 +299,13 @@ msgid "commas" | |||
290 | msgstr "virgules" | 299 | msgstr "virgules" |
291 | 300 | ||
292 | #: plugins/check_cluster.c:257 plugins/check_game.c:318 | 301 | #: plugins/check_cluster.c:257 plugins/check_game.c:318 |
293 | #: plugins/check_http.c:1401 plugins/check_ldap.c:434 plugins/check_mrtg.c:363 | 302 | #: plugins/check_http.c:1542 plugins/check_ldap.c:438 plugins/check_mrtg.c:363 |
294 | #: plugins/check_mrtgtraf.c:361 plugins/check_mysql.c:414 | 303 | #: plugins/check_mrtgtraf.c:361 plugins/check_mysql.c:558 |
295 | #: plugins/check_nt.c:743 plugins/check_ntp.c:860 plugins/check_ntp_peer.c:689 | 304 | #: plugins/check_nt.c:758 plugins/check_ntp.c:865 plugins/check_ntp_peer.c:696 |
296 | #: plugins/check_ntp_time.c:621 plugins/check_nwstat.c:1670 | 305 | #: plugins/check_ntp_time.c:626 plugins/check_nwstat.c:1670 |
297 | #: plugins/check_overcr.c:456 plugins/check_snmp.c:1078 | 306 | #: plugins/check_overcr.c:456 plugins/check_snmp.c:1178 |
298 | #: plugins/check_swap.c:547 plugins/check_ups.c:642 plugins/negate.c:274 | 307 | #: plugins/check_swap.c:547 plugins/check_ups.c:642 plugins/negate.c:277 |
299 | #: plugins-root/check_icmp.c:1322 | 308 | #: plugins-root/check_icmp.c:1329 |
300 | msgid "Notes:" | 309 | msgid "Notes:" |
301 | msgstr "Notes:" | 310 | msgstr "Notes:" |
302 | 311 | ||
@@ -309,259 +318,275 @@ msgstr "" | |||
309 | msgid "state." | 318 | msgid "state." |
310 | msgstr "" | 319 | msgstr "" |
311 | 320 | ||
312 | #: plugins/check_dig.c:99 plugins/check_dig.c:101 | 321 | #: plugins/check_dig.c:100 plugins/check_dig.c:102 |
313 | #, c-format | 322 | #, c-format |
314 | msgid "Looking for: '%s'\n" | 323 | msgid "Looking for: '%s'\n" |
315 | msgstr "Recherche de: '%s'\n" | 324 | msgstr "Recherche de: '%s'\n" |
316 | 325 | ||
317 | #: plugins/check_dig.c:108 | 326 | #: plugins/check_dig.c:109 |
318 | msgid "dig returned an error status" | 327 | msgid "dig returned an error status" |
319 | msgstr "dig à renvoyé un état d'erreur" | 328 | msgstr "dig à renvoyé un état d'erreur" |
320 | 329 | ||
321 | #: plugins/check_dig.c:133 | 330 | #: plugins/check_dig.c:134 |
322 | msgid "Server not found in ANSWER SECTION" | 331 | msgid "Server not found in ANSWER SECTION" |
323 | msgstr "Le serveur n'a pas été trouvé dans l'ANSWER SECTION" | 332 | msgstr "Le serveur n'a pas été trouvé dans l'ANSWER SECTION" |
324 | 333 | ||
325 | #: plugins/check_dig.c:143 | 334 | #: plugins/check_dig.c:144 |
326 | msgid "No ANSWER SECTION found" | 335 | msgid "No ANSWER SECTION found" |
327 | msgstr "Pas d' ANSWER SECTION trouvé" | 336 | msgstr "Pas d' ANSWER SECTION trouvé" |
328 | 337 | ||
329 | #: plugins/check_dig.c:170 | 338 | #: plugins/check_dig.c:171 |
330 | msgid "Probably a non-existent host/domain" | 339 | msgid "Probably a non-existent host/domain" |
331 | msgstr "Probablement un hôte/domaine inexistant" | 340 | msgstr "Probablement un hôte/domaine inexistant" |
332 | 341 | ||
333 | #: plugins/check_dig.c:230 | 342 | #: plugins/check_dig.c:233 |
334 | #, c-format | 343 | #, c-format |
335 | msgid "Port must be a positive integer - %s" | 344 | msgid "Port must be a positive integer - %s" |
336 | msgstr "Le numéro du port doit être un entier positif - %s" | 345 | msgstr "Le numéro du port doit être un entier positif - %s" |
337 | 346 | ||
338 | #: plugins/check_dig.c:241 | 347 | #: plugins/check_dig.c:244 |
339 | #, c-format | 348 | #, c-format |
340 | msgid "Warning interval must be a positive integer - %s" | 349 | msgid "Warning interval must be a positive integer - %s" |
341 | msgstr "Le seuil d'avertissement doit être un entier positif - %s" | 350 | msgstr "Le seuil d'avertissement doit être un entier positif - %s" |
342 | 351 | ||
343 | #: plugins/check_dig.c:249 | 352 | #: plugins/check_dig.c:252 |
344 | #, c-format | 353 | #, c-format |
345 | msgid "Critical interval must be a positive integer - %s" | 354 | msgid "Critical interval must be a positive integer - %s" |
346 | msgstr "Le seuil critique doit être un entier positif - %s" | 355 | msgstr "Le seuil critique doit être un entier positif - %s" |
347 | 356 | ||
348 | #: plugins/check_dig.c:257 | 357 | #: plugins/check_dig.c:260 |
349 | #, c-format | 358 | #, c-format |
350 | msgid "Timeout interval must be a positive integer - %s" | 359 | msgid "Timeout interval must be a positive integer - %s" |
351 | msgstr "Le délai d'attente doit être un entier positif - %s" | 360 | msgstr "Le délai d'attente doit être un entier positif - %s" |
352 | 361 | ||
353 | #: plugins/check_dig.c:316 | 362 | #: plugins/check_dig.c:325 |
354 | #, c-format | 363 | #, c-format |
355 | msgid "This plugin test the DNS service on the specified host using dig" | 364 | msgid "This plugin test the DNS service on the specified host using dig" |
356 | msgstr "Ce plugin teste le service DNS sur l'hôte spécifié en utilisant dig" | 365 | msgstr "Ce plugin teste le service DNS sur l'hôte spécifié en utilisant dig" |
357 | 366 | ||
358 | #: plugins/check_dig.c:329 | 367 | #: plugins/check_dig.c:338 |
368 | msgid "Force dig to only use IPv4 query transport" | ||
369 | msgstr "" | ||
370 | |||
371 | #: plugins/check_dig.c:340 | ||
372 | msgid "Force dig to only use IPv6 query transport" | ||
373 | msgstr "" | ||
374 | |||
375 | #: plugins/check_dig.c:342 | ||
359 | msgid "Machine name to lookup" | 376 | msgid "Machine name to lookup" |
360 | msgstr "Nom de machine à rechercher" | 377 | msgstr "Nom de machine à rechercher" |
361 | 378 | ||
362 | #: plugins/check_dig.c:331 | 379 | #: plugins/check_dig.c:344 |
363 | msgid "Record type to lookup (default: A)" | 380 | msgid "Record type to lookup (default: A)" |
364 | msgstr "Type d'enregistrement à rechercher (par défaut: A)" | 381 | msgstr "Type d'enregistrement à rechercher (par défaut: A)" |
365 | 382 | ||
366 | #: plugins/check_dig.c:333 | 383 | #: plugins/check_dig.c:346 |
367 | msgid "" | 384 | msgid "" |
368 | "An address expected to be in the answer section. If not set, uses whatever" | 385 | "An address expected to be in the answer section. If not set, uses whatever" |
369 | msgstr "" | 386 | msgstr "" |
370 | "Une adresse qui devrait se trouver dans la section réponce. Si omit, utilise" | 387 | "Une adresse qui devrait se trouver dans la section réponce. Si omit, utilise" |
371 | 388 | ||
372 | #: plugins/check_dig.c:334 | 389 | #: plugins/check_dig.c:347 |
373 | msgid "was in -l" | 390 | msgid "was in -l" |
374 | msgstr "ce qui est passé au paramètre -l" | 391 | msgstr "ce qui est passé au paramètre -l" |
375 | 392 | ||
376 | #: plugins/check_dig.c:336 | 393 | #: plugins/check_dig.c:349 |
377 | msgid "Pass STRING as argument(s) to dig" | 394 | msgid "Pass STRING as argument(s) to dig" |
378 | msgstr "" | 395 | msgstr "" |
379 | 396 | ||
380 | #: plugins/check_disk.c:214 | 397 | #: plugins/check_disk.c:216 |
381 | #, c-format | 398 | #, c-format |
382 | msgid "DISK %s: %s not found\n" | 399 | msgid "DISK %s: %s not found\n" |
383 | msgstr "DISK %s: %s non trouvé\n" | 400 | msgstr "DISK %s: %s non trouvé\n" |
384 | 401 | ||
385 | #: plugins/check_disk.c:214 plugins/check_disk.c:995 plugins/check_dns.c:241 | 402 | #: plugins/check_disk.c:216 plugins/check_disk.c:956 plugins/check_dns.c:241 |
386 | #: plugins/check_dummy.c:74 plugins/check_mysql.c:212 | 403 | #: plugins/check_dummy.c:74 plugins/check_mysql.c:299 |
387 | #: plugins/check_nagios.c:104 plugins/check_nagios.c:168 | 404 | #: plugins/check_nagios.c:104 plugins/check_nagios.c:168 |
388 | #: plugins/check_nagios.c:172 plugins/check_procs.c:290 | 405 | #: plugins/check_nagios.c:172 plugins/check_pgsql.c:601 |
406 | #: plugins/check_pgsql.c:618 plugins/check_pgsql.c:627 | ||
407 | #: plugins/check_pgsql.c:642 plugins/check_procs.c:351 | ||
389 | #, c-format | 408 | #, c-format |
390 | msgid "CRITICAL" | 409 | msgid "CRITICAL" |
391 | msgstr "CRITIQUE" | 410 | msgstr "CRITIQUE" |
392 | 411 | ||
393 | #: plugins/check_disk.c:599 | 412 | #: plugins/check_disk.c:550 |
394 | #, c-format | 413 | #, c-format |
395 | msgid "unit type %s not known\n" | 414 | msgid "unit type %s not known\n" |
396 | msgstr "unité de type %s inconnue\n" | 415 | msgstr "unité de type %s inconnue\n" |
397 | 416 | ||
398 | #: plugins/check_disk.c:602 | 417 | #: plugins/check_disk.c:553 |
399 | #, c-format | 418 | #, c-format |
400 | msgid "failed allocating storage for '%s'\n" | 419 | msgid "failed allocating storage for '%s'\n" |
401 | msgstr "Impossible d'allouer de l'espace pour '%s'\n" | 420 | msgstr "Impossible d'allouer de l'espace pour '%s'\n" |
402 | 421 | ||
403 | #: plugins/check_disk.c:626 plugins/check_disk.c:664 plugins/check_disk.c:669 | 422 | #: plugins/check_disk.c:577 plugins/check_disk.c:618 plugins/check_disk.c:626 |
404 | #: plugins/check_disk.c:676 plugins/check_disk.c:680 plugins/check_disk.c:720 | 423 | #: plugins/check_disk.c:633 plugins/check_disk.c:637 plugins/check_disk.c:677 |
405 | #: plugins/check_disk.c:726 plugins/check_disk.c:745 plugins/check_dummy.c:77 | 424 | #: plugins/check_disk.c:683 plugins/check_disk.c:702 plugins/check_dummy.c:77 |
406 | #: plugins/check_dummy.c:80 plugins/check_procs.c:451 | 425 | #: plugins/check_dummy.c:80 plugins/check_pgsql.c:643 |
426 | #: plugins/check_procs.c:506 | ||
407 | #, c-format | 427 | #, c-format |
408 | msgid "UNKNOWN" | 428 | msgid "UNKNOWN" |
409 | msgstr "INCONNU" | 429 | msgstr "INCONNU" |
410 | 430 | ||
411 | #: plugins/check_disk.c:626 | 431 | #: plugins/check_disk.c:577 |
412 | msgid "Must set a threshold value before using -p\n" | 432 | msgid "Must set a threshold value before using -p\n" |
413 | msgstr "" | 433 | msgstr "" |
414 | 434 | ||
415 | #: plugins/check_disk.c:664 | 435 | #: plugins/check_disk.c:618 |
416 | msgid "Must set -E before selecting paths\n" | 436 | msgid "Must set -E before selecting paths\n" |
417 | msgstr "" | 437 | msgstr "" |
418 | 438 | ||
419 | #: plugins/check_disk.c:669 | 439 | #: plugins/check_disk.c:626 |
420 | msgid "Must set group value before selecting paths\n" | 440 | msgid "Must set group value before selecting paths\n" |
421 | msgstr "" | 441 | msgstr "" |
422 | 442 | ||
423 | #: plugins/check_disk.c:676 | 443 | #: plugins/check_disk.c:633 |
424 | msgid "" | 444 | msgid "" |
425 | "Paths need to be selected before using -i/-I. Use -A to select all paths " | 445 | "Paths need to be selected before using -i/-I. Use -A to select all paths " |
426 | "explicitly" | 446 | "explicitly" |
427 | msgstr "" | 447 | msgstr "" |
428 | 448 | ||
429 | #: plugins/check_disk.c:680 plugins/check_disk.c:726 plugins/check_procs.c:451 | 449 | #: plugins/check_disk.c:637 plugins/check_disk.c:683 plugins/check_procs.c:506 |
430 | msgid "Could not compile regular expression" | 450 | msgid "Could not compile regular expression" |
431 | msgstr "Impossible de compiler l'expression rationnelle" | 451 | msgstr "Impossible de compiler l'expression rationnelle" |
432 | 452 | ||
433 | #: plugins/check_disk.c:720 | 453 | #: plugins/check_disk.c:677 |
434 | msgid "Must set a threshold value before using -r/-R\n" | 454 | msgid "Must set a threshold value before using -r/-R\n" |
435 | msgstr "" | 455 | msgstr "" |
436 | 456 | ||
437 | #: plugins/check_disk.c:746 | 457 | #: plugins/check_disk.c:703 |
438 | msgid "Regular expression did not match any path or disk" | 458 | msgid "Regular expression did not match any path or disk" |
439 | msgstr "" | 459 | msgstr "" |
440 | 460 | ||
441 | #: plugins/check_disk.c:792 | 461 | #: plugins/check_disk.c:749 |
442 | msgid "Unknown argument" | 462 | msgid "Unknown argument" |
443 | msgstr "Argument inconnu" | 463 | msgstr "Argument inconnu" |
444 | 464 | ||
445 | #: plugins/check_disk.c:826 | 465 | #: plugins/check_disk.c:783 |
446 | #, c-format | 466 | #, c-format |
447 | msgid " for %s\n" | 467 | msgid " for %s\n" |
448 | msgstr " pour %s\n" | 468 | msgstr " pour %s\n" |
449 | 469 | ||
450 | #: plugins/check_disk.c:900 | 470 | #: plugins/check_disk.c:857 |
451 | msgid "" | 471 | msgid "" |
452 | "This plugin checks the amount of used disk space on a mounted file system" | 472 | "This plugin checks the amount of used disk space on a mounted file system" |
453 | msgstr "Ce plugin vérifie la place utilisé sur un système de fichier monté" | 473 | msgstr "Ce plugin vérifie la place utilisé sur un système de fichier monté" |
454 | 474 | ||
455 | #: plugins/check_disk.c:901 | 475 | #: plugins/check_disk.c:858 |
456 | msgid "" | 476 | msgid "" |
457 | "and generates an alert if free space is less than one of the threshold values" | 477 | "and generates an alert if free space is less than one of the threshold values" |
458 | msgstr "" | 478 | msgstr "" |
459 | "et génère une alerte si la place disponible est plus petite qu'un des seuils " | 479 | "et génère une alerte si la place disponible est plus petite qu'un des seuils " |
460 | "fourni" | 480 | "fourni" |
461 | 481 | ||
462 | #: plugins/check_disk.c:911 | 482 | #: plugins/check_disk.c:868 |
463 | msgid "Exit with WARNING status if less than INTEGER units of disk are free" | 483 | msgid "Exit with WARNING status if less than INTEGER units of disk are free" |
464 | msgstr "" | 484 | msgstr "" |
465 | "Sortir avec un résultat AVERTISSEMENT si moins de X unités de disques sont " | 485 | "Sortir avec un résultat AVERTISSEMENT si moins de X unités de disques sont " |
466 | "libres" | 486 | "libres" |
467 | 487 | ||
468 | #: plugins/check_disk.c:913 | 488 | #: plugins/check_disk.c:870 |
469 | msgid "Exit with WARNING status if less than PERCENT of disk space is free" | 489 | msgid "Exit with WARNING status if less than PERCENT of disk space is free" |
470 | msgstr "" | 490 | msgstr "" |
471 | "Sortir avec un résultat AVERTISSEMENT si moins de X pour-cent du disque est " | 491 | "Sortir avec un résultat AVERTISSEMENT si moins de X pour-cent du disque est " |
472 | "libre" | 492 | "libre" |
473 | 493 | ||
474 | #: plugins/check_disk.c:915 | 494 | #: plugins/check_disk.c:872 |
475 | msgid "Exit with CRITICAL status if less than INTEGER units of disk are free" | 495 | msgid "Exit with CRITICAL status if less than INTEGER units of disk are free" |
476 | msgstr "" | 496 | msgstr "" |
477 | "Sortir avec un résultat CRITIQUE si moins de X unités du disque sont libres" | 497 | "Sortir avec un résultat CRITIQUE si moins de X unités du disque sont libres" |
478 | 498 | ||
479 | #: plugins/check_disk.c:917 | 499 | #: plugins/check_disk.c:874 |
480 | msgid "Exit with CRITCAL status if less than PERCENT of disk space is free" | 500 | #, fuzzy |
501 | msgid "Exit with CRITICAL status if less than PERCENT of disk space is free" | ||
481 | msgstr "" | 502 | msgstr "" |
482 | "Sortir avec un résultat CRITIQUE si moins de X pour-cent du disque est libre" | 503 | "Sortir avec un résultat CRITIQUE si moins de X pour-cent du disque est libre" |
483 | 504 | ||
484 | #: plugins/check_disk.c:919 | 505 | #: plugins/check_disk.c:876 |
485 | msgid "Exit with WARNING status if less than PERCENT of inode space is free" | 506 | msgid "Exit with WARNING status if less than PERCENT of inode space is free" |
486 | msgstr "" | 507 | msgstr "" |
487 | "Sortir avec un résultat AVERTISSEMENT si moins de X pour-cent des inodes " | 508 | "Sortir avec un résultat AVERTISSEMENT si moins de X pour-cent des inodes " |
488 | "sont libres" | 509 | "sont libres" |
489 | 510 | ||
490 | #: plugins/check_disk.c:921 | 511 | #: plugins/check_disk.c:878 |
491 | msgid "Exit with CRITICAL status if less than PERCENT of inode space is free" | 512 | msgid "Exit with CRITICAL status if less than PERCENT of inode space is free" |
492 | msgstr "" | 513 | msgstr "" |
493 | "Sortir avec un résultat CRITIQUE si moins de X pour-cent des inodes sont " | 514 | "Sortir avec un résultat CRITIQUE si moins de X pour-cent des inodes sont " |
494 | "libres" | 515 | "libres" |
495 | 516 | ||
496 | #: plugins/check_disk.c:923 | 517 | #: plugins/check_disk.c:880 |
497 | msgid "Path or partition (may be repeated)" | 518 | msgid "Path or partition (may be repeated)" |
498 | msgstr "Répertoire ou partition (peut être utilisé plusieurs fois)" | 519 | msgstr "Répertoire ou partition (peut être utilisé plusieurs fois)" |
499 | 520 | ||
500 | #: plugins/check_disk.c:925 | 521 | #: plugins/check_disk.c:882 |
501 | msgid "Ignore device (only works if -p unspecified)" | 522 | msgid "Ignore device (only works if -p unspecified)" |
502 | msgstr "Ignorer le périphérique (marche seulement lorsque -p est utilisé)" | 523 | msgstr "Ignorer le périphérique (marche seulement lorsque -p est utilisé)" |
503 | 524 | ||
504 | #: plugins/check_disk.c:927 | 525 | #: plugins/check_disk.c:884 |
505 | msgid "Clear thresholds" | 526 | msgid "Clear thresholds" |
506 | msgstr "Effacer les seuils" | 527 | msgstr "Effacer les seuils" |
507 | 528 | ||
508 | #: plugins/check_disk.c:929 | 529 | #: plugins/check_disk.c:886 |
509 | msgid "For paths or partitions specified with -p, only check for exact paths" | 530 | msgid "For paths or partitions specified with -p, only check for exact paths" |
510 | msgstr "" | 531 | msgstr "" |
511 | 532 | ||
512 | #: plugins/check_disk.c:931 | 533 | #: plugins/check_disk.c:888 |
513 | msgid "Display only devices/mountpoints with errors" | 534 | msgid "Display only devices/mountpoints with errors" |
514 | msgstr "Afficher seulement les périphériques/point de montage avec des erreurs" | 535 | msgstr "Afficher seulement les périphériques/point de montage avec des erreurs" |
515 | 536 | ||
516 | #: plugins/check_disk.c:933 | 537 | #: plugins/check_disk.c:890 |
538 | msgid "Don't account root-reserved blocks into freespace in perfdata" | ||
539 | msgstr "" | ||
540 | |||
541 | #: plugins/check_disk.c:892 | ||
517 | msgid "" | 542 | msgid "" |
518 | "Group paths. Thresholds apply to (free-)space of all partitions together" | 543 | "Group paths. Thresholds apply to (free-)space of all partitions together" |
519 | msgstr "" | 544 | msgstr "" |
520 | 545 | ||
521 | #: plugins/check_disk.c:935 | 546 | #: plugins/check_disk.c:894 |
522 | msgid "Same as '--units kB'" | 547 | msgid "Same as '--units kB'" |
523 | msgstr "Pareil à '--units kB'" | 548 | msgstr "Pareil à '--units kB'" |
524 | 549 | ||
525 | #: plugins/check_disk.c:937 | 550 | #: plugins/check_disk.c:896 |
526 | msgid "Only check local filesystems" | 551 | msgid "Only check local filesystems" |
527 | msgstr "Vérifier seulement les systèmes de fichiers locaux" | 552 | msgstr "Vérifier seulement les systèmes de fichiers locaux" |
528 | 553 | ||
529 | #: plugins/check_disk.c:939 | 554 | #: plugins/check_disk.c:898 |
530 | msgid "" | 555 | msgid "" |
531 | "Only check local filesystems against thresholds. Yet call stat on remote " | 556 | "Only check local filesystems against thresholds. Yet call stat on remote " |
532 | "filesystems" | 557 | "filesystems" |
533 | msgstr "" | 558 | msgstr "" |
534 | 559 | ||
535 | #: plugins/check_disk.c:940 | 560 | #: plugins/check_disk.c:899 |
536 | msgid "to test if they are accessible (e.g. to detect Stale NFS Handles)" | 561 | msgid "to test if they are accessible (e.g. to detect Stale NFS Handles)" |
537 | msgstr "" | 562 | msgstr "" |
538 | 563 | ||
539 | #: plugins/check_disk.c:942 | 564 | #: plugins/check_disk.c:901 |
540 | msgid "Display the mountpoint instead of the partition" | 565 | msgid "Display the mountpoint instead of the partition" |
541 | msgstr "Afficher le point de montage au lieu de la partition" | 566 | msgstr "Afficher le point de montage au lieu de la partition" |
542 | 567 | ||
543 | #: plugins/check_disk.c:944 | 568 | #: plugins/check_disk.c:903 |
544 | msgid "Same as '--units MB'" | 569 | msgid "Same as '--units MB'" |
545 | msgstr "Pareil à '--units MB'" | 570 | msgstr "Pareil à '--units MB'" |
546 | 571 | ||
547 | #: plugins/check_disk.c:946 | 572 | #: plugins/check_disk.c:905 |
548 | msgid "Explicitly select all paths. This is equivalent to -R '.*'" | 573 | msgid "Explicitly select all paths. This is equivalent to -R '.*'" |
549 | msgstr "" | 574 | msgstr "" |
550 | 575 | ||
551 | #: plugins/check_disk.c:948 | 576 | #: plugins/check_disk.c:907 |
552 | msgid "" | 577 | msgid "" |
553 | "Case insensitive regular expression for path/partition (may be repeated)" | 578 | "Case insensitive regular expression for path/partition (may be repeated)" |
554 | msgstr "" | 579 | msgstr "" |
555 | "Expression rationnelle indépendante de la case pour un répertoire ou une " | 580 | "Expression rationnelle indépendante de la case pour un répertoire ou une " |
556 | "partition (peut être utilisé plusieurs fois)" | 581 | "partition (peut être utilisé plusieurs fois)" |
557 | 582 | ||
558 | #: plugins/check_disk.c:950 | 583 | #: plugins/check_disk.c:909 |
559 | msgid "Regular expression for path or partition (may be repeated)" | 584 | msgid "Regular expression for path or partition (may be repeated)" |
560 | msgstr "" | 585 | msgstr "" |
561 | "Expression rationnelle pour un répertoire ou une partition (peut être " | 586 | "Expression rationnelle pour un répertoire ou une partition (peut être " |
562 | "utilisé plusieurs fois)" | 587 | "utilisé plusieurs fois)" |
563 | 588 | ||
564 | #: plugins/check_disk.c:952 | 589 | #: plugins/check_disk.c:911 |
565 | msgid "" | 590 | msgid "" |
566 | "Regular expression to ignore selected path/partition (case insensitive) (may " | 591 | "Regular expression to ignore selected path/partition (case insensitive) (may " |
567 | "be repeated)" | 592 | "be repeated)" |
@@ -569,51 +594,58 @@ msgstr "" | |||
569 | "Expression rationnelle pour ignorer un répertoire ou une partition (peut " | 594 | "Expression rationnelle pour ignorer un répertoire ou une partition (peut " |
570 | "être utilisé plusieurs fois)" | 595 | "être utilisé plusieurs fois)" |
571 | 596 | ||
572 | #: plugins/check_disk.c:954 | 597 | #: plugins/check_disk.c:913 |
573 | msgid "" | 598 | msgid "" |
574 | "Regular expression to ignore selected path or partition (may be repeated)" | 599 | "Regular expression to ignore selected path or partition (may be repeated)" |
575 | msgstr "" | 600 | msgstr "" |
576 | "Expression rationnelle pour ignorer un répertoire ou une partition (peut " | 601 | "Expression rationnelle pour ignorer un répertoire ou une partition (peut " |
577 | "être utilisé plusieurs fois)" | 602 | "être utilisé plusieurs fois)" |
578 | 603 | ||
579 | #: plugins/check_disk.c:957 | 604 | #: plugins/check_disk.c:916 |
580 | msgid "Choose bytes, kB, MB, GB, TB (default: MB)" | 605 | msgid "Choose bytes, kB, MB, GB, TB (default: MB)" |
581 | msgstr "Choisissez octets, kb, MB, GB, TB (par défaut: MB)" | 606 | msgstr "Choisissez octets, kb, MB, GB, TB (par défaut: MB)" |
582 | 607 | ||
583 | #: plugins/check_disk.c:960 | 608 | #: plugins/check_disk.c:919 |
584 | msgid "Ignore all filesystems of indicated type (may be repeated)" | 609 | msgid "Ignore all filesystems of indicated type (may be repeated)" |
585 | msgstr "" | 610 | msgstr "" |
586 | "Ignorer tout les systèmes de fichiers qui correspondent au type indiqué " | 611 | "Ignorer tout les systèmes de fichiers qui correspondent au type indiqué " |
587 | "(peut être utilisé plusieurs fois)" | 612 | "(peut être utilisé plusieurs fois)" |
588 | 613 | ||
589 | #: plugins/check_disk.c:965 | 614 | #: plugins/check_disk.c:921 |
615 | #, fuzzy | ||
616 | msgid "Check only filesystems of indicated type (may be repeated)" | ||
617 | msgstr "" | ||
618 | "Ignorer tout les systèmes de fichiers qui correspondent au type indiqué " | ||
619 | "(peut être utilisé plusieurs fois)" | ||
620 | |||
621 | #: plugins/check_disk.c:926 | ||
590 | msgid "Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB" | 622 | msgid "Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB" |
591 | msgstr "Vérifie /tmp à 10% et /var à 5% et / à 100MB et 50MB" | 623 | msgstr "Vérifie /tmp à 10% et /var à 5% et / à 100MB et 50MB" |
592 | 624 | ||
593 | #: plugins/check_disk.c:967 | 625 | #: plugins/check_disk.c:928 |
594 | msgid "" | 626 | msgid "" |
595 | "Checks all filesystems not matching -r at 100M and 50M. The fs matching the -" | 627 | "Checks all filesystems not matching -r at 100M and 50M. The fs matching the -" |
596 | "r regex" | 628 | "r regex" |
597 | msgstr "" | 629 | msgstr "" |
598 | 630 | ||
599 | #: plugins/check_disk.c:968 | 631 | #: plugins/check_disk.c:929 |
600 | msgid "" | 632 | msgid "" |
601 | "are grouped which means the freespace thresholds are applied to all disks " | 633 | "are grouped which means the freespace thresholds are applied to all disks " |
602 | "together" | 634 | "together" |
603 | msgstr "" | 635 | msgstr "" |
604 | 636 | ||
605 | #: plugins/check_disk.c:970 | 637 | #: plugins/check_disk.c:931 |
606 | msgid "" | 638 | msgid "" |
607 | "Checks /foo for 1000M/500M and /bar for 5/3%. All remaining volumes use " | 639 | "Checks /foo for 1000M/500M and /bar for 5/3%. All remaining volumes use " |
608 | "100M/50M" | 640 | "100M/50M" |
609 | msgstr "" | 641 | msgstr "" |
610 | 642 | ||
611 | #: plugins/check_disk.c:996 | 643 | #: plugins/check_disk.c:957 |
612 | #, c-format | 644 | #, c-format |
613 | msgid "%s %s: %s\n" | 645 | msgid "%s %s: %s\n" |
614 | msgstr "" | 646 | msgstr "" |
615 | 647 | ||
616 | #: plugins/check_disk.c:996 | 648 | #: plugins/check_disk.c:957 |
617 | msgid "is not accessible" | 649 | msgid "is not accessible" |
618 | msgstr "" | 650 | msgstr "" |
619 | 651 | ||
@@ -650,13 +682,15 @@ msgid "server %s is not authoritative for %s" | |||
650 | msgstr "serveur %s n'est pas autoritaire pour %s" | 682 | msgstr "serveur %s n'est pas autoritaire pour %s" |
651 | 683 | ||
652 | #: plugins/check_dns.c:237 plugins/check_dummy.c:68 plugins/check_nagios.c:182 | 684 | #: plugins/check_dns.c:237 plugins/check_dummy.c:68 plugins/check_nagios.c:182 |
653 | #: plugins/check_procs.c:283 | 685 | #: plugins/check_pgsql.c:638 plugins/check_procs.c:344 |
654 | #, c-format | 686 | #, c-format |
655 | msgid "OK" | 687 | msgid "OK" |
656 | msgstr "OK" | 688 | msgstr "OK" |
657 | 689 | ||
658 | #: plugins/check_dns.c:239 plugins/check_dummy.c:71 plugins/check_mysql.c:209 | 690 | #: plugins/check_dns.c:239 plugins/check_dummy.c:71 plugins/check_mysql.c:296 |
659 | #: plugins/check_nagios.c:182 plugins/check_procs.c:285 | 691 | #: plugins/check_nagios.c:182 plugins/check_pgsql.c:607 |
692 | #: plugins/check_pgsql.c:612 plugins/check_pgsql.c:640 | ||
693 | #: plugins/check_procs.c:346 | ||
660 | #, c-format | 694 | #, c-format |
661 | msgid "WARNING" | 695 | msgid "WARNING" |
662 | msgstr "AVERTISSEMENT" | 696 | msgstr "AVERTISSEMENT" |
@@ -840,102 +874,126 @@ msgstr "" | |||
840 | msgid "of the <state> argument with optional text" | 874 | msgid "of the <state> argument with optional text" |
841 | msgstr "du paramètre <state> avec un texte optionnel" | 875 | msgstr "du paramètre <state> avec un texte optionnel" |
842 | 876 | ||
843 | #: plugins/check_fping.c:108 plugins/check_hpjd.c:128 plugins/check_ping.c:437 | 877 | #: plugins/check_fping.c:125 plugins/check_hpjd.c:128 plugins/check_ping.c:438 |
844 | #: plugins/check_swap.c:175 plugins/check_users.c:73 plugins/urlize.c:110 | 878 | #: plugins/check_swap.c:175 plugins/check_users.c:94 plugins/urlize.c:110 |
845 | #, c-format | 879 | #, c-format |
846 | msgid "Could not open pipe: %s\n" | 880 | msgid "Could not open pipe: %s\n" |
847 | msgstr "Impossible d'ouvrir le pipe: %s\n" | 881 | msgstr "Impossible d'ouvrir le pipe: %s\n" |
848 | 882 | ||
849 | #: plugins/check_fping.c:114 plugins/check_hpjd.c:134 plugins/check_load.c:153 | 883 | #: plugins/check_fping.c:131 plugins/check_hpjd.c:134 plugins/check_load.c:153 |
850 | #: plugins/check_swap.c:181 plugins/check_users.c:79 plugins/urlize.c:116 | 884 | #: plugins/check_swap.c:181 plugins/check_users.c:100 plugins/urlize.c:116 |
851 | #, c-format | 885 | #, c-format |
852 | msgid "Could not open stderr for %s\n" | 886 | msgid "Could not open stderr for %s\n" |
853 | msgstr "Impossible d'ouvrir la sortie d'erreur standard pour %s\n" | 887 | msgstr "Impossible d'ouvrir la sortie d'erreur standard pour %s\n" |
854 | 888 | ||
855 | #: plugins/check_fping.c:154 | 889 | #: plugins/check_fping.c:157 |
890 | #, fuzzy | ||
891 | msgid "FPING UNKNOWN - IP address not found\n" | ||
892 | msgstr "PING INCONNU - Hôte non trouvé (%s)\n" | ||
893 | |||
894 | #: plugins/check_fping.c:160 | ||
895 | msgid "FPING UNKNOWN - invalid commandline argument\n" | ||
896 | msgstr "" | ||
897 | |||
898 | #: plugins/check_fping.c:163 | ||
899 | #, fuzzy | ||
900 | msgid "FPING UNKNOWN - failed system call\n" | ||
901 | msgstr "PING INCONNU - Hôte non trouvé (%s)\n" | ||
902 | |||
903 | #: plugins/check_fping.c:187 | ||
856 | #, c-format | 904 | #, c-format |
857 | msgid "FPING UNKNOW - %s not found\n" | 905 | msgid "FPING UNKNOW - %s not found\n" |
858 | msgstr "PING INCONNU - Hôte non trouvé (%s)\n" | 906 | msgstr "PING INCONNU - Hôte non trouvé (%s)\n" |
859 | 907 | ||
860 | #: plugins/check_fping.c:158 | 908 | #: plugins/check_fping.c:191 |
861 | #, c-format | 909 | #, c-format |
862 | msgid "FPING CRITICAL - %s is unreachable\n" | 910 | msgid "FPING CRITICAL - %s is unreachable\n" |
863 | msgstr "PING CRITIQUE - Hôte inaccessible (%s)\n" | 911 | msgstr "PING CRITIQUE - Hôte inaccessible (%s)\n" |
864 | 912 | ||
865 | #: plugins/check_fping.c:163 | 913 | #: plugins/check_fping.c:196 |
914 | #, fuzzy, c-format | ||
915 | msgid "FPING UNKNOWN - %s parameter error\n" | ||
916 | msgstr "PING INCONNU - Hôte non trouvé (%s)\n" | ||
917 | |||
918 | #: plugins/check_fping.c:200 plugins/check_fping.c:240 | ||
866 | #, c-format | 919 | #, c-format |
867 | msgid "FPING CRITICAL - %s is down\n" | 920 | msgid "FPING CRITICAL - %s is down\n" |
868 | msgstr "FPING CRITIQUE - %s est en panne\n" | 921 | msgstr "FPING CRITIQUE - %s est en panne\n" |
869 | 922 | ||
870 | #: plugins/check_fping.c:190 | 923 | #: plugins/check_fping.c:227 |
871 | #, c-format | 924 | #, c-format |
872 | msgid "FPING %s - %s (loss=%.0f%%, rta=%f ms)|%s %s\n" | 925 | msgid "FPING %s - %s (loss=%.0f%%, rta=%f ms)|%s %s\n" |
873 | msgstr "FPING %s - %s (perte=%.0f%%, rta=%f ms)|%s %s\n" | 926 | msgstr "FPING %s - %s (perte=%.0f%%, rta=%f ms)|%s %s\n" |
874 | 927 | ||
875 | #: plugins/check_fping.c:211 | 928 | #: plugins/check_fping.c:253 |
876 | #, c-format | 929 | #, c-format |
877 | msgid "FPING %s - %s (loss=%.0f%% )|%s\n" | 930 | msgid "FPING %s - %s (loss=%.0f%% )|%s\n" |
878 | msgstr "FPING %s - %s (perte=%.0f%% )|%s\n" | 931 | msgstr "FPING %s - %s (perte=%.0f%% )|%s\n" |
879 | 932 | ||
880 | #: plugins/check_fping.c:280 plugins/check_hpjd.c:338 plugins/check_hpjd.c:361 | 933 | #: plugins/check_fping.c:326 plugins/check_fping.c:332 |
881 | #: plugins/check_mysql.c:276 plugins/check_mysql.c:334 plugins/check_ntp.c:705 | 934 | #: plugins/check_hpjd.c:338 plugins/check_hpjd.c:361 plugins/check_mysql.c:371 |
882 | #: plugins/check_ntp_peer.c:491 plugins/check_ntp_time.c:492 | 935 | #: plugins/check_mysql.c:455 plugins/check_ntp.c:709 |
883 | #: plugins/check_pgsql.c:268 plugins/check_ping.c:295 plugins/check_ping.c:418 | 936 | #: plugins/check_ntp_peer.c:497 plugins/check_ntp_time.c:496 |
937 | #: plugins/check_pgsql.c:335 plugins/check_ping.c:295 plugins/check_ping.c:418 | ||
884 | #: plugins/check_radius.c:264 plugins/check_real.c:314 | 938 | #: plugins/check_radius.c:264 plugins/check_real.c:314 |
885 | #: plugins/check_real.c:376 plugins/check_smtp.c:507 plugins/check_smtp.c:633 | 939 | #: plugins/check_real.c:376 plugins/check_smtp.c:499 plugins/check_smtp.c:641 |
886 | #: plugins/check_ssh.c:157 plugins/check_time.c:240 plugins/check_time.c:315 | 940 | #: plugins/check_ssh.c:157 plugins/check_time.c:240 plugins/check_time.c:315 |
887 | #: plugins/check_ups.c:504 plugins/check_ups.c:573 | 941 | #: plugins/check_ups.c:504 plugins/check_ups.c:573 |
888 | msgid "Invalid hostname/address" | 942 | msgid "Invalid hostname/address" |
889 | msgstr "Adresse/Nom d'hôte invalide" | 943 | msgstr "Adresse/Nom d'hôte invalide" |
890 | 944 | ||
891 | #: plugins/check_fping.c:314 | 945 | #: plugins/check_fping.c:345 plugins/check_ldap.c:353 plugins/check_ping.c:246 |
946 | msgid "IPv6 support not available\n" | ||
947 | msgstr "Support IPv6 non disponible\n" | ||
948 | |||
949 | #: plugins/check_fping.c:378 | ||
892 | msgid "Packet size must be a positive integer" | 950 | msgid "Packet size must be a positive integer" |
893 | msgstr "La taille du paquet doit être un entier positif" | 951 | msgstr "La taille du paquet doit être un entier positif" |
894 | 952 | ||
895 | #: plugins/check_fping.c:320 | 953 | #: plugins/check_fping.c:384 |
896 | msgid "Packet count must be a positive integer" | 954 | msgid "Packet count must be a positive integer" |
897 | msgstr "Le nombre de paquets doit être un entier positif" | 955 | msgstr "Le nombre de paquets doit être un entier positif" |
898 | 956 | ||
899 | #: plugins/check_fping.c:326 | 957 | #: plugins/check_fping.c:390 |
900 | msgid "Target timeout must be a positive integer" | 958 | msgid "Target timeout must be a positive integer" |
901 | msgstr "Le seuil d'avertissement doit être un entier positif" | 959 | msgstr "Le seuil d'avertissement doit être un entier positif" |
902 | 960 | ||
903 | #: plugins/check_fping.c:332 | 961 | #: plugins/check_fping.c:396 |
904 | msgid "Interval must be a positive integer" | 962 | msgid "Interval must be a positive integer" |
905 | msgstr "Le délai d'attente doit être un entier positif" | 963 | msgstr "Le délai d'attente doit être un entier positif" |
906 | 964 | ||
907 | #: plugins/check_fping.c:338 plugins/check_ntp.c:729 | 965 | #: plugins/check_fping.c:402 plugins/check_ntp.c:733 |
908 | #: plugins/check_ntp_peer.c:518 plugins/check_ntp_time.c:519 | 966 | #: plugins/check_ntp_peer.c:524 plugins/check_ntp_time.c:523 |
909 | #: plugins/check_radius.c:314 plugins/check_time.c:319 | 967 | #: plugins/check_radius.c:314 plugins/check_time.c:319 |
910 | msgid "Hostname was not supplied" | 968 | msgid "Hostname was not supplied" |
911 | msgstr "Le nom de l'hôte n'a pas été spécifié" | 969 | msgstr "Le nom de l'hôte n'a pas été spécifié" |
912 | 970 | ||
913 | #: plugins/check_fping.c:358 | 971 | #: plugins/check_fping.c:422 |
914 | #, c-format | 972 | #, c-format |
915 | msgid "%s: Only one threshold may be packet loss (%s)\n" | 973 | msgid "%s: Only one threshold may be packet loss (%s)\n" |
916 | msgstr "" | 974 | msgstr "" |
917 | "%s: Seulement un seuil peut être utilisé pour les pertes de paquets (%s)\n" | 975 | "%s: Seulement un seuil peut être utilisé pour les pertes de paquets (%s)\n" |
918 | 976 | ||
919 | #: plugins/check_fping.c:362 | 977 | #: plugins/check_fping.c:426 |
920 | #, c-format | 978 | #, c-format |
921 | msgid "%s: Only one threshold must be packet loss (%s)\n" | 979 | msgid "%s: Only one threshold must be packet loss (%s)\n" |
922 | msgstr "" | 980 | msgstr "" |
923 | "%s: Seulement un seuil doit être utilisé pour les pertes de paquets (%s)\n" | 981 | "%s: Seulement un seuil doit être utilisé pour les pertes de paquets (%s)\n" |
924 | 982 | ||
925 | #: plugins/check_fping.c:394 | 983 | #: plugins/check_fping.c:458 |
926 | msgid "" | 984 | msgid "" |
927 | "This plugin will use the fping command to ping the specified host for a fast " | 985 | "This plugin will use the fping command to ping the specified host for a fast " |
928 | "check" | 986 | "check" |
929 | msgstr "" | 987 | msgstr "" |
930 | "Ce plugin va utiliser la commande fping pour pinger l'hôte de manière rapide." | 988 | "Ce plugin va utiliser la commande fping pour pinger l'hôte de manière rapide." |
931 | 989 | ||
932 | #: plugins/check_fping.c:396 | 990 | #: plugins/check_fping.c:460 |
933 | msgid "Note that it is necessary to set the suid flag on fping." | 991 | msgid "Note that it is necessary to set the suid flag on fping." |
934 | msgstr "" | 992 | msgstr "" |
935 | "Veuillez noter qu'il est nécessaire de mettre le bit suid sur le programme " | 993 | "Veuillez noter qu'il est nécessaire de mettre le bit suid sur le programme " |
936 | "fping." | 994 | "fping." |
937 | 995 | ||
938 | #: plugins/check_fping.c:406 | 996 | #: plugins/check_fping.c:472 |
939 | msgid "" | 997 | msgid "" |
940 | "name or IP Address of host to ping (IP Address bypasses name lookup, " | 998 | "name or IP Address of host to ping (IP Address bypasses name lookup, " |
941 | "reducing system load)" | 999 | "reducing system load)" |
@@ -943,31 +1001,39 @@ msgstr "" | |||
943 | "nom ou adresse IP des hôtes à pinger (l'indication d'un adresse IP évite une " | 1001 | "nom ou adresse IP des hôtes à pinger (l'indication d'un adresse IP évite une " |
944 | "recherche sur le nom, ce qui réduit la charge système)" | 1002 | "recherche sur le nom, ce qui réduit la charge système)" |
945 | 1003 | ||
946 | #: plugins/check_fping.c:408 plugins/check_ping.c:573 | 1004 | #: plugins/check_fping.c:474 plugins/check_ping.c:575 |
947 | msgid "warning threshold pair" | 1005 | msgid "warning threshold pair" |
948 | msgstr "Valeurs pour le seuil d'avertissement" | 1006 | msgstr "Valeurs pour le seuil d'avertissement" |
949 | 1007 | ||
950 | #: plugins/check_fping.c:410 plugins/check_ping.c:575 | 1008 | #: plugins/check_fping.c:476 plugins/check_ping.c:577 |
951 | msgid "critical threshold pair" | 1009 | msgid "critical threshold pair" |
952 | msgstr "Valeurs pour le seuil critique" | 1010 | msgstr "Valeurs pour le seuil critique" |
953 | 1011 | ||
954 | #: plugins/check_fping.c:412 | 1012 | #: plugins/check_fping.c:478 |
955 | msgid "size of ICMP packet" | 1013 | msgid "size of ICMP packet" |
956 | msgstr "taille du paquet ICMP" | 1014 | msgstr "taille du paquet ICMP" |
957 | 1015 | ||
958 | #: plugins/check_fping.c:414 | 1016 | #: plugins/check_fping.c:480 |
959 | msgid "number of ICMP packets to send" | 1017 | msgid "number of ICMP packets to send" |
960 | msgstr "nombre de paquets ICMP Ã envoyer" | 1018 | msgstr "nombre de paquets ICMP Ã envoyer" |
961 | 1019 | ||
962 | #: plugins/check_fping.c:416 | 1020 | #: plugins/check_fping.c:482 |
963 | msgid "Target timeout (ms)" | 1021 | msgid "Target timeout (ms)" |
964 | msgstr "" | 1022 | msgstr "" |
965 | 1023 | ||
966 | #: plugins/check_fping.c:418 | 1024 | #: plugins/check_fping.c:484 |
967 | msgid "Interval (ms) between sending packets" | 1025 | msgid "Interval (ms) between sending packets" |
968 | msgstr "" | 1026 | msgstr "" |
969 | 1027 | ||
970 | #: plugins/check_fping.c:421 | 1028 | #: plugins/check_fping.c:486 |
1029 | msgid "name or IP Address of sourceip" | ||
1030 | msgstr "" | ||
1031 | |||
1032 | #: plugins/check_fping.c:488 | ||
1033 | msgid "source interface name" | ||
1034 | msgstr "" | ||
1035 | |||
1036 | #: plugins/check_fping.c:491 | ||
971 | #, c-format | 1037 | #, c-format |
972 | msgid "" | 1038 | msgid "" |
973 | "THRESHOLD is <rta>,<pl>%% where <rta> is the round trip average travel time " | 1039 | "THRESHOLD is <rta>,<pl>%% where <rta> is the round trip average travel time " |
@@ -976,17 +1042,21 @@ msgstr "" | |||
976 | "Le seuil est <rta>,<pl>%% ou <rta> est le temps moyen pour l'aller retour " | 1042 | "Le seuil est <rta>,<pl>%% ou <rta> est le temps moyen pour l'aller retour " |
977 | "(ms)" | 1043 | "(ms)" |
978 | 1044 | ||
979 | #: plugins/check_fping.c:422 | 1045 | #: plugins/check_fping.c:492 |
980 | msgid "" | 1046 | msgid "" |
981 | "which triggers a WARNING or CRITICAL state, and <pl> is the percentage of" | 1047 | "which triggers a WARNING or CRITICAL state, and <pl> is the percentage of" |
982 | msgstr "" | 1048 | msgstr "" |
983 | "qui déclenche résultat AVERTISSEMENT ou CRITIQUE, et <pl> est le pourcentage " | 1049 | "qui déclenche résultat AVERTISSEMENT ou CRITIQUE, et <pl> est le pourcentage " |
984 | "de" | 1050 | "de" |
985 | 1051 | ||
986 | #: plugins/check_fping.c:423 | 1052 | #: plugins/check_fping.c:493 |
987 | msgid "packet loss to trigger an alarm state." | 1053 | msgid "packet loss to trigger an alarm state." |
988 | msgstr "paquets perdu pour déclencher une alarme." | 1054 | msgstr "paquets perdu pour déclencher une alarme." |
989 | 1055 | ||
1056 | #: plugins/check_fping.c:496 | ||
1057 | msgid "IPv4 is used by default. Specify -6 to use IPv6." | ||
1058 | msgstr "" | ||
1059 | |||
990 | #: plugins/check_game.c:111 | 1060 | #: plugins/check_game.c:111 |
991 | #, c-format | 1061 | #, c-format |
992 | msgid "CRITICAL - Host type parameter incorrect!\n" | 1062 | msgid "CRITICAL - Host type parameter incorrect!\n" |
@@ -1116,463 +1186,540 @@ msgstr "Le nom de la communauté SNMP " | |||
1116 | msgid "(default=%s)" | 1186 | msgid "(default=%s)" |
1117 | msgstr "(défaut=%s)" | 1187 | msgstr "(défaut=%s)" |
1118 | 1188 | ||
1119 | #: plugins/check_http.c:262 | 1189 | #: plugins/check_http.c:189 |
1120 | msgid "Critical threshold must be integer" | 1190 | msgid "file does not exist or is not readable" |
1121 | msgstr "le seuil critique doit être un entier positif" | 1191 | msgstr "" |
1122 | |||
1123 | #: plugins/check_http.c:270 | ||
1124 | msgid "Warning threshold must be integer" | ||
1125 | msgstr "Le seuil d'avertissement doit être un entier positif" | ||
1126 | 1192 | ||
1127 | #: plugins/check_http.c:296 plugins/check_tcp.c:559 | 1193 | #: plugins/check_http.c:310 plugins/check_http.c:315 plugins/check_http.c:321 |
1194 | #: plugins/check_smtp.c:600 plugins/check_tcp.c:576 plugins/check_tcp.c:580 | ||
1195 | #: plugins/check_tcp.c:586 | ||
1128 | msgid "Invalid certificate expiration period" | 1196 | msgid "Invalid certificate expiration period" |
1129 | msgstr "Période d'expiration du certificat invalide" | 1197 | msgstr "Période d'expiration du certificat invalide" |
1130 | 1198 | ||
1131 | #: plugins/check_http.c:305 plugins/check_tcp.c:571 | 1199 | #: plugins/check_http.c:348 |
1200 | msgid "" | ||
1201 | "Invalid option - Valid values for SSL Version are 1 (TLSv1), 2 (SSLv2) or 3 " | ||
1202 | "(SSLv3)" | ||
1203 | msgstr "" | ||
1204 | |||
1205 | #: plugins/check_http.c:354 plugins/check_tcp.c:599 | ||
1132 | msgid "Invalid option - SSL is not available" | 1206 | msgid "Invalid option - SSL is not available" |
1133 | msgstr "Option invalide - SSL n'est pas disponible" | 1207 | msgstr "Option invalide - SSL n'est pas disponible" |
1134 | 1208 | ||
1135 | #: plugins/check_http.c:329 | 1209 | #: plugins/check_http.c:375 |
1136 | msgid "Invalid onredirect option" | 1210 | msgid "Invalid onredirect option" |
1137 | msgstr "" | 1211 | msgstr "" |
1138 | 1212 | ||
1139 | #: plugins/check_http.c:331 | 1213 | #: plugins/check_http.c:377 |
1140 | #, c-format | 1214 | #, c-format |
1141 | msgid "option f:%d \n" | 1215 | msgid "option f:%d \n" |
1142 | msgstr "option f:%d \n" | 1216 | msgstr "option f:%d \n" |
1143 | 1217 | ||
1144 | #: plugins/check_http.c:352 | 1218 | #: plugins/check_http.c:398 |
1145 | msgid "Invalid port number" | 1219 | msgid "Invalid port number" |
1146 | msgstr "Numéro de port invalide" | 1220 | msgstr "Numéro de port invalide" |
1147 | 1221 | ||
1148 | #: plugins/check_http.c:400 | 1222 | #: plugins/check_http.c:450 |
1149 | #, c-format | 1223 | #, c-format |
1150 | msgid "Could Not Compile Regular Expression: %s" | 1224 | msgid "Could Not Compile Regular Expression: %s" |
1151 | msgstr "Impossible de compiler l'expression rationnelle: %s" | 1225 | msgstr "Impossible de compiler l'expression rationnelle: %s" |
1152 | 1226 | ||
1153 | #: plugins/check_http.c:414 plugins/check_ntp.c:718 | 1227 | #: plugins/check_http.c:464 plugins/check_ntp.c:722 |
1154 | #: plugins/check_ntp_peer.c:507 plugins/check_ntp_time.c:508 | 1228 | #: plugins/check_ntp_peer.c:513 plugins/check_ntp_time.c:512 |
1155 | #: plugins/check_smtp.c:613 plugins/check_ssh.c:149 plugins/check_tcp.c:463 | 1229 | #: plugins/check_smtp.c:621 plugins/check_ssh.c:149 plugins/check_tcp.c:477 |
1156 | msgid "IPv6 support not available" | 1230 | msgid "IPv6 support not available" |
1157 | msgstr "Support IPv6 non disponible" | 1231 | msgstr "Support IPv6 non disponible" |
1158 | 1232 | ||
1159 | #: plugins/check_http.c:476 plugins/check_ping.c:422 | 1233 | #: plugins/check_http.c:529 plugins/check_ping.c:422 |
1160 | msgid "You must specify a server address or host name" | 1234 | msgid "You must specify a server address or host name" |
1161 | msgstr "Vous devez spécifier une adresse ou un nom d'hôte" | 1235 | msgstr "Vous devez spécifier une adresse ou un nom d'hôte" |
1162 | 1236 | ||
1163 | #: plugins/check_http.c:609 plugins/check_http.c:777 | 1237 | #: plugins/check_http.c:543 |
1238 | msgid "" | ||
1239 | "If you use a client certificate you must also specify a private key file" | ||
1240 | msgstr "" | ||
1241 | |||
1242 | #: plugins/check_http.c:667 plugins/check_http.c:835 | ||
1164 | msgid "HTTP UNKNOWN - Memory allocation error\n" | 1243 | msgid "HTTP UNKNOWN - Memory allocation error\n" |
1165 | msgstr "HTTP INCONNU - Impossible d'allouer la mémoire\n" | 1244 | msgstr "HTTP INCONNU - Impossible d'allouer la mémoire\n" |
1166 | 1245 | ||
1167 | #: plugins/check_http.c:681 | 1246 | #: plugins/check_http.c:739 |
1168 | #, c-format | 1247 | #, c-format |
1169 | msgid "%sServer date unknown, " | 1248 | msgid "%sServer date unknown, " |
1170 | msgstr "%sDate du serveur inconnue, " | 1249 | msgstr "%sDate du serveur inconnue, " |
1171 | 1250 | ||
1172 | #: plugins/check_http.c:684 | 1251 | #: plugins/check_http.c:742 |
1173 | #, c-format | 1252 | #, c-format |
1174 | msgid "%sDocument modification date unknown, " | 1253 | msgid "%sDocument modification date unknown, " |
1175 | msgstr "%sDate de modification du document inconnue, " | 1254 | msgstr "%sDate de modification du document inconnue, " |
1176 | 1255 | ||
1177 | #: plugins/check_http.c:691 | 1256 | #: plugins/check_http.c:749 |
1178 | #, c-format | 1257 | #, c-format |
1179 | msgid "%sServer date \"%100s\" unparsable, " | 1258 | msgid "%sServer date \"%100s\" unparsable, " |
1180 | msgstr "%sDate du serveur \"%100s\" illisible, " | 1259 | msgstr "%sDate du serveur \"%100s\" illisible, " |
1181 | 1260 | ||
1182 | #: plugins/check_http.c:694 | 1261 | #: plugins/check_http.c:752 |
1183 | #, c-format | 1262 | #, c-format |
1184 | msgid "%sDocument date \"%100s\" unparsable, " | 1263 | msgid "%sDocument date \"%100s\" unparsable, " |
1185 | msgstr "%sDate du document \"%100s\" illisible, " | 1264 | msgstr "%sDate du document \"%100s\" illisible, " |
1186 | 1265 | ||
1187 | #: plugins/check_http.c:697 | 1266 | #: plugins/check_http.c:755 |
1188 | #, c-format | 1267 | #, c-format |
1189 | msgid "%sDocument is %d seconds in the future, " | 1268 | msgid "%sDocument is %d seconds in the future, " |
1190 | msgstr "%sLa date du document est %d secondes dans le futur, " | 1269 | msgstr "%sLa date du document est %d secondes dans le futur, " |
1191 | 1270 | ||
1192 | #: plugins/check_http.c:702 | 1271 | #: plugins/check_http.c:760 |
1193 | #, c-format | 1272 | #, c-format |
1194 | msgid "%sLast modified %.1f days ago, " | 1273 | msgid "%sLast modified %.1f days ago, " |
1195 | msgstr "%sDernière modification %.1f jours auparavant, " | 1274 | msgstr "%sDernière modification %.1f jours auparavant, " |
1196 | 1275 | ||
1197 | #: plugins/check_http.c:705 | 1276 | #: plugins/check_http.c:763 |
1198 | #, c-format | 1277 | #, c-format |
1199 | msgid "%sLast modified %d:%02d:%02d ago, " | 1278 | msgid "%sLast modified %d:%02d:%02d ago, " |
1200 | msgstr "%sDernière modification %d:%02d:%02d auparavant, " | 1279 | msgstr "%sDernière modification %d:%02d:%02d auparavant, " |
1201 | 1280 | ||
1202 | #: plugins/check_http.c:807 | 1281 | #: plugins/check_http.c:876 |
1203 | msgid "HTTP CRITICAL - Unable to open TCP socket\n" | 1282 | msgid "HTTP CRITICAL - Unable to open TCP socket\n" |
1204 | msgstr "HTTP CRITIQUE - Impossible d'ouvrir un socket TCP\n" | 1283 | msgstr "HTTP CRITIQUE - Impossible d'ouvrir un socket TCP\n" |
1205 | 1284 | ||
1206 | #: plugins/check_http.c:910 | 1285 | #: plugins/check_http.c:995 |
1207 | msgid "HTTP CRITICAL - Error on receive\n" | 1286 | msgid "HTTP CRITICAL - Error on receive\n" |
1208 | msgstr "HTTP CRITIQUE - Erreur dans la réception\n" | 1287 | msgstr "HTTP CRITIQUE - Erreur dans la réception\n" |
1209 | 1288 | ||
1210 | #: plugins/check_http.c:920 | 1289 | #: plugins/check_http.c:1005 |
1211 | msgid "HTTP CRITICAL - No data received from host\n" | 1290 | msgid "HTTP CRITICAL - No data received from host\n" |
1212 | msgstr "HTTP CRITIQUE - Pas de données reçues de l'hôte\n" | 1291 | msgstr "HTTP CRITIQUE - Pas de données reçues de l'hôte\n" |
1213 | 1292 | ||
1214 | #: plugins/check_http.c:971 | 1293 | #: plugins/check_http.c:1056 |
1215 | #, c-format | 1294 | #, c-format |
1216 | msgid "Invalid HTTP response received from host: %s\n" | 1295 | msgid "Invalid HTTP response received from host: %s\n" |
1217 | msgstr "Réponse HTTP reçue de l'hôte invalide: %s\n" | 1296 | msgstr "Réponse HTTP reçue de l'hôte invalide: %s\n" |
1218 | 1297 | ||
1219 | #: plugins/check_http.c:975 | 1298 | #: plugins/check_http.c:1060 |
1220 | #, c-format | 1299 | #, c-format |
1221 | msgid "Invalid HTTP response received from host on port %d: %s\n" | 1300 | msgid "Invalid HTTP response received from host on port %d: %s\n" |
1222 | msgstr "Réponse HTTP reçue de l'hôte sur le port %d invalide: %s\n" | 1301 | msgstr "Réponse HTTP reçue de l'hôte sur le port %d invalide: %s\n" |
1223 | 1302 | ||
1224 | #: plugins/check_http.c:984 | 1303 | #: plugins/check_http.c:1069 |
1225 | #, c-format | 1304 | #, c-format |
1226 | msgid "Status line output matched \"%s\" - " | 1305 | msgid "Status line output matched \"%s\" - " |
1227 | msgstr "La ligne d'état correspond à \"%s\" - " | 1306 | msgstr "La ligne d'état correspond à \"%s\" - " |
1228 | 1307 | ||
1229 | #: plugins/check_http.c:995 | 1308 | #: plugins/check_http.c:1080 |
1230 | #, c-format | 1309 | #, c-format |
1231 | msgid "HTTP CRITICAL: Invalid Status Line (%s)\n" | 1310 | msgid "HTTP CRITICAL: Invalid Status Line (%s)\n" |
1232 | msgstr "HTTP CRITIQUE: Ligne d'état non valide (%s)\n" | 1311 | msgstr "HTTP CRITIQUE: Ligne d'état non valide (%s)\n" |
1233 | 1312 | ||
1234 | #: plugins/check_http.c:1002 | 1313 | #: plugins/check_http.c:1087 |
1235 | #, c-format | 1314 | #, c-format |
1236 | msgid "HTTP CRITICAL: Invalid Status (%s)\n" | 1315 | msgid "HTTP CRITICAL: Invalid Status (%s)\n" |
1237 | msgstr "HTTP CRITIQUE: Etat Invalide (%s)\n" | 1316 | msgstr "HTTP CRITIQUE: Etat Invalide (%s)\n" |
1238 | 1317 | ||
1239 | #: plugins/check_http.c:1006 plugins/check_http.c:1011 | 1318 | #: plugins/check_http.c:1091 plugins/check_http.c:1096 |
1240 | #: plugins/check_http.c:1021 plugins/check_http.c:1025 | 1319 | #: plugins/check_http.c:1106 plugins/check_http.c:1110 |
1241 | #, c-format | 1320 | #, c-format |
1242 | msgid "%s - " | 1321 | msgid "%s - " |
1243 | msgstr "" | 1322 | msgstr "" |
1244 | 1323 | ||
1245 | #: plugins/check_http.c:1045 | 1324 | #: plugins/check_http.c:1129 |
1325 | #, fuzzy, c-format | ||
1326 | msgid "%sheader '%s' not found on '%s://%s:%d%s', " | ||
1327 | msgstr "%schaîne non trouvée, " | ||
1328 | |||
1329 | #: plugins/check_http.c:1141 | ||
1246 | #, fuzzy, c-format | 1330 | #, fuzzy, c-format |
1247 | msgid "%sstring '%s' not found on '%s://%s:%d%s', " | 1331 | msgid "%sstring '%s' not found on '%s://%s:%d%s', " |
1248 | msgstr "%schaîne non trouvée, " | 1332 | msgstr "%schaîne non trouvée, " |
1249 | 1333 | ||
1250 | #: plugins/check_http.c:1058 | 1334 | #: plugins/check_http.c:1154 |
1251 | #, c-format | 1335 | #, c-format |
1252 | msgid "%spattern not found, " | 1336 | msgid "%spattern not found, " |
1253 | msgstr "%sexpression non trouvée, " | 1337 | msgstr "%sexpression non trouvée, " |
1254 | 1338 | ||
1255 | #: plugins/check_http.c:1060 | 1339 | #: plugins/check_http.c:1156 |
1256 | #, c-format | 1340 | #, c-format |
1257 | msgid "%spattern found, " | 1341 | msgid "%spattern found, " |
1258 | msgstr "%sexpression trouvée, " | 1342 | msgstr "%sexpression trouvée, " |
1259 | 1343 | ||
1260 | #: plugins/check_http.c:1066 | 1344 | #: plugins/check_http.c:1162 |
1261 | #, c-format | 1345 | #, c-format |
1262 | msgid "%sExecute Error: %s, " | 1346 | msgid "%sExecute Error: %s, " |
1263 | msgstr "%sErreur d'exécution: %s, " | 1347 | msgstr "%sErreur d'exécution: %s, " |
1264 | 1348 | ||
1265 | #: plugins/check_http.c:1082 | 1349 | #: plugins/check_http.c:1178 |
1266 | #, c-format | 1350 | #, c-format |
1267 | msgid "%spage size %d too large, " | 1351 | msgid "%spage size %d too large, " |
1268 | msgstr "%sla taille de la page est trop grande (%d), " | 1352 | msgstr "%sla taille de la page est trop grande (%d), " |
1269 | 1353 | ||
1270 | #: plugins/check_http.c:1085 | 1354 | #: plugins/check_http.c:1181 |
1271 | #, c-format | 1355 | #, c-format |
1272 | msgid "%spage size %d too small, " | 1356 | msgid "%spage size %d too small, " |
1273 | msgstr "%sla taille de la page est trop petite (%d), " | 1357 | msgstr "%sla taille de la page est trop petite (%d), " |
1274 | 1358 | ||
1275 | #: plugins/check_http.c:1097 | 1359 | #: plugins/check_http.c:1194 |
1360 | #, fuzzy, c-format | ||
1361 | msgid "%s - %d bytes in %.3f second response time %s|%s %s %s %s %s %s %s" | ||
1362 | msgstr "%s - %d octets en %.3f secondes de temps de réponse %s|%s %s" | ||
1363 | |||
1364 | #: plugins/check_http.c:1206 | ||
1276 | #, c-format | 1365 | #, c-format |
1277 | msgid "%s - %d bytes in %.3f second response time %s|%s %s" | 1366 | msgid "%s - %d bytes in %.3f second response time %s|%s %s" |
1278 | msgstr "%s - %d octets en %.3f secondes de temps de réponse %s|%s %s" | 1367 | msgstr "%s - %d octets en %.3f secondes de temps de réponse %s|%s %s" |
1279 | 1368 | ||
1280 | #: plugins/check_http.c:1137 | 1369 | #: plugins/check_http.c:1244 |
1281 | msgid "HTTP UNKNOWN - Could not allocate addr\n" | 1370 | msgid "HTTP UNKNOWN - Could not allocate addr\n" |
1282 | msgstr "HTTP INCONNU - Impossible d'allouer une adresse\n" | 1371 | msgstr "HTTP INCONNU - Impossible d'allouer une adresse\n" |
1283 | 1372 | ||
1284 | #: plugins/check_http.c:1141 plugins/check_http.c:1172 | 1373 | #: plugins/check_http.c:1248 plugins/check_http.c:1279 |
1285 | msgid "HTTP UNKNOWN - Could not allocate URL\n" | 1374 | msgid "HTTP UNKNOWN - Could not allocate URL\n" |
1286 | msgstr "HTTP INCONNU - Impossible d'allouer l'URL\n" | 1375 | msgstr "HTTP INCONNU - Impossible d'allouer l'URL\n" |
1287 | 1376 | ||
1288 | #: plugins/check_http.c:1150 | 1377 | #: plugins/check_http.c:1257 |
1289 | #, c-format | 1378 | #, c-format |
1290 | msgid "HTTP UNKNOWN - Could not find redirect location - %s%s\n" | 1379 | msgid "HTTP UNKNOWN - Could not find redirect location - %s%s\n" |
1291 | msgstr "" | 1380 | msgstr "" |
1292 | "HTTP INCONNU - Impossible de trouver l'endroit de la redirection - %s%s\n" | 1381 | "HTTP INCONNU - Impossible de trouver l'endroit de la redirection - %s%s\n" |
1293 | 1382 | ||
1294 | #: plugins/check_http.c:1165 | 1383 | #: plugins/check_http.c:1272 |
1295 | #, c-format | 1384 | #, c-format |
1296 | msgid "HTTP UNKNOWN - Empty redirect location%s\n" | 1385 | msgid "HTTP UNKNOWN - Empty redirect location%s\n" |
1297 | msgstr "HTTP INCONNU - endroit de redirection vide%s\n" | 1386 | msgstr "HTTP INCONNU - endroit de redirection vide%s\n" |
1298 | 1387 | ||
1299 | #: plugins/check_http.c:1215 | 1388 | #: plugins/check_http.c:1322 |
1300 | #, c-format | 1389 | #, c-format |
1301 | msgid "HTTP UNKNOWN - Could not parse redirect location - %s%s\n" | 1390 | msgid "HTTP UNKNOWN - Could not parse redirect location - %s%s\n" |
1302 | msgstr "" | 1391 | msgstr "" |
1303 | "HTTP INCONNU - Impossible de définir l'endroit de la redirection - %s%s\n" | 1392 | "HTTP INCONNU - Impossible de définir l'endroit de la redirection - %s%s\n" |
1304 | 1393 | ||
1305 | #: plugins/check_http.c:1225 | 1394 | #: plugins/check_http.c:1332 |
1306 | #, c-format | 1395 | #, c-format |
1307 | msgid "HTTP WARNING - maximum redirection depth %d exceeded - %s://%s:%d%s%s\n" | 1396 | msgid "HTTP WARNING - maximum redirection depth %d exceeded - %s://%s:%d%s%s\n" |
1308 | msgstr "" | 1397 | msgstr "" |
1309 | "HTTP AVERTISSEMENT - le niveau maximum de redirection %d à été dépassé - %" | 1398 | "HTTP AVERTISSEMENT - le niveau maximum de redirection %d à été dépassé - " |
1310 | "s://%s:%d%s%s\n" | 1399 | "%s://%s:%d%s%s\n" |
1311 | 1400 | ||
1312 | #: plugins/check_http.c:1233 | 1401 | #: plugins/check_http.c:1340 |
1313 | #, c-format | 1402 | #, c-format |
1314 | msgid "HTTP WARNING - redirection creates an infinite loop - %s://%s:%d%s%s\n" | 1403 | msgid "HTTP WARNING - redirection creates an infinite loop - %s://%s:%d%s%s\n" |
1315 | msgstr "" | 1404 | msgstr "" |
1316 | "HTTP AVERTISSEMENT - la redirection crée une boucle infinie - %s://%s:%d%s%" | 1405 | "HTTP AVERTISSEMENT - la redirection crée une boucle infinie - %s://%s:%d%s" |
1317 | "s\n" | 1406 | "%s\n" |
1318 | 1407 | ||
1319 | #: plugins/check_http.c:1254 | 1408 | #: plugins/check_http.c:1361 |
1320 | #, c-format | 1409 | #, c-format |
1321 | msgid "HTTP UNKNOWN - Redirection to port above %d - %s://%s:%d%s%s\n" | 1410 | msgid "HTTP UNKNOWN - Redirection to port above %d - %s://%s:%d%s%s\n" |
1322 | msgstr "HTTP INCONNU - Redirection à un port supérieur à %d - %s://%s:%d%s%s\n" | 1411 | msgstr "HTTP INCONNU - Redirection à un port supérieur à %d - %s://%s:%d%s%s\n" |
1323 | 1412 | ||
1324 | #: plugins/check_http.c:1259 | 1413 | #: plugins/check_http.c:1366 |
1325 | #, c-format | 1414 | #, c-format |
1326 | msgid "Redirection to %s://%s:%d%s\n" | 1415 | msgid "Redirection to %s://%s:%d%s\n" |
1327 | msgstr "Redirection vers %s://%s:%d%s\n" | 1416 | msgstr "Redirection vers %s://%s:%d%s\n" |
1328 | 1417 | ||
1329 | #: plugins/check_http.c:1310 | 1418 | #: plugins/check_http.c:1440 |
1330 | msgid "This plugin tests the HTTP service on the specified host. It can test" | 1419 | msgid "This plugin tests the HTTP service on the specified host. It can test" |
1331 | msgstr "" | 1420 | msgstr "" |
1332 | "Ce plugin teste le service HTTP sur l'hôte spécifié. Il peut tester les" | 1421 | "Ce plugin teste le service HTTP sur l'hôte spécifié. Il peut tester les" |
1333 | 1422 | ||
1334 | #: plugins/check_http.c:1311 | 1423 | #: plugins/check_http.c:1441 |
1335 | msgid "normal (http) and secure (https) servers, follow redirects, search for" | 1424 | msgid "normal (http) and secure (https) servers, follow redirects, search for" |
1336 | msgstr "" | 1425 | msgstr "" |
1337 | "serveurs normaux (http) et sécurisés (https), suivre les redirections, " | 1426 | "serveurs normaux (http) et sécurisés (https), suivre les redirections, " |
1338 | "rechercher des" | 1427 | "rechercher des" |
1339 | 1428 | ||
1340 | #: plugins/check_http.c:1312 | 1429 | #: plugins/check_http.c:1442 |
1341 | msgid "strings and regular expressions, check connection times, and report on" | 1430 | msgid "strings and regular expressions, check connection times, and report on" |
1342 | msgstr "" | 1431 | msgstr "" |
1343 | "chaînes de caractères et expressions rationnelles, vérifier le temps de " | 1432 | "chaînes de caractères et expressions rationnelles, vérifier le temps de " |
1344 | "réponse" | 1433 | "réponse" |
1345 | 1434 | ||
1346 | #: plugins/check_http.c:1313 | 1435 | #: plugins/check_http.c:1443 |
1347 | msgid "certificate expiration times." | 1436 | msgid "certificate expiration times." |
1348 | msgstr "et rapporter la date d'expiration du certificat." | 1437 | msgstr "et rapporter la date d'expiration du certificat." |
1349 | 1438 | ||
1350 | #: plugins/check_http.c:1319 | 1439 | #: plugins/check_http.c:1449 |
1351 | #, c-format | 1440 | #, c-format |
1352 | msgid "NOTE: One or both of -H and -I must be specified" | 1441 | msgid "NOTE: One or both of -H and -I must be specified" |
1353 | msgstr "NOTE: les paramètres -H et -I peuvent être spécifiés" | 1442 | msgstr "NOTE: les paramètres -H et -I peuvent être spécifiés" |
1354 | 1443 | ||
1355 | #: plugins/check_http.c:1327 | 1444 | #: plugins/check_http.c:1457 |
1356 | msgid "Host name argument for servers using host headers (virtual host)" | 1445 | msgid "Host name argument for servers using host headers (virtual host)" |
1357 | msgstr "" | 1446 | msgstr "" |
1358 | 1447 | ||
1359 | #: plugins/check_http.c:1328 | 1448 | #: plugins/check_http.c:1458 |
1360 | msgid "Append a port to include it in the header (eg: example.com:5000)" | 1449 | msgid "Append a port to include it in the header (eg: example.com:5000)" |
1361 | msgstr "" | 1450 | msgstr "" |
1362 | 1451 | ||
1363 | #: plugins/check_http.c:1330 | 1452 | #: plugins/check_http.c:1460 |
1364 | msgid "" | 1453 | msgid "" |
1365 | "IP address or name (use numeric address if possible to bypass DNS lookup)." | 1454 | "IP address or name (use numeric address if possible to bypass DNS lookup)." |
1366 | msgstr "" | 1455 | msgstr "" |
1367 | 1456 | ||
1368 | #: plugins/check_http.c:1332 | 1457 | #: plugins/check_http.c:1462 |
1369 | msgid "Port number (default: " | 1458 | msgid "Port number (default: " |
1370 | msgstr "Numéro du port (défaut: " | 1459 | msgstr "Numéro du port (défaut: " |
1371 | 1460 | ||
1372 | #: plugins/check_http.c:1339 | 1461 | #: plugins/check_http.c:1469 |
1373 | msgid "Connect via SSL. Port defaults to 443" | 1462 | msgid "" |
1463 | "Connect via SSL. Port defaults to 443. VERSION is optional, and prevents" | ||
1464 | msgstr "" | ||
1465 | |||
1466 | #: plugins/check_http.c:1470 | ||
1467 | msgid "auto-negotiation (1 = TLSv1, 2 = SSLv2, 3 = SSLv3)." | ||
1374 | msgstr "" | 1468 | msgstr "" |
1375 | 1469 | ||
1376 | #: plugins/check_http.c:1341 | 1470 | #: plugins/check_http.c:1472 |
1377 | msgid "Enable SSL/TLS hostname extension support (SNI)" | 1471 | msgid "Enable SSL/TLS hostname extension support (SNI)" |
1378 | msgstr "" | 1472 | msgstr "" |
1379 | 1473 | ||
1380 | #: plugins/check_http.c:1343 | 1474 | #: plugins/check_http.c:1474 |
1381 | msgid "" | 1475 | msgid "" |
1382 | "Minimum number of days a certificate has to be valid. Port defaults to 443" | 1476 | "Minimum number of days a certificate has to be valid. Port defaults to 443" |
1383 | msgstr "" | 1477 | msgstr "" |
1384 | "Nombre de jours minimum pour que le certificat soit valide. Port par défaut " | 1478 | "Nombre de jours minimum pour que le certificat soit valide. Port par défaut " |
1385 | "443" | 1479 | "443" |
1386 | 1480 | ||
1387 | #: plugins/check_http.c:1344 | 1481 | #: plugins/check_http.c:1475 |
1388 | msgid "(when this option is used the URL is not checked.)\n" | 1482 | msgid "(when this option is used the URL is not checked.)" |
1483 | msgstr "" | ||
1484 | |||
1485 | #: plugins/check_http.c:1477 | ||
1486 | msgid "Name of file that contains the client certificate (PEM format)" | ||
1487 | msgstr "" | ||
1488 | |||
1489 | #: plugins/check_http.c:1478 | ||
1490 | msgid "to be used in establishing the SSL session" | ||
1491 | msgstr "" | ||
1492 | |||
1493 | #: plugins/check_http.c:1480 | ||
1494 | msgid "Name of file containing the private key (PEM format)" | ||
1495 | msgstr "" | ||
1496 | |||
1497 | #: plugins/check_http.c:1481 | ||
1498 | msgid "matching the client certificate" | ||
1389 | msgstr "" | 1499 | msgstr "" |
1390 | 1500 | ||
1391 | #: plugins/check_http.c:1348 | 1501 | #: plugins/check_http.c:1485 |
1392 | msgid "Comma-delimited list of strings, at least one of them is expected in" | 1502 | msgid "Comma-delimited list of strings, at least one of them is expected in" |
1393 | msgstr "" | 1503 | msgstr "" |
1394 | "Liste the chaines de charactères séparées par des virgules, au moins une " | 1504 | "Liste the chaines de charactères séparées par des virgules, au moins une " |
1395 | "d'elles" | 1505 | "d'elles" |
1396 | 1506 | ||
1397 | #: plugins/check_http.c:1349 | 1507 | #: plugins/check_http.c:1486 |
1398 | msgid "the first (status) line of the server response (default: " | 1508 | msgid "the first (status) line of the server response (default: " |
1399 | msgstr "est attendue dans la première ligne de réponse du serveur (défaut: " | 1509 | msgstr "est attendue dans la première ligne de réponse du serveur (défaut: " |
1400 | 1510 | ||
1401 | #: plugins/check_http.c:1351 | 1511 | #: plugins/check_http.c:1488 |
1402 | msgid "" | 1512 | msgid "" |
1403 | "If specified skips all other status line logic (ex: 3xx, 4xx, 5xx processing)" | 1513 | "If specified skips all other status line logic (ex: 3xx, 4xx, 5xx processing)" |
1404 | msgstr "" | 1514 | msgstr "" |
1405 | "Si spécifié, surpasse toute autre logique de status (ex: 3xx, 4xx, 5xx)" | 1515 | "Si spécifié, surpasse toute autre logique de status (ex: 3xx, 4xx, 5xx)" |
1406 | 1516 | ||
1407 | #: plugins/check_http.c:1353 | 1517 | #: plugins/check_http.c:1490 |
1518 | #, fuzzy | ||
1519 | msgid "String to expect in the response headers" | ||
1520 | msgstr "Chaîne de caractères à attendre en réponse" | ||
1521 | |||
1522 | #: plugins/check_http.c:1492 | ||
1408 | msgid "String to expect in the content" | 1523 | msgid "String to expect in the content" |
1409 | msgstr "Chaîne de caractère attendue dans le contenu" | 1524 | msgstr "Chaîne de caractère attendue dans le contenu" |
1410 | 1525 | ||
1411 | #: plugins/check_http.c:1355 | 1526 | #: plugins/check_http.c:1494 |
1412 | msgid "URL to GET or POST (default: /)" | 1527 | msgid "URL to GET or POST (default: /)" |
1413 | msgstr "URL pour le GET ou le POST (défaut: /)" | 1528 | msgstr "URL pour le GET ou le POST (défaut: /)" |
1414 | 1529 | ||
1415 | #: plugins/check_http.c:1357 | 1530 | #: plugins/check_http.c:1496 |
1416 | msgid "URL encoded http POST data" | 1531 | msgid "URL encoded http POST data" |
1417 | msgstr "" | 1532 | msgstr "" |
1418 | 1533 | ||
1419 | #: plugins/check_http.c:1359 | 1534 | #: plugins/check_http.c:1498 |
1420 | msgid "Set HTTP method." | 1535 | msgid "Set HTTP method." |
1421 | msgstr "" | 1536 | msgstr "" |
1422 | 1537 | ||
1423 | #: plugins/check_http.c:1361 | 1538 | #: plugins/check_http.c:1500 |
1424 | msgid "Don't wait for document body: stop reading after headers." | 1539 | msgid "Don't wait for document body: stop reading after headers." |
1425 | msgstr "" | 1540 | msgstr "" |
1426 | "Ne pas attendre pour le corps du document: arrêter de lire après les entêtes" | 1541 | "Ne pas attendre pour le corps du document: arrêter de lire après les entêtes" |
1427 | 1542 | ||
1428 | #: plugins/check_http.c:1362 | 1543 | #: plugins/check_http.c:1501 |
1429 | msgid "(Note that this still does an HTTP GET or POST, not a HEAD.)" | 1544 | msgid "(Note that this still does an HTTP GET or POST, not a HEAD.)" |
1430 | msgstr "(Veuillez noter qu'un HTTP GET ou POST est effectué, pas un HEAD.)" | 1545 | msgstr "(Veuillez noter qu'un HTTP GET ou POST est effectué, pas un HEAD.)" |
1431 | 1546 | ||
1432 | #: plugins/check_http.c:1364 | 1547 | #: plugins/check_http.c:1503 |
1433 | msgid "Warn if document is more than SECONDS old. the number can also be of" | 1548 | msgid "Warn if document is more than SECONDS old. the number can also be of" |
1434 | msgstr "" | 1549 | msgstr "" |
1435 | 1550 | ||
1436 | #: plugins/check_http.c:1365 | 1551 | #: plugins/check_http.c:1504 |
1437 | msgid "the form \"10m\" for minutes, \"10h\" for hours, or \"10d\" for days." | 1552 | msgid "the form \"10m\" for minutes, \"10h\" for hours, or \"10d\" for days." |
1438 | msgstr "" | 1553 | msgstr "" |
1439 | 1554 | ||
1440 | #: plugins/check_http.c:1367 | 1555 | #: plugins/check_http.c:1506 |
1441 | msgid "specify Content-Type header media type when POSTing\n" | 1556 | msgid "specify Content-Type header media type when POSTing\n" |
1442 | msgstr "" | 1557 | msgstr "" |
1443 | 1558 | ||
1444 | #: plugins/check_http.c:1370 | 1559 | #: plugins/check_http.c:1509 |
1445 | msgid "Allow regex to span newlines (must precede -r or -R)" | 1560 | msgid "Allow regex to span newlines (must precede -r or -R)" |
1446 | msgstr "" | 1561 | msgstr "" |
1447 | 1562 | ||
1448 | #: plugins/check_http.c:1372 | 1563 | #: plugins/check_http.c:1511 |
1449 | msgid "Search page for regex STRING" | 1564 | msgid "Search page for regex STRING" |
1450 | msgstr "" | 1565 | msgstr "" |
1451 | 1566 | ||
1452 | #: plugins/check_http.c:1374 | 1567 | #: plugins/check_http.c:1513 |
1453 | msgid "Search page for case-insensitive regex STRING" | 1568 | msgid "Search page for case-insensitive regex STRING" |
1454 | msgstr "" | 1569 | msgstr "" |
1455 | 1570 | ||
1456 | #: plugins/check_http.c:1376 | 1571 | #: plugins/check_http.c:1515 |
1457 | msgid "Return CRITICAL if found, OK if not\n" | 1572 | msgid "Return CRITICAL if found, OK if not\n" |
1458 | msgstr "" | 1573 | msgstr "" |
1459 | 1574 | ||
1460 | #: plugins/check_http.c:1379 | 1575 | #: plugins/check_http.c:1518 |
1461 | msgid "Username:password on sites with basic authentication" | 1576 | msgid "Username:password on sites with basic authentication" |
1462 | msgstr "" | 1577 | msgstr "" |
1463 | 1578 | ||
1464 | #: plugins/check_http.c:1381 | 1579 | #: plugins/check_http.c:1520 |
1465 | msgid "Username:password on proxy-servers with basic authentication" | 1580 | msgid "Username:password on proxy-servers with basic authentication" |
1466 | msgstr "" | 1581 | msgstr "" |
1467 | 1582 | ||
1468 | #: plugins/check_http.c:1383 | 1583 | #: plugins/check_http.c:1522 |
1469 | msgid "String to be sent in http header as \"User Agent\"" | 1584 | msgid "String to be sent in http header as \"User Agent\"" |
1470 | msgstr "" | 1585 | msgstr "" |
1471 | 1586 | ||
1472 | #: plugins/check_http.c:1385 | 1587 | #: plugins/check_http.c:1524 |
1473 | msgid "" | 1588 | msgid "" |
1474 | " Any other tags to be sent in http header. Use multiple times for additional " | 1589 | "Any other tags to be sent in http header. Use multiple times for additional " |
1475 | "headers" | 1590 | "headers" |
1476 | msgstr "" | 1591 | msgstr "" |
1477 | 1592 | ||
1478 | #: plugins/check_http.c:1387 | 1593 | #: plugins/check_http.c:1526 |
1594 | msgid "Print additional performance data" | ||
1595 | msgstr "" | ||
1596 | |||
1597 | #: plugins/check_http.c:1528 | ||
1479 | msgid "Wrap output in HTML link (obsoleted by urlize)" | 1598 | msgid "Wrap output in HTML link (obsoleted by urlize)" |
1480 | msgstr "" | 1599 | msgstr "" |
1481 | 1600 | ||
1482 | #: plugins/check_http.c:1389 | 1601 | #: plugins/check_http.c:1530 |
1483 | msgid "How to handle redirected pages. sticky is like follow but stick to the" | 1602 | msgid "How to handle redirected pages. sticky is like follow but stick to the" |
1484 | msgstr "" | 1603 | msgstr "" |
1485 | 1604 | ||
1486 | #: plugins/check_http.c:1390 | 1605 | #: plugins/check_http.c:1531 |
1487 | msgid "specified IP address. stickyport also ensure post stays the same." | 1606 | msgid "specified IP address. stickyport also ensures port stays the same." |
1488 | msgstr "" | 1607 | msgstr "" |
1489 | 1608 | ||
1490 | #: plugins/check_http.c:1392 | 1609 | #: plugins/check_http.c:1533 |
1491 | msgid "Minimum page size required (bytes) : Maximum page size required (bytes)" | 1610 | msgid "Minimum page size required (bytes) : Maximum page size required (bytes)" |
1492 | msgstr "" | 1611 | msgstr "" |
1493 | 1612 | ||
1494 | #: plugins/check_http.c:1402 | 1613 | #: plugins/check_http.c:1543 |
1495 | msgid "This plugin will attempt to open an HTTP connection with the host." | 1614 | msgid "This plugin will attempt to open an HTTP connection with the host." |
1496 | msgstr "Ce plugin va essayer d'ouvrir un connexion SMTP avec l'hôte." | 1615 | msgstr "Ce plugin va essayer d'ouvrir un connexion SMTP avec l'hôte." |
1497 | 1616 | ||
1498 | #: plugins/check_http.c:1403 | 1617 | #: plugins/check_http.c:1544 |
1499 | msgid "" | 1618 | msgid "" |
1500 | "Successful connects return STATE_OK, refusals and timeouts return " | 1619 | "Successful connects return STATE_OK, refusals and timeouts return " |
1501 | "STATE_CRITICAL" | 1620 | "STATE_CRITICAL" |
1502 | msgstr "" | 1621 | msgstr "" |
1503 | 1622 | ||
1504 | #: plugins/check_http.c:1404 | 1623 | #: plugins/check_http.c:1545 |
1505 | msgid "" | 1624 | msgid "" |
1506 | "other errors return STATE_UNKNOWN. Successful connects, but incorrect " | 1625 | "other errors return STATE_UNKNOWN. Successful connects, but incorrect " |
1507 | "reponse" | 1626 | "reponse" |
1508 | msgstr "" | 1627 | msgstr "" |
1509 | 1628 | ||
1510 | #: plugins/check_http.c:1405 | 1629 | #: plugins/check_http.c:1546 |
1511 | msgid "" | 1630 | msgid "" |
1512 | "messages from the host result in STATE_WARNING return values. If you are" | 1631 | "messages from the host result in STATE_WARNING return values. If you are" |
1513 | msgstr "" | 1632 | msgstr "" |
1514 | 1633 | ||
1515 | #: plugins/check_http.c:1406 | 1634 | #: plugins/check_http.c:1547 |
1516 | msgid "" | 1635 | msgid "" |
1517 | "checking a virtual server that uses 'host headers' you must supply the FQDN" | 1636 | "checking a virtual server that uses 'host headers' you must supply the FQDN" |
1518 | msgstr "" | 1637 | msgstr "" |
1519 | 1638 | ||
1520 | #: plugins/check_http.c:1407 | 1639 | #: plugins/check_http.c:1548 |
1521 | msgid "(fully qualified domain name) as the [host_name] argument." | 1640 | msgid "(fully qualified domain name) as the [host_name] argument." |
1522 | msgstr "" | 1641 | msgstr "" |
1523 | 1642 | ||
1524 | #: plugins/check_http.c:1411 | 1643 | #: plugins/check_http.c:1552 |
1525 | msgid "This plugin can also check whether an SSL enabled web server is able to" | 1644 | msgid "This plugin can also check whether an SSL enabled web server is able to" |
1526 | msgstr "" | 1645 | msgstr "" |
1527 | 1646 | ||
1528 | #: plugins/check_http.c:1412 | 1647 | #: plugins/check_http.c:1553 |
1529 | msgid "serve content (optionally within a specified time) or whether the X509 " | 1648 | msgid "serve content (optionally within a specified time) or whether the X509 " |
1530 | msgstr "" | 1649 | msgstr "" |
1531 | 1650 | ||
1532 | #: plugins/check_http.c:1413 | 1651 | #: plugins/check_http.c:1554 |
1533 | msgid "certificate is still valid for the specified number of days." | 1652 | msgid "certificate is still valid for the specified number of days." |
1534 | msgstr "" | 1653 | msgstr "" |
1535 | 1654 | ||
1536 | #: plugins/check_http.c:1417 | 1655 | #: plugins/check_http.c:1556 |
1656 | #, fuzzy | ||
1657 | msgid "Please note that this plugin does not check if the presented server" | ||
1658 | msgstr "Ce plugin vérifie le service ntp sur l'hôte" | ||
1659 | |||
1660 | #: plugins/check_http.c:1557 | ||
1661 | msgid "certificate matches the hostname of the server, or if the certificate" | ||
1662 | msgstr "" | ||
1663 | |||
1664 | #: plugins/check_http.c:1558 | ||
1665 | msgid "has a valid chain of trust to one of the locally installed CAs." | ||
1666 | msgstr "" | ||
1667 | |||
1668 | #: plugins/check_http.c:1562 | ||
1537 | msgid "" | 1669 | msgid "" |
1538 | "When the 'www.verisign.com' server returns its content within 5 seconds," | 1670 | "When the 'www.verisign.com' server returns its content within 5 seconds," |
1539 | msgstr "" | 1671 | msgstr "" |
1540 | 1672 | ||
1541 | #: plugins/check_http.c:1418 | 1673 | #: plugins/check_http.c:1563 |
1542 | msgid "" | 1674 | msgid "" |
1543 | "a STATE_OK will be returned. When the server returns its content but exceeds" | 1675 | "a STATE_OK will be returned. When the server returns its content but exceeds" |
1544 | msgstr "" | 1676 | msgstr "" |
1545 | 1677 | ||
1546 | #: plugins/check_http.c:1419 | 1678 | #: plugins/check_http.c:1564 |
1547 | msgid "" | 1679 | msgid "" |
1548 | "the 5-second threshold, a STATE_WARNING will be returned. When an error " | 1680 | "the 5-second threshold, a STATE_WARNING will be returned. When an error " |
1549 | "occurs," | 1681 | "occurs," |
1550 | msgstr "" | 1682 | msgstr "" |
1551 | 1683 | ||
1552 | #: plugins/check_http.c:1420 | 1684 | #: plugins/check_http.c:1565 |
1553 | msgid "a STATE_CRITICAL will be returned." | 1685 | msgid "a STATE_CRITICAL will be returned." |
1554 | msgstr "" | 1686 | msgstr "" |
1555 | 1687 | ||
1556 | #: plugins/check_http.c:1423 | 1688 | #: plugins/check_http.c:1568 |
1557 | msgid "" | 1689 | msgid "" |
1558 | "When the certificate of 'www.verisign.com' is valid for more than 14 days," | 1690 | "When the certificate of 'www.verisign.com' is valid for more than 14 days," |
1559 | msgstr "" | 1691 | msgstr "" |
1560 | 1692 | ||
1561 | #: plugins/check_http.c:1424 | 1693 | #: plugins/check_http.c:1569 plugins/check_http.c:1575 |
1562 | msgid "" | 1694 | msgid "" |
1563 | "a STATE_OK is returned. When the certificate is still valid, but for less " | 1695 | "a STATE_OK is returned. When the certificate is still valid, but for less " |
1564 | "than" | 1696 | "than" |
1565 | msgstr "" | 1697 | msgstr "" |
1566 | 1698 | ||
1567 | #: plugins/check_http.c:1425 | 1699 | #: plugins/check_http.c:1570 |
1568 | msgid "" | 1700 | msgid "" |
1569 | "14 days, a STATE_WARNING is returned. A STATE_CRITICAL will be returned when" | 1701 | "14 days, a STATE_WARNING is returned. A STATE_CRITICAL will be returned when" |
1570 | msgstr "" | 1702 | msgstr "" |
1571 | 1703 | ||
1572 | #: plugins/check_http.c:1426 | 1704 | #: plugins/check_http.c:1571 |
1573 | msgid "the certificate is expired." | 1705 | msgid "the certificate is expired." |
1574 | msgstr "le certificat est expiré." | 1706 | msgstr "le certificat est expiré." |
1575 | 1707 | ||
1708 | #: plugins/check_http.c:1574 | ||
1709 | msgid "" | ||
1710 | "When the certificate of 'www.verisign.com' is valid for more than 30 days," | ||
1711 | msgstr "" | ||
1712 | |||
1713 | #: plugins/check_http.c:1576 | ||
1714 | msgid "30 days, but more than 14 days, a STATE_WARNING is returned." | ||
1715 | msgstr "" | ||
1716 | |||
1717 | #: plugins/check_http.c:1577 | ||
1718 | msgid "" | ||
1719 | "A STATE_CRITICAL will be returned when certificate expires in less than 14 " | ||
1720 | "days" | ||
1721 | msgstr "" | ||
1722 | |||
1576 | #: plugins/check_ldap.c:133 | 1723 | #: plugins/check_ldap.c:133 |
1577 | #, c-format | 1724 | #, c-format |
1578 | msgid "Could not connect to the server at port %i\n" | 1725 | msgid "Could not connect to the server at port %i\n" |
@@ -1619,81 +1766,77 @@ msgstr "Impossible de chercher/trouver les objectclasses dans %s\n" | |||
1619 | msgid "LDAP %s - %.3f seconds response time|%s\n" | 1766 | msgid "LDAP %s - %.3f seconds response time|%s\n" |
1620 | msgstr "LDAP %s - %.3f secondes de temps de réponse|%s\n" | 1767 | msgstr "LDAP %s - %.3f secondes de temps de réponse|%s\n" |
1621 | 1768 | ||
1622 | #: plugins/check_ldap.c:339 plugins/check_ldap.c:346 | 1769 | #: plugins/check_ldap.c:339 plugins/check_ldap.c:347 |
1623 | #, c-format | 1770 | #, c-format |
1624 | msgid "%s cannot be combined with %s" | 1771 | msgid "%s cannot be combined with %s" |
1625 | msgstr "" | 1772 | msgstr "" |
1626 | 1773 | ||
1627 | #: plugins/check_ldap.c:352 plugins/check_ping.c:246 | 1774 | #: plugins/check_ldap.c:379 |
1628 | msgid "IPv6 support not available\n" | ||
1629 | msgstr "Support IPv6 non disponible\n" | ||
1630 | |||
1631 | #: plugins/check_ldap.c:375 | ||
1632 | msgid "Please specify the host name\n" | 1775 | msgid "Please specify the host name\n" |
1633 | msgstr "Veuillez spécifier le nom de l'hôte\n" | 1776 | msgstr "Veuillez spécifier le nom de l'hôte\n" |
1634 | 1777 | ||
1635 | #: plugins/check_ldap.c:378 | 1778 | #: plugins/check_ldap.c:382 |
1636 | msgid "Please specify the LDAP base\n" | 1779 | msgid "Please specify the LDAP base\n" |
1637 | msgstr "Veuillez spécifier la base LDAP\n" | 1780 | msgstr "Veuillez spécifier la base LDAP\n" |
1638 | 1781 | ||
1639 | #: plugins/check_ldap.c:407 | 1782 | #: plugins/check_ldap.c:411 |
1640 | msgid "ldap attribute to search (default: \"(objectclass=*)\"" | 1783 | msgid "ldap attribute to search (default: \"(objectclass=*)\"" |
1641 | msgstr "" | 1784 | msgstr "" |
1642 | 1785 | ||
1643 | #: plugins/check_ldap.c:409 | 1786 | #: plugins/check_ldap.c:413 |
1644 | msgid "ldap base (eg. ou=my unit, o=my org, c=at" | 1787 | msgid "ldap base (eg. ou=my unit, o=my org, c=at" |
1645 | msgstr "" | 1788 | msgstr "" |
1646 | 1789 | ||
1647 | #: plugins/check_ldap.c:411 | 1790 | #: plugins/check_ldap.c:415 |
1648 | msgid "ldap bind DN (if required)" | 1791 | msgid "ldap bind DN (if required)" |
1649 | msgstr "" | 1792 | msgstr "" |
1650 | 1793 | ||
1651 | #: plugins/check_ldap.c:413 | 1794 | #: plugins/check_ldap.c:417 |
1652 | msgid "ldap password (if required)" | 1795 | msgid "ldap password (if required)" |
1653 | msgstr "" | 1796 | msgstr "" |
1654 | 1797 | ||
1655 | #: plugins/check_ldap.c:415 | 1798 | #: plugins/check_ldap.c:419 |
1656 | msgid "use starttls mechanism introduced in protocol version 3" | 1799 | msgid "use starttls mechanism introduced in protocol version 3" |
1657 | msgstr "utiliser le fonctionnement starttls du protocole version 3" | 1800 | msgstr "utiliser le fonctionnement starttls du protocole version 3" |
1658 | 1801 | ||
1659 | #: plugins/check_ldap.c:417 | 1802 | #: plugins/check_ldap.c:421 |
1660 | msgid "use ldaps (ldap v2 ssl method). this also sets the default port to" | 1803 | msgid "use ldaps (ldap v2 ssl method). this also sets the default port to" |
1661 | msgstr "" | 1804 | msgstr "" |
1662 | 1805 | ||
1663 | #: plugins/check_ldap.c:421 | 1806 | #: plugins/check_ldap.c:425 |
1664 | msgid "use ldap protocol version 2" | 1807 | msgid "use ldap protocol version 2" |
1665 | msgstr "utiliser le protocole ldap version 2" | 1808 | msgstr "utiliser le protocole ldap version 2" |
1666 | 1809 | ||
1667 | #: plugins/check_ldap.c:423 | 1810 | #: plugins/check_ldap.c:427 |
1668 | msgid "use ldap protocol version 3" | 1811 | msgid "use ldap protocol version 3" |
1669 | msgstr "utiliser le protocole ldap version 3" | 1812 | msgstr "utiliser le protocole ldap version 3" |
1670 | 1813 | ||
1671 | #: plugins/check_ldap.c:424 | 1814 | #: plugins/check_ldap.c:428 |
1672 | msgid "default protocol version:" | 1815 | msgid "default protocol version:" |
1673 | msgstr "version du protocole par défaut:" | 1816 | msgstr "version du protocole par défaut:" |
1674 | 1817 | ||
1675 | #: plugins/check_ldap.c:435 | 1818 | #: plugins/check_ldap.c:439 |
1676 | msgid "If this plugin is called via 'check_ldaps', method 'STARTTLS' will be" | 1819 | msgid "If this plugin is called via 'check_ldaps', method 'STARTTLS' will be" |
1677 | msgstr "" | 1820 | msgstr "" |
1678 | 1821 | ||
1679 | #: plugins/check_ldap.c:436 | 1822 | #: plugins/check_ldap.c:440 |
1680 | #, c-format | 1823 | #, c-format |
1681 | msgid "" | 1824 | msgid "" |
1682 | " implied (using default port %i) unless --port=636 is specified. In that " | 1825 | " implied (using default port %i) unless --port=636 is specified. In that " |
1683 | "case\n" | 1826 | "case\n" |
1684 | msgstr "" | 1827 | msgstr "" |
1685 | 1828 | ||
1686 | #: plugins/check_ldap.c:437 | 1829 | #: plugins/check_ldap.c:441 |
1687 | msgid "'SSL on connect' will be used no matter how the plugin was called." | 1830 | msgid "'SSL on connect' will be used no matter how the plugin was called." |
1688 | msgstr "" | 1831 | msgstr "" |
1689 | 1832 | ||
1690 | #: plugins/check_ldap.c:438 | 1833 | #: plugins/check_ldap.c:442 |
1691 | msgid "" | 1834 | msgid "" |
1692 | "This detection is deprecated, please use 'check_ldap' with the '--starttls' " | 1835 | "This detection is deprecated, please use 'check_ldap' with the '--starttls' " |
1693 | "or '--ssl' flags" | 1836 | "or '--ssl' flags" |
1694 | msgstr "" | 1837 | msgstr "" |
1695 | 1838 | ||
1696 | #: plugins/check_ldap.c:439 | 1839 | #: plugins/check_ldap.c:443 |
1697 | msgid "to define the behaviour explicitly instead." | 1840 | msgid "to define the behaviour explicitly instead." |
1698 | msgstr "" | 1841 | msgstr "" |
1699 | 1842 | ||
@@ -1706,41 +1849,46 @@ msgstr "Le seuil d'alerte doit être un nombre à virgule flottante!\n" | |||
1706 | msgid "Error opening %s\n" | 1849 | msgid "Error opening %s\n" |
1707 | msgstr "Erreur à l'ouverture de %s\n" | 1850 | msgstr "Erreur à l'ouverture de %s\n" |
1708 | 1851 | ||
1709 | #: plugins/check_load.c:160 | 1852 | #: plugins/check_load.c:163 |
1853 | #, fuzzy, c-format | ||
1854 | msgid "could not parse load from uptime: %s\n" | ||
1855 | msgstr "Lecture des arguments impossible\n" | ||
1856 | |||
1857 | #: plugins/check_load.c:169 | ||
1710 | #, c-format | 1858 | #, c-format |
1711 | msgid "Error code %d returned in %s\n" | 1859 | msgid "Error code %d returned in %s\n" |
1712 | msgstr "Le code erreur %d à été retourné par %s\n" | 1860 | msgstr "Le code erreur %d à été retourné par %s\n" |
1713 | 1861 | ||
1714 | #: plugins/check_load.c:175 | 1862 | #: plugins/check_load.c:184 |
1715 | #, c-format | 1863 | #, c-format |
1716 | msgid "Error in getloadavg()\n" | 1864 | msgid "Error in getloadavg()\n" |
1717 | msgstr "Erreur dans la fonction getloadavg()\n" | 1865 | msgstr "Erreur dans la fonction getloadavg()\n" |
1718 | 1866 | ||
1719 | #: plugins/check_load.c:178 plugins/check_load.c:180 | 1867 | #: plugins/check_load.c:187 plugins/check_load.c:189 |
1720 | #, c-format | 1868 | #, c-format |
1721 | msgid "Error processing %s\n" | 1869 | msgid "Error processing %s\n" |
1722 | msgstr "Erreur lors de l'utilisation de %s\n" | 1870 | msgstr "Erreur lors de l'utilisation de %s\n" |
1723 | 1871 | ||
1724 | #: plugins/check_load.c:189 | 1872 | #: plugins/check_load.c:198 |
1725 | #, c-format | 1873 | #, c-format |
1726 | msgid "load average: %.2f, %.2f, %.2f" | 1874 | msgid "load average: %.2f, %.2f, %.2f" |
1727 | msgstr "Charge moyenne: %.2f, %.2f, %.2f" | 1875 | msgstr "Charge moyenne: %.2f, %.2f, %.2f" |
1728 | 1876 | ||
1729 | #: plugins/check_load.c:282 | 1877 | #: plugins/check_load.c:291 |
1730 | #, c-format | 1878 | #, c-format |
1731 | msgid "Critical threshold for %d-minute load average is not specified\n" | 1879 | msgid "Critical threshold for %d-minute load average is not specified\n" |
1732 | msgstr "" | 1880 | msgstr "" |
1733 | "Le seuil critique pour la charge système après %d minutes n'est pas " | 1881 | "Le seuil critique pour la charge système après %d minutes n'est pas " |
1734 | "spécifié\n" | 1882 | "spécifié\n" |
1735 | 1883 | ||
1736 | #: plugins/check_load.c:284 | 1884 | #: plugins/check_load.c:293 |
1737 | #, c-format | 1885 | #, c-format |
1738 | msgid "Warning threshold for %d-minute load average is not specified\n" | 1886 | msgid "Warning threshold for %d-minute load average is not specified\n" |
1739 | msgstr "" | 1887 | msgstr "" |
1740 | "Le seuil d'avertissement pour la charge système après %d minutes n'est pas " | 1888 | "Le seuil d'avertissement pour la charge système après %d minutes n'est pas " |
1741 | "spécifié\n" | 1889 | "spécifié\n" |
1742 | 1890 | ||
1743 | #: plugins/check_load.c:286 | 1891 | #: plugins/check_load.c:295 |
1744 | #, c-format | 1892 | #, c-format |
1745 | msgid "" | 1893 | msgid "" |
1746 | "Parameter inconsistency: %d-minute \"warning load\" is greater than " | 1894 | "Parameter inconsistency: %d-minute \"warning load\" is greater than " |
@@ -1749,25 +1897,25 @@ msgstr "" | |||
1749 | "Arguments Incorrects: %d-minute \"alerte charge système\" est plus grand que " | 1897 | "Arguments Incorrects: %d-minute \"alerte charge système\" est plus grand que " |
1750 | "\"alerte critique charge système\"\n" | 1898 | "\"alerte critique charge système\"\n" |
1751 | 1899 | ||
1752 | #: plugins/check_load.c:302 | 1900 | #: plugins/check_load.c:311 |
1753 | #, c-format | 1901 | #, c-format |
1754 | msgid "This plugin tests the current system load average." | 1902 | msgid "This plugin tests the current system load average." |
1755 | msgstr "Ce plugin teste la charge système actuelle." | 1903 | msgstr "Ce plugin teste la charge système actuelle." |
1756 | 1904 | ||
1757 | #: plugins/check_load.c:312 | 1905 | #: plugins/check_load.c:321 |
1758 | msgid "Exit with WARNING status if load average exceeds WLOADn" | 1906 | msgid "Exit with WARNING status if load average exceeds WLOADn" |
1759 | msgstr "" | 1907 | msgstr "" |
1760 | "Sortir avec un résultat AVERTISSEMENT si la charge moyenne dépasse WLOAD" | 1908 | "Sortir avec un résultat AVERTISSEMENT si la charge moyenne dépasse WLOAD" |
1761 | 1909 | ||
1762 | #: plugins/check_load.c:314 | 1910 | #: plugins/check_load.c:323 |
1763 | msgid "Exit with CRITICAL status if load average exceed CLOADn" | 1911 | msgid "Exit with CRITICAL status if load average exceed CLOADn" |
1764 | msgstr "Sortir avec un résultat CRITIQUE si la charge moyenne excède CLOAD" | 1912 | msgstr "Sortir avec un résultat CRITIQUE si la charge moyenne excède CLOAD" |
1765 | 1913 | ||
1766 | #: plugins/check_load.c:315 | 1914 | #: plugins/check_load.c:324 |
1767 | msgid "the load average format is the same used by \"uptime\" and \"w\"" | 1915 | msgid "the load average format is the same used by \"uptime\" and \"w\"" |
1768 | msgstr "" | 1916 | msgstr "" |
1769 | 1917 | ||
1770 | #: plugins/check_load.c:317 | 1918 | #: plugins/check_load.c:326 |
1771 | msgid "Divide the load averages by the number of CPUs (when possible)" | 1919 | msgid "Divide the load averages by the number of CPUs (when possible)" |
1772 | msgstr "" | 1920 | msgstr "" |
1773 | 1921 | ||
@@ -1902,7 +2050,7 @@ msgstr "" | |||
1902 | 2050 | ||
1903 | #: plugins/check_mrtg.c:359 | 2051 | #: plugins/check_mrtg.c:359 |
1904 | msgid "" | 2052 | msgid "" |
1905 | "packets/sec, etc. I use MRTG in conjuction with the Novell NLM that allows" | 2053 | "packets/sec, etc. I use MRTG in conjunction with the Novell NLM that allows" |
1906 | msgstr "" | 2054 | msgstr "" |
1907 | 2055 | ||
1908 | #: plugins/check_mrtg.c:360 | 2056 | #: plugins/check_mrtg.c:360 |
@@ -2033,96 +2181,133 @@ msgstr "" | |||
2033 | msgid "Usage" | 2181 | msgid "Usage" |
2034 | msgstr "Utilisation" | 2182 | msgstr "Utilisation" |
2035 | 2183 | ||
2036 | #: plugins/check_mysql.c:126 | 2184 | #: plugins/check_mysql.c:171 |
2185 | #, fuzzy, c-format | ||
2186 | msgid "status store_result error: %s\n" | ||
2187 | msgstr "erreur slave store_result: %s\n" | ||
2188 | |||
2189 | #: plugins/check_mysql.c:202 | ||
2037 | #, c-format | 2190 | #, c-format |
2038 | msgid "slave query error: %s\n" | 2191 | msgid "slave query error: %s\n" |
2039 | msgstr "erreur de requête de l'esclave: %s\n" | 2192 | msgstr "erreur de requête de l'esclave: %s\n" |
2040 | 2193 | ||
2041 | #: plugins/check_mysql.c:133 | 2194 | #: plugins/check_mysql.c:209 |
2042 | #, c-format | 2195 | #, c-format |
2043 | msgid "slave store_result error: %s\n" | 2196 | msgid "slave store_result error: %s\n" |
2044 | msgstr "erreur slave store_result: %s\n" | 2197 | msgstr "erreur slave store_result: %s\n" |
2045 | 2198 | ||
2046 | #: plugins/check_mysql.c:139 | 2199 | #: plugins/check_mysql.c:215 |
2047 | msgid "No slaves defined" | 2200 | msgid "No slaves defined" |
2048 | msgstr "Pas d'esclave spécifié" | 2201 | msgstr "Pas d'esclave spécifié" |
2049 | 2202 | ||
2050 | #: plugins/check_mysql.c:147 | 2203 | #: plugins/check_mysql.c:223 |
2051 | #, c-format | 2204 | #, c-format |
2052 | msgid "slave fetch row error: %s\n" | 2205 | msgid "slave fetch row error: %s\n" |
2053 | msgstr "erreur esclave lecture d'une ligne: %s\n" | 2206 | msgstr "erreur esclave lecture d'une ligne: %s\n" |
2054 | 2207 | ||
2055 | #: plugins/check_mysql.c:152 | 2208 | #: plugins/check_mysql.c:228 |
2056 | #, c-format | 2209 | #, c-format |
2057 | msgid "Slave running: %s" | 2210 | msgid "Slave running: %s" |
2058 | msgstr "L'esclave fonctionne: %s" | 2211 | msgstr "L'esclave fonctionne: %s" |
2059 | 2212 | ||
2060 | #: plugins/check_mysql.c:378 | 2213 | #: plugins/check_mysql.c:505 |
2061 | msgid "This program tests connections to a MySQL server" | 2214 | msgid "This program tests connections to a MySQL server" |
2062 | msgstr "Ce plugin teste une connexion vers un serveur MySQL" | 2215 | msgstr "Ce plugin teste une connexion vers un serveur MySQL" |
2063 | 2216 | ||
2064 | #: plugins/check_mysql.c:389 | 2217 | #: plugins/check_mysql.c:516 |
2065 | msgid "Use the specified socket (has no effect if -H is used)" | 2218 | msgid "Use the specified socket (has no effect if -H is used)" |
2066 | msgstr "" | 2219 | msgstr "" |
2067 | 2220 | ||
2068 | #: plugins/check_mysql.c:392 | 2221 | #: plugins/check_mysql.c:519 |
2069 | msgid "Check database with indicated name" | 2222 | msgid "Check database with indicated name" |
2070 | msgstr "" | 2223 | msgstr "" |
2071 | 2224 | ||
2072 | #: plugins/check_mysql.c:394 | 2225 | #: plugins/check_mysql.c:521 |
2226 | msgid "Read from the specified client options file" | ||
2227 | msgstr "" | ||
2228 | |||
2229 | #: plugins/check_mysql.c:523 | ||
2230 | msgid "Use a client options group" | ||
2231 | msgstr "" | ||
2232 | |||
2233 | #: plugins/check_mysql.c:525 | ||
2073 | msgid "Connect using the indicated username" | 2234 | msgid "Connect using the indicated username" |
2074 | msgstr "" | 2235 | msgstr "" |
2075 | 2236 | ||
2076 | #: plugins/check_mysql.c:396 | 2237 | #: plugins/check_mysql.c:527 |
2077 | msgid "Use the indicated password to authenticate the connection" | 2238 | msgid "Use the indicated password to authenticate the connection" |
2078 | msgstr "" | 2239 | msgstr "" |
2079 | 2240 | ||
2080 | #: plugins/check_mysql.c:397 | 2241 | #: plugins/check_mysql.c:528 |
2081 | msgid "IMPORTANT: THIS FORM OF AUTHENTICATION IS NOT SECURE!!!" | 2242 | msgid "IMPORTANT: THIS FORM OF AUTHENTICATION IS NOT SECURE!!!" |
2082 | msgstr "" | 2243 | msgstr "" |
2083 | 2244 | ||
2084 | #: plugins/check_mysql.c:398 | 2245 | #: plugins/check_mysql.c:529 |
2085 | msgid "Your clear-text password could be visible as a process table entry" | 2246 | msgid "Your clear-text password could be visible as a process table entry" |
2086 | msgstr "" | 2247 | msgstr "" |
2087 | 2248 | ||
2088 | #: plugins/check_mysql.c:400 | 2249 | #: plugins/check_mysql.c:531 |
2089 | msgid "Check if the slave thread is running properly." | 2250 | msgid "Check if the slave thread is running properly." |
2090 | msgstr "" | 2251 | msgstr "" |
2091 | 2252 | ||
2092 | #: plugins/check_mysql.c:402 | 2253 | #: plugins/check_mysql.c:533 |
2093 | msgid "Exit with WARNING status if slave server is more than INTEGER seconds" | 2254 | msgid "Exit with WARNING status if slave server is more than INTEGER seconds" |
2094 | msgstr "" | 2255 | msgstr "" |
2095 | "Sortir avec un résultat AVERTISSEMENT si le serveur esclave est plus de X " | 2256 | "Sortir avec un résultat AVERTISSEMENT si le serveur esclave est plus de X " |
2096 | 2257 | ||
2097 | #: plugins/check_mysql.c:403 plugins/check_mysql.c:406 | 2258 | #: plugins/check_mysql.c:534 plugins/check_mysql.c:537 |
2098 | msgid "behind master" | 2259 | msgid "behind master" |
2099 | msgstr "secondes en retard sur le maître" | 2260 | msgstr "secondes en retard sur le maître" |
2100 | 2261 | ||
2101 | #: plugins/check_mysql.c:405 | 2262 | #: plugins/check_mysql.c:536 |
2102 | msgid "Exit with CRITICAL status if slave server is more then INTEGER seconds" | 2263 | msgid "Exit with CRITICAL status if slave server is more then INTEGER seconds" |
2103 | msgstr "Sortir avec un résultat CRITIQUE si le serveur esclave est plus de X " | 2264 | msgstr "Sortir avec un résultat CRITIQUE si le serveur esclave est plus de X " |
2104 | 2265 | ||
2105 | #: plugins/check_mysql.c:409 | 2266 | #: plugins/check_mysql.c:539 |
2267 | msgid "Use ssl encryptation" | ||
2268 | msgstr "" | ||
2269 | |||
2270 | #: plugins/check_mysql.c:541 | ||
2271 | msgid "Path to CA signing the cert" | ||
2272 | msgstr "" | ||
2273 | |||
2274 | #: plugins/check_mysql.c:543 | ||
2275 | msgid "Path to SSL certificate" | ||
2276 | msgstr "" | ||
2277 | |||
2278 | #: plugins/check_mysql.c:545 | ||
2279 | msgid "Path to private SSL key" | ||
2280 | msgstr "" | ||
2281 | |||
2282 | #: plugins/check_mysql.c:547 | ||
2283 | msgid "Path to CA directory" | ||
2284 | msgstr "" | ||
2285 | |||
2286 | #: plugins/check_mysql.c:549 | ||
2287 | msgid "List of valid SSL ciphers" | ||
2288 | msgstr "" | ||
2289 | |||
2290 | #: plugins/check_mysql.c:553 | ||
2106 | msgid "" | 2291 | msgid "" |
2107 | "There are no required arguments. By default, the local database is checked" | 2292 | "There are no required arguments. By default, the local database is checked" |
2108 | msgstr "" | 2293 | msgstr "" |
2109 | "Il n'y a pas d'arguments nécessaires. Par défaut la base de donnée locale " | 2294 | "Il n'y a pas d'arguments nécessaires. Par défaut la base de donnée locale " |
2110 | "est testée" | 2295 | "est testée" |
2111 | 2296 | ||
2112 | #: plugins/check_mysql.c:410 | 2297 | #: plugins/check_mysql.c:554 |
2113 | msgid "" | 2298 | msgid "" |
2114 | "using the default unix socket. You can force TCP on localhost by using an" | 2299 | "using the default unix socket. You can force TCP on localhost by using an" |
2115 | msgstr "" | 2300 | msgstr "" |
2116 | 2301 | ||
2117 | #: plugins/check_mysql.c:411 | 2302 | #: plugins/check_mysql.c:555 |
2118 | msgid "IP address or FQDN ('localhost' will use the socket as well)." | 2303 | msgid "IP address or FQDN ('localhost' will use the socket as well)." |
2119 | msgstr "" | 2304 | msgstr "" |
2120 | 2305 | ||
2121 | #: plugins/check_mysql.c:415 | 2306 | #: plugins/check_mysql.c:559 |
2122 | msgid "You must specify -p with an empty string to force an empty password," | 2307 | msgid "You must specify -p with an empty string to force an empty password," |
2123 | msgstr "" | 2308 | msgstr "" |
2124 | 2309 | ||
2125 | #: plugins/check_mysql.c:416 | 2310 | #: plugins/check_mysql.c:560 |
2126 | msgid "overriding any my.cnf settings." | 2311 | msgid "overriding any my.cnf settings." |
2127 | msgstr "" | 2312 | msgstr "" |
2128 | 2313 | ||
@@ -2144,7 +2329,7 @@ msgid "Cannot parse Nagios log file for valid time" | |||
2144 | msgstr "" | 2329 | msgstr "" |
2145 | "Impossible de trouver une date/heure valide dans le fichier de log de Nagios" | 2330 | "Impossible de trouver une date/heure valide dans le fichier de log de Nagios" |
2146 | 2331 | ||
2147 | #: plugins/check_nagios.c:183 plugins/check_procs.c:295 | 2332 | #: plugins/check_nagios.c:183 plugins/check_procs.c:356 |
2148 | #, c-format | 2333 | #, c-format |
2149 | msgid "%d process" | 2334 | msgid "%d process" |
2150 | msgid_plural "%d processes" | 2335 | msgid_plural "%d processes" |
@@ -2158,109 +2343,123 @@ msgid_plural "status log updated %d seconds ago" | |||
2158 | msgstr[0] "status log mis à jour %d secondes auparavant" | 2343 | msgstr[0] "status log mis à jour %d secondes auparavant" |
2159 | msgstr[1] "status log mis à jour %d secondes auparavant" | 2344 | msgstr[1] "status log mis à jour %d secondes auparavant" |
2160 | 2345 | ||
2161 | #: plugins/check_nagios.c:223 plugins/check_nagios.c:252 | 2346 | #: plugins/check_nagios.c:224 plugins/check_nagios.c:253 |
2162 | msgid "Expiration time must be an integer (seconds)\n" | 2347 | msgid "Expiration time must be an integer (seconds)\n" |
2163 | msgstr "Le délai d'expiration doit être un entier (en secondes)\n" | 2348 | msgstr "Le délai d'expiration doit être un entier (en secondes)\n" |
2164 | 2349 | ||
2165 | #: plugins/check_nagios.c:264 | 2350 | #: plugins/check_nagios.c:260 |
2351 | #, fuzzy | ||
2352 | msgid "Timeout must be an integer (seconds)\n" | ||
2353 | msgstr "Le délai d'expiration doit être un entier (en secondes)\n" | ||
2354 | |||
2355 | #: plugins/check_nagios.c:272 | ||
2166 | msgid "You must provide the status_log\n" | 2356 | msgid "You must provide the status_log\n" |
2167 | msgstr "Vous devez fournir le status_log\n" | 2357 | msgstr "Vous devez fournir le status_log\n" |
2168 | 2358 | ||
2169 | #: plugins/check_nagios.c:267 | 2359 | #: plugins/check_nagios.c:275 |
2170 | msgid "You must provide a process string\n" | 2360 | msgid "You must provide a process string\n" |
2171 | msgstr "Vous devez fournir un nom de processus\n" | 2361 | msgstr "Vous devez fournir un nom de processus\n" |
2172 | 2362 | ||
2173 | #: plugins/check_nagios.c:281 | 2363 | #: plugins/check_nagios.c:289 |
2174 | msgid "" | 2364 | msgid "" |
2175 | "This plugin checks the status of the Nagios process on the local machine" | 2365 | "This plugin checks the status of the Nagios process on the local machine" |
2176 | msgstr "Ce plugin vérifie l'état du processus Nagios sur la machine locale." | 2366 | msgstr "Ce plugin vérifie l'état du processus Nagios sur la machine locale." |
2177 | 2367 | ||
2178 | #: plugins/check_nagios.c:282 | 2368 | #: plugins/check_nagios.c:290 |
2179 | msgid "" | 2369 | msgid "" |
2180 | "The plugin will check to make sure the Nagios status log is no older than" | 2370 | "The plugin will check to make sure the Nagios status log is no older than" |
2181 | msgstr "Ce plugin vérifie que le status log de Nagios n'est pas plus vieux que" | 2371 | msgstr "Ce plugin vérifie que le status log de Nagios n'est pas plus vieux que" |
2182 | 2372 | ||
2183 | #: plugins/check_nagios.c:283 | 2373 | #: plugins/check_nagios.c:291 |
2184 | msgid "the number of minutes specified by the expires option." | 2374 | msgid "the number of minutes specified by the expires option." |
2185 | msgstr "le nombre de minutes spécifies par l'option expire." | 2375 | msgstr "le nombre de minutes spécifies par l'option expire." |
2186 | 2376 | ||
2187 | #: plugins/check_nagios.c:284 | 2377 | #: plugins/check_nagios.c:292 |
2188 | msgid "" | 2378 | msgid "" |
2189 | "It also checks the process table for a process matching the command argument." | 2379 | "It also checks the process table for a process matching the command argument." |
2190 | msgstr "" | 2380 | msgstr "" |
2191 | 2381 | ||
2192 | #: plugins/check_nagios.c:294 | 2382 | #: plugins/check_nagios.c:302 |
2193 | msgid "Name of the log file to check" | 2383 | msgid "Name of the log file to check" |
2194 | msgstr "Nom du fichier log à vérifier" | 2384 | msgstr "Nom du fichier log à vérifier" |
2195 | 2385 | ||
2196 | #: plugins/check_nagios.c:296 | 2386 | #: plugins/check_nagios.c:304 |
2197 | msgid "Minutes aging after which logfile is considered stale" | 2387 | msgid "Minutes aging after which logfile is considered stale" |
2198 | msgstr "" | 2388 | msgstr "" |
2199 | 2389 | ||
2200 | #: plugins/check_nagios.c:298 | 2390 | #: plugins/check_nagios.c:306 |
2201 | msgid "Substring to search for in process arguments" | 2391 | msgid "Substring to search for in process arguments" |
2202 | msgstr "" | 2392 | msgstr "" |
2203 | 2393 | ||
2204 | #: plugins/check_nt.c:141 | 2394 | #: plugins/check_nagios.c:308 |
2395 | msgid "Timeout for the plugin in seconds" | ||
2396 | msgstr "" | ||
2397 | |||
2398 | #: plugins/check_nt.c:142 | ||
2205 | #, c-format | 2399 | #, c-format |
2206 | msgid "Wrong client version - running: %s, required: %s" | 2400 | msgid "Wrong client version - running: %s, required: %s" |
2207 | msgstr "Mauvaise version du client utilisée: %s, nécessaire: %s" | 2401 | msgstr "Mauvaise version du client utilisée: %s, nécessaire: %s" |
2208 | 2402 | ||
2209 | #: plugins/check_nt.c:152 plugins/check_nt.c:212 | 2403 | #: plugins/check_nt.c:153 plugins/check_nt.c:218 |
2210 | msgid "missing -l parameters" | 2404 | msgid "missing -l parameters" |
2211 | msgstr "Arguments -l manquants" | 2405 | msgstr "Arguments -l manquants" |
2212 | 2406 | ||
2213 | #: plugins/check_nt.c:154 | 2407 | #: plugins/check_nt.c:155 |
2214 | msgid "wrong -l parameter." | 2408 | msgid "wrong -l parameter." |
2215 | msgstr "Arguments -l erronés." | 2409 | msgstr "Arguments -l erronés." |
2216 | 2410 | ||
2217 | #: plugins/check_nt.c:158 | 2411 | #: plugins/check_nt.c:159 |
2218 | msgid "CPU Load" | 2412 | msgid "CPU Load" |
2219 | msgstr "Charge CPU" | 2413 | msgstr "Charge CPU" |
2220 | 2414 | ||
2221 | #: plugins/check_nt.c:181 | 2415 | #: plugins/check_nt.c:182 |
2222 | #, c-format | 2416 | #, c-format |
2223 | msgid " %lu%% (%lu min average)" | 2417 | msgid " %lu%% (%lu min average)" |
2224 | msgstr " %lu%% (%lu moyenne minimale)" | 2418 | msgstr " %lu%% (%lu moyenne minimale)" |
2225 | 2419 | ||
2226 | #: plugins/check_nt.c:183 | 2420 | #: plugins/check_nt.c:184 |
2227 | #, c-format | 2421 | #, c-format |
2228 | msgid " '%lu min avg Load'=%lu%%;%lu;%lu;0;100" | 2422 | msgid " '%lu min avg Load'=%lu%%;%lu;%lu;0;100" |
2229 | msgstr " '%lu Charge moyenne minimale'=%lu%%;%lu;%lu;0;100" | 2423 | msgstr " '%lu Charge moyenne minimale'=%lu%%;%lu;%lu;0;100" |
2230 | 2424 | ||
2231 | #: plugins/check_nt.c:193 | 2425 | #: plugins/check_nt.c:194 |
2232 | msgid "not enough values for -l parameters" | 2426 | msgid "not enough values for -l parameters" |
2233 | msgstr "pas assez de valeur pour l'argument -l" | 2427 | msgstr "pas assez de valeur pour l'argument -l" |
2234 | 2428 | ||
2235 | #: plugins/check_nt.c:205 | 2429 | #: plugins/check_nt.c:206 |
2236 | #, c-format | 2430 | #, c-format |
2237 | msgid "System Uptime - %u day(s) %u hour(s) %u minute(s)" | 2431 | msgid "System Uptime - %u day(s) %u hour(s) %u minute(s)" |
2238 | msgstr "Système démarré - %u jour(s) %u heure(s) %u minute(s)" | 2432 | msgstr "Système démarré - %u jour(s) %u heure(s) %u minute(s)" |
2239 | 2433 | ||
2240 | #: plugins/check_nt.c:214 | 2434 | #: plugins/check_nt.c:220 |
2241 | msgid "wrong -l argument" | 2435 | msgid "wrong -l argument" |
2242 | msgstr "Argument -l erroné" | 2436 | msgstr "Argument -l erroné" |
2243 | 2437 | ||
2244 | #: plugins/check_nt.c:230 | 2438 | #: plugins/check_nt.c:236 |
2245 | #, c-format | 2439 | #, c-format |
2246 | msgid "%s:\\ - total: %.2f Gb - used: %.2f Gb (%.0f%%) - free %.2f Gb (%.0f%%)" | 2440 | msgid "%s:\\ - total: %.2f Gb - used: %.2f Gb (%.0f%%) - free %.2f Gb (%.0f%%)" |
2247 | msgstr "" | 2441 | msgstr "" |
2248 | "%s:\\ - total: %.2f Gb - utilisé: %.2f Gb (%.0f%%) - libre %.2f Gb (%.0f%%)" | 2442 | "%s:\\ - total: %.2f Gb - utilisé: %.2f Gb (%.0f%%) - libre %.2f Gb (%.0f%%)" |
2249 | 2443 | ||
2250 | #: plugins/check_nt.c:233 | 2444 | #: plugins/check_nt.c:239 |
2251 | #, c-format | 2445 | #, c-format |
2252 | msgid "'%s:\\ Used Space'=%.2fGb;%.2f;%.2f;0.00;%.2f" | 2446 | msgid "'%s:\\ Used Space'=%.2fGb;%.2f;%.2f;0.00;%.2f" |
2253 | msgstr "'%s:\\ Espace Utilisé'=%.2fGb;%.2f;%.2f;0.00;%.2f" | 2447 | msgstr "'%s:\\ Espace Utilisé'=%.2fGb;%.2f;%.2f;0.00;%.2f" |
2254 | 2448 | ||
2255 | #: plugins/check_nt.c:247 | 2449 | #: plugins/check_nt.c:253 |
2256 | msgid "Free disk space : Invalid drive" | 2450 | msgid "Free disk space : Invalid drive" |
2257 | msgstr "Espace disque libre : Lecteur invalide" | 2451 | msgstr "Espace disque libre : Lecteur invalide" |
2258 | 2452 | ||
2259 | #: plugins/check_nt.c:257 | 2453 | #: plugins/check_nt.c:263 |
2260 | msgid "No service/process specified" | 2454 | msgid "No service/process specified" |
2261 | msgstr "Pas de service/processus spécifié" | 2455 | msgstr "Pas de service/processus spécifié" |
2262 | 2456 | ||
2263 | #: plugins/check_nt.c:281 | 2457 | #: plugins/check_nt.c:271 plugins/check_nt.c:284 plugins/check_nt.c:288 |
2458 | #: plugins/check_nt.c:622 | ||
2459 | msgid "could not fetch information from server\n" | ||
2460 | msgstr "Impossible d'obtenir l'information depuis le serveur\n" | ||
2461 | |||
2462 | #: plugins/check_nt.c:296 | ||
2264 | #, c-format | 2463 | #, c-format |
2265 | msgid "" | 2464 | msgid "" |
2266 | "Memory usage: total:%.2f Mb - used: %.2f Mb (%.0f%%) - free: %.2f Mb (%.0f%%)" | 2465 | "Memory usage: total:%.2f Mb - used: %.2f Mb (%.0f%%) - free: %.2f Mb (%.0f%%)" |
@@ -2268,484 +2467,480 @@ msgstr "" | |||
2268 | "Mémoire utilisée: total:%.2f Mb - utilisée: %.2f Mb (%.0f%%) - libre: %.2f " | 2467 | "Mémoire utilisée: total:%.2f Mb - utilisée: %.2f Mb (%.0f%%) - libre: %.2f " |
2269 | "Mb (%.0f%%)" | 2468 | "Mb (%.0f%%)" |
2270 | 2469 | ||
2271 | #: plugins/check_nt.c:284 | 2470 | #: plugins/check_nt.c:299 |
2272 | #, c-format | 2471 | #, c-format |
2273 | msgid "'Memory usage'=%.2fMb;%.2f;%.2f;0.00;%.2f" | 2472 | msgid "'Memory usage'=%.2fMb;%.2f;%.2f;0.00;%.2f" |
2274 | msgstr "'Mémoire utilisée'=%.2fMb;%.2f;%.2f;0.00;%.2f" | 2473 | msgstr "'Mémoire utilisée'=%.2fMb;%.2f;%.2f;0.00;%.2f" |
2275 | 2474 | ||
2276 | #: plugins/check_nt.c:320 plugins/check_nt.c:405 plugins/check_nt.c:435 | 2475 | #: plugins/check_nt.c:335 plugins/check_nt.c:420 plugins/check_nt.c:450 |
2277 | msgid "No counter specified" | 2476 | msgid "No counter specified" |
2278 | msgstr "Pas de compteur spécifié" | 2477 | msgstr "Pas de compteur spécifié" |
2279 | 2478 | ||
2280 | #: plugins/check_nt.c:352 | 2479 | #: plugins/check_nt.c:367 |
2281 | msgid "Minimum value contains non-numbers" | 2480 | msgid "Minimum value contains non-numbers" |
2282 | msgstr "La valeur minimum contient des caractères non numériques" | 2481 | msgstr "La valeur minimum contient des caractères non numériques" |
2283 | 2482 | ||
2284 | #: plugins/check_nt.c:356 | 2483 | #: plugins/check_nt.c:371 |
2285 | msgid "Maximum value contains non-numbers" | 2484 | msgid "Maximum value contains non-numbers" |
2286 | msgstr "La valeur maximum contient des caractères non numériques" | 2485 | msgstr "La valeur maximum contient des caractères non numériques" |
2287 | 2486 | ||
2288 | #: plugins/check_nt.c:363 | 2487 | #: plugins/check_nt.c:378 |
2289 | msgid "No unit counter specified" | 2488 | msgid "No unit counter specified" |
2290 | msgstr "Pas de compteur spécifié" | 2489 | msgstr "Pas de compteur spécifié" |
2291 | 2490 | ||
2292 | #: plugins/check_nt.c:450 | 2491 | #: plugins/check_nt.c:465 |
2293 | msgid "Please specify a variable to check" | 2492 | msgid "Please specify a variable to check" |
2294 | msgstr "Veuillez préciser une variable a vérifier" | 2493 | msgstr "Veuillez préciser une variable a vérifier" |
2295 | 2494 | ||
2296 | #: plugins/check_nt.c:534 | 2495 | #: plugins/check_nt.c:549 |
2297 | msgid "Server port must be an integer\n" | 2496 | msgid "Server port must be an integer\n" |
2298 | msgstr "Le port du serveur doit être un nombre entier\n" | 2497 | msgstr "Le port du serveur doit être un nombre entier\n" |
2299 | 2498 | ||
2300 | #: plugins/check_nt.c:588 | 2499 | #: plugins/check_nt.c:603 |
2301 | msgid "You must provide a server address or host name" | 2500 | msgid "You must provide a server address or host name" |
2302 | msgstr "Vous devez spécifier une adresse ou un nom d'hôte" | 2501 | msgstr "Vous devez spécifier une adresse ou un nom d'hôte" |
2303 | 2502 | ||
2304 | #: plugins/check_nt.c:594 | 2503 | #: plugins/check_nt.c:609 |
2305 | msgid "None" | 2504 | msgid "None" |
2306 | msgstr "Aucun" | 2505 | msgstr "Aucun" |
2307 | 2506 | ||
2308 | #: plugins/check_nt.c:607 | 2507 | #: plugins/check_nt.c:666 |
2309 | msgid "could not fetch information from server\n" | ||
2310 | msgstr "Impossible d'obtenir l'information depuis le serveur\n" | ||
2311 | |||
2312 | #: plugins/check_nt.c:651 | ||
2313 | msgid "This plugin collects data from the NSClient service running on a" | 2508 | msgid "This plugin collects data from the NSClient service running on a" |
2314 | msgstr "" | 2509 | msgstr "" |
2315 | "Ce plugin collecte les données depuis le service NSClient tournant sur un" | 2510 | "Ce plugin collecte les données depuis le service NSClient tournant sur un" |
2316 | 2511 | ||
2317 | #: plugins/check_nt.c:652 | 2512 | #: plugins/check_nt.c:667 |
2318 | msgid "Windows NT/2000/XP/2003 server." | 2513 | msgid "Windows NT/2000/XP/2003 server." |
2319 | msgstr "Serveur Windows NT/2000/XP/2003." | 2514 | msgstr "Serveur Windows NT/2000/XP/2003." |
2320 | 2515 | ||
2321 | #: plugins/check_nt.c:663 | 2516 | #: plugins/check_nt.c:678 |
2322 | msgid "Name of the host to check" | 2517 | msgid "Name of the host to check" |
2323 | msgstr "Nom de l'hôte à vérifier" | 2518 | msgstr "Nom de l'hôte à vérifier" |
2324 | 2519 | ||
2325 | #: plugins/check_nt.c:665 | 2520 | #: plugins/check_nt.c:680 |
2326 | msgid "Optional port number (default: " | 2521 | msgid "Optional port number (default: " |
2327 | msgstr "Numéro de port optionnel (défaut: " | 2522 | msgstr "Numéro de port optionnel (défaut: " |
2328 | 2523 | ||
2329 | #: plugins/check_nt.c:668 | 2524 | #: plugins/check_nt.c:683 |
2330 | msgid "Password needed for the request" | 2525 | msgid "Password needed for the request" |
2331 | msgstr "Mot de passe nécessaire pour la requête" | 2526 | msgstr "Mot de passe nécessaire pour la requête" |
2332 | 2527 | ||
2333 | #: plugins/check_nt.c:670 plugins/check_nwstat.c:1661 | 2528 | #: plugins/check_nt.c:685 plugins/check_nwstat.c:1661 |
2334 | #: plugins/check_overcr.c:432 | 2529 | #: plugins/check_overcr.c:432 |
2335 | msgid "Threshold which will result in a warning status" | 2530 | msgid "Threshold which will result in a warning status" |
2336 | msgstr "" | 2531 | msgstr "" |
2337 | 2532 | ||
2338 | #: plugins/check_nt.c:672 plugins/check_nwstat.c:1663 | 2533 | #: plugins/check_nt.c:687 plugins/check_nwstat.c:1663 |
2339 | #: plugins/check_overcr.c:434 | 2534 | #: plugins/check_overcr.c:434 |
2340 | msgid "Threshold which will result in a critical status" | 2535 | msgid "Threshold which will result in a critical status" |
2341 | msgstr "" | 2536 | msgstr "" |
2342 | 2537 | ||
2343 | #: plugins/check_nt.c:674 | 2538 | #: plugins/check_nt.c:689 |
2344 | msgid "Seconds before connection attempt times out (default: " | 2539 | msgid "Seconds before connection attempt times out (default: " |
2345 | msgstr "" | 2540 | msgstr "" |
2346 | 2541 | ||
2347 | #: plugins/check_nt.c:676 | 2542 | #: plugins/check_nt.c:691 |
2348 | msgid "Parameters passed to specified check (see below)" | 2543 | msgid "Parameters passed to specified check (see below)" |
2349 | msgstr "" | 2544 | msgstr "" |
2350 | 2545 | ||
2351 | #: plugins/check_nt.c:678 | 2546 | #: plugins/check_nt.c:693 |
2352 | msgid "Display options (currently only SHOWALL works)" | 2547 | msgid "Display options (currently only SHOWALL works)" |
2353 | msgstr "" | 2548 | msgstr "" |
2354 | 2549 | ||
2355 | #: plugins/check_nt.c:680 | 2550 | #: plugins/check_nt.c:695 |
2356 | msgid "Return UNKNOWN on timeouts" | 2551 | msgid "Return UNKNOWN on timeouts" |
2357 | msgstr "" | 2552 | msgstr "" |
2358 | 2553 | ||
2359 | #: plugins/check_nt.c:683 | 2554 | #: plugins/check_nt.c:698 |
2360 | msgid "Print this help screen" | 2555 | msgid "Print this help screen" |
2361 | msgstr "Afficher l'écran d'aide" | 2556 | msgstr "Afficher l'écran d'aide" |
2362 | 2557 | ||
2363 | #: plugins/check_nt.c:685 | 2558 | #: plugins/check_nt.c:700 |
2364 | msgid "Print version information" | 2559 | msgid "Print version information" |
2365 | msgstr "Afficher la version" | 2560 | msgstr "Afficher la version" |
2366 | 2561 | ||
2367 | #: plugins/check_nt.c:687 | 2562 | #: plugins/check_nt.c:702 |
2368 | msgid "Variable to check" | 2563 | msgid "Variable to check" |
2369 | msgstr "Variable a vérifier" | 2564 | msgstr "Variable a vérifier" |
2370 | 2565 | ||
2371 | #: plugins/check_nt.c:688 | 2566 | #: plugins/check_nt.c:703 |
2372 | msgid "Valid variables are:" | 2567 | msgid "Valid variables are:" |
2373 | msgstr "Les variables valides sont" | 2568 | msgstr "Les variables valides sont" |
2374 | 2569 | ||
2375 | #: plugins/check_nt.c:690 | 2570 | #: plugins/check_nt.c:705 |
2376 | msgid "Get the NSClient version" | 2571 | msgid "Get the NSClient version" |
2377 | msgstr "Obtenir la version de NSClient" | 2572 | msgstr "Obtenir la version de NSClient" |
2378 | 2573 | ||
2379 | #: plugins/check_nt.c:691 | 2574 | #: plugins/check_nt.c:706 |
2380 | msgid "If -l <version> is specified, will return warning if versions differ." | 2575 | msgid "If -l <version> is specified, will return warning if versions differ." |
2381 | msgstr "" | 2576 | msgstr "" |
2382 | "si l'argument -l <version> est spécifié, une alerte AVERTISSEMENT sera " | 2577 | "si l'argument -l <version> est spécifié, une alerte AVERTISSEMENT sera " |
2383 | "renvoyée, si les versions sont différentes." | 2578 | "renvoyée, si les versions sont différentes." |
2384 | 2579 | ||
2385 | #: plugins/check_nt.c:693 | 2580 | #: plugins/check_nt.c:708 |
2386 | msgid "Average CPU load on last x minutes." | 2581 | msgid "Average CPU load on last x minutes." |
2387 | msgstr "Moyenne de la charge CPU sur les dernières x minutes." | 2582 | msgstr "Moyenne de la charge CPU sur les dernières x minutes." |
2388 | 2583 | ||
2389 | #: plugins/check_nt.c:694 | 2584 | #: plugins/check_nt.c:709 |
2390 | msgid "Request a -l parameter with the following syntax:" | 2585 | msgid "Request a -l parameter with the following syntax:" |
2391 | msgstr "Demande un paramètre -l avec la syntaxe suivante:" | 2586 | msgstr "Demande un paramètre -l avec la syntaxe suivante:" |
2392 | 2587 | ||
2393 | #: plugins/check_nt.c:695 | 2588 | #: plugins/check_nt.c:710 |
2394 | msgid "-l <minutes range>,<warning threshold>,<critical threshold>." | 2589 | msgid "-l <minutes range>,<warning threshold>,<critical threshold>." |
2395 | msgstr "-l <plage de minutes>,<seuil d'avertissement>,<seuil critique>." | 2590 | msgstr "-l <plage de minutes>,<seuil d'avertissement>,<seuil critique>." |
2396 | 2591 | ||
2397 | #: plugins/check_nt.c:696 | 2592 | #: plugins/check_nt.c:711 |
2398 | msgid "<minute range> should be less than 24*60." | 2593 | msgid "<minute range> should be less than 24*60." |
2399 | msgstr "<plage de minutes> devrait être inférieur à 24*60." | 2594 | msgstr "<plage de minutes> devrait être inférieur à 24*60." |
2400 | 2595 | ||
2401 | #: plugins/check_nt.c:697 | 2596 | #: plugins/check_nt.c:712 |
2402 | msgid "" | 2597 | msgid "" |
2403 | "Thresholds are percentage and up to 10 requests can be done in one shot." | 2598 | "Thresholds are percentage and up to 10 requests can be done in one shot." |
2404 | msgstr "" | 2599 | msgstr "" |
2405 | "Les seuils sonts en pourcentage et un maximum de 10 requêtes peuvent être " | 2600 | "Les seuils sonts en pourcentage et un maximum de 10 requêtes peuvent être " |
2406 | "effectuées à la fois." | 2601 | "effectuées à la fois." |
2407 | 2602 | ||
2408 | #: plugins/check_nt.c:700 | 2603 | #: plugins/check_nt.c:715 |
2409 | msgid "Get the uptime of the machine." | 2604 | msgid "Get the uptime of the machine." |
2410 | msgstr "Obtenir le temps de service de la machine." | 2605 | msgstr "Obtenir le temps de service de la machine." |
2411 | 2606 | ||
2412 | #: plugins/check_nt.c:701 | 2607 | #: plugins/check_nt.c:716 |
2413 | msgid "No specific parameters. No warning or critical threshold" | 2608 | msgid "No specific parameters. No warning or critical threshold" |
2414 | msgstr "Pas d'argument spécifique. Pas de seuil d'avertissement ou critique" | 2609 | msgstr "Pas d'argument spécifique. Pas de seuil d'avertissement ou critique" |
2415 | 2610 | ||
2416 | #: plugins/check_nt.c:703 | 2611 | #: plugins/check_nt.c:718 |
2417 | msgid "Size and percentage of disk use." | 2612 | msgid "Size and percentage of disk use." |
2418 | msgstr "Taille et pourcentage de l'utilisation disque." | 2613 | msgstr "Taille et pourcentage de l'utilisation disque." |
2419 | 2614 | ||
2420 | #: plugins/check_nt.c:704 | 2615 | #: plugins/check_nt.c:719 |
2421 | msgid "Request a -l parameter containing the drive letter only." | 2616 | msgid "Request a -l parameter containing the drive letter only." |
2422 | msgstr "Demande un paramètre -l contennant uniquement la lettre du lecteur." | 2617 | msgstr "Demande un paramètre -l contennant uniquement la lettre du lecteur." |
2423 | 2618 | ||
2424 | #: plugins/check_nt.c:705 plugins/check_nt.c:708 | 2619 | #: plugins/check_nt.c:720 plugins/check_nt.c:723 |
2425 | msgid "Warning and critical thresholds can be specified with -w and -c." | 2620 | msgid "Warning and critical thresholds can be specified with -w and -c." |
2426 | msgstr "Les seuils d'alerte et critiques peuvent être spécifiés avec -w et -c." | 2621 | msgstr "Les seuils d'alerte et critiques peuvent être spécifiés avec -w et -c." |
2427 | 2622 | ||
2428 | #: plugins/check_nt.c:707 | 2623 | #: plugins/check_nt.c:722 |
2429 | msgid "Memory use." | 2624 | msgid "Memory use." |
2430 | msgstr "Mémoire utilisée." | 2625 | msgstr "Mémoire utilisée." |
2431 | 2626 | ||
2432 | #: plugins/check_nt.c:710 | 2627 | #: plugins/check_nt.c:725 |
2433 | msgid "Check the state of one or several services." | 2628 | msgid "Check the state of one or several services." |
2434 | msgstr "Vérifier l'état d'un ou plusieurs services." | 2629 | msgstr "Vérifier l'état d'un ou plusieurs services." |
2435 | 2630 | ||
2436 | #: plugins/check_nt.c:711 plugins/check_nt.c:720 | 2631 | #: plugins/check_nt.c:726 plugins/check_nt.c:735 |
2437 | msgid "Request a -l parameters with the following syntax:" | 2632 | msgid "Request a -l parameters with the following syntax:" |
2438 | msgstr "Demande un paramètre -l avec la syntaxe suivante:" | 2633 | msgstr "Demande un paramètre -l avec la syntaxe suivante:" |
2439 | 2634 | ||
2440 | #: plugins/check_nt.c:712 | 2635 | #: plugins/check_nt.c:727 |
2441 | msgid "-l <service1>,<service2>,<service3>,..." | 2636 | msgid "-l <service1>,<service2>,<service3>,..." |
2442 | msgstr "-l <service1>,<service2>,<service3>,..." | 2637 | msgstr "-l <service1>,<service2>,<service3>,..." |
2443 | 2638 | ||
2444 | #: plugins/check_nt.c:713 | 2639 | #: plugins/check_nt.c:728 |
2445 | msgid "You can specify -d SHOWALL in case you want to see working services" | 2640 | msgid "You can specify -d SHOWALL in case you want to see working services" |
2446 | msgstr "Vous pouvez spécifier -d SHOWALL pour voir les services fonctionnant" | 2641 | msgstr "Vous pouvez spécifier -d SHOWALL pour voir les services fonctionnant" |
2447 | 2642 | ||
2448 | #: plugins/check_nt.c:714 | 2643 | #: plugins/check_nt.c:729 |
2449 | msgid "in the returned string." | 2644 | msgid "in the returned string." |
2450 | msgstr "dans la chaîne de caractère renvoyée." | 2645 | msgstr "dans la chaîne de caractère renvoyée." |
2451 | 2646 | ||
2452 | #: plugins/check_nt.c:716 | 2647 | #: plugins/check_nt.c:731 |
2453 | msgid "Check if one or several process are running." | 2648 | msgid "Check if one or several process are running." |
2454 | msgstr "Vérifie si un ou plusieurs processus sont démarrés." | 2649 | msgstr "Vérifie si un ou plusieurs processus sont démarrés." |
2455 | 2650 | ||
2456 | #: plugins/check_nt.c:717 | 2651 | #: plugins/check_nt.c:732 |
2457 | msgid "Same syntax as SERVICESTATE." | 2652 | msgid "Same syntax as SERVICESTATE." |
2458 | msgstr "Même syntaxe que SERVICESTATE." | 2653 | msgstr "Même syntaxe que SERVICESTATE." |
2459 | 2654 | ||
2460 | #: plugins/check_nt.c:719 | 2655 | #: plugins/check_nt.c:734 |
2461 | msgid "Check any performance counter of Windows NT/2000." | 2656 | msgid "Check any performance counter of Windows NT/2000." |
2462 | msgstr "Vérifier n'importe quel compteur de performance sur Windows NT/2000." | 2657 | msgstr "Vérifier n'importe quel compteur de performance sur Windows NT/2000." |
2463 | 2658 | ||
2464 | #: plugins/check_nt.c:721 | 2659 | #: plugins/check_nt.c:736 |
2465 | msgid "-l \"\\\\<performance object>\\\\counter\",\"<description>" | 2660 | msgid "-l \"\\\\<performance object>\\\\counter\",\"<description>" |
2466 | msgstr "-l \"\\\\<catégorie>\\\\compteur\",\"<description>" | 2661 | msgstr "-l \"\\\\<catégorie>\\\\compteur\",\"<description>" |
2467 | 2662 | ||
2468 | #: plugins/check_nt.c:722 | 2663 | #: plugins/check_nt.c:737 |
2469 | msgid "The <description> parameter is optional and is given to a printf " | 2664 | msgid "The <description> parameter is optional and is given to a printf " |
2470 | msgstr "Le paramètre <description> est optionnel et est passé à la fonction " | 2665 | msgstr "Le paramètre <description> est optionnel et est passé à la fonction " |
2471 | 2666 | ||
2472 | #: plugins/check_nt.c:723 | 2667 | #: plugins/check_nt.c:738 |
2473 | msgid "output command which requires a float parameter." | 2668 | msgid "output command which requires a float parameter." |
2474 | msgstr "de sortie printf qui demande un paramètre de type float." | 2669 | msgstr "de sortie printf qui demande un paramètre de type float." |
2475 | 2670 | ||
2476 | #: plugins/check_nt.c:724 | 2671 | #: plugins/check_nt.c:739 |
2477 | #, c-format | 2672 | #, c-format |
2478 | msgid "If <description> does not include \"%%\", it is used as a label." | 2673 | msgid "If <description> does not include \"%%\", it is used as a label." |
2479 | msgstr "Si <description> n'inclus pas \"%%\", il est utilisé comme étiquette." | 2674 | msgstr "Si <description> n'inclus pas \"%%\", il est utilisé comme étiquette." |
2480 | 2675 | ||
2481 | #: plugins/check_nt.c:725 plugins/check_nt.c:740 | 2676 | #: plugins/check_nt.c:740 plugins/check_nt.c:755 |
2482 | msgid "Some examples:" | 2677 | msgid "Some examples:" |
2483 | msgstr "Exemples:" | 2678 | msgstr "Exemples:" |
2484 | 2679 | ||
2485 | #: plugins/check_nt.c:729 | 2680 | #: plugins/check_nt.c:744 |
2486 | msgid "Check any performance counter object of Windows NT/2000." | 2681 | msgid "Check any performance counter object of Windows NT/2000." |
2487 | msgstr "Vérifie n'importe quel compteur de performance de Windows NT/2000." | 2682 | msgstr "Vérifie n'importe quel compteur de performance de Windows NT/2000." |
2488 | 2683 | ||
2489 | #: plugins/check_nt.c:730 | 2684 | #: plugins/check_nt.c:745 |
2490 | msgid "" | 2685 | msgid "" |
2491 | "Syntax: check_nt -H <hostname> -p <port> -v INSTANCES -l <counter object>" | 2686 | "Syntax: check_nt -H <hostname> -p <port> -v INSTANCES -l <counter object>" |
2492 | msgstr "" | 2687 | msgstr "" |
2493 | 2688 | ||
2494 | #: plugins/check_nt.c:731 | 2689 | #: plugins/check_nt.c:746 |
2495 | msgid "<counter object> is a Windows Perfmon Counter object (eg. Process)," | 2690 | msgid "<counter object> is a Windows Perfmon Counter object (eg. Process)," |
2496 | msgstr "" | 2691 | msgstr "" |
2497 | 2692 | ||
2498 | #: plugins/check_nt.c:732 | 2693 | #: plugins/check_nt.c:747 |
2499 | msgid "if it is two words, it should be enclosed in quotes" | 2694 | msgid "if it is two words, it should be enclosed in quotes" |
2500 | msgstr "" | 2695 | msgstr "" |
2501 | 2696 | ||
2502 | #: plugins/check_nt.c:733 | 2697 | #: plugins/check_nt.c:748 |
2503 | msgid "The returned results will be a comma-separated list of instances on " | 2698 | msgid "The returned results will be a comma-separated list of instances on " |
2504 | msgstr "" | 2699 | msgstr "" |
2505 | 2700 | ||
2506 | #: plugins/check_nt.c:734 | 2701 | #: plugins/check_nt.c:749 |
2507 | msgid " the selected computer for that object." | 2702 | msgid " the selected computer for that object." |
2508 | msgstr "" | 2703 | msgstr "" |
2509 | 2704 | ||
2510 | #: plugins/check_nt.c:735 | 2705 | #: plugins/check_nt.c:750 |
2511 | msgid "" | 2706 | msgid "" |
2512 | "The purpose of this is to be run from command line to determine what " | 2707 | "The purpose of this is to be run from command line to determine what " |
2513 | "instances" | 2708 | "instances" |
2514 | msgstr "" | 2709 | msgstr "" |
2515 | 2710 | ||
2516 | #: plugins/check_nt.c:736 | 2711 | #: plugins/check_nt.c:751 |
2517 | msgid "" | 2712 | msgid "" |
2518 | " are available for monitoring without having to log onto the Windows server" | 2713 | " are available for monitoring without having to log onto the Windows server" |
2519 | msgstr "" | 2714 | msgstr "" |
2520 | 2715 | ||
2521 | #: plugins/check_nt.c:737 | 2716 | #: plugins/check_nt.c:752 |
2522 | msgid " to run Perfmon directly." | 2717 | msgid " to run Perfmon directly." |
2523 | msgstr "" | 2718 | msgstr "" |
2524 | 2719 | ||
2525 | #: plugins/check_nt.c:738 | 2720 | #: plugins/check_nt.c:753 |
2526 | msgid "It can also be used in scripts that automatically create Nagios service" | 2721 | msgid "" |
2722 | "It can also be used in scripts that automatically create the monitoring " | ||
2723 | "service" | ||
2527 | msgstr "" | 2724 | msgstr "" |
2528 | 2725 | ||
2529 | #: plugins/check_nt.c:739 | 2726 | #: plugins/check_nt.c:754 |
2530 | msgid " configuration files." | 2727 | msgid " configuration files." |
2531 | msgstr "" | 2728 | msgstr "" |
2532 | 2729 | ||
2533 | #: plugins/check_nt.c:741 | 2730 | #: plugins/check_nt.c:756 |
2534 | msgid "check_nt -H 192.168.1.1 -p 1248 -v INSTANCES -l Process" | 2731 | msgid "check_nt -H 192.168.1.1 -p 1248 -v INSTANCES -l Process" |
2535 | msgstr "" | 2732 | msgstr "" |
2536 | 2733 | ||
2537 | #: plugins/check_nt.c:744 | 2734 | #: plugins/check_nt.c:759 |
2538 | msgid "" | 2735 | msgid "" |
2539 | "- The NSClient service should be running on the server to get any information" | 2736 | "- The NSClient service should be running on the server to get any information" |
2540 | msgstr "" | 2737 | msgstr "" |
2541 | "- Le service NSClient doit rouler sur le serveur pour obtenir les " | 2738 | "- Le service NSClient doit rouler sur le serveur pour obtenir les " |
2542 | "informations" | 2739 | "informations" |
2543 | 2740 | ||
2544 | #: plugins/check_nt.c:746 | 2741 | #: plugins/check_nt.c:761 |
2545 | msgid "- Critical thresholds should be lower than warning thresholds" | 2742 | msgid "- Critical thresholds should be lower than warning thresholds" |
2546 | msgstr "" | 2743 | msgstr "" |
2547 | "- Les seuils critiques doivent être plus bas que les seuils d'avertissement" | 2744 | "- Les seuils critiques doivent être plus bas que les seuils d'avertissement" |
2548 | 2745 | ||
2549 | #: plugins/check_nt.c:747 | 2746 | #: plugins/check_nt.c:762 |
2550 | msgid "- Default port 1248 is sometimes in use by other services. The error" | 2747 | msgid "- Default port 1248 is sometimes in use by other services. The error" |
2551 | msgstr "" | 2748 | msgstr "" |
2552 | "- Le port par défaut 1248 est parfois utilisé par d'autres services. L'erreur" | 2749 | "- Le port par défaut 1248 est parfois utilisé par d'autres services. L'erreur" |
2553 | 2750 | ||
2554 | #: plugins/check_nt.c:748 | 2751 | #: plugins/check_nt.c:763 |
2555 | msgid "" | 2752 | msgid "" |
2556 | "output when this happens contains \"Cannot map xxxxx to protocol number\"." | 2753 | "output when this happens contains \"Cannot map xxxxx to protocol number\"." |
2557 | msgstr "qui en résulte contiens \"Cannot map xxxxx to protocol number\"." | 2754 | msgstr "qui en résulte contiens \"Cannot map xxxxx to protocol number\"." |
2558 | 2755 | ||
2559 | #: plugins/check_nt.c:749 | 2756 | #: plugins/check_nt.c:764 |
2560 | msgid "One fix for this is to change the port to something else on check_nt " | 2757 | msgid "One fix for this is to change the port to something else on check_nt " |
2561 | msgstr "" | 2758 | msgstr "" |
2562 | "Une possibilité pour corriger ce problème est de changer le port dans " | 2759 | "Une possibilité pour corriger ce problème est de changer le port dans " |
2563 | "check_nt " | 2760 | "check_nt " |
2564 | 2761 | ||
2565 | #: plugins/check_nt.c:750 | 2762 | #: plugins/check_nt.c:765 |
2566 | msgid "and on the client service it's connecting to." | 2763 | msgid "and on the client service it's connecting to." |
2567 | msgstr "et dans le service auquel il se connecte." | 2764 | msgstr "et dans le service auquel il se connecte." |
2568 | 2765 | ||
2569 | #: plugins/check_ntp.c:803 plugins/check_ntp_peer.c:606 | 2766 | #: plugins/check_ntp.c:807 plugins/check_ntp_peer.c:612 |
2570 | #: plugins/check_ntp_time.c:567 | 2767 | #: plugins/check_ntp_time.c:571 |
2571 | #, c-format | ||
2572 | msgid "NTP CRITICAL:" | 2768 | msgid "NTP CRITICAL:" |
2573 | msgstr "NTP CRITIQUE:" | 2769 | msgstr "NTP CRITIQUE:" |
2574 | 2770 | ||
2575 | #: plugins/check_ntp.c:806 plugins/check_ntp_peer.c:609 | 2771 | #: plugins/check_ntp.c:810 plugins/check_ntp_peer.c:615 |
2576 | #: plugins/check_ntp_time.c:570 | 2772 | #: plugins/check_ntp_time.c:574 |
2577 | #, c-format | ||
2578 | msgid "NTP WARNING:" | 2773 | msgid "NTP WARNING:" |
2579 | msgstr "NTP AVERTISSEMENT:" | 2774 | msgstr "NTP AVERTISSEMENT:" |
2580 | 2775 | ||
2581 | #: plugins/check_ntp.c:809 plugins/check_ntp_peer.c:612 | 2776 | #: plugins/check_ntp.c:813 plugins/check_ntp_peer.c:618 |
2582 | #: plugins/check_ntp_time.c:573 | 2777 | #: plugins/check_ntp_time.c:577 |
2583 | #, c-format | ||
2584 | msgid "NTP OK:" | 2778 | msgid "NTP OK:" |
2585 | msgstr "NTP OK:" | 2779 | msgstr "NTP OK:" |
2586 | 2780 | ||
2587 | #: plugins/check_ntp.c:812 plugins/check_ntp_peer.c:615 | 2781 | #: plugins/check_ntp.c:816 plugins/check_ntp_peer.c:621 |
2588 | #: plugins/check_ntp_time.c:576 | 2782 | #: plugins/check_ntp_time.c:580 |
2589 | #, c-format | ||
2590 | msgid "NTP UNKNOWN:" | 2783 | msgid "NTP UNKNOWN:" |
2591 | msgstr "NTP INCONNU:" | 2784 | msgstr "NTP INCONNU:" |
2592 | 2785 | ||
2593 | #: plugins/check_ntp.c:816 plugins/check_ntp_peer.c:624 | 2786 | #: plugins/check_ntp.c:820 plugins/check_ntp_peer.c:630 |
2594 | #: plugins/check_ntp_time.c:580 | 2787 | #: plugins/check_ntp_time.c:584 |
2595 | msgid "Offset unknown" | 2788 | msgid "Offset unknown" |
2596 | msgstr "Décalage inconnu" | 2789 | msgstr "Décalage inconnu" |
2597 | 2790 | ||
2598 | #: plugins/check_ntp.c:819 plugins/check_ntp_peer.c:627 | 2791 | #: plugins/check_ntp.c:823 plugins/check_ntp_peer.c:633 |
2599 | #: plugins/check_ntp_time.c:583 | 2792 | #: plugins/check_ntp_time.c:587 |
2600 | msgid "Offset" | 2793 | msgid "Offset" |
2601 | msgstr "Décalage" | 2794 | msgstr "Décalage" |
2602 | 2795 | ||
2603 | #: plugins/check_ntp.c:840 plugins/check_ntp_peer.c:656 | 2796 | #: plugins/check_ntp.c:844 plugins/check_ntp_peer.c:662 |
2604 | msgid "This plugin checks the selected ntp server" | 2797 | msgid "This plugin checks the selected ntp server" |
2605 | msgstr "Ce plugin vérifie le service ntp sur l'hôte" | 2798 | msgstr "Ce plugin vérifie le service ntp sur l'hôte" |
2606 | 2799 | ||
2607 | #: plugins/check_ntp.c:849 plugins/check_ntp_peer.c:667 | 2800 | #: plugins/check_ntp.c:854 plugins/check_ntp_peer.c:674 |
2608 | #: plugins/check_ntp_time.c:609 | 2801 | #: plugins/check_ntp_time.c:614 |
2609 | msgid "Offset to result in warning status (seconds)" | 2802 | msgid "Offset to result in warning status (seconds)" |
2610 | msgstr "Décalage résultant en un avertissement (secondes)" | 2803 | msgstr "Décalage résultant en un avertissement (secondes)" |
2611 | 2804 | ||
2612 | #: plugins/check_ntp.c:851 plugins/check_ntp_peer.c:669 | 2805 | #: plugins/check_ntp.c:856 plugins/check_ntp_peer.c:676 |
2613 | #: plugins/check_ntp_time.c:611 | 2806 | #: plugins/check_ntp_time.c:616 |
2614 | msgid "Offset to result in critical status (seconds)" | 2807 | msgid "Offset to result in critical status (seconds)" |
2615 | msgstr "Décalage résultant en un état critique (secondes)" | 2808 | msgstr "Décalage résultant en un état critique (secondes)" |
2616 | 2809 | ||
2617 | #: plugins/check_ntp.c:853 plugins/check_ntp_peer.c:675 | 2810 | #: plugins/check_ntp.c:858 plugins/check_ntp_peer.c:682 |
2618 | msgid "Warning threshold for jitter" | 2811 | msgid "Warning threshold for jitter" |
2619 | msgstr "Seuil d'avertissement pour la variation (jitter)" | 2812 | msgstr "Seuil d'avertissement pour la variation (jitter)" |
2620 | 2813 | ||
2621 | #: plugins/check_ntp.c:855 plugins/check_ntp_peer.c:677 | 2814 | #: plugins/check_ntp.c:860 plugins/check_ntp_peer.c:684 |
2622 | msgid "Critical threshold for jitter" | 2815 | msgid "Critical threshold for jitter" |
2623 | msgstr "Seuil critique pour la variation (jitter)" | 2816 | msgstr "Seuil critique pour la variation (jitter)" |
2624 | 2817 | ||
2625 | #: plugins/check_ntp.c:865 | 2818 | #: plugins/check_ntp.c:870 |
2626 | msgid "Normal offset check:" | 2819 | msgid "Normal offset check:" |
2627 | msgstr "Vérification normale du décalage:" | 2820 | msgstr "Vérification normale du décalage:" |
2628 | 2821 | ||
2629 | #: plugins/check_ntp.c:868 plugins/check_ntp_peer.c:702 | 2822 | #: plugins/check_ntp.c:873 plugins/check_ntp_peer.c:709 |
2630 | msgid "" | 2823 | msgid "" |
2631 | "Check jitter too, avoiding critical notifications if jitter isn't available" | 2824 | "Check jitter too, avoiding critical notifications if jitter isn't available" |
2632 | msgstr "" | 2825 | msgstr "" |
2633 | "Vérifier aussi la variation (jitter) en évitant les notifications s'il n'est " | 2826 | "Vérifier aussi la variation (jitter) en évitant les notifications s'il n'est " |
2634 | "pas dispoible" | 2827 | "pas dispoible" |
2635 | 2828 | ||
2636 | #: plugins/check_ntp.c:869 plugins/check_ntp_peer.c:703 | 2829 | #: plugins/check_ntp.c:874 plugins/check_ntp_peer.c:710 |
2637 | msgid "(See Notes above for more details on thresholds formats):" | 2830 | msgid "(See Notes above for more details on thresholds formats):" |
2638 | msgstr "" | 2831 | msgstr "" |
2639 | "(Voir les Notes ci-dessus pour plus de détails sur le format des seuils)" | 2832 | "(Voir les Notes ci-dessus pour plus de détails sur le format des seuils)" |
2640 | 2833 | ||
2641 | #: plugins/check_ntp.c:874 plugins/check_ntp.c:881 | 2834 | #: plugins/check_ntp.c:879 plugins/check_ntp.c:886 |
2642 | msgid "WARNING: check_ntp is deprecated. Please use check_ntp_peer or" | 2835 | msgid "WARNING: check_ntp is deprecated. Please use check_ntp_peer or" |
2643 | msgstr "ATTENTION: check_ntp est périmé, utilisez plutôt check_ntp_peer" | 2836 | msgstr "ATTENTION: check_ntp est périmé, utilisez plutôt check_ntp_peer" |
2644 | 2837 | ||
2645 | #: plugins/check_ntp.c:875 plugins/check_ntp.c:882 | 2838 | #: plugins/check_ntp.c:880 plugins/check_ntp.c:887 |
2646 | msgid "check_ntp_time instead." | 2839 | msgid "check_ntp_time instead." |
2647 | msgstr "ou check_ntp_time." | 2840 | msgstr "ou check_ntp_time." |
2648 | 2841 | ||
2649 | #: plugins/check_ntp_peer.c:619 | 2842 | #: plugins/check_ntp_peer.c:625 |
2650 | msgid "Server not synchronized" | 2843 | msgid "Server not synchronized" |
2651 | msgstr "Le serveur n'est pas synchronisé" | 2844 | msgstr "Le serveur n'est pas synchronisé" |
2652 | 2845 | ||
2653 | #: plugins/check_ntp_peer.c:621 | 2846 | #: plugins/check_ntp_peer.c:627 |
2654 | msgid "Server has the LI_ALARM bit set" | 2847 | msgid "Server has the LI_ALARM bit set" |
2655 | msgstr "" | 2848 | msgstr "" |
2656 | 2849 | ||
2657 | #: plugins/check_ntp_peer.c:665 | 2850 | #: plugins/check_ntp_peer.c:672 |
2658 | msgid "" | 2851 | msgid "" |
2659 | "Returns UNKNOWN instead of CRITICAL or WARNING if server isn't synchronized" | 2852 | "Returns UNKNOWN instead of CRITICAL or WARNING if server isn't synchronized" |
2660 | msgstr "" | 2853 | msgstr "" |
2661 | "Retourne INCONNU au lieu de CRITIQUE ou AVERTISSEMENT si le serveur n'est " | 2854 | "Retourne INCONNU au lieu de CRITIQUE ou AVERTISSEMENT si le serveur n'est " |
2662 | "pas synchronisé" | 2855 | "pas synchronisé" |
2663 | 2856 | ||
2664 | #: plugins/check_ntp_peer.c:671 | 2857 | #: plugins/check_ntp_peer.c:678 |
2665 | msgid "Warning threshold for stratum" | 2858 | #, fuzzy |
2859 | msgid "Warning threshold for stratum of server's synchronization peer" | ||
2666 | msgstr "Seuil d'avertissement pour le stratum" | 2860 | msgstr "Seuil d'avertissement pour le stratum" |
2667 | 2861 | ||
2668 | #: plugins/check_ntp_peer.c:673 | 2862 | #: plugins/check_ntp_peer.c:680 |
2669 | msgid "Critical threshold for stratum" | 2863 | #, fuzzy |
2864 | msgid "Critical threshold for stratum of server's synchronization peer" | ||
2670 | msgstr "Seuil critique pour le stratum" | 2865 | msgstr "Seuil critique pour le stratum" |
2671 | 2866 | ||
2672 | #: plugins/check_ntp_peer.c:679 | 2867 | #: plugins/check_ntp_peer.c:686 |
2673 | msgid "Warning threshold for number of usable time sources (\"truechimers\")" | 2868 | msgid "Warning threshold for number of usable time sources (\"truechimers\")" |
2674 | msgstr "" | 2869 | msgstr "" |
2675 | "Seuil d'avertissement pour le nombre de sources de temps utilisable " | 2870 | "Seuil d'avertissement pour le nombre de sources de temps utilisable " |
2676 | "(\"truechimers\")" | 2871 | "(\"truechimers\")" |
2677 | 2872 | ||
2678 | #: plugins/check_ntp_peer.c:681 | 2873 | #: plugins/check_ntp_peer.c:688 |
2679 | msgid "Critical threshold for number of usable time sources (\"truechimers\")" | 2874 | msgid "Critical threshold for number of usable time sources (\"truechimers\")" |
2680 | msgstr "" | 2875 | msgstr "" |
2681 | "Seuil critique pour le nombre de sources de temps utilisable (\"truechimers" | 2876 | "Seuil critique pour le nombre de sources de temps utilisable (\"truechimers" |
2682 | "\")" | 2877 | "\")" |
2683 | 2878 | ||
2684 | #: plugins/check_ntp_peer.c:686 | 2879 | #: plugins/check_ntp_peer.c:693 |
2685 | msgid "This plugin checks an NTP server independent of any commandline" | 2880 | msgid "This plugin checks an NTP server independent of any commandline" |
2686 | msgstr "Ce plugin vérifie un serveur NTP sans recours aux programmes de" | 2881 | msgstr "Ce plugin vérifie un serveur NTP sans recours aux programmes de" |
2687 | 2882 | ||
2688 | #: plugins/check_ntp_peer.c:687 | 2883 | #: plugins/check_ntp_peer.c:694 |
2689 | msgid "programs or external libraries." | 2884 | msgid "programs or external libraries." |
2690 | msgstr "la ligne de commande ou libraries externes" | 2885 | msgstr "la ligne de commande ou libraries externes" |
2691 | 2886 | ||
2692 | #: plugins/check_ntp_peer.c:690 | 2887 | #: plugins/check_ntp_peer.c:697 |
2693 | msgid "Use this plugin to check the health of an NTP server. It supports" | 2888 | msgid "Use this plugin to check the health of an NTP server. It supports" |
2694 | msgstr "" | 2889 | msgstr "" |
2695 | "Utilisez ce plugin pour vérifier le service NTP sur l'hôte. Il supporte la" | 2890 | "Utilisez ce plugin pour vérifier le service NTP sur l'hôte. Il supporte la" |
2696 | 2891 | ||
2697 | #: plugins/check_ntp_peer.c:691 | 2892 | #: plugins/check_ntp_peer.c:698 |
2698 | msgid "checking the offset with the sync peer, the jitter and stratum. This" | 2893 | msgid "checking the offset with the sync peer, the jitter and stratum. This" |
2699 | msgstr "" | 2894 | msgstr "" |
2700 | "vérification du décalage avec le pair se synchronisation, la variation " | 2895 | "vérification du décalage avec le pair se synchronisation, la variation " |
2701 | "(jitter) et le stratum." | 2896 | "(jitter) et le stratum." |
2702 | 2897 | ||
2703 | #: plugins/check_ntp_peer.c:692 | 2898 | #: plugins/check_ntp_peer.c:699 |
2704 | msgid "plugin will not check the clock offset between the local host and NTP" | 2899 | msgid "plugin will not check the clock offset between the local host and NTP" |
2705 | msgstr "" | 2900 | msgstr "" |
2706 | "Ce plugin ne vérifie pas le décalage entre le serveur local et le serveur" | 2901 | "Ce plugin ne vérifie pas le décalage entre le serveur local et le serveur" |
2707 | 2902 | ||
2708 | #: plugins/check_ntp_peer.c:693 | 2903 | #: plugins/check_ntp_peer.c:700 |
2709 | msgid "server; please use check_ntp_time for that purpose." | 2904 | msgid "server; please use check_ntp_time for that purpose." |
2710 | msgstr "NTP; utilisez plutôt check_ntp_time à cette fin." | 2905 | msgstr "NTP; utilisez plutôt check_ntp_time à cette fin." |
2711 | 2906 | ||
2712 | #: plugins/check_ntp_peer.c:699 | 2907 | #: plugins/check_ntp_peer.c:706 |
2713 | msgid "Simple NTP server check:" | 2908 | msgid "Simple NTP server check:" |
2714 | msgstr "Vérification simple du serveur NTP:" | 2909 | msgstr "Vérification simple du serveur NTP:" |
2715 | 2910 | ||
2716 | #: plugins/check_ntp_peer.c:706 | 2911 | #: plugins/check_ntp_peer.c:713 |
2717 | msgid "Only check the number of usable time sources (\"truechimers\"):" | 2912 | msgid "Only check the number of usable time sources (\"truechimers\"):" |
2718 | msgstr "" | 2913 | msgstr "" |
2719 | 2914 | ||
2720 | #: plugins/check_ntp_peer.c:709 | 2915 | #: plugins/check_ntp_peer.c:716 |
2721 | msgid "Check only stratum:" | 2916 | msgid "Check only stratum:" |
2722 | msgstr "Vérification du stratum seulement:" | 2917 | msgstr "Vérification du stratum seulement:" |
2723 | 2918 | ||
2724 | #: plugins/check_ntp_time.c:598 | 2919 | #: plugins/check_ntp_time.c:602 |
2725 | msgid "This plugin checks the clock offset with the ntp server" | 2920 | msgid "This plugin checks the clock offset with the ntp server" |
2726 | msgstr "Ce plugin vérifie le décalage de l'horloge avec le serveur ntp" | 2921 | msgstr "Ce plugin vérifie le décalage de l'horloge avec le serveur ntp" |
2727 | 2922 | ||
2728 | #: plugins/check_ntp_time.c:607 | 2923 | #: plugins/check_ntp_time.c:612 |
2729 | msgid "Returns UNKNOWN instead of CRITICAL if offset cannot be found" | 2924 | msgid "Returns UNKNOWN instead of CRITICAL if offset cannot be found" |
2730 | msgstr "Retourne INCONNU au lieu de CRITIQUE si le décalage est inconnu" | 2925 | msgstr "Retourne INCONNU au lieu de CRITIQUE si le décalage est inconnu" |
2731 | 2926 | ||
2732 | #: plugins/check_ntp_time.c:616 | 2927 | #: plugins/check_ntp_time.c:621 |
2733 | msgid "This plugin checks the clock offset between the local host and a" | 2928 | msgid "This plugin checks the clock offset between the local host and a" |
2734 | msgstr "Ce plugin vérifie le décalage de l'horloge entre se serveur local et" | 2929 | msgstr "Ce plugin vérifie le décalage de l'horloge entre se serveur local et" |
2735 | 2930 | ||
2736 | #: plugins/check_ntp_time.c:617 | 2931 | #: plugins/check_ntp_time.c:622 |
2737 | msgid "remote NTP server. It is independent of any commandline programs or" | 2932 | msgid "remote NTP server. It is independent of any commandline programs or" |
2738 | msgstr "le serveur NTP distant. Il ne fait aucun recours aux programmes de" | 2933 | msgstr "le serveur NTP distant. Il ne fait aucun recours aux programmes de" |
2739 | 2934 | ||
2740 | #: plugins/check_ntp_time.c:618 | 2935 | #: plugins/check_ntp_time.c:623 |
2741 | msgid "external libraries." | 2936 | msgid "external libraries." |
2742 | msgstr "la ligne de commande ou libraries externes." | 2937 | msgstr "la ligne de commande ou libraries externes." |
2743 | 2938 | ||
2744 | #: plugins/check_ntp_time.c:622 | 2939 | #: plugins/check_ntp_time.c:627 |
2745 | msgid "If you'd rather want to monitor an NTP server, please use" | 2940 | msgid "If you'd rather want to monitor an NTP server, please use" |
2746 | msgstr "Si vous voulez plutôt surveiller un serveur NTP, veuillez" | 2941 | msgstr "Si vous voulez plutôt surveiller un serveur NTP, veuillez" |
2747 | 2942 | ||
2748 | #: plugins/check_ntp_time.c:623 | 2943 | #: plugins/check_ntp_time.c:628 |
2749 | msgid "check_ntp_peer." | 2944 | msgid "check_ntp_peer." |
2750 | msgstr "utiliser check_ntp_peer." | 2945 | msgstr "utiliser check_ntp_peer." |
2751 | 2946 | ||
@@ -2825,8 +3020,8 @@ msgstr "" | |||
2825 | msgid "" | 3020 | msgid "" |
2826 | "%lu MB (%lu%%) free on volume %s - total %lu MB|FreeMB%s=%lu;%lu;%lu;0;100" | 3021 | "%lu MB (%lu%%) free on volume %s - total %lu MB|FreeMB%s=%lu;%lu;%lu;0;100" |
2827 | msgstr "" | 3022 | msgstr "" |
2828 | "%lu MB (%lu%%) libre sur le volume %s - total %lu MB|MBlibre%s=%lu;%lu;%" | 3023 | "%lu MB (%lu%%) libre sur le volume %s - total %lu MB|MBlibre%s=%lu;%lu;" |
2829 | "lu;0;100" | 3024 | "%lu;0;100" |
2830 | 3025 | ||
2831 | #: plugins/check_nwstat.c:528 | 3026 | #: plugins/check_nwstat.c:528 |
2832 | #, c-format | 3027 | #, c-format |
@@ -2847,17 +3042,14 @@ msgid "disabled" | |||
2847 | msgstr "désactivé" | 3042 | msgstr "désactivé" |
2848 | 3043 | ||
2849 | #: plugins/check_nwstat.c:560 | 3044 | #: plugins/check_nwstat.c:560 |
2850 | #, c-format | ||
2851 | msgid "CRITICAL - NRM Status is bad!" | 3045 | msgid "CRITICAL - NRM Status is bad!" |
2852 | msgstr "CRITIQUE - le statut NRM est mauvais!" | 3046 | msgstr "CRITIQUE - le statut NRM est mauvais!" |
2853 | 3047 | ||
2854 | #: plugins/check_nwstat.c:565 | 3048 | #: plugins/check_nwstat.c:565 |
2855 | #, c-format | ||
2856 | msgid "Warning - NRM Status is suspect!" | 3049 | msgid "Warning - NRM Status is suspect!" |
2857 | msgstr "" | 3050 | msgstr "" |
2858 | 3051 | ||
2859 | #: plugins/check_nwstat.c:568 | 3052 | #: plugins/check_nwstat.c:568 |
2860 | #, c-format | ||
2861 | msgid "OK - NRM Status is good!" | 3053 | msgid "OK - NRM Status is good!" |
2862 | msgstr "OK - Le status du NRM est bon!" | 3054 | msgstr "OK - Le status du NRM est bon!" |
2863 | 3055 | ||
@@ -2918,12 +3110,10 @@ msgid "%lu current service processes (%lu max)|Processes=%lu;%lu;%lu;0;%lu" | |||
2918 | msgstr "%lu processus services actuels (%lu max)|Processus=%lu;%lu;%lu;0;%lu" | 3110 | msgstr "%lu processus services actuels (%lu max)|Processus=%lu;%lu;%lu;0;%lu" |
2919 | 3111 | ||
2920 | #: plugins/check_nwstat.c:904 | 3112 | #: plugins/check_nwstat.c:904 |
2921 | #, c-format | ||
2922 | msgid "CRITICAL - Time not in sync with network!" | 3113 | msgid "CRITICAL - Time not in sync with network!" |
2923 | msgstr "CRITIQUE - Le temps n'est pas synchronisé avec le réseau!" | 3114 | msgstr "CRITIQUE - Le temps n'est pas synchronisé avec le réseau!" |
2924 | 3115 | ||
2925 | #: plugins/check_nwstat.c:907 | 3116 | #: plugins/check_nwstat.c:907 |
2926 | #, c-format | ||
2927 | msgid "OK - Time in sync with network!" | 3117 | msgid "OK - Time in sync with network!" |
2928 | msgstr "OK - Le temps est synchronisé avec le réseau!" | 3118 | msgstr "OK - Le temps est synchronisé avec le réseau!" |
2929 | 3119 | ||
@@ -3327,114 +3517,225 @@ msgid "" | |||
3327 | "higher than the warning threshold value, EXCEPT with the uptime variable" | 3517 | "higher than the warning threshold value, EXCEPT with the uptime variable" |
3328 | msgstr "plus grand que le seuil d'alerte SAUF pour l'option uptime" | 3518 | msgstr "plus grand que le seuil d'alerte SAUF pour l'option uptime" |
3329 | 3519 | ||
3330 | #: plugins/check_pgsql.c:183 | 3520 | #: plugins/check_pgsql.c:222 |
3331 | #, c-format | 3521 | #, c-format |
3332 | msgid "CRITICAL - no connection to '%s' (%s).\n" | 3522 | msgid "CRITICAL - no connection to '%s' (%s).\n" |
3333 | msgstr "CRITIQUE - pas de connexion à '%s' (%s).\n" | 3523 | msgstr "CRITIQUE - pas de connexion à '%s' (%s).\n" |
3334 | 3524 | ||
3335 | #: plugins/check_pgsql.c:200 | 3525 | #: plugins/check_pgsql.c:250 |
3336 | #, c-format | 3526 | #, fuzzy, c-format |
3337 | msgid " %s - database %s (%d sec.)|%s\n" | 3527 | msgid " %s - database %s (%f sec.)|%s\n" |
3338 | msgstr " %s - base de données %s (%d sec.)|%s\n" | 3528 | msgstr " %s - base de données %s (%d sec.)|%s\n" |
3339 | 3529 | ||
3340 | #: plugins/check_pgsql.c:256 plugins/check_time.c:277 plugins/check_time.c:289 | 3530 | #: plugins/check_pgsql.c:317 plugins/check_time.c:277 plugins/check_time.c:289 |
3341 | #: plugins/check_users.c:166 | 3531 | #: plugins/check_users.c:181 |
3342 | msgid "Critical threshold must be a positive integer" | 3532 | msgid "Critical threshold must be a positive integer" |
3343 | msgstr "Le seuil critique doit être un entier positif" | 3533 | msgstr "Le seuil critique doit être un entier positif" |
3344 | 3534 | ||
3345 | #: plugins/check_pgsql.c:262 plugins/check_time.c:258 plugins/check_time.c:282 | 3535 | #: plugins/check_pgsql.c:323 plugins/check_time.c:258 plugins/check_time.c:282 |
3346 | #: plugins/check_users.c:172 plugins/check_users.c:182 | 3536 | #: plugins/check_users.c:187 plugins/check_users.c:197 |
3347 | #: plugins/check_users.c:189 | 3537 | #: plugins/check_users.c:203 |
3348 | msgid "Warning threshold must be a positive integer" | 3538 | msgid "Warning threshold must be a positive integer" |
3349 | msgstr "Le seuil d'avertissement doit être un entier positif" | 3539 | msgstr "Le seuil d'avertissement doit être un entier positif" |
3350 | 3540 | ||
3351 | #: plugins/check_pgsql.c:280 | 3541 | #: plugins/check_pgsql.c:347 |
3352 | msgid "Database name is not valid" | 3542 | msgid "Database name is not valid" |
3353 | msgstr "Le nom de la base de données est invalide" | 3543 | msgstr "Le nom de la base de données est invalide" |
3354 | 3544 | ||
3355 | #: plugins/check_pgsql.c:286 | 3545 | #: plugins/check_pgsql.c:353 |
3356 | msgid "User name is not valid" | 3546 | msgid "User name is not valid" |
3357 | msgstr "Le nom de l'utilisateur est invalide" | 3547 | msgstr "Le nom de l'utilisateur est invalide" |
3358 | 3548 | ||
3359 | #: plugins/check_pgsql.c:426 | 3549 | #: plugins/check_pgsql.c:504 |
3360 | #, c-format | 3550 | #, c-format |
3361 | msgid "Test whether a PostgreSQL Database is accepting connections." | 3551 | msgid "Test whether a PostgreSQL Database is accepting connections." |
3362 | msgstr "Teste si une base de données Postgresql accepte les connections." | 3552 | msgstr "Teste si une base de données Postgresql accepte les connections." |
3363 | 3553 | ||
3364 | #: plugins/check_pgsql.c:440 | 3554 | #: plugins/check_pgsql.c:516 |
3365 | msgid "Database to check " | 3555 | msgid "Database to check " |
3366 | msgstr "" | 3556 | msgstr "" |
3367 | 3557 | ||
3368 | #: plugins/check_pgsql.c:441 | 3558 | #: plugins/check_pgsql.c:517 |
3369 | #, c-format | 3559 | #, c-format |
3370 | msgid "(default: %s)" | 3560 | msgid "(default: %s)" |
3371 | msgstr "" | 3561 | msgstr "" |
3372 | 3562 | ||
3373 | #: plugins/check_pgsql.c:443 | 3563 | #: plugins/check_pgsql.c:519 |
3374 | msgid "Login name of user" | 3564 | msgid "Login name of user" |
3375 | msgstr "Le nom d'un utilisateur" | 3565 | msgstr "Le nom d'un utilisateur" |
3376 | 3566 | ||
3377 | #: plugins/check_pgsql.c:445 | 3567 | #: plugins/check_pgsql.c:521 |
3378 | msgid "Password (BIG SECURITY ISSUE)" | 3568 | msgid "Password (BIG SECURITY ISSUE)" |
3379 | msgstr "" | 3569 | msgstr "" |
3380 | 3570 | ||
3381 | #: plugins/check_pgsql.c:454 | 3571 | #: plugins/check_pgsql.c:523 |
3572 | msgid "Connection parameters (keyword = value), see below" | ||
3573 | msgstr "" | ||
3574 | |||
3575 | #: plugins/check_pgsql.c:530 | ||
3576 | msgid "SQL query to run. Only first column in first row will be read" | ||
3577 | msgstr "" | ||
3578 | |||
3579 | #: plugins/check_pgsql.c:532 | ||
3580 | #, fuzzy | ||
3581 | msgid "SQL query value to result in warning status (double)" | ||
3582 | msgstr "Décalage résultant en un avertissement (secondes)" | ||
3583 | |||
3584 | #: plugins/check_pgsql.c:534 | ||
3585 | #, fuzzy | ||
3586 | msgid "SQL query value to result in critical status (double)" | ||
3587 | msgstr "Décalage résultant en un état critique (secondes)" | ||
3588 | |||
3589 | #: plugins/check_pgsql.c:539 | ||
3382 | msgid "All parameters are optional." | 3590 | msgid "All parameters are optional." |
3383 | msgstr "" | 3591 | msgstr "" |
3384 | 3592 | ||
3385 | #: plugins/check_pgsql.c:455 | 3593 | #: plugins/check_pgsql.c:540 |
3386 | msgid "" | 3594 | msgid "" |
3387 | "This plugin tests a PostgreSQL DBMS to determine whether it is active and" | 3595 | "This plugin tests a PostgreSQL DBMS to determine whether it is active and" |
3388 | msgstr "" | 3596 | msgstr "" |
3389 | 3597 | ||
3390 | #: plugins/check_pgsql.c:456 | 3598 | #: plugins/check_pgsql.c:541 |
3391 | msgid "accepting queries. In its current operation, it simply connects to the" | 3599 | msgid "accepting queries. In its current operation, it simply connects to the" |
3392 | msgstr "" | 3600 | msgstr "" |
3393 | 3601 | ||
3394 | #: plugins/check_pgsql.c:457 | 3602 | #: plugins/check_pgsql.c:542 |
3395 | msgid "" | 3603 | msgid "" |
3396 | "specified database, and then disconnects. If no database is specified, it" | 3604 | "specified database, and then disconnects. If no database is specified, it" |
3397 | msgstr "" | 3605 | msgstr "" |
3398 | 3606 | ||
3399 | #: plugins/check_pgsql.c:458 | 3607 | #: plugins/check_pgsql.c:543 |
3400 | msgid "" | 3608 | msgid "" |
3401 | "connects to the template1 database, which is present in every functioning" | 3609 | "connects to the template1 database, which is present in every functioning" |
3402 | msgstr "" | 3610 | msgstr "" |
3403 | 3611 | ||
3404 | #: plugins/check_pgsql.c:459 | 3612 | #: plugins/check_pgsql.c:544 |
3405 | msgid "PostgreSQL DBMS." | 3613 | msgid "PostgreSQL DBMS." |
3406 | msgstr "" | 3614 | msgstr "" |
3407 | 3615 | ||
3408 | #: plugins/check_pgsql.c:461 | 3616 | #: plugins/check_pgsql.c:546 |
3617 | msgid "If a query is specified using the -q option, it will be executed after" | ||
3618 | msgstr "" | ||
3619 | |||
3620 | #: plugins/check_pgsql.c:547 | ||
3621 | msgid "connecting to the server. The result from the query has to be numeric." | ||
3622 | msgstr "" | ||
3623 | |||
3624 | #: plugins/check_pgsql.c:548 | ||
3625 | msgid "" | ||
3626 | "Multiple SQL commands, separated by semicolon, are allowed but the result " | ||
3627 | msgstr "" | ||
3628 | |||
3629 | #: plugins/check_pgsql.c:549 | ||
3630 | msgid "of the last command is taken into account only. The value of the first" | ||
3631 | msgstr "" | ||
3632 | |||
3633 | #: plugins/check_pgsql.c:550 | ||
3634 | msgid "column in the first row is used as the check result." | ||
3635 | msgstr "" | ||
3636 | |||
3637 | #: plugins/check_pgsql.c:552 | ||
3638 | msgid "" | ||
3639 | "See the chapter \"Monitoring Database Activity\" of the PostgreSQL manual" | ||
3640 | msgstr "" | ||
3641 | |||
3642 | #: plugins/check_pgsql.c:553 | ||
3643 | msgid "" | ||
3644 | "for details about how to access internal statistics of the database server." | ||
3645 | msgstr "" | ||
3646 | |||
3647 | #: plugins/check_pgsql.c:555 | ||
3648 | msgid "" | ||
3649 | "For a list of available connection parameters which may be used with the -o" | ||
3650 | msgstr "" | ||
3651 | |||
3652 | #: plugins/check_pgsql.c:556 | ||
3653 | msgid "" | ||
3654 | "command line option, see the documentation for PQconnectdb() in the chapter" | ||
3655 | msgstr "" | ||
3656 | |||
3657 | #: plugins/check_pgsql.c:557 | ||
3658 | msgid "" | ||
3659 | "\"libpq - C Library\" of the PostgreSQL manual. For example, this may be" | ||
3660 | msgstr "" | ||
3661 | |||
3662 | #: plugins/check_pgsql.c:558 | ||
3663 | msgid "" | ||
3664 | "used to specify a service name in pg_service.conf to be used for additional" | ||
3665 | msgstr "" | ||
3666 | |||
3667 | #: plugins/check_pgsql.c:559 | ||
3668 | msgid "connection parameters: -o 'service=<name>' or to specify the SSL mode:" | ||
3669 | msgstr "" | ||
3670 | |||
3671 | #: plugins/check_pgsql.c:560 | ||
3672 | msgid "-o 'sslmode=require'." | ||
3673 | msgstr "" | ||
3674 | |||
3675 | #: plugins/check_pgsql.c:562 | ||
3409 | msgid "" | 3676 | msgid "" |
3410 | "The plugin will connect to a local postmaster if no host is specified. To" | 3677 | "The plugin will connect to a local postmaster if no host is specified. To" |
3411 | msgstr "" | 3678 | msgstr "" |
3412 | "Ce plugin va se connecter sur un postmaster local si aucun hôte n'est " | 3679 | "Ce plugin va se connecter sur un postmaster local si aucun hôte n'est " |
3413 | "spécifié." | 3680 | "spécifié." |
3414 | 3681 | ||
3415 | #: plugins/check_pgsql.c:462 | 3682 | #: plugins/check_pgsql.c:563 |
3416 | msgid "" | 3683 | msgid "" |
3417 | "connect to a remote host, be sure that the remote postmaster accepts TCP/IP" | 3684 | "connect to a remote host, be sure that the remote postmaster accepts TCP/IP" |
3418 | msgstr "" | 3685 | msgstr "" |
3419 | 3686 | ||
3420 | #: plugins/check_pgsql.c:463 | 3687 | #: plugins/check_pgsql.c:564 |
3421 | msgid "connections (start the postmaster with the -i option)." | 3688 | msgid "connections (start the postmaster with the -i option)." |
3422 | msgstr "" | 3689 | msgstr "" |
3423 | 3690 | ||
3424 | #: plugins/check_pgsql.c:465 | 3691 | #: plugins/check_pgsql.c:566 |
3425 | msgid "" | 3692 | msgid "" |
3426 | "Typically, the nagios user (unless the --logname option is used) should be" | 3693 | "Typically, the monitoring user (unless the --logname option is used) should " |
3694 | "be" | ||
3427 | msgstr "" | 3695 | msgstr "" |
3428 | 3696 | ||
3429 | #: plugins/check_pgsql.c:466 | 3697 | #: plugins/check_pgsql.c:567 |
3430 | msgid "" | 3698 | msgid "" |
3431 | "able to connect to the database without a password. The plugin can also send" | 3699 | "able to connect to the database without a password. The plugin can also send" |
3432 | msgstr "" | 3700 | msgstr "" |
3433 | 3701 | ||
3434 | #: plugins/check_pgsql.c:467 | 3702 | #: plugins/check_pgsql.c:568 |
3435 | msgid "a password, but no effort is made to obsure or encrypt the password." | 3703 | msgid "a password, but no effort is made to obsure or encrypt the password." |
3436 | msgstr "" | 3704 | msgstr "" |
3437 | 3705 | ||
3706 | #: plugins/check_pgsql.c:601 | ||
3707 | #, c-format | ||
3708 | msgid "QUERY %s - %s: %s.\n" | ||
3709 | msgstr "" | ||
3710 | |||
3711 | #: plugins/check_pgsql.c:601 | ||
3712 | msgid "Error with query" | ||
3713 | msgstr "" | ||
3714 | |||
3715 | #: plugins/check_pgsql.c:607 | ||
3716 | #, fuzzy | ||
3717 | msgid "No rows returned" | ||
3718 | msgstr "Pas de données valides reçues" | ||
3719 | |||
3720 | #: plugins/check_pgsql.c:612 | ||
3721 | #, fuzzy | ||
3722 | msgid "No columns returned" | ||
3723 | msgstr "Pas de données valides reçues" | ||
3724 | |||
3725 | #: plugins/check_pgsql.c:618 | ||
3726 | #, fuzzy | ||
3727 | msgid "No data returned" | ||
3728 | msgstr "Pas de données valides reçues" | ||
3729 | |||
3730 | #: plugins/check_pgsql.c:627 | ||
3731 | msgid "Is not a numeric" | ||
3732 | msgstr "" | ||
3733 | |||
3734 | #: plugins/check_pgsql.c:644 | ||
3735 | #, fuzzy, c-format | ||
3736 | msgid "'%s' returned %f" | ||
3737 | msgstr ". %s renvoie %s" | ||
3738 | |||
3438 | #: plugins/check_ping.c:141 | 3739 | #: plugins/check_ping.c:141 |
3439 | msgid "CRITICAL - Could not interpret output from ping command\n" | 3740 | msgid "CRITICAL - Could not interpret output from ping command\n" |
3440 | msgstr "CRITIQUE - Impossible d'interpréter le réponse de la commande ping\n" | 3741 | msgstr "CRITIQUE - Impossible d'interpréter le réponse de la commande ping\n" |
@@ -3515,313 +3816,309 @@ msgstr "<wrta> (%f) ne peut pas être plus large que <crta> (%f)\n" | |||
3515 | msgid "<wpl> (%d) cannot be larger than <cpl> (%d)\n" | 3816 | msgid "<wpl> (%d) cannot be larger than <cpl> (%d)\n" |
3516 | msgstr "<wpl> (%d) ne peut pas être plus large que <cpl> (%d)\n" | 3817 | msgstr "<wpl> (%d) ne peut pas être plus large que <cpl> (%d)\n" |
3517 | 3818 | ||
3518 | #: plugins/check_ping.c:441 | 3819 | #: plugins/check_ping.c:442 |
3519 | #, c-format | 3820 | #, c-format |
3520 | msgid "Cannot open stderr for %s\n" | 3821 | msgid "Cannot open stderr for %s\n" |
3521 | msgstr "Impossible d'ouvrir le canal d'erreur standard pour %s\n" | 3822 | msgstr "Impossible d'ouvrir le canal d'erreur standard pour %s\n" |
3522 | 3823 | ||
3523 | #: plugins/check_ping.c:490 plugins/check_ping.c:492 | 3824 | #: plugins/check_ping.c:492 plugins/check_ping.c:494 |
3524 | msgid "System call sent warnings to stderr " | 3825 | msgid "System call sent warnings to stderr " |
3525 | msgstr "" | 3826 | msgstr "" |
3526 | "Les appel système enverront leurs messages d'avertissement vers le canal " | 3827 | "Les appel système enverront leurs messages d'avertissement vers le canal " |
3527 | "d'erreur standard" | 3828 | "d'erreur standard" |
3528 | 3829 | ||
3529 | #: plugins/check_ping.c:519 | 3830 | #: plugins/check_ping.c:519 |
3530 | #, c-format | 3831 | #, fuzzy, c-format |
3531 | msgid "CRITICAL - Network Unreachable (%s)" | 3832 | msgid "CRITICAL - Network Unreachable (%s)\n" |
3532 | msgstr "CRITIQUE - Le réseau est inaccessible (%s)" | 3833 | msgstr "CRITIQUE - Le réseau est inaccessible (%s)" |
3533 | 3834 | ||
3534 | #: plugins/check_ping.c:521 | 3835 | #: plugins/check_ping.c:521 |
3535 | #, c-format | 3836 | #, fuzzy, c-format |
3536 | msgid "CRITICAL - Host Unreachable (%s)" | 3837 | msgid "CRITICAL - Host Unreachable (%s)\n" |
3537 | msgstr "CRITIQUE - Hôte inaccessible (%s)" | 3838 | msgstr "CRITIQUE - Hôte inaccessible (%s)" |
3538 | 3839 | ||
3539 | #: plugins/check_ping.c:523 | 3840 | #: plugins/check_ping.c:523 |
3540 | #, c-format | 3841 | #, fuzzy, c-format |
3541 | msgid "CRITICAL - Bogus ICMP: Port Unreachable (%s)" | 3842 | msgid "CRITICAL - Bogus ICMP: Port Unreachable (%s)\n" |
3542 | msgstr "CRITIQUE - Paquet ICMP incorrect: Port inaccessible (%s)" | 3843 | msgstr "CRITIQUE - Paquet ICMP incorrect: Port inaccessible (%s)" |
3543 | 3844 | ||
3544 | #: plugins/check_ping.c:525 | 3845 | #: plugins/check_ping.c:525 |
3545 | #, c-format | 3846 | #, fuzzy, c-format |
3546 | msgid "CRITICAL - Bogus ICMP: Protocol Unreachable (%s)" | 3847 | msgid "CRITICAL - Bogus ICMP: Protocol Unreachable (%s)\n" |
3547 | msgstr "CRITIQUE - Paquet ICMP incorrect: Protocole inaccessible (%s)" | 3848 | msgstr "CRITIQUE - Paquet ICMP incorrect: Protocole inaccessible (%s)" |
3548 | 3849 | ||
3549 | #: plugins/check_ping.c:527 | 3850 | #: plugins/check_ping.c:527 |
3550 | #, c-format | 3851 | #, fuzzy, c-format |
3551 | msgid "CRITICAL - Network Prohibited (%s)" | 3852 | msgid "CRITICAL - Network Prohibited (%s)\n" |
3552 | msgstr "CRITIQUE - L'accès au réseau est interdit (%s)" | 3853 | msgstr "CRITIQUE - L'accès au réseau est interdit (%s)" |
3553 | 3854 | ||
3554 | #: plugins/check_ping.c:529 | 3855 | #: plugins/check_ping.c:529 |
3555 | #, c-format | 3856 | #, fuzzy, c-format |
3556 | msgid "CRITICAL - Host Prohibited (%s)" | 3857 | msgid "CRITICAL - Host Prohibited (%s)\n" |
3557 | msgstr "CRITIQUE - L'accès a l'hôte est interdit (%s)" | 3858 | msgstr "CRITIQUE - L'accès a l'hôte est interdit (%s)" |
3558 | 3859 | ||
3559 | #: plugins/check_ping.c:531 | 3860 | #: plugins/check_ping.c:531 |
3560 | #, c-format | 3861 | #, fuzzy, c-format |
3561 | msgid "CRITICAL - Packet Filtered (%s)" | 3862 | msgid "CRITICAL - Packet Filtered (%s)\n" |
3562 | msgstr "CRITIQUE - Paquet filtré (%s)" | 3863 | msgstr "CRITIQUE - Paquet filtré (%s)" |
3563 | 3864 | ||
3564 | #: plugins/check_ping.c:533 | 3865 | #: plugins/check_ping.c:533 |
3565 | #, c-format | 3866 | #, fuzzy, c-format |
3566 | msgid "CRITICAL - Host not found (%s)" | 3867 | msgid "CRITICAL - Host not found (%s)\n" |
3567 | msgstr "CRITIQUE - Hôte non trouvé (%s)" | 3868 | msgstr "CRITIQUE - Hôte non trouvé (%s)" |
3568 | 3869 | ||
3569 | #: plugins/check_ping.c:535 | 3870 | #: plugins/check_ping.c:535 |
3570 | #, c-format | 3871 | #, fuzzy, c-format |
3571 | msgid "CRITICAL - Time to live exceeded (%s)" | 3872 | msgid "CRITICAL - Time to live exceeded (%s)\n" |
3572 | msgstr "CRITIQUE - La durée de vie du paquet est dépassée (%s)" | 3873 | msgstr "CRITIQUE - La durée de vie du paquet est dépassée (%s)" |
3573 | 3874 | ||
3574 | #: plugins/check_ping.c:542 | 3875 | #: plugins/check_ping.c:537 |
3575 | msgid "Unable to realloc warn_text" | 3876 | #, fuzzy, c-format |
3877 | msgid "CRITICAL - Destination Unreachable (%s)\n" | ||
3878 | msgstr "CRITIQUE - Hôte inaccessible (%s)" | ||
3879 | |||
3880 | #: plugins/check_ping.c:544 | ||
3881 | #, fuzzy | ||
3882 | msgid "Unable to realloc warn_text\n" | ||
3576 | msgstr "Impossible de réattribuer le texte d'avertissement" | 3883 | msgstr "Impossible de réattribuer le texte d'avertissement" |
3577 | 3884 | ||
3578 | #: plugins/check_ping.c:559 | 3885 | #: plugins/check_ping.c:561 |
3579 | #, c-format | 3886 | #, c-format |
3580 | msgid "Use ping to check connection statistics for a remote host." | 3887 | msgid "Use ping to check connection statistics for a remote host." |
3581 | msgstr "" | 3888 | msgstr "" |
3582 | "Utilise ping pour vérifier les statistiques de connections d'un hôte distant." | 3889 | "Utilise ping pour vérifier les statistiques de connections d'un hôte distant." |
3583 | 3890 | ||
3584 | #: plugins/check_ping.c:571 | 3891 | #: plugins/check_ping.c:573 |
3585 | msgid "host to ping" | 3892 | msgid "host to ping" |
3586 | msgstr "hôte à tester" | 3893 | msgstr "hôte à tester" |
3587 | 3894 | ||
3588 | #: plugins/check_ping.c:577 | 3895 | #: plugins/check_ping.c:579 |
3589 | msgid "number of ICMP ECHO packets to send" | 3896 | msgid "number of ICMP ECHO packets to send" |
3590 | msgstr "nombre de paquets ICMP Ã envoyer" | 3897 | msgstr "nombre de paquets ICMP Ã envoyer" |
3591 | 3898 | ||
3592 | #: plugins/check_ping.c:578 | 3899 | #: plugins/check_ping.c:580 |
3593 | #, c-format | 3900 | #, c-format |
3594 | msgid "(Default: %d)\n" | 3901 | msgid "(Default: %d)\n" |
3595 | msgstr "(Défaut: %d)\n" | 3902 | msgstr "(Défaut: %d)\n" |
3596 | 3903 | ||
3597 | #: plugins/check_ping.c:580 | 3904 | #: plugins/check_ping.c:582 |
3598 | msgid "show HTML in the plugin output (obsoleted by urlize)" | 3905 | msgid "show HTML in the plugin output (obsoleted by urlize)" |
3599 | msgstr "" | 3906 | msgstr "" |
3600 | 3907 | ||
3601 | #: plugins/check_ping.c:585 | 3908 | #: plugins/check_ping.c:587 |
3602 | msgid "THRESHOLD is <rta>,<pl>% where <rta> is the round trip average travel" | 3909 | msgid "THRESHOLD is <rta>,<pl>% where <rta> is the round trip average travel" |
3603 | msgstr "" | 3910 | msgstr "" |
3604 | "Le seuil est <rta>,<pl>% où <rta> est le temps moyen pour l'aller retour (ms)" | 3911 | "Le seuil est <rta>,<pl>% où <rta> est le temps moyen pour l'aller retour (ms)" |
3605 | 3912 | ||
3606 | #: plugins/check_ping.c:586 | 3913 | #: plugins/check_ping.c:588 |
3607 | msgid "time (ms) which triggers a WARNING or CRITICAL state, and <pl> is the" | 3914 | msgid "time (ms) which triggers a WARNING or CRITICAL state, and <pl> is the" |
3608 | msgstr "qui déclenche un résultat AVERTISSEMENT ou CRITIQUE, et <pl> est le " | 3915 | msgstr "qui déclenche un résultat AVERTISSEMENT ou CRITIQUE, et <pl> est le " |
3609 | 3916 | ||
3610 | #: plugins/check_ping.c:587 | 3917 | #: plugins/check_ping.c:589 |
3611 | msgid "percentage of packet loss to trigger an alarm state." | 3918 | msgid "percentage of packet loss to trigger an alarm state." |
3612 | msgstr "pourcentage de paquets perdus pour déclencher une alarme." | 3919 | msgstr "pourcentage de paquets perdus pour déclencher une alarme." |
3613 | 3920 | ||
3614 | #: plugins/check_ping.c:590 | 3921 | #: plugins/check_ping.c:592 |
3615 | msgid "" | 3922 | msgid "" |
3616 | "This plugin uses the ping command to probe the specified host for packet loss" | 3923 | "This plugin uses the ping command to probe the specified host for packet loss" |
3617 | msgstr "" | 3924 | msgstr "" |
3618 | "Ce plugin utilise la commande ping pour vérifier l'hôte spécifié pour les " | 3925 | "Ce plugin utilise la commande ping pour vérifier l'hôte spécifié pour les " |
3619 | "pertes de paquets" | 3926 | "pertes de paquets" |
3620 | 3927 | ||
3621 | #: plugins/check_ping.c:591 | 3928 | #: plugins/check_ping.c:593 |
3622 | msgid "" | 3929 | msgid "" |
3623 | "(percentage) and round trip average (milliseconds). It can produce HTML " | 3930 | "(percentage) and round trip average (milliseconds). It can produce HTML " |
3624 | "output" | 3931 | "output" |
3625 | msgstr "" | 3932 | msgstr "" |
3626 | 3933 | ||
3627 | #: plugins/check_ping.c:592 | 3934 | #: plugins/check_ping.c:594 |
3628 | msgid "" | 3935 | msgid "" |
3629 | "linking to a traceroute CGI contributed by Ian Cass. The CGI can be found in" | 3936 | "linking to a traceroute CGI contributed by Ian Cass. The CGI can be found in" |
3630 | msgstr "" | 3937 | msgstr "" |
3631 | 3938 | ||
3632 | #: plugins/check_ping.c:593 | 3939 | #: plugins/check_ping.c:595 |
3633 | msgid "the contrib area of the downloads section at http://www.nagios.org/" | 3940 | msgid "the contrib area of the downloads section at http://www.nagios.org/" |
3634 | msgstr "" | 3941 | msgstr "" |
3635 | 3942 | ||
3636 | #: plugins/check_procs.c:159 | 3943 | #: plugins/check_procs.c:193 |
3637 | #, c-format | 3944 | #, c-format |
3638 | msgid "CMD: %s\n" | 3945 | msgid "CMD: %s\n" |
3639 | msgstr "Commande: %s\n" | 3946 | msgstr "Commande: %s\n" |
3640 | 3947 | ||
3641 | #: plugins/check_procs.c:164 | 3948 | #: plugins/check_procs.c:198 |
3642 | msgid "System call sent warnings to stderr" | 3949 | msgid "System call sent warnings to stderr" |
3643 | msgstr "" | 3950 | msgstr "" |
3644 | "L'appel système à retourné des avertissement vers le canal d'erreur standard" | 3951 | "L'appel système à retourné des avertissement vers le canal d'erreur standard" |
3645 | 3952 | ||
3646 | #: plugins/check_procs.c:265 | 3953 | #: plugins/check_procs.c:326 |
3647 | #, c-format | 3954 | #, c-format |
3648 | msgid "Not parseable: %s" | 3955 | msgid "Not parseable: %s" |
3649 | msgstr "Impossible de parcourir les arguments: %s" | 3956 | msgstr "Impossible de parcourir les arguments: %s" |
3650 | 3957 | ||
3651 | #: plugins/check_procs.c:270 | 3958 | #: plugins/check_procs.c:331 |
3652 | #, c-format | 3959 | #, c-format |
3653 | msgid "Unable to read output\n" | 3960 | msgid "Unable to read output\n" |
3654 | msgstr "Impossible de lire les données en entrée\n" | 3961 | msgstr "Impossible de lire les données en entrée\n" |
3655 | 3962 | ||
3656 | #: plugins/check_procs.c:287 | 3963 | #: plugins/check_procs.c:348 |
3657 | #, c-format | 3964 | #, c-format |
3658 | msgid "%d warn out of " | 3965 | msgid "%d warn out of " |
3659 | msgstr "%d avertissements sur" | 3966 | msgstr "%d avertissements sur" |
3660 | 3967 | ||
3661 | #: plugins/check_procs.c:292 | 3968 | #: plugins/check_procs.c:353 |
3662 | #, c-format | 3969 | #, c-format |
3663 | msgid "%d crit, %d warn out of " | 3970 | msgid "%d crit, %d warn out of " |
3664 | msgstr "%d crit, %d alertes sur " | 3971 | msgstr "%d crit, %d alertes sur " |
3665 | 3972 | ||
3666 | #: plugins/check_procs.c:298 | 3973 | #: plugins/check_procs.c:359 |
3667 | #, c-format | 3974 | #, c-format |
3668 | msgid " with %s" | 3975 | msgid " with %s" |
3669 | msgstr " avec %s" | 3976 | msgstr " avec %s" |
3670 | 3977 | ||
3671 | #: plugins/check_procs.c:378 | 3978 | #: plugins/check_procs.c:453 |
3672 | msgid "Critical Process Count must be an integer!" | ||
3673 | msgstr "Critique Le total des processus doit être un nombre entier!" | ||
3674 | |||
3675 | #: plugins/check_procs.c:390 | ||
3676 | msgid "Warning Process Count must be an integer!" | ||
3677 | msgstr "Avertissement Le total des processus doit être un nombre entier!" | ||
3678 | |||
3679 | #: plugins/check_procs.c:398 | ||
3680 | msgid "Parent Process ID must be an integer!" | 3979 | msgid "Parent Process ID must be an integer!" |
3681 | msgstr "L'identifiant du processus parent doit être un entier!" | 3980 | msgstr "L'identifiant du processus parent doit être un entier!" |
3682 | 3981 | ||
3683 | #: plugins/check_procs.c:404 plugins/check_procs.c:518 | 3982 | #: plugins/check_procs.c:459 plugins/check_procs.c:586 |
3684 | #, c-format | 3983 | #, c-format |
3685 | msgid "%s%sSTATE = %s" | 3984 | msgid "%s%sSTATE = %s" |
3686 | msgstr "%s%sETAT = %s" | 3985 | msgstr "%s%sETAT = %s" |
3687 | 3986 | ||
3688 | #: plugins/check_procs.c:413 | 3987 | #: plugins/check_procs.c:468 |
3689 | msgid "UID was not found" | 3988 | msgid "UID was not found" |
3690 | msgstr "L'UID n'a pas été trouvé" | 3989 | msgstr "L'UID n'a pas été trouvé" |
3691 | 3990 | ||
3692 | #: plugins/check_procs.c:419 | 3991 | #: plugins/check_procs.c:474 |
3693 | msgid "User name was not found" | 3992 | msgid "User name was not found" |
3694 | msgstr "L'utilisateur n'a pas été trouvé" | 3993 | msgstr "L'utilisateur n'a pas été trouvé" |
3695 | 3994 | ||
3696 | #: plugins/check_procs.c:434 | 3995 | #: plugins/check_procs.c:489 |
3697 | #, c-format | 3996 | #, c-format |
3698 | msgid "%s%scommand name '%s'" | 3997 | msgid "%s%scommand name '%s'" |
3699 | msgstr "%s%snom de la commande '%s'" | 3998 | msgstr "%s%snom de la commande '%s'" |
3700 | 3999 | ||
3701 | #: plugins/check_procs.c:462 | 4000 | #: plugins/check_procs.c:524 |
3702 | msgid "RSS must be an integer!" | 4001 | msgid "RSS must be an integer!" |
3703 | msgstr "RSS doit être un entier!" | 4002 | msgstr "RSS doit être un entier!" |
3704 | 4003 | ||
3705 | #: plugins/check_procs.c:469 | 4004 | #: plugins/check_procs.c:531 |
3706 | msgid "VSZ must be an integer!" | 4005 | msgid "VSZ must be an integer!" |
3707 | msgstr "VSZ doit être un entier!" | 4006 | msgstr "VSZ doit être un entier!" |
3708 | 4007 | ||
3709 | #: plugins/check_procs.c:477 | 4008 | #: plugins/check_procs.c:539 |
3710 | msgid "PCPU must be a float!" | 4009 | msgid "PCPU must be a float!" |
3711 | msgstr "PCPU doit être un nombre en virgule flottante!" | 4010 | msgstr "PCPU doit être un nombre en virgule flottante!" |
3712 | 4011 | ||
3713 | #: plugins/check_procs.c:501 | 4012 | #: plugins/check_procs.c:563 |
3714 | msgid "Metric must be one of PROCS, VSZ, RSS, CPU, ELAPSED!" | 4013 | msgid "Metric must be one of PROCS, VSZ, RSS, CPU, ELAPSED!" |
3715 | msgstr "Metric doit être l'un des PROCS, VSZ, RSS, CPU, ELAPSED!" | 4014 | msgstr "Metric doit être l'un des PROCS, VSZ, RSS, CPU, ELAPSED!" |
3716 | 4015 | ||
3717 | #: plugins/check_procs.c:537 | 4016 | #: plugins/check_procs.c:694 |
3718 | #, c-format | ||
3719 | msgid "wmax (%d) cannot be greater than cmax (%d)\n" | ||
3720 | msgstr "wmax (%d) ne peut pas être plus grand que cmax (%d)\n" | ||
3721 | |||
3722 | #: plugins/check_procs.c:541 | ||
3723 | #, c-format | ||
3724 | msgid "wmin (%d) cannot be less than cmin (%d)\n" | ||
3725 | msgstr "wmin (%d) ne peut pas être plus petit que cmin (%d)\n" | ||
3726 | |||
3727 | #: plugins/check_procs.c:678 | ||
3728 | msgid "" | 4017 | msgid "" |
3729 | "Checks all processes and generates WARNING or CRITICAL states if the " | 4018 | "Checks all processes and generates WARNING or CRITICAL states if the " |
3730 | "specified" | 4019 | "specified" |
3731 | msgstr "" | 4020 | msgstr "" |
3732 | 4021 | ||
3733 | #: plugins/check_procs.c:679 | 4022 | #: plugins/check_procs.c:695 |
3734 | msgid "" | 4023 | msgid "" |
3735 | "metric is outside the required threshold ranges. The metric defaults to " | 4024 | "metric is outside the required threshold ranges. The metric defaults to " |
3736 | "number" | 4025 | "number" |
3737 | msgstr "" | 4026 | msgstr "" |
3738 | 4027 | ||
3739 | #: plugins/check_procs.c:680 | 4028 | #: plugins/check_procs.c:696 |
3740 | msgid "" | 4029 | msgid "" |
3741 | "of processes. Search filters can be applied to limit the processes to check." | 4030 | "of processes. Search filters can be applied to limit the processes to check." |
3742 | msgstr "" | 4031 | msgstr "" |
3743 | 4032 | ||
3744 | #: plugins/check_procs.c:689 | 4033 | #: plugins/check_procs.c:705 |
3745 | msgid "Generate warning state if metric is outside this range" | 4034 | msgid "Generate warning state if metric is outside this range" |
3746 | msgstr "" | 4035 | msgstr "" |
3747 | 4036 | ||
3748 | #: plugins/check_procs.c:691 | 4037 | #: plugins/check_procs.c:707 |
3749 | msgid "Generate critical state if metric is outside this range" | 4038 | msgid "Generate critical state if metric is outside this range" |
3750 | msgstr "" | 4039 | msgstr "" |
3751 | 4040 | ||
3752 | #: plugins/check_procs.c:693 | 4041 | #: plugins/check_procs.c:709 |
3753 | msgid "Check thresholds against metric. Valid types:" | 4042 | msgid "Check thresholds against metric. Valid types:" |
3754 | msgstr "" | 4043 | msgstr "" |
3755 | 4044 | ||
3756 | #: plugins/check_procs.c:694 | 4045 | #: plugins/check_procs.c:710 |
3757 | msgid "PROCS - number of processes (default)" | 4046 | msgid "PROCS - number of processes (default)" |
3758 | msgstr "PROCS - nombre de processus (défaut)" | 4047 | msgstr "PROCS - nombre de processus (défaut)" |
3759 | 4048 | ||
3760 | #: plugins/check_procs.c:695 | 4049 | #: plugins/check_procs.c:711 |
3761 | msgid "VSZ - virtual memory size" | 4050 | msgid "VSZ - virtual memory size" |
3762 | msgstr "VSZ - taille mémoire virtuelle" | 4051 | msgstr "VSZ - taille mémoire virtuelle" |
3763 | 4052 | ||
3764 | #: plugins/check_procs.c:696 | 4053 | #: plugins/check_procs.c:712 |
3765 | msgid "RSS - resident set memory size" | 4054 | msgid "RSS - resident set memory size" |
3766 | msgstr "" | 4055 | msgstr "" |
3767 | 4056 | ||
3768 | #: plugins/check_procs.c:697 | 4057 | #: plugins/check_procs.c:713 |
3769 | msgid "CPU - percentage CPU" | 4058 | msgid "CPU - percentage CPU" |
3770 | msgstr "CPU - pourcentage du processeur" | 4059 | msgstr "CPU - pourcentage du processeur" |
3771 | 4060 | ||
3772 | #: plugins/check_procs.c:700 | 4061 | #: plugins/check_procs.c:716 |
3773 | msgid "ELAPSED - time elapsed in seconds" | 4062 | msgid "ELAPSED - time elapsed in seconds" |
3774 | msgstr "ELAPSED - temps écoulé en secondes" | 4063 | msgstr "ELAPSED - temps écoulé en secondes" |
3775 | 4064 | ||
3776 | #: plugins/check_procs.c:705 | 4065 | #: plugins/check_procs.c:721 |
3777 | msgid "Extra information. Up to 3 verbosity levels" | 4066 | msgid "Extra information. Up to 3 verbosity levels" |
3778 | msgstr "informations supplémentaires. Jusqu'à 3 niveaux de verbosité" | 4067 | msgstr "informations supplémentaires. Jusqu'à 3 niveaux de verbosité" |
3779 | 4068 | ||
3780 | #: plugins/check_procs.c:710 | 4069 | #: plugins/check_procs.c:724 |
4070 | msgid "Filter own process the traditional way by PID instead of /proc/pid/exe" | ||
4071 | msgstr "" | ||
4072 | |||
4073 | #: plugins/check_procs.c:729 | ||
3781 | msgid "Only scan for processes that have, in the output of `ps`, one or" | 4074 | msgid "Only scan for processes that have, in the output of `ps`, one or" |
3782 | msgstr "" | 4075 | msgstr "" |
3783 | 4076 | ||
3784 | #: plugins/check_procs.c:711 | 4077 | #: plugins/check_procs.c:730 |
3785 | msgid "more of the status flags you specify (for example R, Z, S, RS," | 4078 | msgid "more of the status flags you specify (for example R, Z, S, RS," |
3786 | msgstr "" | 4079 | msgstr "" |
3787 | 4080 | ||
3788 | #: plugins/check_procs.c:712 | 4081 | #: plugins/check_procs.c:731 |
3789 | msgid "RSZDT, plus others based on the output of your 'ps' command)." | 4082 | msgid "RSZDT, plus others based on the output of your 'ps' command)." |
3790 | msgstr "" | 4083 | msgstr "" |
3791 | 4084 | ||
3792 | #: plugins/check_procs.c:714 | 4085 | #: plugins/check_procs.c:733 |
3793 | msgid "Only scan for children of the parent process ID indicated." | 4086 | msgid "Only scan for children of the parent process ID indicated." |
3794 | msgstr "" | 4087 | msgstr "" |
3795 | 4088 | ||
3796 | #: plugins/check_procs.c:716 | 4089 | #: plugins/check_procs.c:735 |
3797 | msgid "Only scan for processes with VSZ higher than indicated." | 4090 | msgid "Only scan for processes with VSZ higher than indicated." |
3798 | msgstr "" | 4091 | msgstr "" |
3799 | 4092 | ||
3800 | #: plugins/check_procs.c:718 | 4093 | #: plugins/check_procs.c:737 |
3801 | msgid "Only scan for processes with RSS higher than indicated." | 4094 | msgid "Only scan for processes with RSS higher than indicated." |
3802 | msgstr "" | 4095 | msgstr "" |
3803 | 4096 | ||
3804 | #: plugins/check_procs.c:720 | 4097 | #: plugins/check_procs.c:739 |
3805 | msgid "Only scan for processes with PCPU higher than indicated." | 4098 | msgid "Only scan for processes with PCPU higher than indicated." |
3806 | msgstr "" | 4099 | msgstr "" |
3807 | 4100 | ||
3808 | #: plugins/check_procs.c:722 | 4101 | #: plugins/check_procs.c:741 |
3809 | msgid "Only scan for processes with user name or ID indicated." | 4102 | msgid "Only scan for processes with user name or ID indicated." |
3810 | msgstr "" | 4103 | msgstr "" |
3811 | 4104 | ||
3812 | #: plugins/check_procs.c:724 | 4105 | #: plugins/check_procs.c:743 |
3813 | msgid "Only scan for processes with args that contain STRING." | 4106 | msgid "Only scan for processes with args that contain STRING." |
3814 | msgstr "" | 4107 | msgstr "" |
3815 | 4108 | ||
3816 | #: plugins/check_procs.c:726 | 4109 | #: plugins/check_procs.c:745 |
3817 | msgid "Only scan for processes with args that contain the regex STRING." | 4110 | msgid "Only scan for processes with args that contain the regex STRING." |
3818 | msgstr "" | 4111 | msgstr "" |
3819 | 4112 | ||
3820 | #: plugins/check_procs.c:728 | 4113 | #: plugins/check_procs.c:747 |
3821 | msgid "Only scan for exact matches of COMMAND (without path)." | 4114 | msgid "Only scan for exact matches of COMMAND (without path)." |
3822 | msgstr "" | 4115 | msgstr "" |
3823 | 4116 | ||
3824 | #: plugins/check_procs.c:730 | 4117 | #: plugins/check_procs.c:749 |
4118 | msgid "Only scan for non kernel threads (works on Linux only)." | ||
4119 | msgstr "" | ||
4120 | |||
4121 | #: plugins/check_procs.c:751 | ||
3825 | #, c-format | 4122 | #, c-format |
3826 | msgid "" | 4123 | msgid "" |
3827 | "\n" | 4124 | "\n" |
@@ -3836,7 +4133,7 @@ msgstr "" | |||
3836 | "est à l'intérieur du seuil\n" | 4133 | "est à l'intérieur du seuil\n" |
3837 | "\n" | 4134 | "\n" |
3838 | 4135 | ||
3839 | #: plugins/check_procs.c:735 | 4136 | #: plugins/check_procs.c:756 |
3840 | #, c-format | 4137 | #, c-format |
3841 | msgid "" | 4138 | msgid "" |
3842 | "This plugin checks the number of currently running processes and\n" | 4139 | "This plugin checks the number of currently running processes and\n" |
@@ -3853,27 +4150,27 @@ msgstr "" | |||
3853 | "état actuel (ex: 'Z'), ou par le nombre de processus en cours d'exécution\n" | 4150 | "état actuel (ex: 'Z'), ou par le nombre de processus en cours d'exécution\n" |
3854 | "\n" | 4151 | "\n" |
3855 | 4152 | ||
3856 | #: plugins/check_procs.c:744 | 4153 | #: plugins/check_procs.c:765 |
3857 | msgid "Warning if not two processes with command name portsentry." | 4154 | msgid "Warning if not two processes with command name portsentry." |
3858 | msgstr "" | 4155 | msgstr "" |
3859 | 4156 | ||
3860 | #: plugins/check_procs.c:745 | 4157 | #: plugins/check_procs.c:766 |
3861 | msgid "Critical if < 2 or > 1024 processes" | 4158 | msgid "Critical if < 2 or > 1024 processes" |
3862 | msgstr "" | 4159 | msgstr "" |
3863 | 4160 | ||
3864 | #: plugins/check_procs.c:747 | 4161 | #: plugins/check_procs.c:768 |
3865 | msgid "Warning alert if > 10 processes with command arguments containing" | 4162 | msgid "Warning alert if > 10 processes with command arguments containing" |
3866 | msgstr "" | 4163 | msgstr "" |
3867 | 4164 | ||
3868 | #: plugins/check_procs.c:748 | 4165 | #: plugins/check_procs.c:769 |
3869 | msgid "'/usr/local/bin/perl' and owned by root" | 4166 | msgid "'/usr/local/bin/perl' and owned by root" |
3870 | msgstr "" | 4167 | msgstr "" |
3871 | 4168 | ||
3872 | #: plugins/check_procs.c:750 | 4169 | #: plugins/check_procs.c:771 |
3873 | msgid "Alert if VSZ of any processes over 50K or 100K" | 4170 | msgid "Alert if VSZ of any processes over 50K or 100K" |
3874 | msgstr "" | 4171 | msgstr "" |
3875 | 4172 | ||
3876 | #: plugins/check_procs.c:752 | 4173 | #: plugins/check_procs.c:773 |
3877 | #, c-format | 4174 | #, c-format |
3878 | msgid "Alert if CPU of any processes over 10%% or 20%%" | 4175 | msgid "Alert if CPU of any processes over 10%% or 20%%" |
3879 | msgstr "" | 4176 | msgstr "" |
@@ -4004,7 +4301,7 @@ msgid "" | |||
4004 | msgstr "" | 4301 | msgstr "" |
4005 | 4302 | ||
4006 | #: plugins/check_radius.c:373 | 4303 | #: plugins/check_radius.c:373 |
4007 | msgid "in a process listing. This risk is exacerbated because nagios will" | 4304 | msgid "in a process listing. This risk is exacerbated because the monitor will" |
4008 | msgstr "" | 4305 | msgstr "" |
4009 | 4306 | ||
4010 | #: plugins/check_radius.c:374 | 4307 | #: plugins/check_radius.c:374 |
@@ -4034,7 +4331,7 @@ msgstr "Réponses REAL invalide reçue de l'hôte" | |||
4034 | msgid "Invalid REAL response received from host on port %d\n" | 4331 | msgid "Invalid REAL response received from host on port %d\n" |
4035 | msgstr "Réponses REAL invalide reçue de l'hôte sur le port %d\n" | 4332 | msgstr "Réponses REAL invalide reçue de l'hôte sur le port %d\n" |
4036 | 4333 | ||
4037 | #: plugins/check_real.c:184 plugins/check_tcp.c:292 | 4334 | #: plugins/check_real.c:184 plugins/check_tcp.c:311 |
4038 | #, c-format | 4335 | #, c-format |
4039 | msgid "No data received from host\n" | 4336 | msgid "No data received from host\n" |
4040 | msgstr "Pas de données reçues de l'hôte\n" | 4337 | msgstr "Pas de données reçues de l'hôte\n" |
@@ -4044,11 +4341,11 @@ msgstr "Pas de données reçues de l'hôte\n" | |||
4044 | msgid "REAL %s - %d second response time\n" | 4341 | msgid "REAL %s - %d second response time\n" |
4045 | msgstr "REAL %s - %d secondes de temps de réponse\n" | 4342 | msgstr "REAL %s - %d secondes de temps de réponse\n" |
4046 | 4343 | ||
4047 | #: plugins/check_real.c:336 plugins/check_smtp.c:576 plugins/check_ups.c:536 | 4344 | #: plugins/check_real.c:336 plugins/check_ups.c:536 |
4048 | msgid "Warning time must be a positive integer" | 4345 | msgid "Warning time must be a positive integer" |
4049 | msgstr "Le seuil d'avertissement doit être un entier positif" | 4346 | msgstr "Le seuil d'avertissement doit être un entier positif" |
4050 | 4347 | ||
4051 | #: plugins/check_real.c:345 plugins/check_smtp.c:567 plugins/check_ups.c:527 | 4348 | #: plugins/check_real.c:345 plugins/check_ups.c:527 |
4052 | msgid "Critical time must be a positive integer" | 4349 | msgid "Critical time must be a positive integer" |
4053 | msgstr "Le seuil critique doit être un entier positif" | 4350 | msgstr "Le seuil critique doit être un entier positif" |
4054 | 4351 | ||
@@ -4074,7 +4371,7 @@ msgstr "" | |||
4074 | msgid "This plugin will attempt to open an RTSP connection with the host." | 4371 | msgid "This plugin will attempt to open an RTSP connection with the host." |
4075 | msgstr "Ce plugin va essayer d'ouvrir un connexion RTSP avec l'hôte." | 4372 | msgstr "Ce plugin va essayer d'ouvrir un connexion RTSP avec l'hôte." |
4076 | 4373 | ||
4077 | #: plugins/check_real.c:438 plugins/check_smtp.c:808 | 4374 | #: plugins/check_real.c:438 plugins/check_smtp.c:830 |
4078 | msgid "Successul connects return STATE_OK, refusals and timeouts return" | 4375 | msgid "Successul connects return STATE_OK, refusals and timeouts return" |
4079 | msgstr "" | 4376 | msgstr "" |
4080 | 4377 | ||
@@ -4092,506 +4389,518 @@ msgstr "" | |||
4092 | msgid "values." | 4389 | msgid "values." |
4093 | msgstr "" | 4390 | msgstr "" |
4094 | 4391 | ||
4095 | #: plugins/check_smtp.c:146 plugins/check_swap.c:265 plugins/check_swap.c:271 | 4392 | #: plugins/check_smtp.c:150 plugins/check_swap.c:265 plugins/check_swap.c:271 |
4096 | #, c-format | 4393 | #, c-format |
4097 | msgid "malloc() failed!\n" | 4394 | msgid "malloc() failed!\n" |
4098 | msgstr "l'allocation mémoire à échoué!\n" | 4395 | msgstr "l'allocation mémoire à échoué!\n" |
4099 | 4396 | ||
4100 | #: plugins/check_smtp.c:150 | 4397 | #: plugins/check_smtp.c:154 |
4101 | #, c-format | 4398 | #, c-format |
4102 | msgid "gethostname() failed!\n" | 4399 | msgid "gethostname() failed!\n" |
4103 | msgstr "La commande gethostname() à échoué\n" | 4400 | msgstr "La commande gethostname() à échoué\n" |
4104 | 4401 | ||
4105 | #: plugins/check_smtp.c:185 plugins/check_smtp.c:209 | 4402 | #: plugins/check_smtp.c:189 plugins/check_smtp.c:213 |
4106 | #, c-format | 4403 | #, c-format |
4107 | msgid "recv() failed\n" | 4404 | msgid "recv() failed\n" |
4108 | msgstr "La commande recv() à échoué\n" | 4405 | msgstr "La commande recv() à échoué\n" |
4109 | 4406 | ||
4110 | #: plugins/check_smtp.c:196 | 4407 | #: plugins/check_smtp.c:200 |
4111 | #, c-format | 4408 | #, c-format |
4112 | msgid "Invalid SMTP response received from host: %s\n" | 4409 | msgid "Invalid SMTP response received from host: %s\n" |
4113 | msgstr "Réponse SMTP reçue de l'hôte invalide: %s\n" | 4410 | msgstr "Réponse SMTP reçue de l'hôte invalide: %s\n" |
4114 | 4411 | ||
4115 | #: plugins/check_smtp.c:198 | 4412 | #: plugins/check_smtp.c:202 |
4116 | #, c-format | 4413 | #, c-format |
4117 | msgid "Invalid SMTP response received from host on port %d: %s\n" | 4414 | msgid "Invalid SMTP response received from host on port %d: %s\n" |
4118 | msgstr "Réponse SMTP reçue de l'hôte sur le port %d invalide: %s\n" | 4415 | msgstr "Réponse SMTP reçue de l'hôte sur le port %d invalide: %s\n" |
4119 | 4416 | ||
4120 | #: plugins/check_smtp.c:219 | 4417 | #: plugins/check_smtp.c:223 |
4121 | #, c-format | 4418 | #, c-format |
4122 | msgid "WARNING - TLS not supported by server\n" | 4419 | msgid "WARNING - TLS not supported by server\n" |
4123 | msgstr "AVERTISSEMENT: - TLS n'est pas supporté par ce serveur\n" | 4420 | msgstr "AVERTISSEMENT: - TLS n'est pas supporté par ce serveur\n" |
4124 | 4421 | ||
4125 | #: plugins/check_smtp.c:231 | 4422 | #: plugins/check_smtp.c:235 |
4126 | #, c-format | 4423 | #, c-format |
4127 | msgid "Server does not support STARTTLS\n" | 4424 | msgid "Server does not support STARTTLS\n" |
4128 | msgstr "Le serveur ne supporte pas STARTTLS\n" | 4425 | msgstr "Le serveur ne supporte pas STARTTLS\n" |
4129 | 4426 | ||
4130 | #: plugins/check_smtp.c:237 | 4427 | #: plugins/check_smtp.c:241 |
4131 | #, c-format | 4428 | #, c-format |
4132 | msgid "CRITICAL - Cannot create SSL context.\n" | 4429 | msgid "CRITICAL - Cannot create SSL context.\n" |
4133 | msgstr "CRITIQUE - Impossible de créer le contexte SSL.\n" | 4430 | msgstr "CRITIQUE - Impossible de créer le contexte SSL.\n" |
4134 | 4431 | ||
4135 | #: plugins/check_smtp.c:257 | 4432 | #: plugins/check_smtp.c:261 |
4136 | msgid "SMTP UNKNOWN - Cannot send EHLO command via TLS." | 4433 | msgid "SMTP UNKNOWN - Cannot send EHLO command via TLS." |
4137 | msgstr "" | 4434 | msgstr "" |
4138 | 4435 | ||
4139 | #: plugins/check_smtp.c:262 | 4436 | #: plugins/check_smtp.c:266 |
4140 | #, c-format | 4437 | #, c-format |
4141 | msgid "sent %s" | 4438 | msgid "sent %s" |
4142 | msgstr "envoyé %s" | 4439 | msgstr "envoyé %s" |
4143 | 4440 | ||
4144 | #: plugins/check_smtp.c:264 | 4441 | #: plugins/check_smtp.c:268 |
4145 | msgid "SMTP UNKNOWN - Cannot read EHLO response via TLS." | 4442 | msgid "SMTP UNKNOWN - Cannot read EHLO response via TLS." |
4146 | msgstr "" | 4443 | msgstr "" |
4147 | 4444 | ||
4148 | #: plugins/check_smtp.c:276 | 4445 | #: plugins/check_smtp.c:303 plugins/check_snmp.c:806 |
4149 | msgid "CRITICAL - Cannot retrieve server certificate." | ||
4150 | msgstr "CRITIQUE - Impossible d'obtenir le certificat du serveur" | ||
4151 | |||
4152 | #: plugins/check_smtp.c:311 plugins/check_snmp.c:722 | ||
4153 | #, c-format | 4446 | #, c-format |
4154 | msgid "Could Not Compile Regular Expression" | 4447 | msgid "Could Not Compile Regular Expression" |
4155 | msgstr "Impossible de compiler l'expression rationnelle" | 4448 | msgstr "Impossible de compiler l'expression rationnelle" |
4156 | 4449 | ||
4157 | #: plugins/check_smtp.c:320 | 4450 | #: plugins/check_smtp.c:312 |
4158 | #, c-format | 4451 | #, c-format |
4159 | msgid "SMTP %s - Invalid response '%s' to command '%s'\n" | 4452 | msgid "SMTP %s - Invalid response '%s' to command '%s'\n" |
4160 | msgstr "SMTP %s - réponse invalide de '%s' à la commande '%s'\n" | 4453 | msgstr "SMTP %s - réponse invalide de '%s' à la commande '%s'\n" |
4161 | 4454 | ||
4162 | #: plugins/check_smtp.c:324 plugins/check_snmp.c:453 | 4455 | #: plugins/check_smtp.c:316 plugins/check_snmp.c:511 |
4163 | #, c-format | 4456 | #, c-format |
4164 | msgid "Execute Error: %s\n" | 4457 | msgid "Execute Error: %s\n" |
4165 | msgstr "Erreur d'exécution: %s\n" | 4458 | msgstr "Erreur d'exécution: %s\n" |
4166 | 4459 | ||
4167 | #: plugins/check_smtp.c:338 | 4460 | #: plugins/check_smtp.c:330 |
4168 | #, c-format | ||
4169 | msgid "no authuser specified, " | 4461 | msgid "no authuser specified, " |
4170 | msgstr "Pas d'utilisateur pour l'authentification spécifié, " | 4462 | msgstr "Pas d'utilisateur pour l'authentification spécifié, " |
4171 | 4463 | ||
4172 | #: plugins/check_smtp.c:343 | 4464 | #: plugins/check_smtp.c:335 |
4173 | #, c-format | ||
4174 | msgid "no authpass specified, " | 4465 | msgid "no authpass specified, " |
4175 | msgstr "pas de mot de passe spécifié, " | 4466 | msgstr "pas de mot de passe spécifié, " |
4176 | 4467 | ||
4177 | #: plugins/check_smtp.c:350 plugins/check_smtp.c:372 plugins/check_smtp.c:393 | 4468 | #: plugins/check_smtp.c:342 plugins/check_smtp.c:363 plugins/check_smtp.c:383 |
4178 | #: plugins/check_smtp.c:668 | 4469 | #: plugins/check_smtp.c:688 |
4179 | #, c-format | 4470 | #, c-format |
4180 | msgid "sent %s\n" | 4471 | msgid "sent %s\n" |
4181 | msgstr "envoyé %s\n" | 4472 | msgstr "envoyé %s\n" |
4182 | 4473 | ||
4183 | #: plugins/check_smtp.c:353 | 4474 | #: plugins/check_smtp.c:345 |
4184 | #, c-format | ||
4185 | msgid "recv() failed after AUTH LOGIN, " | 4475 | msgid "recv() failed after AUTH LOGIN, " |
4186 | msgstr "recv() à échoué après AUTH LOGIN, " | 4476 | msgstr "recv() à échoué après AUTH LOGIN, " |
4187 | 4477 | ||
4188 | #: plugins/check_smtp.c:358 plugins/check_smtp.c:380 plugins/check_smtp.c:401 | 4478 | #: plugins/check_smtp.c:350 plugins/check_smtp.c:371 plugins/check_smtp.c:391 |
4189 | #: plugins/check_smtp.c:679 | 4479 | #: plugins/check_smtp.c:699 |
4190 | #, c-format | 4480 | #, c-format |
4191 | msgid "received %s\n" | 4481 | msgid "received %s\n" |
4192 | msgstr "reçu %s\n" | 4482 | msgstr "reçu %s\n" |
4193 | 4483 | ||
4194 | #: plugins/check_smtp.c:362 | 4484 | #: plugins/check_smtp.c:354 |
4195 | #, c-format | ||
4196 | msgid "invalid response received after AUTH LOGIN, " | 4485 | msgid "invalid response received after AUTH LOGIN, " |
4197 | msgstr "Réponse invalide reçue après AUTH LOGIN, " | 4486 | msgstr "Réponse invalide reçue après AUTH LOGIN, " |
4198 | 4487 | ||
4199 | #: plugins/check_smtp.c:376 | 4488 | #: plugins/check_smtp.c:367 |
4200 | #, c-format | ||
4201 | msgid "recv() failed after sending authuser, " | 4489 | msgid "recv() failed after sending authuser, " |
4202 | msgstr "La commande recv() a échoué après authuser, " | 4490 | msgstr "La commande recv() a échoué après authuser, " |
4203 | 4491 | ||
4204 | #: plugins/check_smtp.c:384 | 4492 | #: plugins/check_smtp.c:375 |
4205 | #, c-format | ||
4206 | msgid "invalid response received after authuser, " | 4493 | msgid "invalid response received after authuser, " |
4207 | msgstr "Réponse invalide reçue après authuser, " | 4494 | msgstr "Réponse invalide reçue après authuser, " |
4208 | 4495 | ||
4209 | #: plugins/check_smtp.c:397 | 4496 | #: plugins/check_smtp.c:387 |
4210 | #, c-format | ||
4211 | msgid "recv() failed after sending authpass, " | 4497 | msgid "recv() failed after sending authpass, " |
4212 | msgstr "la commande recv() à échoué après authpass, " | 4498 | msgstr "la commande recv() à échoué après authpass, " |
4213 | 4499 | ||
4214 | #: plugins/check_smtp.c:405 | 4500 | #: plugins/check_smtp.c:395 |
4215 | #, c-format | ||
4216 | msgid "invalid response received after authpass, " | 4501 | msgid "invalid response received after authpass, " |
4217 | msgstr "Réponse invalide reçue après authpass, " | 4502 | msgstr "Réponse invalide reçue après authpass, " |
4218 | 4503 | ||
4219 | #: plugins/check_smtp.c:412 | 4504 | #: plugins/check_smtp.c:402 |
4220 | #, c-format | ||
4221 | msgid "only authtype LOGIN is supported, " | 4505 | msgid "only authtype LOGIN is supported, " |
4222 | msgstr "seul la méthode d'authentification LOGIN est supportée, " | 4506 | msgstr "seul la méthode d'authentification LOGIN est supportée, " |
4223 | 4507 | ||
4224 | #: plugins/check_smtp.c:436 | 4508 | #: plugins/check_smtp.c:426 |
4225 | #, c-format | 4509 | #, c-format |
4226 | msgid "SMTP %s - %s%.3f sec. response time%s%s|%s\n" | 4510 | msgid "SMTP %s - %s%.3f sec. response time%s%s|%s\n" |
4227 | msgstr "SMTP %s - %s%.3f sec. de temps de réponse%s%s|%s\n" | 4511 | msgstr "SMTP %s - %s%.3f sec. de temps de réponse%s%s|%s\n" |
4228 | 4512 | ||
4229 | #: plugins/check_smtp.c:543 plugins/check_smtp.c:555 | 4513 | #: plugins/check_smtp.c:536 plugins/check_smtp.c:548 |
4230 | #, c-format | 4514 | #, c-format |
4231 | msgid "Could not realloc() units [%d]\n" | 4515 | msgid "Could not realloc() units [%d]\n" |
4232 | msgstr "Impossible de réallouer des unités [%d]\n" | 4516 | msgstr "Impossible de réallouer des unités [%d]\n" |
4233 | 4517 | ||
4234 | #: plugins/check_smtp.c:603 | 4518 | #: plugins/check_smtp.c:556 |
4519 | #, fuzzy | ||
4520 | msgid "Critical time must be a positive" | ||
4521 | msgstr "Le seuil critique doit être un entier positif" | ||
4522 | |||
4523 | #: plugins/check_smtp.c:564 | ||
4524 | #, fuzzy | ||
4525 | msgid "Warning time must be a positive" | ||
4526 | msgstr "Le seuil d'avertissement doit être un entier positif" | ||
4527 | |||
4528 | #: plugins/check_smtp.c:611 | ||
4235 | msgid "SSL support not available - install OpenSSL and recompile" | 4529 | msgid "SSL support not available - install OpenSSL and recompile" |
4236 | msgstr "SSL n'est pas disponible - installer OpenSSL et recompilez" | 4530 | msgstr "SSL n'est pas disponible - installer OpenSSL et recompilez" |
4237 | 4531 | ||
4238 | #: plugins/check_smtp.c:674 | 4532 | #: plugins/check_smtp.c:679 plugins/check_smtp.c:684 |
4533 | #, c-format | ||
4534 | msgid "Connection closed by server before sending QUIT command\n" | ||
4535 | msgstr "" | ||
4536 | |||
4537 | #: plugins/check_smtp.c:694 | ||
4239 | #, c-format | 4538 | #, c-format |
4240 | msgid "recv() failed after QUIT." | 4539 | msgid "recv() failed after QUIT." |
4241 | msgstr "recv() à échoué après QUIT." | 4540 | msgstr "recv() à échoué après QUIT." |
4242 | 4541 | ||
4243 | #: plugins/check_smtp.c:676 | 4542 | #: plugins/check_smtp.c:696 |
4244 | #, c-format | 4543 | #, c-format |
4245 | msgid "Connection reset by peer." | 4544 | msgid "Connection reset by peer." |
4246 | msgstr "" | 4545 | msgstr "" |
4247 | 4546 | ||
4248 | #: plugins/check_smtp.c:764 | 4547 | #: plugins/check_smtp.c:784 |
4249 | msgid "This plugin will attempt to open an SMTP connection with the host." | 4548 | msgid "This plugin will attempt to open an SMTP connection with the host." |
4250 | msgstr "Ce plugin va essayer d'ouvrir un connexion SMTP avec l'hôte." | 4549 | msgstr "Ce plugin va essayer d'ouvrir un connexion SMTP avec l'hôte." |
4251 | 4550 | ||
4252 | #: plugins/check_smtp.c:778 | 4551 | #: plugins/check_smtp.c:798 |
4253 | #, c-format | 4552 | #, c-format |
4254 | msgid " String to expect in first line of server response (default: '%s')\n" | 4553 | msgid " String to expect in first line of server response (default: '%s')\n" |
4255 | msgstr "" | 4554 | msgstr "" |
4256 | " Texte attendu dans la première ligne de réponse du serveur (défaut: '%" | 4555 | " Texte attendu dans la première ligne de réponse du serveur (défaut: " |
4257 | "s')\n" | 4556 | "'%s')\n" |
4258 | 4557 | ||
4259 | #: plugins/check_smtp.c:780 | 4558 | #: plugins/check_smtp.c:800 |
4260 | msgid "SMTP command (may be used repeatedly)" | 4559 | msgid "SMTP command (may be used repeatedly)" |
4261 | msgstr "Commande SMTP (peut être utilisé plusieurs fois)" | 4560 | msgstr "Commande SMTP (peut être utilisé plusieurs fois)" |
4262 | 4561 | ||
4263 | #: plugins/check_smtp.c:782 | 4562 | #: plugins/check_smtp.c:802 |
4264 | msgid "Expected response to command (may be used repeatedly)" | 4563 | msgid "Expected response to command (may be used repeatedly)" |
4265 | msgstr "" | 4564 | msgstr "" |
4266 | 4565 | ||
4267 | #: plugins/check_smtp.c:784 | 4566 | #: plugins/check_smtp.c:804 |
4268 | msgid "FROM-address to include in MAIL command, required by Exchange 2000" | 4567 | msgid "FROM-address to include in MAIL command, required by Exchange 2000" |
4269 | msgstr "" | 4568 | msgstr "" |
4270 | 4569 | ||
4271 | #: plugins/check_smtp.c:786 | 4570 | #: plugins/check_smtp.c:806 |
4272 | msgid "FQDN used for HELO" | 4571 | msgid "FQDN used for HELO" |
4273 | msgstr "" | 4572 | msgstr "" |
4274 | 4573 | ||
4275 | #: plugins/check_smtp.c:789 plugins/check_tcp.c:633 | 4574 | #: plugins/check_smtp.c:809 plugins/check_tcp.c:665 |
4276 | msgid "Minimum number of days a certificate has to be valid." | 4575 | msgid "Minimum number of days a certificate has to be valid." |
4277 | msgstr "Nombre de jours minimum pour que le certificat soit valide." | 4576 | msgstr "Nombre de jours minimum pour que le certificat soit valide." |
4278 | 4577 | ||
4279 | #: plugins/check_smtp.c:791 | 4578 | #: plugins/check_smtp.c:811 |
4280 | msgid "Use STARTTLS for the connection." | 4579 | msgid "Use STARTTLS for the connection." |
4281 | msgstr "" | 4580 | msgstr "" |
4282 | 4581 | ||
4283 | #: plugins/check_smtp.c:795 | 4582 | #: plugins/check_smtp.c:815 |
4284 | msgid "SMTP AUTH type to check (default none, only LOGIN supported)" | 4583 | msgid "SMTP AUTH type to check (default none, only LOGIN supported)" |
4285 | msgstr "" | 4584 | msgstr "" |
4286 | 4585 | ||
4287 | #: plugins/check_smtp.c:797 | 4586 | #: plugins/check_smtp.c:817 |
4288 | msgid "SMTP AUTH username" | 4587 | msgid "SMTP AUTH username" |
4289 | msgstr "" | 4588 | msgstr "" |
4290 | 4589 | ||
4291 | #: plugins/check_smtp.c:799 | 4590 | #: plugins/check_smtp.c:819 |
4292 | msgid "SMTP AUTH password" | 4591 | msgid "SMTP AUTH password" |
4293 | msgstr "" | 4592 | msgstr "" |
4294 | 4593 | ||
4295 | #: plugins/check_smtp.c:809 | 4594 | #: plugins/check_smtp.c:821 |
4595 | msgid "Ignore failure when sending QUIT command to server" | ||
4596 | msgstr "" | ||
4597 | |||
4598 | #: plugins/check_smtp.c:831 | ||
4296 | msgid "STATE_CRITICAL, other errors return STATE_UNKNOWN. Successful" | 4599 | msgid "STATE_CRITICAL, other errors return STATE_UNKNOWN. Successful" |
4297 | msgstr "" | 4600 | msgstr "" |
4298 | 4601 | ||
4299 | #: plugins/check_smtp.c:810 | 4602 | #: plugins/check_smtp.c:832 |
4300 | msgid "connects, but incorrect reponse messages from the host result in" | 4603 | msgid "connects, but incorrect reponse messages from the host result in" |
4301 | msgstr "" | 4604 | msgstr "" |
4302 | 4605 | ||
4303 | #: plugins/check_smtp.c:811 | 4606 | #: plugins/check_smtp.c:833 |
4304 | msgid "STATE_WARNING return values." | 4607 | msgid "STATE_WARNING return values." |
4305 | msgstr "" | 4608 | msgstr "" |
4306 | 4609 | ||
4307 | #: plugins/check_snmp.c:299 | 4610 | #: plugins/check_snmp.c:169 plugins/check_snmp.c:582 |
4611 | msgid "Cannot malloc" | ||
4612 | msgstr "" | ||
4613 | |||
4614 | #: plugins/check_snmp.c:356 | ||
4308 | #, c-format | 4615 | #, c-format |
4309 | msgid "External command error: %s\n" | 4616 | msgid "External command error: %s\n" |
4310 | msgstr "Erreur d'exécution de commande externe: %s\n" | 4617 | msgstr "Erreur d'exécution de commande externe: %s\n" |
4311 | 4618 | ||
4312 | #: plugins/check_snmp.c:304 | 4619 | #: plugins/check_snmp.c:361 |
4313 | #, c-format | 4620 | #, c-format |
4314 | msgid "External command error with no output (return code: %d)\n" | 4621 | msgid "External command error with no output (return code: %d)\n" |
4315 | msgstr "" | 4622 | msgstr "" |
4316 | 4623 | ||
4317 | #: plugins/check_snmp.c:410 | 4624 | #: plugins/check_snmp.c:464 |
4318 | msgid "No valid data returned" | 4625 | #, fuzzy, c-format |
4626 | msgid "No valid data returned (%s)\n" | ||
4319 | msgstr "Pas de données valides reçues" | 4627 | msgstr "Pas de données valides reçues" |
4320 | 4628 | ||
4321 | #: plugins/check_snmp.c:417 | 4629 | #: plugins/check_snmp.c:475 |
4322 | msgid "Time duration between plugin calls is invalid" | 4630 | msgid "Time duration between plugin calls is invalid" |
4323 | msgstr "" | 4631 | msgstr "" |
4324 | 4632 | ||
4325 | #: plugins/check_snmp.c:513 | 4633 | #: plugins/check_snmp.c:588 |
4326 | msgid "Cannot malloc" | ||
4327 | msgstr "" | ||
4328 | |||
4329 | #: plugins/check_snmp.c:519 | ||
4330 | msgid "Cannot asprintf()" | 4634 | msgid "Cannot asprintf()" |
4331 | msgstr "" | 4635 | msgstr "" |
4332 | 4636 | ||
4333 | #: plugins/check_snmp.c:525 | 4637 | #: plugins/check_snmp.c:594 |
4334 | #, fuzzy | 4638 | #, fuzzy |
4335 | msgid "Cannot realloc()" | 4639 | msgid "Cannot realloc()" |
4336 | msgstr "Impossible de réallouer des unités\n" | 4640 | msgstr "Impossible de réallouer des unités\n" |
4337 | 4641 | ||
4338 | #: plugins/check_snmp.c:541 | 4642 | #: plugins/check_snmp.c:610 |
4339 | msgid "No previous data to calculate rate - assume okay" | 4643 | msgid "No previous data to calculate rate - assume okay" |
4340 | msgstr "" | 4644 | msgstr "" |
4341 | 4645 | ||
4342 | #: plugins/check_snmp.c:680 | 4646 | #: plugins/check_snmp.c:751 |
4343 | msgid "Retries interval must be a positive integer" | 4647 | msgid "Retries interval must be a positive integer" |
4344 | msgstr "L'intervalle pour les essais doit être un entier positif" | 4648 | msgstr "L'intervalle pour les essais doit être un entier positif" |
4345 | 4649 | ||
4346 | #: plugins/check_snmp.c:742 | 4650 | #: plugins/check_snmp.c:831 |
4347 | #, c-format | 4651 | #, c-format |
4348 | msgid "Could not reallocate labels[%d]" | 4652 | msgid "Could not reallocate labels[%d]" |
4349 | msgstr "Impossible de réallouer des labels[%d]" | 4653 | msgstr "Impossible de réallouer des labels[%d]" |
4350 | 4654 | ||
4351 | #: plugins/check_snmp.c:754 | 4655 | #: plugins/check_snmp.c:844 |
4352 | msgid "Could not reallocate labels\n" | 4656 | msgid "Could not reallocate labels\n" |
4353 | msgstr "Impossible de réallouer des labels\n" | 4657 | msgstr "Impossible de réallouer des labels\n" |
4354 | 4658 | ||
4355 | #: plugins/check_snmp.c:771 | 4659 | #: plugins/check_snmp.c:860 |
4356 | #, c-format | 4660 | #, c-format |
4357 | msgid "Could not reallocate units [%d]\n" | 4661 | msgid "Could not reallocate units [%d]\n" |
4358 | msgstr "Impossible de réallouer des unités [%d]\n" | 4662 | msgstr "Impossible de réallouer des unités [%d]\n" |
4359 | 4663 | ||
4360 | #: plugins/check_snmp.c:783 | 4664 | #: plugins/check_snmp.c:872 |
4361 | msgid "Could not realloc() units\n" | 4665 | msgid "Could not realloc() units\n" |
4362 | msgstr "Impossible de réallouer des unités\n" | 4666 | msgstr "Impossible de réallouer des unités\n" |
4363 | 4667 | ||
4364 | #: plugins/check_snmp.c:800 | 4668 | #: plugins/check_snmp.c:889 |
4365 | #, fuzzy | 4669 | #, fuzzy |
4366 | msgid "Rate multiplier must be a positive integer" | 4670 | msgid "Rate multiplier must be a positive integer" |
4367 | msgstr "La taille du paquet doit être un entier positif" | 4671 | msgstr "La taille du paquet doit être un entier positif" |
4368 | 4672 | ||
4369 | #: plugins/check_snmp.c:852 | 4673 | #: plugins/check_snmp.c:947 |
4370 | msgid "No host specified\n" | 4674 | msgid "No host specified\n" |
4371 | msgstr "Pas d'hôte spécifié\n" | 4675 | msgstr "Pas d'hôte spécifié\n" |
4372 | 4676 | ||
4373 | #: plugins/check_snmp.c:856 | 4677 | #: plugins/check_snmp.c:951 |
4374 | msgid "No OIDs specified\n" | 4678 | msgid "No OIDs specified\n" |
4375 | msgstr "Pas de compteur spécifié\n" | 4679 | msgstr "Pas de compteur spécifié\n" |
4376 | 4680 | ||
4377 | #: plugins/check_snmp.c:878 | 4681 | #: plugins/check_snmp.c:973 |
4378 | msgid "Invalid seclevel" | 4682 | msgid "Invalid seclevel" |
4379 | msgstr "" | 4683 | msgstr "" |
4380 | 4684 | ||
4381 | #: plugins/check_snmp.c:885 plugins/check_snmp.c:888 plugins/check_snmp.c:906 | 4685 | #: plugins/check_snmp.c:980 plugins/check_snmp.c:983 plugins/check_snmp.c:1001 |
4382 | #, c-format | 4686 | #, c-format |
4383 | msgid "Required parameter: %s\n" | 4687 | msgid "Required parameter: %s\n" |
4384 | msgstr "" | 4688 | msgstr "" |
4385 | 4689 | ||
4386 | #: plugins/check_snmp.c:927 | 4690 | #: plugins/check_snmp.c:1022 |
4387 | msgid "Invalid SNMP version" | 4691 | msgid "Invalid SNMP version" |
4388 | msgstr "Version de SNMP invalide" | 4692 | msgstr "Version de SNMP invalide" |
4389 | 4693 | ||
4390 | #: plugins/check_snmp.c:944 | 4694 | #: plugins/check_snmp.c:1039 |
4391 | msgid "Unbalanced quotes\n" | 4695 | msgid "Unbalanced quotes\n" |
4392 | msgstr "Guillemets manquants\n" | 4696 | msgstr "Guillemets manquants\n" |
4393 | 4697 | ||
4394 | #: plugins/check_snmp.c:993 | 4698 | #: plugins/check_snmp.c:1088 |
4395 | msgid "Check status of remote machines and obtain system information via SNMP" | 4699 | msgid "Check status of remote machines and obtain system information via SNMP" |
4396 | msgstr "" | 4700 | msgstr "" |
4397 | "Vérifie l'état des machines distantes et obtient l'information système via " | 4701 | "Vérifie l'état des machines distantes et obtient l'information système via " |
4398 | "SNMP" | 4702 | "SNMP" |
4399 | 4703 | ||
4400 | #: plugins/check_snmp.c:1006 | 4704 | #: plugins/check_snmp.c:1101 |
4401 | msgid "Use SNMP GETNEXT instead of SNMP GET" | 4705 | msgid "Use SNMP GETNEXT instead of SNMP GET" |
4402 | msgstr "Utiliser SNMP GETNEXT au lieu de SNMP GET" | 4706 | msgstr "Utiliser SNMP GETNEXT au lieu de SNMP GET" |
4403 | 4707 | ||
4404 | #: plugins/check_snmp.c:1008 | 4708 | #: plugins/check_snmp.c:1103 |
4405 | msgid "SNMP protocol version" | 4709 | msgid "SNMP protocol version" |
4406 | msgstr "Version du protocole SNMP" | 4710 | msgstr "Version du protocole SNMP" |
4407 | 4711 | ||
4408 | #: plugins/check_snmp.c:1010 | 4712 | #: plugins/check_snmp.c:1105 |
4409 | msgid "SNMPv3 securityLevel" | 4713 | msgid "SNMPv3 securityLevel" |
4410 | msgstr "Niveau de sécurité SNMPv3 (securityLevel)" | 4714 | msgstr "Niveau de sécurité SNMPv3 (securityLevel)" |
4411 | 4715 | ||
4412 | #: plugins/check_snmp.c:1012 | 4716 | #: plugins/check_snmp.c:1107 |
4413 | msgid "SNMPv3 auth proto" | 4717 | msgid "SNMPv3 auth proto" |
4414 | msgstr "Protocole d'authentification SNMPv3" | 4718 | msgstr "Protocole d'authentification SNMPv3" |
4415 | 4719 | ||
4416 | #: plugins/check_snmp.c:1014 | 4720 | #: plugins/check_snmp.c:1109 |
4417 | msgid "SNMPv3 priv proto (default DES)" | 4721 | msgid "SNMPv3 priv proto (default DES)" |
4418 | msgstr "" | 4722 | msgstr "" |
4419 | 4723 | ||
4420 | #: plugins/check_snmp.c:1018 | 4724 | #: plugins/check_snmp.c:1113 |
4421 | msgid "Optional community string for SNMP communication" | 4725 | msgid "Optional community string for SNMP communication" |
4422 | msgstr "Communauté optionnelle pour la communication SNMP" | 4726 | msgstr "Communauté optionnelle pour la communication SNMP" |
4423 | 4727 | ||
4424 | #: plugins/check_snmp.c:1019 | 4728 | #: plugins/check_snmp.c:1114 |
4425 | msgid "default is" | 4729 | msgid "default is" |
4426 | msgstr "défaut:" | 4730 | msgstr "défaut:" |
4427 | 4731 | ||
4428 | #: plugins/check_snmp.c:1021 | 4732 | #: plugins/check_snmp.c:1116 |
4429 | msgid "SNMPv3 username" | 4733 | msgid "SNMPv3 username" |
4430 | msgstr "Nom d'utilisateur SNMPv3" | 4734 | msgstr "Nom d'utilisateur SNMPv3" |
4431 | 4735 | ||
4432 | #: plugins/check_snmp.c:1023 | 4736 | #: plugins/check_snmp.c:1118 |
4433 | msgid "SNMPv3 authentication password" | 4737 | msgid "SNMPv3 authentication password" |
4434 | msgstr "Mot de passe d'authentification SNMPv3" | 4738 | msgstr "Mot de passe d'authentification SNMPv3" |
4435 | 4739 | ||
4436 | #: plugins/check_snmp.c:1025 | 4740 | #: plugins/check_snmp.c:1120 |
4437 | msgid "SNMPv3 privacy password" | 4741 | msgid "SNMPv3 privacy password" |
4438 | msgstr "Mot de passe de confidentialité SNMPv3" | 4742 | msgstr "Mot de passe de confidentialité SNMPv3" |
4439 | 4743 | ||
4440 | #: plugins/check_snmp.c:1029 | 4744 | #: plugins/check_snmp.c:1124 |
4441 | msgid "Object identifier(s) or SNMP variables whose value you wish to query" | 4745 | msgid "Object identifier(s) or SNMP variables whose value you wish to query" |
4442 | msgstr "" | 4746 | msgstr "" |
4443 | 4747 | ||
4444 | #: plugins/check_snmp.c:1031 | 4748 | #: plugins/check_snmp.c:1126 |
4445 | msgid "" | 4749 | msgid "" |
4446 | "List of MIBS to be loaded (default = none if using numeric OIDs or 'ALL'" | 4750 | "List of MIBS to be loaded (default = none if using numeric OIDs or 'ALL'" |
4447 | msgstr "" | 4751 | msgstr "" |
4448 | 4752 | ||
4449 | #: plugins/check_snmp.c:1032 | 4753 | #: plugins/check_snmp.c:1127 |
4450 | msgid "for symbolic OIDs.)" | 4754 | msgid "for symbolic OIDs.)" |
4451 | msgstr "" | 4755 | msgstr "" |
4452 | 4756 | ||
4453 | #: plugins/check_snmp.c:1034 | 4757 | #: plugins/check_snmp.c:1129 |
4454 | msgid "Delimiter to use when parsing returned data. Default is" | 4758 | msgid "Delimiter to use when parsing returned data. Default is" |
4455 | msgstr "" | 4759 | msgstr "" |
4456 | 4760 | ||
4457 | #: plugins/check_snmp.c:1035 | 4761 | #: plugins/check_snmp.c:1130 |
4458 | msgid "Any data on the right hand side of the delimiter is considered" | 4762 | msgid "Any data on the right hand side of the delimiter is considered" |
4459 | msgstr "" | 4763 | msgstr "" |
4460 | 4764 | ||
4461 | #: plugins/check_snmp.c:1036 | 4765 | #: plugins/check_snmp.c:1131 |
4462 | msgid "to be the data that should be used in the evaluation." | 4766 | msgid "to be the data that should be used in the evaluation." |
4463 | msgstr "" | 4767 | msgstr "" |
4464 | 4768 | ||
4465 | #: plugins/check_snmp.c:1040 | 4769 | #: plugins/check_snmp.c:1135 |
4466 | msgid "Warning threshold range(s)" | 4770 | msgid "Warning threshold range(s)" |
4467 | msgstr "Valeurs pour le seuil d'avertissement" | 4771 | msgstr "Valeurs pour le seuil d'avertissement" |
4468 | 4772 | ||
4469 | #: plugins/check_snmp.c:1042 | 4773 | #: plugins/check_snmp.c:1137 |
4470 | msgid "Critical threshold range(s)" | 4774 | msgid "Critical threshold range(s)" |
4471 | msgstr "Valeurs pour le seuil critique" | 4775 | msgstr "Valeurs pour le seuil critique" |
4472 | 4776 | ||
4473 | #: plugins/check_snmp.c:1044 | 4777 | #: plugins/check_snmp.c:1139 |
4474 | msgid "Enable rate calculation. See 'Rate Calculation' below" | 4778 | msgid "Enable rate calculation. See 'Rate Calculation' below" |
4475 | msgstr "" | 4779 | msgstr "" |
4476 | 4780 | ||
4477 | #: plugins/check_snmp.c:1046 | 4781 | #: plugins/check_snmp.c:1141 |
4478 | msgid "" | 4782 | msgid "" |
4479 | "Converts rate per second. For example, set to 60 to convert to per minute" | 4783 | "Converts rate per second. For example, set to 60 to convert to per minute" |
4480 | msgstr "" | 4784 | msgstr "" |
4481 | 4785 | ||
4482 | #: plugins/check_snmp.c:1050 | 4786 | #: plugins/check_snmp.c:1143 |
4787 | msgid "Add/substract the specified OFFSET to numeric sensor data" | ||
4788 | msgstr "" | ||
4789 | |||
4790 | #: plugins/check_snmp.c:1147 | ||
4483 | msgid "Return OK state (for that OID) if STRING is an exact match" | 4791 | msgid "Return OK state (for that OID) if STRING is an exact match" |
4484 | msgstr "" | 4792 | msgstr "" |
4485 | 4793 | ||
4486 | #: plugins/check_snmp.c:1052 | 4794 | #: plugins/check_snmp.c:1149 |
4487 | msgid "" | 4795 | msgid "" |
4488 | "Return OK state (for that OID) if extended regular expression REGEX matches" | 4796 | "Return OK state (for that OID) if extended regular expression REGEX matches" |
4489 | msgstr "" | 4797 | msgstr "" |
4490 | 4798 | ||
4491 | #: plugins/check_snmp.c:1054 | 4799 | #: plugins/check_snmp.c:1151 |
4492 | msgid "" | 4800 | msgid "" |
4493 | "Return OK state (for that OID) if case-insensitive extended REGEX matches" | 4801 | "Return OK state (for that OID) if case-insensitive extended REGEX matches" |
4494 | msgstr "" | 4802 | msgstr "" |
4495 | 4803 | ||
4496 | #: plugins/check_snmp.c:1056 | 4804 | #: plugins/check_snmp.c:1153 |
4497 | msgid "Invert search result (CRITICAL if found)" | 4805 | msgid "Invert search result (CRITICAL if found)" |
4498 | msgstr "" | 4806 | msgstr "" |
4499 | 4807 | ||
4500 | #: plugins/check_snmp.c:1060 | 4808 | #: plugins/check_snmp.c:1157 |
4501 | msgid "Prefix label for output from plugin" | 4809 | msgid "Prefix label for output from plugin" |
4502 | msgstr "" | 4810 | msgstr "" |
4503 | 4811 | ||
4504 | #: plugins/check_snmp.c:1062 | 4812 | #: plugins/check_snmp.c:1159 |
4505 | msgid "Units label(s) for output data (e.g., 'sec.')." | 4813 | msgid "Units label(s) for output data (e.g., 'sec.')." |
4506 | msgstr "" | 4814 | msgstr "" |
4507 | 4815 | ||
4508 | #: plugins/check_snmp.c:1064 | 4816 | #: plugins/check_snmp.c:1161 |
4509 | msgid "Separates output on multiple OID requests" | 4817 | msgid "Separates output on multiple OID requests" |
4510 | msgstr "" | 4818 | msgstr "" |
4511 | 4819 | ||
4512 | #: plugins/check_snmp.c:1068 | 4820 | #: plugins/check_snmp.c:1165 |
4513 | msgid "Number of retries to be used in the requests" | 4821 | msgid "Number of retries to be used in the requests" |
4514 | msgstr "Le nombre d'essai pour les requêtes" | 4822 | msgstr "Le nombre d'essai pour les requêtes" |
4515 | 4823 | ||
4516 | #: plugins/check_snmp.c:1073 | 4824 | #: plugins/check_snmp.c:1168 |
4825 | msgid "Label performance data with OIDs instead of --label's" | ||
4826 | msgstr "" | ||
4827 | |||
4828 | #: plugins/check_snmp.c:1173 | ||
4517 | msgid "" | 4829 | msgid "" |
4518 | "This plugin uses the 'snmpget' command included with the NET-SNMP package." | 4830 | "This plugin uses the 'snmpget' command included with the NET-SNMP package." |
4519 | msgstr "" | 4831 | msgstr "" |
4520 | 4832 | ||
4521 | #: plugins/check_snmp.c:1074 | 4833 | #: plugins/check_snmp.c:1174 |
4522 | msgid "" | 4834 | msgid "" |
4523 | "if you don't have the package installed, you will need to download it from" | 4835 | "if you don't have the package installed, you will need to download it from" |
4524 | msgstr "" | 4836 | msgstr "" |
4525 | "Si vous n'avez pas le programme installé, vous devrez le télécharger depuis" | 4837 | "Si vous n'avez pas le programme installé, vous devrez le télécharger depuis" |
4526 | 4838 | ||
4527 | #: plugins/check_snmp.c:1075 | 4839 | #: plugins/check_snmp.c:1175 |
4528 | msgid "http://net-snmp.sourceforge.net before you can use this plugin." | 4840 | msgid "http://net-snmp.sourceforge.net before you can use this plugin." |
4529 | msgstr "http://net-snmp.sourceforge.net avant de pouvoir utiliser ce plugin." | 4841 | msgstr "http://net-snmp.sourceforge.net avant de pouvoir utiliser ce plugin." |
4530 | 4842 | ||
4531 | #: plugins/check_snmp.c:1079 | 4843 | #: plugins/check_snmp.c:1179 |
4844 | #, fuzzy | ||
4532 | msgid "" | 4845 | msgid "" |
4533 | "- Multiple OIDs may be indicated by a comma or space-delimited list (lists " | 4846 | "- Multiple OIDs (and labels) may be indicated by a comma or space-delimited " |
4534 | "with" | ||
4535 | msgstr "" | 4847 | msgstr "" |
4536 | "- Des OIDs multiples peuvent être séparées par des virgules ou des espaces" | 4848 | "- Des OIDs multiples peuvent être séparées par des virgules ou des espaces" |
4537 | 4849 | ||
4538 | #: plugins/check_snmp.c:1080 | 4850 | #: plugins/check_snmp.c:1180 |
4539 | msgid "internal spaces must be quoted). Maximum:" | 4851 | #, fuzzy |
4852 | msgid "list (lists with internal spaces must be quoted)." | ||
4540 | msgstr "(Les liste avec espaces doivent être entre guillemets). Max:" | 4853 | msgstr "(Les liste avec espaces doivent être entre guillemets). Max:" |
4541 | 4854 | ||
4542 | #: plugins/check_snmp.c:1080 | 4855 | #: plugins/check_snmp.c:1184 |
4543 | msgid "OIDs." | ||
4544 | msgstr "OIDs." | ||
4545 | |||
4546 | #: plugins/check_snmp.c:1084 | ||
4547 | msgid "" | 4856 | msgid "" |
4548 | "- When checking multiple OIDs, separate ranges by commas like '-w " | 4857 | "- When checking multiple OIDs, separate ranges by commas like '-w " |
4549 | "1:10,1:,:20'" | 4858 | "1:10,1:,:20'" |
4550 | msgstr "" | 4859 | msgstr "" |
4551 | 4860 | ||
4552 | #: plugins/check_snmp.c:1085 | 4861 | #: plugins/check_snmp.c:1185 |
4553 | msgid "- Note that only one string and one regex may be checked at present" | 4862 | msgid "- Note that only one string and one regex may be checked at present" |
4554 | msgstr "" | 4863 | msgstr "" |
4555 | 4864 | ||
4556 | #: plugins/check_snmp.c:1086 | 4865 | #: plugins/check_snmp.c:1186 |
4557 | msgid "" | 4866 | msgid "" |
4558 | "- All evaluation methods other than PR, STR, and SUBSTR expect that the value" | 4867 | "- All evaluation methods other than PR, STR, and SUBSTR expect that the value" |
4559 | msgstr "" | 4868 | msgstr "" |
4560 | 4869 | ||
4561 | #: plugins/check_snmp.c:1087 | 4870 | #: plugins/check_snmp.c:1187 |
4562 | msgid "returned from the SNMP query is an unsigned integer." | 4871 | msgid "returned from the SNMP query is an unsigned integer." |
4563 | msgstr "" | 4872 | msgstr "" |
4564 | 4873 | ||
4565 | #: plugins/check_snmp.c:1090 | 4874 | #: plugins/check_snmp.c:1190 |
4566 | msgid "Rate Calculation:" | 4875 | msgid "Rate Calculation:" |
4567 | msgstr "" | 4876 | msgstr "" |
4568 | 4877 | ||
4569 | #: plugins/check_snmp.c:1091 | 4878 | #: plugins/check_snmp.c:1191 |
4570 | msgid "In many places, SNMP returns counters that are only meaningful when" | 4879 | msgid "In many places, SNMP returns counters that are only meaningful when" |
4571 | msgstr "" | 4880 | msgstr "" |
4572 | 4881 | ||
4573 | #: plugins/check_snmp.c:1092 | 4882 | #: plugins/check_snmp.c:1192 |
4574 | msgid "calculating the counter difference since the last check. check_snmp" | 4883 | msgid "calculating the counter difference since the last check. check_snmp" |
4575 | msgstr "" | 4884 | msgstr "" |
4576 | 4885 | ||
4577 | #: plugins/check_snmp.c:1093 | 4886 | #: plugins/check_snmp.c:1193 |
4578 | msgid "saves the last state information in a file so that the rate per second" | 4887 | msgid "saves the last state information in a file so that the rate per second" |
4579 | msgstr "" | 4888 | msgstr "" |
4580 | 4889 | ||
4581 | #: plugins/check_snmp.c:1094 | 4890 | #: plugins/check_snmp.c:1194 |
4582 | msgid "can be calculated. Use the --rate option to save state information." | 4891 | msgid "can be calculated. Use the --rate option to save state information." |
4583 | msgstr "" | 4892 | msgstr "" |
4584 | 4893 | ||
4585 | #: plugins/check_snmp.c:1095 | 4894 | #: plugins/check_snmp.c:1195 |
4586 | msgid "" | 4895 | msgid "" |
4587 | "On the first run, there will be no prior state - this will return with OK." | 4896 | "On the first run, there will be no prior state - this will return with OK." |
4588 | msgstr "" | 4897 | msgstr "" |
4589 | 4898 | ||
4590 | #: plugins/check_snmp.c:1096 | 4899 | #: plugins/check_snmp.c:1196 |
4591 | msgid "The state is uniquely determined by the arguments to the plugin, so" | 4900 | msgid "The state is uniquely determined by the arguments to the plugin, so" |
4592 | msgstr "" | 4901 | msgstr "" |
4593 | 4902 | ||
4594 | #: plugins/check_snmp.c:1097 | 4903 | #: plugins/check_snmp.c:1197 |
4595 | msgid "changing the arguments will create a new state file." | 4904 | msgid "changing the arguments will create a new state file." |
4596 | msgstr "" | 4905 | msgstr "" |
4597 | 4906 | ||
@@ -4599,27 +4908,27 @@ msgstr "" | |||
4599 | msgid "Port number must be a positive integer" | 4908 | msgid "Port number must be a positive integer" |
4600 | msgstr "Le numéro du port doit être un nombre entier positif" | 4909 | msgstr "Le numéro du port doit être un nombre entier positif" |
4601 | 4910 | ||
4602 | #: plugins/check_ssh.c:228 | 4911 | #: plugins/check_ssh.c:232 |
4603 | #, c-format | 4912 | #, c-format |
4604 | msgid "Server answer: %s" | 4913 | msgid "Server answer: %s" |
4605 | msgstr "Réponse du serveur: %s" | 4914 | msgstr "Réponse du serveur: %s" |
4606 | 4915 | ||
4607 | #: plugins/check_ssh.c:247 | 4916 | #: plugins/check_ssh.c:251 |
4608 | #, c-format | 4917 | #, c-format |
4609 | msgid "SSH WARNING - %s (protocol %s) version mismatch, expected '%s'\n" | 4918 | msgid "SSH WARNING - %s (protocol %s) version mismatch, expected '%s'\n" |
4610 | msgstr "" | 4919 | msgstr "" |
4611 | "SSH AVERTISSEMENT - %s (protocole %s) différence de version, attendu'%s'\n" | 4920 | "SSH AVERTISSEMENT - %s (protocole %s) différence de version, attendu'%s'\n" |
4612 | 4921 | ||
4613 | #: plugins/check_ssh.c:254 | 4922 | #: plugins/check_ssh.c:260 |
4614 | #, c-format | 4923 | #, fuzzy, c-format |
4615 | msgid "SSH OK - %s (protocol %s)\n" | 4924 | msgid "SSH OK - %s (protocol %s) | %s\n" |
4616 | msgstr "SSH OK - %s (protocole %s)\n" | 4925 | msgstr "SSH OK - %s (protocole %s)\n" |
4617 | 4926 | ||
4618 | #: plugins/check_ssh.c:274 | 4927 | #: plugins/check_ssh.c:281 |
4619 | msgid "Try to connect to an SSH server at specified server and port" | 4928 | msgid "Try to connect to an SSH server at specified server and port" |
4620 | msgstr "Essaye de se connecter à un serveur SSH précisé à un port précis" | 4929 | msgstr "Essaye de se connecter à un serveur SSH précisé à un port précis" |
4621 | 4930 | ||
4622 | #: plugins/check_ssh.c:290 | 4931 | #: plugins/check_ssh.c:297 |
4623 | msgid "" | 4932 | msgid "" |
4624 | "Warn if string doesn't match expected server version (ex: OpenSSH_3.9p1)" | 4933 | "Warn if string doesn't match expected server version (ex: OpenSSH_3.9p1)" |
4625 | msgstr "" | 4934 | msgstr "" |
@@ -4727,51 +5036,46 @@ msgstr "" | |||
4727 | "Sur AIX, si -a est spécifié, le plugin utilise lsps -a, sinon il utilise " | 5036 | "Sur AIX, si -a est spécifié, le plugin utilise lsps -a, sinon il utilise " |
4728 | "lsps -s." | 5037 | "lsps -s." |
4729 | 5038 | ||
4730 | #: plugins/check_tcp.c:197 | 5039 | #: plugins/check_tcp.c:206 |
4731 | msgid "CRITICAL - Generic check_tcp called with unknown service\n" | 5040 | msgid "CRITICAL - Generic check_tcp called with unknown service\n" |
4732 | msgstr "" | 5041 | msgstr "" |
4733 | "CRITIQUE -check_tcp version générique utilisé avec un service inconnu\n" | 5042 | "CRITIQUE -check_tcp version générique utilisé avec un service inconnu\n" |
4734 | 5043 | ||
4735 | #: plugins/check_tcp.c:221 | 5044 | #: plugins/check_tcp.c:230 |
4736 | msgid "With UDP checks, a send/expect string must be specified." | 5045 | msgid "With UDP checks, a send/expect string must be specified." |
4737 | msgstr "" | 5046 | msgstr "" |
4738 | "Avec la surveillance UDP, une chaîne d'envoi et un chaîne de réponse doit " | 5047 | "Avec la surveillance UDP, une chaîne d'envoi et un chaîne de réponse doit " |
4739 | "être spécifiée." | 5048 | "être spécifiée." |
4740 | 5049 | ||
4741 | #: plugins/check_tcp.c:240 | 5050 | #: plugins/check_tcp.c:431 |
4742 | #, c-format | ||
4743 | msgid "CRITICAL - Cannot retrieve server certificate.\n" | ||
4744 | msgstr "CRITIQUE - Impossible d'obtenir le certificat du serveur.\n" | ||
4745 | |||
4746 | #: plugins/check_tcp.c:418 | ||
4747 | msgid "No arguments found" | 5051 | msgid "No arguments found" |
4748 | msgstr "Pas de paramètres" | 5052 | msgstr "Pas de paramètres" |
4749 | 5053 | ||
4750 | #: plugins/check_tcp.c:519 | 5054 | #: plugins/check_tcp.c:534 |
4751 | msgid "Maxbytes must be a positive integer" | 5055 | msgid "Maxbytes must be a positive integer" |
4752 | msgstr "Maxbytes doit être un entier positif" | 5056 | msgstr "Maxbytes doit être un entier positif" |
4753 | 5057 | ||
4754 | #: plugins/check_tcp.c:537 | 5058 | #: plugins/check_tcp.c:552 |
4755 | msgid "Refuse must be one of ok, warn, crit" | 5059 | msgid "Refuse must be one of ok, warn, crit" |
4756 | msgstr "Refuse doit être parmis ok, warn, crit" | 5060 | msgstr "Refuse doit être parmis ok, warn, crit" |
4757 | 5061 | ||
4758 | #: plugins/check_tcp.c:547 | 5062 | #: plugins/check_tcp.c:562 |
4759 | msgid "Mismatch must be one of ok, warn, crit" | 5063 | msgid "Mismatch must be one of ok, warn, crit" |
4760 | msgstr "Mismatch doit être parmis ok, warn, crit" | 5064 | msgstr "Mismatch doit être parmis ok, warn, crit" |
4761 | 5065 | ||
4762 | #: plugins/check_tcp.c:553 | 5066 | #: plugins/check_tcp.c:568 |
4763 | msgid "Delay must be a positive integer" | 5067 | msgid "Delay must be a positive integer" |
4764 | msgstr "Delay doit être un entier positif" | 5068 | msgstr "Delay doit être un entier positif" |
4765 | 5069 | ||
4766 | #: plugins/check_tcp.c:581 | 5070 | #: plugins/check_tcp.c:613 |
4767 | msgid "You must provide a server address" | 5071 | msgid "You must provide a server address" |
4768 | msgstr "Vous devez fournir une adresse serveur" | 5072 | msgstr "Vous devez fournir une adresse serveur" |
4769 | 5073 | ||
4770 | #: plugins/check_tcp.c:583 | 5074 | #: plugins/check_tcp.c:615 |
4771 | msgid "Invalid hostname, address or socket" | 5075 | msgid "Invalid hostname, address or socket" |
4772 | msgstr "Adresse/Nom/Socket invalide" | 5076 | msgstr "Adresse/Nom/Socket invalide" |
4773 | 5077 | ||
4774 | #: plugins/check_tcp.c:597 | 5078 | #: plugins/check_tcp.c:629 |
4775 | #, c-format | 5079 | #, c-format |
4776 | msgid "" | 5080 | msgid "" |
4777 | "This plugin tests %s connections with the specified host (or unix socket).\n" | 5081 | "This plugin tests %s connections with the specified host (or unix socket).\n" |
@@ -4780,7 +5084,7 @@ msgstr "" | |||
4780 | "Ce plugin teste %s connections avec l'hôte spécifié (ou socket unix).\n" | 5084 | "Ce plugin teste %s connections avec l'hôte spécifié (ou socket unix).\n" |
4781 | "\n" | 5085 | "\n" |
4782 | 5086 | ||
4783 | #: plugins/check_tcp.c:610 | 5087 | #: plugins/check_tcp.c:642 |
4784 | msgid "" | 5088 | msgid "" |
4785 | "Can use \\n, \\r, \\t or \\ in send or quit string. Must come before send or " | 5089 | "Can use \\n, \\r, \\t or \\ in send or quit string. Must come before send or " |
4786 | "quit option" | 5090 | "quit option" |
@@ -4788,55 +5092,59 @@ msgstr "" | |||
4788 | "Permet d'utiliser \\n, \\r, \\t ou \\ dans la chaîne de caractères send ou " | 5092 | "Permet d'utiliser \\n, \\r, \\t ou \\ dans la chaîne de caractères send ou " |
4789 | "quit. Doit être placé avant ces dernières." | 5093 | "quit. Doit être placé avant ces dernières." |
4790 | 5094 | ||
4791 | #: plugins/check_tcp.c:611 | 5095 | #: plugins/check_tcp.c:643 |
4792 | msgid "Default: nothing added to send, \\r\\n added to end of quit" | 5096 | msgid "Default: nothing added to send, \\r\\n added to end of quit" |
4793 | msgstr "" | 5097 | msgstr "" |
4794 | "Par défaut: Rien n'est ajouté à send, \\r\\n est ajouté à la fin de quit" | 5098 | "Par défaut: Rien n'est ajouté à send, \\r\\n est ajouté à la fin de quit" |
4795 | 5099 | ||
4796 | #: plugins/check_tcp.c:613 | 5100 | #: plugins/check_tcp.c:645 |
4797 | msgid "String to send to the server" | 5101 | msgid "String to send to the server" |
4798 | msgstr "Chaîne de caractères à envoyer au serveur" | 5102 | msgstr "Chaîne de caractères à envoyer au serveur" |
4799 | 5103 | ||
4800 | #: plugins/check_tcp.c:615 | 5104 | #: plugins/check_tcp.c:647 |
4801 | msgid "String to expect in server response" | 5105 | msgid "String to expect in server response" |
4802 | msgstr "Chaîne de caractères à attendre en réponse" | 5106 | msgstr "Chaîne de caractères à attendre en réponse" |
4803 | 5107 | ||
4804 | #: plugins/check_tcp.c:615 | 5108 | #: plugins/check_tcp.c:647 |
4805 | msgid "(may be repeated)" | 5109 | msgid "(may be repeated)" |
4806 | msgstr "(peut être utilisé plusieurs fois)" | 5110 | msgstr "(peut être utilisé plusieurs fois)" |
4807 | 5111 | ||
4808 | #: plugins/check_tcp.c:617 | 5112 | #: plugins/check_tcp.c:649 |
4809 | msgid "All expect strings need to occur in server response. Default is any" | 5113 | msgid "All expect strings need to occur in server response. Default is any" |
4810 | msgstr "" | 5114 | msgstr "" |
4811 | "Toutes les chaînes attendus (expect) doivent être repérés dans la réponse. " | 5115 | "Toutes les chaînes attendus (expect) doivent être repérés dans la réponse. " |
4812 | "Par défaut, n'importe laquelle suffit." | 5116 | "Par défaut, n'importe laquelle suffit." |
4813 | 5117 | ||
4814 | #: plugins/check_tcp.c:619 | 5118 | #: plugins/check_tcp.c:651 |
4815 | msgid "String to send server to initiate a clean close of the connection" | 5119 | msgid "String to send server to initiate a clean close of the connection" |
4816 | msgstr "Chaîne de caractères à envoyer pour fermer gracieusement la connection" | 5120 | msgstr "Chaîne de caractères à envoyer pour fermer gracieusement la connection" |
4817 | 5121 | ||
4818 | #: plugins/check_tcp.c:621 | 5122 | #: plugins/check_tcp.c:653 |
4819 | msgid "Accept TCP refusals with states ok, warn, crit (default: crit)" | 5123 | msgid "Accept TCP refusals with states ok, warn, crit (default: crit)" |
4820 | msgstr "" | 5124 | msgstr "" |
4821 | 5125 | ||
4822 | #: plugins/check_tcp.c:623 | 5126 | #: plugins/check_tcp.c:655 |
4823 | msgid "" | 5127 | msgid "" |
4824 | "Accept expected string mismatches with states ok, warn, crit (default: warn)" | 5128 | "Accept expected string mismatches with states ok, warn, crit (default: warn)" |
4825 | msgstr "" | 5129 | msgstr "" |
4826 | 5130 | ||
4827 | #: plugins/check_tcp.c:625 | 5131 | #: plugins/check_tcp.c:657 |
4828 | msgid "Hide output from TCP socket" | 5132 | msgid "Hide output from TCP socket" |
4829 | msgstr "Cacher la réponse provenant du socket TCP" | 5133 | msgstr "Cacher la réponse provenant du socket TCP" |
4830 | 5134 | ||
4831 | #: plugins/check_tcp.c:627 | 5135 | #: plugins/check_tcp.c:659 |
4832 | msgid "Close connection once more than this number of bytes are received" | 5136 | msgid "Close connection once more than this number of bytes are received" |
4833 | msgstr "" | 5137 | msgstr "" |
4834 | 5138 | ||
4835 | #: plugins/check_tcp.c:629 | 5139 | #: plugins/check_tcp.c:661 |
4836 | msgid "Seconds to wait between sending string and polling for response" | 5140 | msgid "Seconds to wait between sending string and polling for response" |
4837 | msgstr "" | 5141 | msgstr "" |
4838 | 5142 | ||
4839 | #: plugins/check_tcp.c:635 | 5143 | #: plugins/check_tcp.c:666 |
5144 | msgid "1st is #days for warning, 2nd is critical (if not specified - 0)." | ||
5145 | msgstr "" | ||
5146 | |||
5147 | #: plugins/check_tcp.c:668 | ||
4840 | msgid "Use SSL for the connection." | 5148 | msgid "Use SSL for the connection." |
4841 | msgstr "" | 5149 | msgstr "" |
4842 | 5150 | ||
@@ -4849,8 +5157,8 @@ msgstr "TEMPS INCONNU - impossible de se connecter au serveur %s, au port %d\n" | |||
4849 | #, c-format | 5157 | #, c-format |
4850 | msgid "TIME UNKNOWN - could not send UDP request to server %s, port %d\n" | 5158 | msgid "TIME UNKNOWN - could not send UDP request to server %s, port %d\n" |
4851 | msgstr "" | 5159 | msgstr "" |
4852 | "TEMPS INCONNU - impossible d'envoyer une requête UDP au serveur %s, au port %" | 5160 | "TEMPS INCONNU - impossible d'envoyer une requête UDP au serveur %s, au port " |
4853 | "d\n" | 5161 | "%d\n" |
4854 | 5162 | ||
4855 | #: plugins/check_time.c:139 | 5163 | #: plugins/check_time.c:139 |
4856 | #, c-format | 5164 | #, c-format |
@@ -4900,7 +5208,6 @@ msgid "Response time (sec.) necessary to result in critical status" | |||
4900 | msgstr "" | 5208 | msgstr "" |
4901 | 5209 | ||
4902 | #: plugins/check_ups.c:144 | 5210 | #: plugins/check_ups.c:144 |
4903 | #, c-format | ||
4904 | msgid "On Battery, Low Battery" | 5211 | msgid "On Battery, Low Battery" |
4905 | msgstr "Sur Batterie, Batterie faible" | 5212 | msgstr "Sur Batterie, Batterie faible" |
4906 | 5213 | ||
@@ -4953,7 +5260,6 @@ msgid ", Unknown" | |||
4953 | msgstr ", Inconnu" | 5260 | msgstr ", Inconnu" |
4954 | 5261 | ||
4955 | #: plugins/check_ups.c:324 | 5262 | #: plugins/check_ups.c:324 |
4956 | #, c-format | ||
4957 | msgid "UPS does not support any available options\n" | 5263 | msgid "UPS does not support any available options\n" |
4958 | msgstr "L'UPS ne supporte aucune des options disponibles\n" | 5264 | msgstr "L'UPS ne supporte aucune des options disponibles\n" |
4959 | 5265 | ||
@@ -5070,108 +5376,108 @@ msgstr "" | |||
5070 | msgid "http://www.networkupstools.org" | 5376 | msgid "http://www.networkupstools.org" |
5071 | msgstr "" | 5377 | msgstr "" |
5072 | 5378 | ||
5073 | #: plugins/check_users.c:92 | 5379 | #: plugins/check_users.c:110 |
5074 | #, c-format | 5380 | #, c-format |
5075 | msgid "# users=%d" | 5381 | msgid "# users=%d" |
5076 | msgstr "# utilisateurs=%d" | 5382 | msgstr "# utilisateurs=%d" |
5077 | 5383 | ||
5078 | #: plugins/check_users.c:115 | 5384 | #: plugins/check_users.c:133 |
5079 | msgid "Unable to read output" | 5385 | msgid "Unable to read output" |
5080 | msgstr "Impossible de lire les données en entrée" | 5386 | msgstr "Impossible de lire les données en entrée" |
5081 | 5387 | ||
5082 | #: plugins/check_users.c:122 | 5388 | #: plugins/check_users.c:140 |
5083 | #, c-format | 5389 | #, c-format |
5084 | msgid "USERS %s - %d users currently logged in |%s\n" | 5390 | msgid "USERS %s - %d users currently logged in |%s\n" |
5085 | msgstr "UTILISATEURS %s - %d utilisateurs actuellement connectés sur |%s\n" | 5391 | msgstr "UTILISATEURS %s - %d utilisateurs actuellement connectés sur |%s\n" |
5086 | 5392 | ||
5087 | #: plugins/check_users.c:207 | 5393 | #: plugins/check_users.c:219 |
5088 | msgid "This plugin checks the number of users currently logged in on the local" | 5394 | msgid "This plugin checks the number of users currently logged in on the local" |
5089 | msgstr "" | 5395 | msgstr "" |
5090 | "Ce plugin vérifie le nombre d'utilisateurs actuellement connecté sur le " | 5396 | "Ce plugin vérifie le nombre d'utilisateurs actuellement connecté sur le " |
5091 | "système local" | 5397 | "système local" |
5092 | 5398 | ||
5093 | #: plugins/check_users.c:208 | 5399 | #: plugins/check_users.c:220 |
5094 | msgid "" | 5400 | msgid "" |
5095 | "system and generates an error if the number exceeds the thresholds specified." | 5401 | "system and generates an error if the number exceeds the thresholds specified." |
5096 | msgstr "et génère une erreur si le nombre excède le seuil spécifié." | 5402 | msgstr "et génère une erreur si le nombre excède le seuil spécifié." |
5097 | 5403 | ||
5098 | #: plugins/check_users.c:218 | 5404 | #: plugins/check_users.c:230 |
5099 | msgid "Set WARNING status if more than INTEGER users are logged in" | 5405 | msgid "Set WARNING status if more than INTEGER users are logged in" |
5100 | msgstr "" | 5406 | msgstr "" |
5101 | "Sortir avec un résultat AVERTISSEMENT si plus de INTEGER utilisateurs sont " | 5407 | "Sortir avec un résultat AVERTISSEMENT si plus de INTEGER utilisateurs sont " |
5102 | "connectés" | 5408 | "connectés" |
5103 | 5409 | ||
5104 | #: plugins/check_users.c:220 | 5410 | #: plugins/check_users.c:232 |
5105 | msgid "Set CRITICAL status if more than INTEGER users are logged in" | 5411 | msgid "Set CRITICAL status if more than INTEGER users are logged in" |
5106 | msgstr "" | 5412 | msgstr "" |
5107 | "Sortir avec un résultat CRITIQUE si plus de INTEGER utilisateurs sont " | 5413 | "Sortir avec un résultat CRITIQUE si plus de INTEGER utilisateurs sont " |
5108 | "connectés" | 5414 | "connectés" |
5109 | 5415 | ||
5110 | #: plugins/check_ide_smart.c:229 | 5416 | #: plugins/check_ide_smart.c:256 |
5111 | #, c-format | 5417 | #, c-format |
5112 | msgid "CRITICAL - Couldn't open device %s: %s\n" | 5418 | msgid "CRITICAL - Couldn't open device %s: %s\n" |
5113 | msgstr "Critique - Impossible d'ouvrir le périphérique %s: %s\n" | 5419 | msgstr "Critique - Impossible d'ouvrir le périphérique %s: %s\n" |
5114 | 5420 | ||
5115 | #: plugins/check_ide_smart.c:234 | 5421 | #: plugins/check_ide_smart.c:261 |
5116 | #, c-format | 5422 | #, c-format |
5117 | msgid "CRITICAL - SMART_CMD_ENABLE\n" | 5423 | msgid "CRITICAL - SMART_CMD_ENABLE\n" |
5118 | msgstr "CRITIQUE - SMART_CMD_ENABLE\n" | 5424 | msgstr "CRITIQUE - SMART_CMD_ENABLE\n" |
5119 | 5425 | ||
5120 | #: plugins/check_ide_smart.c:295 | 5426 | #: plugins/check_ide_smart.c:323 plugins/check_ide_smart.c:350 |
5121 | #, c-format | 5427 | #, c-format |
5122 | msgid "CRITICAL - SMART_READ_VALUES: %s\n" | 5428 | msgid "CRITICAL - SMART_READ_VALUES: %s\n" |
5123 | msgstr "CRITIQUE - SMART_READ_VALUES: %s\n" | 5429 | msgstr "CRITIQUE - SMART_READ_VALUES: %s\n" |
5124 | 5430 | ||
5125 | #: plugins/check_ide_smart.c:364 | 5431 | #: plugins/check_ide_smart.c:421 |
5126 | #, c-format | 5432 | #, c-format |
5127 | msgid "CRITICAL - %d Harddrive PreFailure%cDetected! %d/%d tests failed.\n" | 5433 | msgid "CRITICAL - %d Harddrive PreFailure%cDetected! %d/%d tests failed.\n" |
5128 | msgstr "" | 5434 | msgstr "" |
5129 | "CRITIQUE - %d État de pré-panne %c Détecté! %d/%d les tests on échoués.\n" | 5435 | "CRITIQUE - %d État de pré-panne %c Détecté! %d/%d les tests on échoués.\n" |
5130 | 5436 | ||
5131 | #: plugins/check_ide_smart.c:372 | 5437 | #: plugins/check_ide_smart.c:429 |
5132 | #, c-format | 5438 | #, c-format |
5133 | msgid "WARNING - %d Harddrive Advisor%s Detected. %d/%d tests failed.\n" | 5439 | msgid "WARNING - %d Harddrive Advisor%s Detected. %d/%d tests failed.\n" |
5134 | msgstr "" | 5440 | msgstr "" |
5135 | "AVERTISSEMENT - %d État de pré-panne %s Détecté! %d/%d les tests on " | 5441 | "AVERTISSEMENT - %d État de pré-panne %s Détecté! %d/%d les tests on " |
5136 | "échoués.\n" | 5442 | "échoués.\n" |
5137 | 5443 | ||
5138 | #: plugins/check_ide_smart.c:380 | 5444 | #: plugins/check_ide_smart.c:437 |
5139 | #, c-format | 5445 | #, c-format |
5140 | msgid "OK - Operational (%d/%d tests passed)\n" | 5446 | msgid "OK - Operational (%d/%d tests passed)\n" |
5141 | msgstr "OK - En fonctionnement (%d/%d les tests on été réussi)\n" | 5447 | msgstr "OK - En fonctionnement (%d/%d les tests on été réussi)\n" |
5142 | 5448 | ||
5143 | #: plugins/check_ide_smart.c:384 | 5449 | #: plugins/check_ide_smart.c:441 |
5144 | #, c-format | 5450 | #, c-format |
5145 | msgid "ERROR - Status '%d' unkown. %d/%d tests passed\n" | 5451 | msgid "ERROR - Status '%d' unknown. %d/%d tests passed\n" |
5146 | msgstr "ERREUR - État '%d' inconnu. %d/%d les tests on réussi\n" | 5452 | msgstr "ERREUR - État '%d' inconnu. %d/%d les tests on réussi\n" |
5147 | 5453 | ||
5148 | #: plugins/check_ide_smart.c:417 | 5454 | #: plugins/check_ide_smart.c:474 |
5149 | #, c-format | 5455 | #, c-format |
5150 | msgid "OffLineStatus=%d {%s}, AutoOffLine=%s, OffLineTimeout=%d minutes\n" | 5456 | msgid "OffLineStatus=%d {%s}, AutoOffLine=%s, OffLineTimeout=%d minutes\n" |
5151 | msgstr "" | 5457 | msgstr "" |
5152 | "Etat Hors Ligne=%d {%s}, Hors Ligne Auto=%s, Temps avant arrêt=%d minutes\n" | 5458 | "Etat Hors Ligne=%d {%s}, Hors Ligne Auto=%s, Temps avant arrêt=%d minutes\n" |
5153 | 5459 | ||
5154 | #: plugins/check_ide_smart.c:423 | 5460 | #: plugins/check_ide_smart.c:480 |
5155 | #, c-format | 5461 | #, c-format |
5156 | msgid "OffLineCapability=%d {%s %s %s}\n" | 5462 | msgid "OffLineCapability=%d {%s %s %s}\n" |
5157 | msgstr "Capacité Hors Ligne=%d {%s %s %s}\n" | 5463 | msgstr "Capacité Hors Ligne=%d {%s %s %s}\n" |
5158 | 5464 | ||
5159 | #: plugins/check_ide_smart.c:429 | 5465 | #: plugins/check_ide_smart.c:486 |
5160 | #, c-format | 5466 | #, c-format |
5161 | msgid "SmartRevision=%d, CheckSum=%d, SmartCapability=%d {%s %s}\n" | 5467 | msgid "SmartRevision=%d, CheckSum=%d, SmartCapability=%d {%s %s}\n" |
5162 | msgstr "Révision Smart=%d, Somme de contrôle=%d, Capacité Smart=%d {%s %s}\n" | 5468 | msgstr "Révision Smart=%d, Somme de contrôle=%d, Capacité Smart=%d {%s %s}\n" |
5163 | 5469 | ||
5164 | #: plugins/check_ide_smart.c:450 | 5470 | #: plugins/check_ide_smart.c:508 plugins/check_ide_smart.c:532 |
5165 | #, c-format | 5471 | #, c-format |
5166 | msgid "CRITICAL - %s: %s\n" | 5472 | msgid "CRITICAL - %s: %s\n" |
5167 | msgstr "CRITIQUE - %s: %s\n" | 5473 | msgstr "CRITIQUE - %s: %s\n" |
5168 | 5474 | ||
5169 | #: plugins/check_ide_smart.c:469 | 5475 | #: plugins/check_ide_smart.c:553 plugins/check_ide_smart.c:580 |
5170 | #, c-format | 5476 | #, c-format |
5171 | msgid "CRITICAL - SMART_READ_THRESHOLDS: %s\n" | 5477 | msgid "CRITICAL - SMART_READ_THRESHOLDS: %s\n" |
5172 | msgstr "CRITIQUE - SMART_READ_THRESHOLDS: %s\n" | 5478 | msgstr "CRITIQUE - SMART_READ_THRESHOLDS: %s\n" |
5173 | 5479 | ||
5174 | #: plugins/check_ide_smart.c:486 | 5480 | #: plugins/check_ide_smart.c:599 |
5175 | #, c-format | 5481 | #, c-format |
5176 | msgid "" | 5482 | msgid "" |
5177 | "This plugin checks a local hard drive with the (Linux specific) SMART " | 5483 | "This plugin checks a local hard drive with the (Linux specific) SMART " |
@@ -5180,41 +5486,41 @@ msgstr "" | |||
5180 | "Ce plugin vérifie un disque dur local à l'aide de l'interface SMART (pour " | 5486 | "Ce plugin vérifie un disque dur local à l'aide de l'interface SMART (pour " |
5181 | "Linux) [http://smartlinux.sourceforge.net/smart/index.php]." | 5487 | "Linux) [http://smartlinux.sourceforge.net/smart/index.php]." |
5182 | 5488 | ||
5183 | #: plugins/check_ide_smart.c:496 | 5489 | #: plugins/check_ide_smart.c:609 |
5184 | msgid "Select device DEVICE" | 5490 | msgid "Select device DEVICE" |
5185 | msgstr "" | 5491 | msgstr "" |
5186 | 5492 | ||
5187 | #: plugins/check_ide_smart.c:497 | 5493 | #: plugins/check_ide_smart.c:610 |
5188 | msgid "" | 5494 | msgid "" |
5189 | "Note: if the device is selected with this option, _no_ other options are " | 5495 | "Note: if the device is selected with this option, _no_ other options are " |
5190 | "accepted" | 5496 | "accepted" |
5191 | msgstr "" | 5497 | msgstr "" |
5192 | 5498 | ||
5193 | #: plugins/check_ide_smart.c:499 | 5499 | #: plugins/check_ide_smart.c:612 |
5194 | msgid "Perform immediately offline tests" | 5500 | msgid "Perform immediately offline tests" |
5195 | msgstr "" | 5501 | msgstr "" |
5196 | 5502 | ||
5197 | #: plugins/check_ide_smart.c:501 | 5503 | #: plugins/check_ide_smart.c:614 |
5198 | msgid "Returns the number of failed tests" | 5504 | msgid "Returns the number of failed tests" |
5199 | msgstr "" | 5505 | msgstr "" |
5200 | 5506 | ||
5201 | #: plugins/check_ide_smart.c:503 | 5507 | #: plugins/check_ide_smart.c:616 |
5202 | msgid "Turn on automatic offline tests" | 5508 | msgid "Turn on automatic offline tests" |
5203 | msgstr "" | 5509 | msgstr "" |
5204 | 5510 | ||
5205 | #: plugins/check_ide_smart.c:505 | 5511 | #: plugins/check_ide_smart.c:618 |
5206 | msgid "Turn off automatic offline tests" | 5512 | msgid "Turn off automatic offline tests" |
5207 | msgstr "" | 5513 | msgstr "" |
5208 | 5514 | ||
5209 | #: plugins/check_ide_smart.c:507 | 5515 | #: plugins/check_ide_smart.c:620 |
5210 | msgid "Output suitable for Nagios" | 5516 | msgid "Output suitable for the monitoring system" |
5211 | msgstr "" | 5517 | msgstr "" |
5212 | 5518 | ||
5213 | #: plugins/negate.c:96 | 5519 | #: plugins/negate.c:99 |
5214 | msgid "No data returned from command\n" | 5520 | msgid "No data returned from command\n" |
5215 | msgstr "Pas de données reçues de la commande\n" | 5521 | msgstr "Pas de données reçues de la commande\n" |
5216 | 5522 | ||
5217 | #: plugins/negate.c:167 | 5523 | #: plugins/negate.c:170 |
5218 | msgid "" | 5524 | msgid "" |
5219 | "Timeout result must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) " | 5525 | "Timeout result must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) " |
5220 | "or integer (0-3)." | 5526 | "or integer (0-3)." |
@@ -5222,15 +5528,15 @@ msgstr "" | |||
5222 | "Le résultat de temps dépassé doit être un nom d'état valide (OK, WARNING, " | 5528 | "Le résultat de temps dépassé doit être un nom d'état valide (OK, WARNING, " |
5223 | "CRITICAL, UNKNOWN) ou un nombre entier (0-3)." | 5529 | "CRITICAL, UNKNOWN) ou un nombre entier (0-3)." |
5224 | 5530 | ||
5225 | #: plugins/negate.c:171 | 5531 | #: plugins/negate.c:174 |
5226 | msgid "" | 5532 | msgid "" |
5227 | "Ok must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or integer (0-" | 5533 | "Ok must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or integer " |
5228 | "3)." | 5534 | "(0-3)." |
5229 | msgstr "" | 5535 | msgstr "" |
5230 | "Ok doit être un nom d'état valide (OK, WARNING, CRITICAL, UNKNOWN) ou un " | 5536 | "Ok doit être un nom d'état valide (OK, WARNING, CRITICAL, UNKNOWN) ou un " |
5231 | "nombre entier (0-3)." | 5537 | "nombre entier (0-3)." |
5232 | 5538 | ||
5233 | #: plugins/negate.c:177 | 5539 | #: plugins/negate.c:180 |
5234 | msgid "" | 5540 | msgid "" |
5235 | "Warning must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or " | 5541 | "Warning must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or " |
5236 | "integer (0-3)." | 5542 | "integer (0-3)." |
@@ -5238,7 +5544,7 @@ msgstr "" | |||
5238 | "Warning doit être un nom d'état valide (OK, WARNING, CRITICAL, UNKNOWN) ou " | 5544 | "Warning doit être un nom d'état valide (OK, WARNING, CRITICAL, UNKNOWN) ou " |
5239 | "un nombre entier (0-3)." | 5545 | "un nombre entier (0-3)." |
5240 | 5546 | ||
5241 | #: plugins/negate.c:182 | 5547 | #: plugins/negate.c:185 |
5242 | msgid "" | 5548 | msgid "" |
5243 | "Critical must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or " | 5549 | "Critical must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or " |
5244 | "integer (0-3)." | 5550 | "integer (0-3)." |
@@ -5246,7 +5552,7 @@ msgstr "" | |||
5246 | "Critical doit être un nom d'état valide (OK, WARNING, CRITICAL, UNKNOWN) ou " | 5552 | "Critical doit être un nom d'état valide (OK, WARNING, CRITICAL, UNKNOWN) ou " |
5247 | "un nombre entier (0-3)." | 5553 | "un nombre entier (0-3)." |
5248 | 5554 | ||
5249 | #: plugins/negate.c:187 | 5555 | #: plugins/negate.c:190 |
5250 | msgid "" | 5556 | msgid "" |
5251 | "Unknown must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or " | 5557 | "Unknown must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or " |
5252 | "integer (0-3)." | 5558 | "integer (0-3)." |
@@ -5254,33 +5560,33 @@ msgstr "" | |||
5254 | "Unknown doit être un nom d'état valide (OK, WARNING, CRITICAL, UNKNOWN) ou " | 5560 | "Unknown doit être un nom d'état valide (OK, WARNING, CRITICAL, UNKNOWN) ou " |
5255 | "un nombre entier (0-3)." | 5561 | "un nombre entier (0-3)." |
5256 | 5562 | ||
5257 | #: plugins/negate.c:214 | 5563 | #: plugins/negate.c:217 |
5258 | msgid "Require path to command" | 5564 | msgid "Require path to command" |
5259 | msgstr "Chemin vers la commande requis" | 5565 | msgstr "Chemin vers la commande requis" |
5260 | 5566 | ||
5261 | #: plugins/negate.c:243 | 5567 | #: plugins/negate.c:246 |
5262 | msgid "" | 5568 | msgid "" |
5263 | "Negates the status of a plugin (returns OK for CRITICAL and vice-versa)." | 5569 | "Negates the status of a plugin (returns OK for CRITICAL and vice-versa)." |
5264 | msgstr "" | 5570 | msgstr "" |
5265 | "Inverse le statut d'un plugin (retourne OK pour CRITIQUE et vice-versa)." | 5571 | "Inverse le statut d'un plugin (retourne OK pour CRITIQUE et vice-versa)." |
5266 | 5572 | ||
5267 | #: plugins/negate.c:244 | 5573 | #: plugins/negate.c:247 |
5268 | msgid "Additional switches can be used to control which state becomes what." | 5574 | msgid "Additional switches can be used to control which state becomes what." |
5269 | msgstr "" | 5575 | msgstr "" |
5270 | "Des options additionnelles peuvent être utilisées pour contrôler quel état " | 5576 | "Des options additionnelles peuvent être utilisées pour contrôler quel état " |
5271 | "devient quoi." | 5577 | "devient quoi." |
5272 | 5578 | ||
5273 | #: plugins/negate.c:253 | 5579 | #: plugins/negate.c:256 |
5274 | msgid "Keep timeout longer than the plugin timeout to retain CRITICAL status." | 5580 | msgid "Keep timeout longer than the plugin timeout to retain CRITICAL status." |
5275 | msgstr "" | 5581 | msgstr "" |
5276 | "Utilisez un délai de réponse plus long que celui du plugin afin de conserver " | 5582 | "Utilisez un délai de réponse plus long que celui du plugin afin de conserver " |
5277 | "les résultats CRITIQUE" | 5583 | "les résultats CRITIQUE" |
5278 | 5584 | ||
5279 | #: plugins/negate.c:255 | 5585 | #: plugins/negate.c:258 |
5280 | msgid "Custom result on Negate timeouts; see below for STATUS definition\n" | 5586 | msgid "Custom result on Negate timeouts; see below for STATUS definition\n" |
5281 | msgstr "" | 5587 | msgstr "" |
5282 | 5588 | ||
5283 | #: plugins/negate.c:261 | 5589 | #: plugins/negate.c:264 |
5284 | #, c-format | 5590 | #, c-format |
5285 | msgid "" | 5591 | msgid "" |
5286 | " STATUS can be 'OK', 'WARNING', 'CRITICAL' or 'UNKNOWN' without single\n" | 5592 | " STATUS can be 'OK', 'WARNING', 'CRITICAL' or 'UNKNOWN' without single\n" |
@@ -5288,97 +5594,97 @@ msgstr "" | |||
5288 | " STATUS peut être 'OK', 'WARNING', 'CRITICAL' ou 'UNKNOWN' sans les " | 5594 | " STATUS peut être 'OK', 'WARNING', 'CRITICAL' ou 'UNKNOWN' sans les " |
5289 | "simple\n" | 5595 | "simple\n" |
5290 | 5596 | ||
5291 | #: plugins/negate.c:262 | 5597 | #: plugins/negate.c:265 |
5292 | #, c-format | 5598 | #, c-format |
5293 | msgid "" | 5599 | msgid "" |
5294 | " quotes. Numeric values are accepted. If nothing is specified, permutes\n" | 5600 | " quotes. Numeric values are accepted. If nothing is specified, permutes\n" |
5295 | msgstr " quotes. Les valeurs numériques sont acceptées. Si rien n'est\n" | 5601 | msgstr " quotes. Les valeurs numériques sont acceptées. Si rien n'est\n" |
5296 | 5602 | ||
5297 | #: plugins/negate.c:263 | 5603 | #: plugins/negate.c:266 |
5298 | #, c-format | 5604 | #, c-format |
5299 | msgid " OK and CRITICAL.\n" | 5605 | msgid " OK and CRITICAL.\n" |
5300 | msgstr " spécifié, inverse OK et CRITIQUE.\n" | 5606 | msgstr " spécifié, inverse OK et CRITIQUE.\n" |
5301 | 5607 | ||
5302 | #: plugins/negate.c:265 | 5608 | #: plugins/negate.c:268 |
5303 | #, c-format | 5609 | #, c-format |
5304 | msgid "" | 5610 | msgid "" |
5305 | " Substitute output text as well. Will only substitute text in CAPITALS\n" | 5611 | " Substitute output text as well. Will only substitute text in CAPITALS\n" |
5306 | msgstr "" | 5612 | msgstr "" |
5307 | 5613 | ||
5308 | #: plugins/negate.c:270 | 5614 | #: plugins/negate.c:273 |
5309 | msgid "Run check_ping and invert result. Must use full path to plugin" | 5615 | msgid "Run check_ping and invert result. Must use full path to plugin" |
5310 | msgstr "" | 5616 | msgstr "" |
5311 | "Execute check_ping et inverse le résultat. Le chemin complet du plug-in doit " | 5617 | "Execute check_ping et inverse le résultat. Le chemin complet du plug-in doit " |
5312 | "être spécifié" | 5618 | "être spécifié" |
5313 | 5619 | ||
5314 | #: plugins/negate.c:272 | 5620 | #: plugins/negate.c:275 |
5315 | msgid "This will return OK instead of WARNING and UNKNOWN instead of CRITICAL" | 5621 | msgid "This will return OK instead of WARNING and UNKNOWN instead of CRITICAL" |
5316 | msgstr "" | 5622 | msgstr "" |
5317 | "Ceci retournera OK au lieu de AVERTISSEMENT et INCONNU au lieu de CRITIQUE" | 5623 | "Ceci retournera OK au lieu de AVERTISSEMENT et INCONNU au lieu de CRITIQUE" |
5318 | 5624 | ||
5319 | #: plugins/negate.c:275 | 5625 | #: plugins/negate.c:278 |
5320 | msgid "" | 5626 | msgid "" |
5321 | "This plugin is a wrapper to take the output of another plugin and invert it." | 5627 | "This plugin is a wrapper to take the output of another plugin and invert it." |
5322 | msgstr "" | 5628 | msgstr "" |
5323 | "Ce plugin est un adaptateur qui prends l'état d'un autre plug-in et " | 5629 | "Ce plugin est un adaptateur qui prends l'état d'un autre plug-in et " |
5324 | "l'inverse." | 5630 | "l'inverse." |
5325 | 5631 | ||
5326 | #: plugins/negate.c:276 | 5632 | #: plugins/negate.c:279 |
5327 | msgid "The full path of the plugin must be provided." | 5633 | msgid "The full path of the plugin must be provided." |
5328 | msgstr "Le chemin complet du plugin doit être spécifié." | 5634 | msgstr "Le chemin complet du plugin doit être spécifié." |
5329 | 5635 | ||
5330 | #: plugins/negate.c:277 | 5636 | #: plugins/negate.c:280 |
5331 | msgid "If the wrapped plugin returns OK, the wrapper will return CRITICAL." | 5637 | msgid "If the wrapped plugin returns OK, the wrapper will return CRITICAL." |
5332 | msgstr "Si le plugin executé retourne OK, l'adaptateur retournera CRITIQUE." | 5638 | msgstr "Si le plugin executé retourne OK, l'adaptateur retournera CRITIQUE." |
5333 | 5639 | ||
5334 | #: plugins/negate.c:278 | 5640 | #: plugins/negate.c:281 |
5335 | msgid "If the wrapped plugin returns CRITICAL, the wrapper will return OK." | 5641 | msgid "If the wrapped plugin returns CRITICAL, the wrapper will return OK." |
5336 | msgstr "Si le plugin executé retourne CRITIQUE, l'adaptateur retournera OK." | 5642 | msgstr "Si le plugin executé retourne CRITIQUE, l'adaptateur retournera OK." |
5337 | 5643 | ||
5338 | #: plugins/negate.c:279 | 5644 | #: plugins/negate.c:282 |
5339 | msgid "Otherwise, the output state of the wrapped plugin is unchanged." | 5645 | msgid "Otherwise, the output state of the wrapped plugin is unchanged." |
5340 | msgstr "Autrement, l'état du plugin executé reste inchangé." | 5646 | msgstr "Autrement, l'état du plugin executé reste inchangé." |
5341 | 5647 | ||
5342 | #: plugins/negate.c:281 | 5648 | #: plugins/negate.c:284 |
5343 | msgid "" | 5649 | msgid "" |
5344 | "Using timeout-result, it is possible to override the timeout behaviour or a" | 5650 | "Using timeout-result, it is possible to override the timeout behaviour or a" |
5345 | msgstr "" | 5651 | msgstr "" |
5346 | 5652 | ||
5347 | #: plugins/negate.c:282 | 5653 | #: plugins/negate.c:285 |
5348 | msgid "plugin by setting the negate timeout a bit lower." | 5654 | msgid "plugin by setting the negate timeout a bit lower." |
5349 | msgstr "" | 5655 | msgstr "" |
5350 | 5656 | ||
5351 | #: plugins/netutils.c:48 | 5657 | #: plugins/netutils.c:49 |
5352 | #, c-format | 5658 | #, c-format |
5353 | msgid "%s - Socket timeout after %d seconds\n" | 5659 | msgid "%s - Socket timeout after %d seconds\n" |
5354 | msgstr "%s - Le socket n'a pas répondu dans les %d secondes\n" | 5660 | msgstr "%s - Le socket n'a pas répondu dans les %d secondes\n" |
5355 | 5661 | ||
5356 | #: plugins/netutils.c:50 | 5662 | #: plugins/netutils.c:51 |
5357 | #, c-format | 5663 | #, c-format |
5358 | msgid "%s - Abnormal timeout after %d seconds\n" | 5664 | msgid "%s - Abnormal timeout after %d seconds\n" |
5359 | msgstr "%s - Dépassement anormal du temps de réponse après %d secondes\n" | 5665 | msgstr "%s - Dépassement anormal du temps de réponse après %d secondes\n" |
5360 | 5666 | ||
5361 | #: plugins/netutils.c:78 plugins/netutils.c:280 | 5667 | #: plugins/netutils.c:79 plugins/netutils.c:281 |
5362 | msgid "Send failed" | 5668 | msgid "Send failed" |
5363 | msgstr "L'envoi à échoué" | 5669 | msgstr "L'envoi à échoué" |
5364 | 5670 | ||
5365 | #: plugins/netutils.c:95 plugins/netutils.c:295 | 5671 | #: plugins/netutils.c:96 plugins/netutils.c:296 |
5366 | msgid "No data was received from host!" | 5672 | msgid "No data was received from host!" |
5367 | msgstr "Pas de données reçues de l'hôte!" | 5673 | msgstr "Pas de données reçues de l'hôte!" |
5368 | 5674 | ||
5369 | #: plugins/netutils.c:203 plugins/netutils.c:239 | 5675 | #: plugins/netutils.c:204 plugins/netutils.c:240 |
5370 | msgid "Socket creation failed" | 5676 | msgid "Socket creation failed" |
5371 | msgstr "La création du socket à échoué " | 5677 | msgstr "La création du socket à échoué " |
5372 | 5678 | ||
5373 | #: plugins/netutils.c:232 | 5679 | #: plugins/netutils.c:233 |
5374 | msgid "Supplied path too long unix domain socket" | 5680 | msgid "Supplied path too long unix domain socket" |
5375 | msgstr "Le chemin fourni est trop long pour un socket unix" | 5681 | msgstr "Le chemin fourni est trop long pour un socket unix" |
5376 | 5682 | ||
5377 | #: plugins/netutils.c:304 | 5683 | #: plugins/netutils.c:305 |
5378 | msgid "Receive failed" | 5684 | msgid "Receive failed" |
5379 | msgstr "La réception à échoué" | 5685 | msgstr "La réception à échoué" |
5380 | 5686 | ||
5381 | #: plugins/netutils.c:330 plugins-root/check_dhcp.c:1341 | 5687 | #: plugins/netutils.c:331 plugins-root/check_dhcp.c:1342 |
5382 | #, c-format | 5688 | #, c-format |
5383 | msgid "Invalid hostname/address - %s" | 5689 | msgid "Invalid hostname/address - %s" |
5384 | msgstr "Adresse/Nom invalide - %s" | 5690 | msgstr "Adresse/Nom invalide - %s" |
@@ -5420,18 +5726,22 @@ msgstr "" | |||
5420 | "Commande: %s</A>\n" | 5726 | "Commande: %s</A>\n" |
5421 | 5727 | ||
5422 | #: plugins/urlize.c:169 | 5728 | #: plugins/urlize.c:169 |
5423 | msgid "This plugin wraps the text output of another command (plugin)" | 5729 | #, fuzzy |
5730 | msgid "" | ||
5731 | "This plugin wraps the text output of another command (plugin) in HTML <A>" | ||
5424 | msgstr "" | 5732 | msgstr "" |
5733 | "Ce plugin est un adaptateur qui prends l'état d'un autre plug-in et " | ||
5734 | "l'inverse." | ||
5425 | 5735 | ||
5426 | #: plugins/urlize.c:170 | 5736 | #: plugins/urlize.c:170 |
5427 | msgid "" | 5737 | msgid "" |
5428 | "in HTML <A> tags, thus displaying the child plugin's output as a clickable " | 5738 | "tags, thus displaying the child plugin's output as a clickable link in " |
5429 | "link in" | 5739 | "compatible" |
5430 | msgstr "" | 5740 | msgstr "" |
5431 | 5741 | ||
5432 | #: plugins/urlize.c:171 | 5742 | #: plugins/urlize.c:171 |
5433 | msgid "" | 5743 | msgid "" |
5434 | "the Nagios status screen. This plugin returns the status of the invoked " | 5744 | "monitoring status screen. This plugin returns the status of the invoked " |
5435 | "plugin." | 5745 | "plugin." |
5436 | msgstr "" | 5746 | msgstr "" |
5437 | 5747 | ||
@@ -5464,20 +5774,25 @@ msgstr "" | |||
5464 | msgid "urlize http://example.com/ \"check_http -H example.com -r 'two words'\"" | 5774 | msgid "urlize http://example.com/ \"check_http -H example.com -r 'two words'\"" |
5465 | msgstr "" | 5775 | msgstr "" |
5466 | 5776 | ||
5467 | #: plugins/utils.c:171 | 5777 | #: plugins/utils.c:174 |
5468 | #, c-format | 5778 | #, c-format |
5469 | msgid "%s - Plugin timed out after %d seconds\n" | 5779 | msgid "%s - Plugin timed out after %d seconds\n" |
5470 | msgstr "%s - Le plugin n'as pas répondu dans les %d secondes\n" | 5780 | msgstr "%s - Le plugin n'as pas répondu dans les %d secondes\n" |
5471 | 5781 | ||
5472 | #: plugins/utils.c:466 | 5782 | #: plugins/utils.c:469 |
5473 | msgid "failed realloc in strpcpy\n" | 5783 | msgid "failed realloc in strpcpy\n" |
5474 | msgstr "La fonction realloc à échoué dans strpcpy\n" | 5784 | msgstr "La fonction realloc à échoué dans strpcpy\n" |
5475 | 5785 | ||
5476 | #: plugins/utils.c:508 | 5786 | #: plugins/utils.c:511 |
5477 | msgid "failed malloc in strscat\n" | 5787 | msgid "failed malloc in strscat\n" |
5478 | msgstr "La fonction malloc à échoué dans strscat\n" | 5788 | msgstr "La fonction malloc à échoué dans strscat\n" |
5479 | 5789 | ||
5480 | #: plugins/utils.h:140 | 5790 | #: plugins/utils.c:531 |
5791 | #, fuzzy | ||
5792 | msgid "failed malloc in xvasprintf\n" | ||
5793 | msgstr "La fonction malloc à échoué dans strscat\n" | ||
5794 | |||
5795 | #: plugins/utils.h:137 | ||
5481 | #, c-format | 5796 | #, c-format |
5482 | msgid "" | 5797 | msgid "" |
5483 | " %s (-h | --help) for detailed help\n" | 5798 | " %s (-h | --help) for detailed help\n" |
@@ -5486,7 +5801,7 @@ msgstr "" | |||
5486 | " %s (-h | --help) pour l'aide détaillée\n" | 5801 | " %s (-h | --help) pour l'aide détaillée\n" |
5487 | " %s (-V | --version) pour les informations relative à la version\n" | 5802 | " %s (-V | --version) pour les informations relative à la version\n" |
5488 | 5803 | ||
5489 | #: plugins/utils.h:144 | 5804 | #: plugins/utils.h:141 |
5490 | msgid "" | 5805 | msgid "" |
5491 | "\n" | 5806 | "\n" |
5492 | "Options:\n" | 5807 | "Options:\n" |
@@ -5502,7 +5817,7 @@ msgstr "" | |||
5502 | " -V, --version\n" | 5817 | " -V, --version\n" |
5503 | " Afficher les informations relative à la version\n" | 5818 | " Afficher les informations relative à la version\n" |
5504 | 5819 | ||
5505 | #: plugins/utils.h:151 | 5820 | #: plugins/utils.h:148 |
5506 | #, c-format | 5821 | #, c-format |
5507 | msgid "" | 5822 | msgid "" |
5508 | " -H, --hostname=ADDRESS\n" | 5823 | " -H, --hostname=ADDRESS\n" |
@@ -5515,7 +5830,7 @@ msgstr "" | |||
5515 | " -%c, --port=INTEGER\n" | 5830 | " -%c, --port=INTEGER\n" |
5516 | " Numéro de port (défaut: %s)\n" | 5831 | " Numéro de port (défaut: %s)\n" |
5517 | 5832 | ||
5518 | #: plugins/utils.h:157 | 5833 | #: plugins/utils.h:154 |
5519 | msgid "" | 5834 | msgid "" |
5520 | " -4, --use-ipv4\n" | 5835 | " -4, --use-ipv4\n" |
5521 | " Use IPv4 connection\n" | 5836 | " Use IPv4 connection\n" |
@@ -5527,16 +5842,18 @@ msgstr "" | |||
5527 | " -6, --use-ipv6\n" | 5842 | " -6, --use-ipv6\n" |
5528 | " Utiliser une connection IPv6\n" | 5843 | " Utiliser une connection IPv6\n" |
5529 | 5844 | ||
5530 | #: plugins/utils.h:163 | 5845 | #: plugins/utils.h:160 |
5846 | #, fuzzy | ||
5531 | msgid "" | 5847 | msgid "" |
5532 | " -v, --verbose\n" | 5848 | " -v, --verbose\n" |
5533 | " Show details for command-line debugging (Nagios may truncate output)\n" | 5849 | " Show details for command-line debugging (output may be truncated by\n" |
5850 | "\t\tthe monitoring system)\n" | ||
5534 | msgstr "" | 5851 | msgstr "" |
5535 | " -v, --verbose\n" | 5852 | " -v, --verbose\n" |
5536 | " Affiche les informations de déboguage en ligne de commande (Nagios peut " | 5853 | " Affiche les informations de déboguage en ligne de commande (Nagios peut " |
5537 | "tronquer la sortie)\n" | 5854 | "tronquer la sortie)\n" |
5538 | 5855 | ||
5539 | #: plugins/utils.h:167 | 5856 | #: plugins/utils.h:165 |
5540 | msgid "" | 5857 | msgid "" |
5541 | " -w, --warning=DOUBLE\n" | 5858 | " -w, --warning=DOUBLE\n" |
5542 | " Response time to result in warning status (seconds)\n" | 5859 | " Response time to result in warning status (seconds)\n" |
@@ -5548,7 +5865,7 @@ msgstr "" | |||
5548 | " -c, --critical=DOUBLE\n" | 5865 | " -c, --critical=DOUBLE\n" |
5549 | " Temps de réponse résultant en un état critique (secondes)\n" | 5866 | " Temps de réponse résultant en un état critique (secondes)\n" |
5550 | 5867 | ||
5551 | #: plugins/utils.h:173 | 5868 | #: plugins/utils.h:171 |
5552 | msgid "" | 5869 | msgid "" |
5553 | " -w, --warning=RANGE\n" | 5870 | " -w, --warning=RANGE\n" |
5554 | " Warning range (format: start:end). Alert if outside this range\n" | 5871 | " Warning range (format: start:end). Alert if outside this range\n" |
@@ -5561,7 +5878,7 @@ msgstr "" | |||
5561 | " -c, --critical=RANGE\n" | 5878 | " -c, --critical=RANGE\n" |
5562 | " Seuil critique\n" | 5879 | " Seuil critique\n" |
5563 | 5880 | ||
5564 | #: plugins/utils.h:179 | 5881 | #: plugins/utils.h:177 |
5565 | #, c-format | 5882 | #, c-format |
5566 | msgid "" | 5883 | msgid "" |
5567 | " -t, --timeout=INTEGER\n" | 5884 | " -t, --timeout=INTEGER\n" |
@@ -5570,49 +5887,54 @@ msgstr "" | |||
5570 | " -t, --timeout=INTEGER\n" | 5887 | " -t, --timeout=INTEGER\n" |
5571 | " Délais de connection en secondes (défaut: %d)\n" | 5888 | " Délais de connection en secondes (défaut: %d)\n" |
5572 | 5889 | ||
5573 | #: plugins/utils.h:184 | 5890 | #: plugins/utils.h:182 |
5891 | #, fuzzy | ||
5574 | msgid "" | 5892 | msgid "" |
5575 | " --extra-opts=[section][@file]\n" | 5893 | " --extra-opts=[section][@file]\n" |
5576 | " Read options from an ini file. See http://nagiosplugins.org/extra-opts\n" | 5894 | " Read options from an ini file. See\n" |
5895 | " https://www.monitoring-plugins.org/doc/extra-opts.html\n" | ||
5577 | " for usage and examples.\n" | 5896 | " for usage and examples.\n" |
5578 | msgstr "" | 5897 | msgstr "" |
5579 | " --extra-opts=[section][@file]\n" | 5898 | " --extra-opts=[section][@file]\n" |
5580 | " Lire les options d'un fichier ini. Voir http://nagiosplugins.org/extra-" | 5899 | " Lire les options d'un fichier ini. Voir\n" |
5581 | "opts\n" | 5900 | " https://www.monitoring-plugins.org/doc/extra-opts.html\n" |
5582 | " pour les instructions et examples.\n" | 5901 | " pour les instructions et examples.\n" |
5583 | 5902 | ||
5584 | #: plugins/utils.h:192 | 5903 | #: plugins/utils.h:190 |
5904 | #, fuzzy | ||
5585 | msgid "" | 5905 | msgid "" |
5586 | " See:\n" | 5906 | " See:\n" |
5587 | " http://nagiosplug.sourceforge.net/developer-guidelines." | 5907 | " https://www.monitoring-plugins.org/doc/guidelines.html#THRESHOLDFORMAT\n" |
5588 | "html#THRESHOLDFORMAT\n" | ||
5589 | " for THRESHOLD format and examples.\n" | 5908 | " for THRESHOLD format and examples.\n" |
5590 | msgstr "" | 5909 | msgstr "" |
5591 | " Voir:\n" | 5910 | " Voir:\n" |
5592 | " http://nagiosplug.sourceforge.net/developer-guidelines." | 5911 | " https://www.monitoring-plugins.org/doc/guidelines.html." |
5593 | "html#THRESHOLDFORMAT\n" | 5912 | "html#THRESHOLDFORMAT\n" |
5594 | " pour le format et examples des seuils (THRESHOLD).\n" | 5913 | " pour le format et examples des seuils (THRESHOLD).\n" |
5595 | 5914 | ||
5596 | #: plugins/utils.h:197 | 5915 | #: plugins/utils.h:195 |
5916 | #, fuzzy | ||
5597 | msgid "" | 5917 | msgid "" |
5598 | "\n" | 5918 | "\n" |
5599 | "Send email to nagios-users@lists.sourceforge.net if you have questions\n" | 5919 | "Send email to help@monitoring-plugins.org if you have questions regarding\n" |
5600 | "regarding use of this software. To submit patches or suggest improvements,\n" | 5920 | "use of this software. To submit patches or suggest improvements, send email\n" |
5601 | "send email to nagiosplug-devel@lists.sourceforge.net\n" | 5921 | "to devel@monitoring-plugins.org\n" |
5602 | "\n" | 5922 | "\n" |
5603 | msgstr "" | 5923 | msgstr "" |
5604 | "\n" | 5924 | "\n" |
5605 | "Envoyez un email à nagios-users@lists.sourceforge.net si vous avez des " | 5925 | "Envoyez un email à help@monitoring-plugins.org si vous avez des " |
5606 | "questions\n" | 5926 | "questions\n" |
5607 | "reliées à l'utilisation de ce logiciel. Pour envoyer des patches ou suggérer " | 5927 | "reliées à l'utilisation de ce logiciel. Pour envoyer des patches ou suggérer " |
5608 | "des\n" | 5928 | "des\n" |
5609 | "améliorations, envoyez un email à nagiosplug-devel@lists.sourceforge.net\n" | 5929 | "améliorations, envoyez un email à devel@monitoring-plugins.org\n" |
5610 | "\n" | 5930 | "\n" |
5611 | 5931 | ||
5612 | #: plugins/utils.h:202 | 5932 | #: plugins/utils.h:200 |
5933 | #, fuzzy | ||
5613 | msgid "" | 5934 | msgid "" |
5614 | "\n" | 5935 | "\n" |
5615 | "The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\n" | 5936 | "The Monitoring Plugins come with ABSOLUTELY NO WARRANTY. You may " |
5937 | "redistribute\n" | ||
5616 | "copies of the plugins under the terms of the GNU General Public License.\n" | 5938 | "copies of the plugins under the terms of the GNU General Public License.\n" |
5617 | "For more information about these matters, see the file named COPYING.\n" | 5939 | "For more information about these matters, see the file named COPYING.\n" |
5618 | msgstr "" | 5940 | msgstr "" |
@@ -5654,7 +5976,7 @@ msgstr "" | |||
5654 | "Erreur: Impossible d'obtenir l'adresse matérielle depuis %s erreur sysctl 2 " | 5976 | "Erreur: Impossible d'obtenir l'adresse matérielle depuis %s erreur sysctl 2 " |
5655 | "- %s.\n" | 5977 | "- %s.\n" |
5656 | 5978 | ||
5657 | #: plugins-root/check_dhcp.c:383 | 5979 | #: plugins-root/check_dhcp.c:388 |
5658 | #, c-format | 5980 | #, c-format |
5659 | msgid "" | 5981 | msgid "" |
5660 | "Error: can't find unit number in interface_name (%s) - expecting TypeNumber " | 5982 | "Error: can't find unit number in interface_name (%s) - expecting TypeNumber " |
@@ -5663,7 +5985,7 @@ msgstr "" | |||
5663 | "Erreur: impossible de trouver le numéro dans le nom de l'interface (%s).\n" | 5985 | "Erreur: impossible de trouver le numéro dans le nom de l'interface (%s).\n" |
5664 | "J'attendais le nom suivi du type ex lnc0.\n" | 5986 | "J'attendais le nom suivi du type ex lnc0.\n" |
5665 | 5987 | ||
5666 | #: plugins-root/check_dhcp.c:388 plugins-root/check_dhcp.c:400 | 5988 | #: plugins-root/check_dhcp.c:393 plugins-root/check_dhcp.c:405 |
5667 | #, c-format | 5989 | #, c-format |
5668 | msgid "" | 5990 | msgid "" |
5669 | "Error: can't read MAC address from DLPI streams interface for device %s unit " | 5991 | "Error: can't read MAC address from DLPI streams interface for device %s unit " |
@@ -5672,7 +5994,7 @@ msgstr "" | |||
5672 | "Erreur: impossible de lire l'adresse MAC depuis l'interface DLPI pour le \n" | 5994 | "Erreur: impossible de lire l'adresse MAC depuis l'interface DLPI pour le \n" |
5673 | "périphérique %s numéro %d.\n" | 5995 | "périphérique %s numéro %d.\n" |
5674 | 5996 | ||
5675 | #: plugins-root/check_dhcp.c:406 | 5997 | #: plugins-root/check_dhcp.c:411 |
5676 | #, c-format | 5998 | #, c-format |
5677 | msgid "" | 5999 | msgid "" |
5678 | "Error: can't get MAC address for this architecture. Use the --mac option.\n" | 6000 | "Error: can't get MAC address for this architecture. Use the --mac option.\n" |
@@ -5680,32 +6002,32 @@ msgstr "" | |||
5680 | "Erreur: impossible d'obtenir l'adresse MAC sur cette architecture. Utilisez " | 6002 | "Erreur: impossible d'obtenir l'adresse MAC sur cette architecture. Utilisez " |
5681 | "l'option --mac.\n" | 6003 | "l'option --mac.\n" |
5682 | 6004 | ||
5683 | #: plugins-root/check_dhcp.c:425 | 6005 | #: plugins-root/check_dhcp.c:430 |
5684 | #, c-format | 6006 | #, c-format |
5685 | msgid "Error: Cannot determine IP address of interface %s\n" | 6007 | msgid "Error: Cannot determine IP address of interface %s\n" |
5686 | msgstr "Erreur: Impossible d'obtenir l'adresse IP de l'interface %s\n" | 6008 | msgstr "Erreur: Impossible d'obtenir l'adresse IP de l'interface %s\n" |
5687 | 6009 | ||
5688 | #: plugins-root/check_dhcp.c:433 | 6010 | #: plugins-root/check_dhcp.c:438 |
5689 | #, c-format | 6011 | #, c-format |
5690 | msgid "Error: Cannot get interface IP address on this platform.\n" | 6012 | msgid "Error: Cannot get interface IP address on this platform.\n" |
5691 | msgstr "Erreur: Impossible d'obtenir l'adresse IP sur cette architecture.\n" | 6013 | msgstr "Erreur: Impossible d'obtenir l'adresse IP sur cette architecture.\n" |
5692 | 6014 | ||
5693 | #: plugins-root/check_dhcp.c:438 | 6015 | #: plugins-root/check_dhcp.c:443 |
5694 | #, c-format | 6016 | #, c-format |
5695 | msgid "Pretending to be relay client %s\n" | 6017 | msgid "Pretending to be relay client %s\n" |
5696 | msgstr "" | 6018 | msgstr "" |
5697 | 6019 | ||
5698 | #: plugins-root/check_dhcp.c:523 | 6020 | #: plugins-root/check_dhcp.c:528 |
5699 | #, c-format | 6021 | #, c-format |
5700 | msgid "DHCPDISCOVER to %s port %d\n" | 6022 | msgid "DHCPDISCOVER to %s port %d\n" |
5701 | msgstr "DHCPDISCOVER vers %s port %d\n" | 6023 | msgstr "DHCPDISCOVER vers %s port %d\n" |
5702 | 6024 | ||
5703 | #: plugins-root/check_dhcp.c:575 | 6025 | #: plugins-root/check_dhcp.c:580 |
5704 | #, c-format | 6026 | #, c-format |
5705 | msgid "Result=ERROR\n" | 6027 | msgid "Result=ERROR\n" |
5706 | msgstr "Résultat=ERREUR\n" | 6028 | msgstr "Résultat=ERREUR\n" |
5707 | 6029 | ||
5708 | #: plugins-root/check_dhcp.c:581 | 6030 | #: plugins-root/check_dhcp.c:586 |
5709 | #, c-format | 6031 | #, c-format |
5710 | msgid "Result=OK\n" | 6032 | msgid "Result=OK\n" |
5711 | msgstr "Résultat=OK\n" | 6033 | msgstr "Résultat=OK\n" |
@@ -5809,246 +6131,273 @@ msgstr "" | |||
5809 | msgid "Requested server address: %s\n" | 6131 | msgid "Requested server address: %s\n" |
5810 | msgstr "Adresse serveur demandée: %s\n" | 6132 | msgstr "Adresse serveur demandée: %s\n" |
5811 | 6133 | ||
5812 | #: plugins-root/check_dhcp.c:881 | 6134 | #: plugins-root/check_dhcp.c:882 |
5813 | #, c-format | 6135 | #, c-format |
5814 | msgid "Lease Time: Infinite\n" | 6136 | msgid "Lease Time: Infinite\n" |
5815 | msgstr "Durée du Bail: Infini\n" | 6137 | msgstr "Durée du Bail: Infini\n" |
5816 | 6138 | ||
5817 | #: plugins-root/check_dhcp.c:883 | 6139 | #: plugins-root/check_dhcp.c:884 |
5818 | #, c-format | 6140 | #, c-format |
5819 | msgid "Lease Time: %lu seconds\n" | 6141 | msgid "Lease Time: %lu seconds\n" |
5820 | msgstr "Durée du Bail: %lu secondes\n" | 6142 | msgstr "Durée du Bail: %lu secondes\n" |
5821 | 6143 | ||
5822 | #: plugins-root/check_dhcp.c:885 | 6144 | #: plugins-root/check_dhcp.c:886 |
5823 | #, c-format | 6145 | #, c-format |
5824 | msgid "Renewal Time: Infinite\n" | 6146 | msgid "Renewal Time: Infinite\n" |
5825 | msgstr "Renouvellement du bail: Infini\n" | 6147 | msgstr "Renouvellement du bail: Infini\n" |
5826 | 6148 | ||
5827 | #: plugins-root/check_dhcp.c:887 | 6149 | #: plugins-root/check_dhcp.c:888 |
5828 | #, c-format | 6150 | #, c-format |
5829 | msgid "Renewal Time: %lu seconds\n" | 6151 | msgid "Renewal Time: %lu seconds\n" |
5830 | msgstr "Durée du renouvellement = %lu secondes\n" | 6152 | msgstr "Durée du renouvellement = %lu secondes\n" |
5831 | 6153 | ||
5832 | #: plugins-root/check_dhcp.c:889 | 6154 | #: plugins-root/check_dhcp.c:890 |
5833 | #, c-format | 6155 | #, c-format |
5834 | msgid "Rebinding Time: Infinite\n" | 6156 | msgid "Rebinding Time: Infinite\n" |
5835 | msgstr "Délai de nouvelle demande: Infini\n" | 6157 | msgstr "Délai de nouvelle demande: Infini\n" |
5836 | 6158 | ||
5837 | #: plugins-root/check_dhcp.c:890 | 6159 | #: plugins-root/check_dhcp.c:891 |
5838 | #, c-format | 6160 | #, c-format |
5839 | msgid "Rebinding Time: %lu seconds\n" | 6161 | msgid "Rebinding Time: %lu seconds\n" |
5840 | msgstr "Délai de nouvelle demande: %lu secondes\n" | 6162 | msgstr "Délai de nouvelle demande: %lu secondes\n" |
5841 | 6163 | ||
5842 | #: plugins-root/check_dhcp.c:918 | 6164 | #: plugins-root/check_dhcp.c:919 |
5843 | #, c-format | 6165 | #, c-format |
5844 | msgid "Added offer from server @ %s" | 6166 | msgid "Added offer from server @ %s" |
5845 | msgstr "Rajouté offre du serveur @ %s" | 6167 | msgstr "Rajouté offre du serveur @ %s" |
5846 | 6168 | ||
5847 | #: plugins-root/check_dhcp.c:919 | 6169 | #: plugins-root/check_dhcp.c:920 |
5848 | #, c-format | 6170 | #, c-format |
5849 | msgid " of IP address %s\n" | 6171 | msgid " of IP address %s\n" |
5850 | msgstr "de l'adresse IP %s\n" | 6172 | msgstr "de l'adresse IP %s\n" |
5851 | 6173 | ||
5852 | #: plugins-root/check_dhcp.c:986 | 6174 | #: plugins-root/check_dhcp.c:987 |
5853 | #, c-format | 6175 | #, c-format |
5854 | msgid "DHCP Server Match: Offerer=%s" | 6176 | msgid "DHCP Server Match: Offerer=%s" |
5855 | msgstr "Correspondance du serveur DHCP: Offrant=%s" | 6177 | msgstr "Correspondance du serveur DHCP: Offrant=%s" |
5856 | 6178 | ||
5857 | #: plugins-root/check_dhcp.c:987 | 6179 | #: plugins-root/check_dhcp.c:988 |
5858 | #, c-format | 6180 | #, c-format |
5859 | msgid " Requested=%s" | 6181 | msgid " Requested=%s" |
5860 | msgstr " Demandé=%s" | 6182 | msgstr " Demandé=%s" |
5861 | 6183 | ||
5862 | #: plugins-root/check_dhcp.c:989 | 6184 | #: plugins-root/check_dhcp.c:990 |
5863 | #, c-format | 6185 | #, c-format |
5864 | msgid " (duplicate)" | 6186 | msgid " (duplicate)" |
5865 | msgstr "" | 6187 | msgstr "" |
5866 | 6188 | ||
5867 | #: plugins-root/check_dhcp.c:990 | 6189 | #: plugins-root/check_dhcp.c:991 |
5868 | #, c-format | 6190 | #, c-format |
5869 | msgid "\n" | 6191 | msgid "\n" |
5870 | msgstr "" | 6192 | msgstr "" |
5871 | 6193 | ||
5872 | #: plugins-root/check_dhcp.c:1038 | 6194 | #: plugins-root/check_dhcp.c:1039 |
5873 | #, c-format | 6195 | #, c-format |
5874 | msgid "No DHCPOFFERs were received.\n" | 6196 | msgid "No DHCPOFFERs were received.\n" |
5875 | msgstr "Pas de DHCPOFFERs reçus.\n" | 6197 | msgstr "Pas de DHCPOFFERs reçus.\n" |
5876 | 6198 | ||
5877 | #: plugins-root/check_dhcp.c:1042 | 6199 | #: plugins-root/check_dhcp.c:1043 |
5878 | #, c-format | 6200 | #, c-format |
5879 | msgid "Received %d DHCPOFFER(s)" | 6201 | msgid "Received %d DHCPOFFER(s)" |
5880 | msgstr "Reçu %d DHCPOFFER(s)" | 6202 | msgstr "Reçu %d DHCPOFFER(s)" |
5881 | 6203 | ||
5882 | #: plugins-root/check_dhcp.c:1045 | 6204 | #: plugins-root/check_dhcp.c:1046 |
5883 | #, c-format | 6205 | #, c-format |
5884 | msgid ", %s%d of %d requested servers responded" | 6206 | msgid ", %s%d of %d requested servers responded" |
5885 | msgstr ", %s%d de %d serveurs ont répondus" | 6207 | msgstr ", %s%d de %d serveurs ont répondus" |
5886 | 6208 | ||
5887 | #: plugins-root/check_dhcp.c:1048 | 6209 | #: plugins-root/check_dhcp.c:1049 |
5888 | #, c-format | 6210 | #, c-format |
5889 | msgid ", requested address (%s) was %soffered" | 6211 | msgid ", requested address (%s) was %soffered" |
5890 | msgstr ", l'adresse demandée (%s) %s été offerte" | 6212 | msgstr ", l'adresse demandée (%s) %s été offerte" |
5891 | 6213 | ||
5892 | #: plugins-root/check_dhcp.c:1048 | 6214 | #: plugins-root/check_dhcp.c:1049 |
5893 | msgid "not " | 6215 | msgid "not " |
5894 | msgstr "n'as pas" | 6216 | msgstr "n'as pas" |
5895 | 6217 | ||
5896 | #: plugins-root/check_dhcp.c:1050 | 6218 | #: plugins-root/check_dhcp.c:1051 |
5897 | #, c-format | 6219 | #, c-format |
5898 | msgid ", max lease time = " | 6220 | msgid ", max lease time = " |
5899 | msgstr ", bail maximum = " | 6221 | msgstr ", bail maximum = " |
5900 | 6222 | ||
5901 | #: plugins-root/check_dhcp.c:1052 | 6223 | #: plugins-root/check_dhcp.c:1053 |
5902 | #, c-format | 6224 | #, c-format |
5903 | msgid "Infinity" | 6225 | msgid "Infinity" |
5904 | msgstr "Infini" | 6226 | msgstr "Infini" |
5905 | 6227 | ||
5906 | #: plugins-root/check_dhcp.c:1233 | 6228 | #: plugins-root/check_dhcp.c:1234 |
5907 | #, c-format | 6229 | #, c-format |
5908 | msgid "Error: DLPI stream API failed to get MAC in check_ctrl: %s.\n" | 6230 | msgid "Error: DLPI stream API failed to get MAC in check_ctrl: %s.\n" |
5909 | msgstr "" | 6231 | msgstr "" |
5910 | "Erreur: Impossible d'obtenir la MAC par l'API DLPI dans check_ctrl: %s.\n" | 6232 | "Erreur: Impossible d'obtenir la MAC par l'API DLPI dans check_ctrl: %s.\n" |
5911 | 6233 | ||
5912 | #: plugins-root/check_dhcp.c:1245 | 6234 | #: plugins-root/check_dhcp.c:1246 |
5913 | #, c-format | 6235 | #, c-format |
5914 | msgid "Error: DLPI stream API failed to get MAC in put_ctrl/putmsg(): %s.\n" | 6236 | msgid "Error: DLPI stream API failed to get MAC in put_ctrl/putmsg(): %s.\n" |
5915 | msgstr "" | 6237 | msgstr "" |
5916 | "Erreur: Impossible d'obtenir la MAC par l'API DLPI dans put_ctrl/putmsg(): %" | 6238 | "Erreur: Impossible d'obtenir la MAC par l'API DLPI dans put_ctrl/putmsg(): " |
5917 | "s.\n" | 6239 | "%s.\n" |
5918 | 6240 | ||
5919 | #: plugins-root/check_dhcp.c:1258 | 6241 | #: plugins-root/check_dhcp.c:1259 |
5920 | #, c-format | 6242 | #, c-format |
5921 | msgid "Error: DLPI stream API failed to get MAC in put_both/putmsg().\n" | 6243 | msgid "Error: DLPI stream API failed to get MAC in put_both/putmsg().\n" |
5922 | msgstr "" | 6244 | msgstr "" |
5923 | "Erreur: Impossible d'obtenir la MAC par l'API DLPI dans put_both/putmsg().\n" | 6245 | "Erreur: Impossible d'obtenir la MAC par l'API DLPI dans put_both/putmsg().\n" |
5924 | 6246 | ||
5925 | #: plugins-root/check_dhcp.c:1270 | 6247 | #: plugins-root/check_dhcp.c:1271 |
5926 | #, c-format | 6248 | #, c-format |
5927 | msgid "" | 6249 | msgid "" |
5928 | "Error: DLPI stream API failed to get MAC in dl_attach_req/open(%s..): %s.\n" | 6250 | "Error: DLPI stream API failed to get MAC in dl_attach_req/open(%s..): %s.\n" |
5929 | msgstr "" | 6251 | msgstr "" |
5930 | "Erreur: Impossible d'obtenir la MAC par l'API DLPI dans dl_attach_req/open(%" | 6252 | "Erreur: Impossible d'obtenir la MAC par l'API DLPI dans dl_attach_req/open" |
5931 | "s..): %s.\n" | 6253 | "(%s..): %s.\n" |
5932 | 6254 | ||
5933 | #: plugins-root/check_dhcp.c:1294 | 6255 | #: plugins-root/check_dhcp.c:1295 |
5934 | #, c-format | 6256 | #, c-format |
5935 | msgid "Error: DLPI stream API failed to get MAC in dl_bind/check_ctrl(): %s.\n" | 6257 | msgid "Error: DLPI stream API failed to get MAC in dl_bind/check_ctrl(): %s.\n" |
5936 | msgstr "" | 6258 | msgstr "" |
5937 | "Erreur: Impossible d'obtenir la MAC par l'API DLPI dans dl_bind/check_ctrl" | 6259 | "Erreur: Impossible d'obtenir la MAC par l'API DLPI dans dl_bind/check_ctrl" |
5938 | "(): %s.\n" | 6260 | "(): %s.\n" |
5939 | 6261 | ||
5940 | #: plugins-root/check_dhcp.c:1373 | 6262 | #: plugins-root/check_dhcp.c:1374 |
5941 | #, c-format | 6263 | #, c-format |
5942 | msgid "Hardware address: " | 6264 | msgid "Hardware address: " |
5943 | msgstr "Adresse matérielle: " | 6265 | msgstr "Adresse matérielle: " |
5944 | 6266 | ||
5945 | #: plugins-root/check_dhcp.c:1389 | 6267 | #: plugins-root/check_dhcp.c:1390 |
5946 | msgid "This plugin tests the availability of DHCP servers on a network." | 6268 | msgid "This plugin tests the availability of DHCP servers on a network." |
5947 | msgstr "Ce plugin teste la disponibilité de serveurs DHCP dans un réseau." | 6269 | msgstr "Ce plugin teste la disponibilité de serveurs DHCP dans un réseau." |
5948 | 6270 | ||
5949 | #: plugins-root/check_dhcp.c:1401 | 6271 | #: plugins-root/check_dhcp.c:1402 |
5950 | msgid "IP address of DHCP server that we must hear from" | 6272 | msgid "IP address of DHCP server that we must hear from" |
5951 | msgstr "" | 6273 | msgstr "" |
5952 | 6274 | ||
5953 | #: plugins-root/check_dhcp.c:1403 | 6275 | #: plugins-root/check_dhcp.c:1404 |
5954 | msgid "IP address that should be offered by at least one DHCP server" | 6276 | msgid "IP address that should be offered by at least one DHCP server" |
5955 | msgstr "" | 6277 | msgstr "" |
5956 | 6278 | ||
5957 | #: plugins-root/check_dhcp.c:1405 | 6279 | #: plugins-root/check_dhcp.c:1406 |
5958 | msgid "Seconds to wait for DHCPOFFER before timeout occurs" | 6280 | msgid "Seconds to wait for DHCPOFFER before timeout occurs" |
5959 | msgstr "" | 6281 | msgstr "" |
5960 | 6282 | ||
5961 | #: plugins-root/check_dhcp.c:1407 | 6283 | #: plugins-root/check_dhcp.c:1408 |
5962 | msgid "Interface to to use for listening (i.e. eth0)" | 6284 | msgid "Interface to to use for listening (i.e. eth0)" |
5963 | msgstr "" | 6285 | msgstr "" |
5964 | 6286 | ||
5965 | #: plugins-root/check_dhcp.c:1409 | 6287 | #: plugins-root/check_dhcp.c:1410 |
5966 | msgid "MAC address to use in the DHCP request" | 6288 | msgid "MAC address to use in the DHCP request" |
5967 | msgstr "" | 6289 | msgstr "" |
5968 | 6290 | ||
5969 | #: plugins-root/check_dhcp.c:1411 | 6291 | #: plugins-root/check_dhcp.c:1412 |
5970 | msgid "Unicast testing: mimic a DHCP relay, requires -s" | 6292 | msgid "Unicast testing: mimic a DHCP relay, requires -s" |
5971 | msgstr "" | 6293 | msgstr "" |
5972 | 6294 | ||
5973 | #: plugins-root/check_icmp.c:1288 | 6295 | #: plugins-root/check_icmp.c:1295 |
5974 | msgid "specify a target" | 6296 | msgid "specify a target" |
5975 | msgstr "" | 6297 | msgstr "" |
5976 | 6298 | ||
5977 | #: plugins-root/check_icmp.c:1290 | 6299 | #: plugins-root/check_icmp.c:1297 |
5978 | msgid "warning threshold (currently " | 6300 | msgid "warning threshold (currently " |
5979 | msgstr "Valeurs pour le seuil d'avertissement (actuellement " | 6301 | msgstr "Valeurs pour le seuil d'avertissement (actuellement " |
5980 | 6302 | ||
5981 | #: plugins-root/check_icmp.c:1293 | 6303 | #: plugins-root/check_icmp.c:1300 |
5982 | msgid "critical threshold (currently " | 6304 | msgid "critical threshold (currently " |
5983 | msgstr "Valeurs pour le seuil critique (actuellement " | 6305 | msgstr "Valeurs pour le seuil critique (actuellement " |
5984 | 6306 | ||
5985 | #: plugins-root/check_icmp.c:1296 | 6307 | #: plugins-root/check_icmp.c:1303 |
5986 | msgid "specify a source IP address or device name" | 6308 | msgid "specify a source IP address or device name" |
5987 | msgstr "spécifiez une adresse ou un nom d'hôte" | 6309 | msgstr "spécifiez une adresse ou un nom d'hôte" |
5988 | 6310 | ||
5989 | #: plugins-root/check_icmp.c:1298 | 6311 | #: plugins-root/check_icmp.c:1305 |
5990 | msgid "number of packets to send (currently " | 6312 | msgid "number of packets to send (currently " |
5991 | msgstr "nombre de paquets à envoyer (actuellement " | 6313 | msgstr "nombre de paquets à envoyer (actuellement " |
5992 | 6314 | ||
5993 | #: plugins-root/check_icmp.c:1301 | 6315 | #: plugins-root/check_icmp.c:1308 |
5994 | msgid "max packet interval (currently " | 6316 | msgid "max packet interval (currently " |
5995 | msgstr "" | 6317 | msgstr "" |
5996 | 6318 | ||
5997 | #: plugins-root/check_icmp.c:1304 | 6319 | #: plugins-root/check_icmp.c:1311 |
5998 | msgid "max target interval (currently " | 6320 | msgid "max target interval (currently " |
5999 | msgstr "" | 6321 | msgstr "" |
6000 | 6322 | ||
6001 | #: plugins-root/check_icmp.c:1307 | 6323 | #: plugins-root/check_icmp.c:1314 |
6002 | msgid "number of alive hosts required for success" | 6324 | msgid "number of alive hosts required for success" |
6003 | msgstr "nombre d'hôtes vivants requis pour réussite" | 6325 | msgstr "nombre d'hôtes vivants requis pour réussite" |
6004 | 6326 | ||
6005 | #: plugins-root/check_icmp.c:1310 | 6327 | #: plugins-root/check_icmp.c:1317 |
6006 | msgid "TTL on outgoing packets (currently " | 6328 | msgid "TTL on outgoing packets (currently " |
6007 | msgstr "" | 6329 | msgstr "" |
6008 | 6330 | ||
6009 | #: plugins-root/check_icmp.c:1313 | 6331 | #: plugins-root/check_icmp.c:1320 |
6010 | msgid "timeout value (seconds, currently " | 6332 | msgid "timeout value (seconds, currently " |
6011 | msgstr "" | 6333 | msgstr "" |
6012 | 6334 | ||
6013 | #: plugins-root/check_icmp.c:1316 | 6335 | #: plugins-root/check_icmp.c:1323 |
6014 | msgid "Number of icmp data bytes to send" | 6336 | msgid "Number of icmp data bytes to send" |
6015 | msgstr "Nombre de paquets ICMP Ã envoyer" | 6337 | msgstr "Nombre de paquets ICMP Ã envoyer" |
6016 | 6338 | ||
6017 | #: plugins-root/check_icmp.c:1317 | 6339 | #: plugins-root/check_icmp.c:1324 |
6018 | msgid "Packet size will be data bytes + icmp header (currently" | 6340 | msgid "Packet size will be data bytes + icmp header (currently" |
6019 | msgstr "" | 6341 | msgstr "" |
6020 | 6342 | ||
6021 | #: plugins-root/check_icmp.c:1319 | 6343 | #: plugins-root/check_icmp.c:1326 |
6022 | msgid "verbose" | 6344 | msgid "verbose" |
6023 | msgstr "" | 6345 | msgstr "" |
6024 | 6346 | ||
6025 | #: plugins-root/check_icmp.c:1323 | 6347 | #: plugins-root/check_icmp.c:1330 |
6026 | msgid "The -H switch is optional. Naming a host (or several) to check is not." | 6348 | msgid "The -H switch is optional. Naming a host (or several) to check is not." |
6027 | msgstr "" | 6349 | msgstr "" |
6028 | 6350 | ||
6029 | #: plugins-root/check_icmp.c:1325 | 6351 | #: plugins-root/check_icmp.c:1332 |
6030 | msgid "" | 6352 | msgid "" |
6031 | "Threshold format for -w and -c is 200.25,60% for 200.25 msec RTA and 60%" | 6353 | "Threshold format for -w and -c is 200.25,60% for 200.25 msec RTA and 60%" |
6032 | msgstr "" | 6354 | msgstr "" |
6033 | 6355 | ||
6034 | #: plugins-root/check_icmp.c:1326 | 6356 | #: plugins-root/check_icmp.c:1333 |
6035 | msgid "packet loss. The default values should work well for most users." | 6357 | msgid "packet loss. The default values should work well for most users." |
6036 | msgstr "" | 6358 | msgstr "" |
6037 | 6359 | ||
6038 | #: plugins-root/check_icmp.c:1327 | 6360 | #: plugins-root/check_icmp.c:1334 |
6039 | msgid "" | 6361 | msgid "" |
6040 | "You can specify different RTA factors using the standardized abbreviations" | 6362 | "You can specify different RTA factors using the standardized abbreviations" |
6041 | msgstr "" | 6363 | msgstr "" |
6042 | 6364 | ||
6043 | #: plugins-root/check_icmp.c:1328 | 6365 | #: plugins-root/check_icmp.c:1335 |
6044 | msgid "" | 6366 | msgid "" |
6045 | "us (microseconds), ms (milliseconds, default) or just plain s for seconds." | 6367 | "us (microseconds), ms (milliseconds, default) or just plain s for seconds." |
6046 | msgstr "" | 6368 | msgstr "" |
6047 | 6369 | ||
6048 | #: plugins-root/check_icmp.c:1334 | 6370 | #: plugins-root/check_icmp.c:1341 |
6049 | msgid "The -v switch can be specified several times for increased verbosity." | 6371 | msgid "The -v switch can be specified several times for increased verbosity." |
6050 | msgstr "" | 6372 | msgstr "" |
6051 | 6373 | ||
6374 | #~ msgid "Critical threshold must be integer" | ||
6375 | #~ msgstr "le seuil critique doit être un entier positif" | ||
6376 | |||
6377 | #~ msgid "Warning threshold must be integer" | ||
6378 | #~ msgstr "Le seuil d'avertissement doit être un entier positif" | ||
6379 | |||
6380 | #~ msgid "Critical Process Count must be an integer!" | ||
6381 | #~ msgstr "Critique Le total des processus doit être un nombre entier!" | ||
6382 | |||
6383 | #~ msgid "Warning Process Count must be an integer!" | ||
6384 | #~ msgstr "Avertissement Le total des processus doit être un nombre entier!" | ||
6385 | |||
6386 | #~ msgid "wmax (%d) cannot be greater than cmax (%d)\n" | ||
6387 | #~ msgstr "wmax (%d) ne peut pas être plus grand que cmax (%d)\n" | ||
6388 | |||
6389 | #~ msgid "wmin (%d) cannot be less than cmin (%d)\n" | ||
6390 | #~ msgstr "wmin (%d) ne peut pas être plus petit que cmin (%d)\n" | ||
6391 | |||
6392 | #~ msgid "CRITICAL - Cannot retrieve server certificate." | ||
6393 | #~ msgstr "CRITIQUE - Impossible d'obtenir le certificat du serveur" | ||
6394 | |||
6395 | #~ msgid "OIDs." | ||
6396 | #~ msgstr "OIDs." | ||
6397 | |||
6398 | #~ msgid "CRITICAL - Cannot retrieve server certificate.\n" | ||
6399 | #~ msgstr "CRITIQUE - Impossible d'obtenir le certificat du serveur.\n" | ||
6400 | |||
6052 | #~ msgid "Usage: " | 6401 | #~ msgid "Usage: " |
6053 | #~ msgstr "Utilisation: " | 6402 | #~ msgstr "Utilisation: " |
6054 | 6403 | ||
diff --git a/po/nagios-plugins.pot b/po/monitoring-plugins.pot index 53ccf50..8f220e9 100644 --- a/po/nagios-plugins.pot +++ b/po/monitoring-plugins.pot | |||
@@ -1,5 +1,5 @@ | |||
1 | # SOME DESCRIPTIVE TITLE. | 1 | # SOME DESCRIPTIVE TITLE. |
2 | # Copyright (C) YEAR Nagios Plugin Development Group | 2 | # Copyright (C) YEAR Monitoring Plugins Development Team |
3 | # This file is distributed under the same license as the PACKAGE package. | 3 | # This file is distributed under the same license as the PACKAGE package. |
4 | # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | 4 | # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
5 | # | 5 | # |
@@ -7,35 +7,36 @@ | |||
7 | msgid "" | 7 | msgid "" |
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: nagiosplug-devel@lists.sourceforge.net\n" | 10 | "Report-Msgid-Bugs-To: devel@monitoring-plugins.org\n" |
11 | "POT-Creation-Date: 2012-02-16 17:35-0600\n" | 11 | "POT-Creation-Date: 2014-01-19 16:30-0500\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
15 | "Language: \n" | ||
15 | "MIME-Version: 1.0\n" | 16 | "MIME-Version: 1.0\n" |
16 | "Content-Type: text/plain; charset=CHARSET\n" | 17 | "Content-Type: text/plain; charset=CHARSET\n" |
17 | "Content-Transfer-Encoding: 8bit\n" | 18 | "Content-Transfer-Encoding: 8bit\n" |
18 | "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" | 19 | "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" |
19 | 20 | ||
20 | #: plugins/check_by_ssh.c:86 plugins/check_cluster.c:76 plugins/check_dig.c:87 | 21 | #: plugins/check_by_ssh.c:86 plugins/check_cluster.c:76 plugins/check_dig.c:88 |
21 | #: plugins/check_disk.c:190 plugins/check_dns.c:102 plugins/check_dummy.c:52 | 22 | #: plugins/check_disk.c:194 plugins/check_dns.c:102 plugins/check_dummy.c:52 |
22 | #: plugins/check_fping.c:89 plugins/check_game.c:82 plugins/check_hpjd.c:103 | 23 | #: plugins/check_fping.c:93 plugins/check_game.c:82 plugins/check_hpjd.c:103 |
23 | #: plugins/check_http.c:156 plugins/check_ldap.c:109 plugins/check_load.c:122 | 24 | #: plugins/check_http.c:167 plugins/check_ldap.c:109 plugins/check_load.c:122 |
24 | #: plugins/check_mrtgtraf.c:83 plugins/check_mysql.c:85 | 25 | #: plugins/check_mrtgtraf.c:83 plugins/check_mysql.c:122 |
25 | #: plugins/check_nagios.c:91 plugins/check_nt.c:126 plugins/check_ntp.c:766 | 26 | #: plugins/check_nagios.c:91 plugins/check_nt.c:127 plugins/check_ntp.c:770 |
26 | #: plugins/check_ntp_peer.c:569 plugins/check_ntp_time.c:548 | 27 | #: plugins/check_ntp_peer.c:575 plugins/check_ntp_time.c:552 |
27 | #: plugins/check_nwstat.c:173 plugins/check_overcr.c:102 | 28 | #: plugins/check_nwstat.c:173 plugins/check_overcr.c:102 |
28 | #: plugins/check_pgsql.c:154 plugins/check_ping.c:95 plugins/check_procs.c:147 | 29 | #: plugins/check_pgsql.c:172 plugins/check_ping.c:95 plugins/check_procs.c:172 |
29 | #: plugins/check_radius.c:160 plugins/check_real.c:80 plugins/check_smtp.c:144 | 30 | #: plugins/check_radius.c:160 plugins/check_real.c:80 plugins/check_smtp.c:144 |
30 | #: plugins/check_snmp.c:204 plugins/check_ssh.c:73 plugins/check_swap.c:110 | 31 | #: plugins/check_snmp.c:240 plugins/check_ssh.c:73 plugins/check_swap.c:110 |
31 | #: plugins/check_tcp.c:209 plugins/check_time.c:78 plugins/check_ups.c:122 | 32 | #: plugins/check_tcp.c:218 plugins/check_time.c:78 plugins/check_ups.c:122 |
32 | #: plugins/check_users.c:68 plugins/negate.c:211 plugins-root/check_dhcp.c:270 | 33 | #: plugins/check_users.c:77 plugins/negate.c:214 plugins-root/check_dhcp.c:270 |
33 | msgid "Could not parse arguments" | 34 | msgid "Could not parse arguments" |
34 | msgstr "" | 35 | msgstr "" |
35 | 36 | ||
36 | #: plugins/check_by_ssh.c:90 plugins/check_dig.c:81 plugins/check_dns.c:95 | 37 | #: plugins/check_by_ssh.c:90 plugins/check_dig.c:82 plugins/check_dns.c:95 |
37 | #: plugins/check_nagios.c:95 plugins/check_pgsql.c:160 plugins/check_ping.c:99 | 38 | #: plugins/check_nagios.c:95 plugins/check_pgsql.c:178 plugins/check_ping.c:99 |
38 | #: plugins/check_procs.c:154 plugins/negate.c:76 | 39 | #: plugins/check_procs.c:188 plugins/check_snmp.c:336 plugins/negate.c:79 |
39 | msgid "Cannot catch SIGALRM" | 40 | msgid "Cannot catch SIGALRM" |
40 | msgstr "" | 41 | msgstr "" |
41 | 42 | ||
@@ -59,190 +60,194 @@ msgstr "" | |||
59 | msgid "%s: Error parsing output\n" | 60 | msgid "%s: Error parsing output\n" |
60 | msgstr "" | 61 | msgstr "" |
61 | 62 | ||
62 | #: plugins/check_by_ssh.c:219 plugins/check_disk.c:467 | 63 | #: plugins/check_by_ssh.c:220 plugins/check_disk.c:476 |
63 | #: plugins/check_http.c:255 plugins/check_ldap.c:293 plugins/check_pgsql.c:250 | 64 | #: plugins/check_http.c:278 plugins/check_ldap.c:293 plugins/check_pgsql.c:311 |
64 | #: plugins/check_procs.c:366 plugins/check_radius.c:308 | 65 | #: plugins/check_procs.c:437 plugins/check_radius.c:308 |
65 | #: plugins/check_real.c:356 plugins/check_smtp.c:592 plugins/check_snmp.c:661 | 66 | #: plugins/check_real.c:356 plugins/check_smtp.c:581 plugins/check_snmp.c:736 |
66 | #: plugins/check_ssh.c:138 plugins/check_tcp.c:487 plugins/check_time.c:302 | 67 | #: plugins/check_ssh.c:138 plugins/check_tcp.c:505 plugins/check_time.c:302 |
67 | #: plugins/check_ups.c:556 plugins/negate.c:161 | 68 | #: plugins/check_ups.c:556 plugins/negate.c:164 |
68 | msgid "Timeout interval must be a positive integer" | 69 | msgid "Timeout interval must be a positive integer" |
69 | msgstr "" | 70 | msgstr "" |
70 | 71 | ||
71 | #: plugins/check_by_ssh.c:229 plugins/check_pgsql.c:274 | 72 | #: plugins/check_by_ssh.c:230 plugins/check_pgsql.c:341 |
72 | #: plugins/check_radius.c:272 plugins/check_real.c:327 | 73 | #: plugins/check_radius.c:272 plugins/check_real.c:327 |
73 | #: plugins/check_smtp.c:516 plugins/check_tcp.c:493 plugins/check_time.c:296 | 74 | #: plugins/check_smtp.c:506 plugins/check_tcp.c:511 plugins/check_time.c:296 |
74 | #: plugins/check_ups.c:518 | 75 | #: plugins/check_ups.c:518 |
75 | msgid "Port must be a positive integer" | 76 | msgid "Port must be a positive integer" |
76 | msgstr "" | 77 | msgstr "" |
77 | 78 | ||
78 | #: plugins/check_by_ssh.c:290 | 79 | #: plugins/check_by_ssh.c:291 |
79 | msgid "skip-stdout argument must be an integer" | 80 | msgid "skip-stdout argument must be an integer" |
80 | msgstr "" | 81 | msgstr "" |
81 | 82 | ||
82 | #: plugins/check_by_ssh.c:298 | 83 | #: plugins/check_by_ssh.c:299 |
83 | msgid "skip-stderr argument must be an integer" | 84 | msgid "skip-stderr argument must be an integer" |
84 | msgstr "" | 85 | msgstr "" |
85 | 86 | ||
86 | #: plugins/check_by_ssh.c:317 | 87 | #: plugins/check_by_ssh.c:322 |
87 | #, c-format | 88 | #, c-format |
88 | msgid "%s: You must provide a host name\n" | 89 | msgid "%s: You must provide a host name\n" |
89 | msgstr "" | 90 | msgstr "" |
90 | 91 | ||
91 | #: plugins/check_by_ssh.c:335 | 92 | #: plugins/check_by_ssh.c:340 |
92 | msgid "No remotecmd" | 93 | msgid "No remotecmd" |
93 | msgstr "" | 94 | msgstr "" |
94 | 95 | ||
95 | #: plugins/check_by_ssh.c:349 | 96 | #: plugins/check_by_ssh.c:354 |
96 | #, c-format | 97 | #, c-format |
97 | msgid "%s: Argument limit of %d exceeded\n" | 98 | msgid "%s: Argument limit of %d exceeded\n" |
98 | msgstr "" | 99 | msgstr "" |
99 | 100 | ||
100 | #: plugins/check_by_ssh.c:352 | 101 | #: plugins/check_by_ssh.c:357 |
101 | msgid "Can not (re)allocate 'commargv' buffer\n" | 102 | msgid "Can not (re)allocate 'commargv' buffer\n" |
102 | msgstr "" | 103 | msgstr "" |
103 | 104 | ||
104 | #: plugins/check_by_ssh.c:366 | 105 | #: plugins/check_by_ssh.c:371 |
105 | #, c-format | 106 | #, c-format |
106 | msgid "" | 107 | msgid "" |
107 | "%s: In passive mode, you must provide a service name for each command.\n" | 108 | "%s: In passive mode, you must provide a service name for each command.\n" |
108 | msgstr "" | 109 | msgstr "" |
109 | 110 | ||
110 | #: plugins/check_by_ssh.c:369 | 111 | #: plugins/check_by_ssh.c:374 |
111 | #, c-format | 112 | #, c-format |
112 | msgid "" | 113 | msgid "" |
113 | "%s: In passive mode, you must provide the host short name from the nagios " | 114 | "%s: In passive mode, you must provide the host short name from the " |
114 | "configs.\n" | 115 | "monitoring configs.\n" |
115 | msgstr "" | 116 | msgstr "" |
116 | 117 | ||
117 | #: plugins/check_by_ssh.c:383 | 118 | #: plugins/check_by_ssh.c:388 |
118 | #, c-format | 119 | #, c-format |
119 | msgid "This plugin uses SSH to execute commands on a remote host" | 120 | msgid "This plugin uses SSH to execute commands on a remote host" |
120 | msgstr "" | 121 | msgstr "" |
121 | 122 | ||
122 | #: plugins/check_by_ssh.c:398 | 123 | #: plugins/check_by_ssh.c:403 |
123 | msgid "tell ssh to use Protocol 1 [optional]" | 124 | msgid "tell ssh to use Protocol 1 [optional]" |
124 | msgstr "" | 125 | msgstr "" |
125 | 126 | ||
126 | #: plugins/check_by_ssh.c:400 | 127 | #: plugins/check_by_ssh.c:405 |
127 | msgid "tell ssh to use Protocol 2 [optional]" | 128 | msgid "tell ssh to use Protocol 2 [optional]" |
128 | msgstr "" | 129 | msgstr "" |
129 | 130 | ||
130 | #: plugins/check_by_ssh.c:402 | 131 | #: plugins/check_by_ssh.c:407 |
131 | msgid "Ignore all or (if specified) first n lines on STDOUT [optional]" | 132 | msgid "Ignore all or (if specified) first n lines on STDOUT [optional]" |
132 | msgstr "" | 133 | msgstr "" |
133 | 134 | ||
134 | #: plugins/check_by_ssh.c:404 | 135 | #: plugins/check_by_ssh.c:409 |
135 | msgid "Ignore all or (if specified) first n lines on STDERR [optional]" | 136 | msgid "Ignore all or (if specified) first n lines on STDERR [optional]" |
136 | msgstr "" | 137 | msgstr "" |
137 | 138 | ||
138 | #: plugins/check_by_ssh.c:406 | 139 | #: plugins/check_by_ssh.c:411 |
139 | msgid "" | 140 | msgid "" |
140 | "tells ssh to fork rather than create a tty [optional]. This will always " | 141 | "tells ssh to fork rather than create a tty [optional]. This will always " |
141 | "return OK if ssh is executed" | 142 | "return OK if ssh is executed" |
142 | msgstr "" | 143 | msgstr "" |
143 | 144 | ||
144 | #: plugins/check_by_ssh.c:408 | 145 | #: plugins/check_by_ssh.c:413 |
145 | msgid "command to execute on the remote machine" | 146 | msgid "command to execute on the remote machine" |
146 | msgstr "" | 147 | msgstr "" |
147 | 148 | ||
148 | #: plugins/check_by_ssh.c:410 | 149 | #: plugins/check_by_ssh.c:415 |
149 | msgid "SSH user name on remote host [optional]" | 150 | msgid "SSH user name on remote host [optional]" |
150 | msgstr "" | 151 | msgstr "" |
151 | 152 | ||
152 | #: plugins/check_by_ssh.c:412 | 153 | #: plugins/check_by_ssh.c:417 |
153 | msgid "identity of an authorized key [optional]" | 154 | msgid "identity of an authorized key [optional]" |
154 | msgstr "" | 155 | msgstr "" |
155 | 156 | ||
156 | #: plugins/check_by_ssh.c:414 | 157 | #: plugins/check_by_ssh.c:419 |
157 | msgid "external command file for nagios [optional]" | 158 | msgid "external command file for monitoring [optional]" |
158 | msgstr "" | 159 | msgstr "" |
159 | 160 | ||
160 | #: plugins/check_by_ssh.c:416 | 161 | #: plugins/check_by_ssh.c:421 |
161 | msgid "list of nagios service names, separated by ':' [optional]" | 162 | msgid "list of monitoring service names, separated by ':' [optional]" |
162 | msgstr "" | 163 | msgstr "" |
163 | 164 | ||
164 | #: plugins/check_by_ssh.c:418 | 165 | #: plugins/check_by_ssh.c:423 |
165 | msgid "short name of host in nagios configuration [optional]" | 166 | msgid "short name of host in the monitoring configuration [optional]" |
166 | msgstr "" | 167 | msgstr "" |
167 | 168 | ||
168 | #: plugins/check_by_ssh.c:420 | 169 | #: plugins/check_by_ssh.c:425 |
169 | msgid "Call ssh with '-o OPTION' (may be used multiple times) [optional]" | 170 | msgid "Call ssh with '-o OPTION' (may be used multiple times) [optional]" |
170 | msgstr "" | 171 | msgstr "" |
171 | 172 | ||
172 | #: plugins/check_by_ssh.c:422 | 173 | #: plugins/check_by_ssh.c:427 |
174 | msgid "Tell ssh to use this configfile [optional]" | ||
175 | msgstr "" | ||
176 | |||
177 | #: plugins/check_by_ssh.c:429 | ||
173 | msgid "Tell ssh to suppress warning and diagnostic messages [optional]" | 178 | msgid "Tell ssh to suppress warning and diagnostic messages [optional]" |
174 | msgstr "" | 179 | msgstr "" |
175 | 180 | ||
176 | #: plugins/check_by_ssh.c:427 | 181 | #: plugins/check_by_ssh.c:434 |
177 | msgid "The most common mode of use is to refer to a local identity file with" | 182 | msgid "The most common mode of use is to refer to a local identity file with" |
178 | msgstr "" | 183 | msgstr "" |
179 | 184 | ||
180 | #: plugins/check_by_ssh.c:428 | 185 | #: plugins/check_by_ssh.c:435 |
181 | msgid "the '-i' option. In this mode, the identity pair should have a null" | 186 | msgid "the '-i' option. In this mode, the identity pair should have a null" |
182 | msgstr "" | 187 | msgstr "" |
183 | 188 | ||
184 | #: plugins/check_by_ssh.c:429 | 189 | #: plugins/check_by_ssh.c:436 |
185 | msgid "passphrase and the public key should be listed in the authorized_keys" | 190 | msgid "passphrase and the public key should be listed in the authorized_keys" |
186 | msgstr "" | 191 | msgstr "" |
187 | 192 | ||
188 | #: plugins/check_by_ssh.c:430 | 193 | #: plugins/check_by_ssh.c:437 |
189 | msgid "file of the remote host. Usually the key will be restricted to running" | 194 | msgid "file of the remote host. Usually the key will be restricted to running" |
190 | msgstr "" | 195 | msgstr "" |
191 | 196 | ||
192 | #: plugins/check_by_ssh.c:431 | 197 | #: plugins/check_by_ssh.c:438 |
193 | msgid "only one command on the remote server. If the remote SSH server tracks" | 198 | msgid "only one command on the remote server. If the remote SSH server tracks" |
194 | msgstr "" | 199 | msgstr "" |
195 | 200 | ||
196 | #: plugins/check_by_ssh.c:432 | 201 | #: plugins/check_by_ssh.c:439 |
197 | msgid "invocation arguments, the one remote program may be an agent that can" | 202 | msgid "invocation arguments, the one remote program may be an agent that can" |
198 | msgstr "" | 203 | msgstr "" |
199 | 204 | ||
200 | #: plugins/check_by_ssh.c:433 | 205 | #: plugins/check_by_ssh.c:440 |
201 | msgid "execute additional commands as proxy" | 206 | msgid "execute additional commands as proxy" |
202 | msgstr "" | 207 | msgstr "" |
203 | 208 | ||
204 | #: plugins/check_by_ssh.c:435 | 209 | #: plugins/check_by_ssh.c:442 |
205 | msgid "To use passive mode, provide multiple '-C' options, and provide" | 210 | msgid "To use passive mode, provide multiple '-C' options, and provide" |
206 | msgstr "" | 211 | msgstr "" |
207 | 212 | ||
208 | #: plugins/check_by_ssh.c:436 | 213 | #: plugins/check_by_ssh.c:443 |
209 | msgid "" | 214 | msgid "" |
210 | "all of -O, -s, and -n options (servicelist order must match '-C'options)" | 215 | "all of -O, -s, and -n options (servicelist order must match '-C'options)" |
211 | msgstr "" | 216 | msgstr "" |
212 | 217 | ||
213 | #: plugins/check_by_ssh.c:438 plugins/check_cluster.c:261 | 218 | #: plugins/check_by_ssh.c:445 plugins/check_cluster.c:261 |
214 | #: plugins/check_dig.c:342 plugins/check_disk.c:905 plugins/check_http.c:1403 | 219 | #: plugins/check_dig.c:355 plugins/check_disk.c:924 plugins/check_http.c:1560 |
215 | #: plugins/check_nagios.c:302 plugins/check_ntp.c:864 | 220 | #: plugins/check_nagios.c:312 plugins/check_ntp.c:869 |
216 | #: plugins/check_ntp_peer.c:698 plugins/check_ntp_time.c:628 | 221 | #: plugins/check_ntp_peer.c:705 plugins/check_ntp_time.c:633 |
217 | #: plugins/check_procs.c:751 plugins/negate.c:268 plugins/urlize.c:180 | 222 | #: plugins/check_procs.c:763 plugins/negate.c:271 plugins/urlize.c:180 |
218 | msgid "Examples:" | 223 | msgid "Examples:" |
219 | msgstr "" | 224 | msgstr "" |
220 | 225 | ||
221 | #: plugins/check_by_ssh.c:453 plugins/check_cluster.c:274 | 226 | #: plugins/check_by_ssh.c:460 plugins/check_cluster.c:274 |
222 | #: plugins/check_dig.c:354 plugins/check_disk.c:922 plugins/check_dns.c:486 | 227 | #: plugins/check_dig.c:367 plugins/check_disk.c:941 plugins/check_dns.c:486 |
223 | #: plugins/check_dummy.c:122 plugins/check_fping.c:432 | 228 | #: plugins/check_dummy.c:122 plugins/check_fping.c:505 |
224 | #: plugins/check_game.c:331 plugins/check_hpjd.c:414 plugins/check_http.c:1426 | 229 | #: plugins/check_game.c:331 plugins/check_hpjd.c:414 plugins/check_http.c:1590 |
225 | #: plugins/check_ldap.c:456 plugins/check_load.c:325 plugins/check_mrtg.c:382 | 230 | #: plugins/check_ldap.c:451 plugins/check_load.c:334 plugins/check_mrtg.c:382 |
226 | #: plugins/check_mysql.c:425 plugins/check_nagios.c:313 plugins/check_nt.c:764 | 231 | #: plugins/check_mysql.c:569 plugins/check_nagios.c:323 plugins/check_nt.c:774 |
227 | #: plugins/check_ntp.c:883 plugins/check_ntp_peer.c:718 | 232 | #: plugins/check_ntp.c:888 plugins/check_ntp_peer.c:725 |
228 | #: plugins/check_ntp_time.c:637 plugins/check_nwstat.c:1685 | 233 | #: plugins/check_ntp_time.c:642 plugins/check_nwstat.c:1685 |
229 | #: plugins/check_overcr.c:467 plugins/check_pgsql.c:477 | 234 | #: plugins/check_overcr.c:467 plugins/check_pgsql.c:578 |
230 | #: plugins/check_ping.c:601 plugins/check_procs.c:769 | 235 | #: plugins/check_ping.c:603 plugins/check_procs.c:781 |
231 | #: plugins/check_radius.c:385 plugins/check_real.c:451 | 236 | #: plugins/check_radius.c:385 plugins/check_real.c:451 |
232 | #: plugins/check_smtp.c:840 plugins/check_snmp.c:1103 plugins/check_ssh.c:309 | 237 | #: plugins/check_smtp.c:843 plugins/check_snmp.c:1207 plugins/check_ssh.c:309 |
233 | #: plugins/check_swap.c:558 plugins/check_tcp.c:648 plugins/check_time.c:371 | 238 | #: plugins/check_swap.c:558 plugins/check_tcp.c:684 plugins/check_time.c:371 |
234 | #: plugins/check_ups.c:660 plugins/check_users.c:229 | 239 | #: plugins/check_ups.c:660 plugins/check_users.c:240 |
235 | #: plugins/check_ide_smart.c:527 plugins/negate.c:292 plugins/urlize.c:197 | 240 | #: plugins/check_ide_smart.c:640 plugins/negate.c:295 plugins/urlize.c:197 |
236 | #: plugins-root/check_dhcp.c:1421 plugins-root/check_icmp.c:1347 | 241 | #: plugins-root/check_dhcp.c:1422 plugins-root/check_icmp.c:1354 |
237 | msgid "Usage:" | 242 | msgid "Usage:" |
238 | msgstr "" | 243 | msgstr "" |
239 | 244 | ||
240 | #: plugins/check_cluster.c:230 | 245 | #: plugins/check_cluster.c:230 |
241 | #, c-format | 246 | #, c-format |
242 | msgid "Host/Service Cluster Plugin for Nagios 2" | 247 | msgid "Host/Service Cluster Plugin for Monitoring" |
243 | msgstr "" | 248 | msgstr "" |
244 | 249 | ||
245 | #: plugins/check_cluster.c:236 plugins/check_nt.c:666 | 250 | #: plugins/check_cluster.c:236 plugins/check_nt.c:676 |
246 | msgid "Options:" | 251 | msgid "Options:" |
247 | msgstr "" | 252 | msgstr "" |
248 | 253 | ||
@@ -279,13 +284,13 @@ msgid "commas" | |||
279 | msgstr "" | 284 | msgstr "" |
280 | 285 | ||
281 | #: plugins/check_cluster.c:257 plugins/check_game.c:318 | 286 | #: plugins/check_cluster.c:257 plugins/check_game.c:318 |
282 | #: plugins/check_http.c:1389 plugins/check_ldap.c:438 plugins/check_mrtg.c:363 | 287 | #: plugins/check_http.c:1542 plugins/check_ldap.c:438 plugins/check_mrtg.c:363 |
283 | #: plugins/check_mrtgtraf.c:361 plugins/check_mysql.c:414 | 288 | #: plugins/check_mrtgtraf.c:361 plugins/check_mysql.c:558 |
284 | #: plugins/check_nt.c:748 plugins/check_ntp.c:860 plugins/check_ntp_peer.c:689 | 289 | #: plugins/check_nt.c:758 plugins/check_ntp.c:865 plugins/check_ntp_peer.c:696 |
285 | #: plugins/check_ntp_time.c:621 plugins/check_nwstat.c:1670 | 290 | #: plugins/check_ntp_time.c:626 plugins/check_nwstat.c:1670 |
286 | #: plugins/check_overcr.c:456 plugins/check_snmp.c:1074 | 291 | #: plugins/check_overcr.c:456 plugins/check_snmp.c:1178 |
287 | #: plugins/check_swap.c:547 plugins/check_ups.c:642 plugins/negate.c:274 | 292 | #: plugins/check_swap.c:547 plugins/check_ups.c:642 plugins/negate.c:277 |
288 | #: plugins-root/check_icmp.c:1322 | 293 | #: plugins-root/check_icmp.c:1329 |
289 | msgid "Notes:" | 294 | msgid "Notes:" |
290 | msgstr "" | 295 | msgstr "" |
291 | 296 | ||
@@ -298,288 +303,307 @@ msgstr "" | |||
298 | msgid "state." | 303 | msgid "state." |
299 | msgstr "" | 304 | msgstr "" |
300 | 305 | ||
301 | #: plugins/check_dig.c:99 plugins/check_dig.c:101 | 306 | #: plugins/check_dig.c:100 plugins/check_dig.c:102 |
302 | #, c-format | 307 | #, c-format |
303 | msgid "Looking for: '%s'\n" | 308 | msgid "Looking for: '%s'\n" |
304 | msgstr "" | 309 | msgstr "" |
305 | 310 | ||
306 | #: plugins/check_dig.c:108 | 311 | #: plugins/check_dig.c:109 |
307 | msgid "dig returned an error status" | 312 | msgid "dig returned an error status" |
308 | msgstr "" | 313 | msgstr "" |
309 | 314 | ||
310 | #: plugins/check_dig.c:133 | 315 | #: plugins/check_dig.c:134 |
311 | msgid "Server not found in ANSWER SECTION" | 316 | msgid "Server not found in ANSWER SECTION" |
312 | msgstr "" | 317 | msgstr "" |
313 | 318 | ||
314 | #: plugins/check_dig.c:143 | 319 | #: plugins/check_dig.c:144 |
315 | msgid "No ANSWER SECTION found" | 320 | msgid "No ANSWER SECTION found" |
316 | msgstr "" | 321 | msgstr "" |
317 | 322 | ||
318 | #: plugins/check_dig.c:170 | 323 | #: plugins/check_dig.c:171 |
319 | msgid "Probably a non-existent host/domain" | 324 | msgid "Probably a non-existent host/domain" |
320 | msgstr "" | 325 | msgstr "" |
321 | 326 | ||
322 | #: plugins/check_dig.c:230 | 327 | #: plugins/check_dig.c:233 |
323 | #, c-format | 328 | #, c-format |
324 | msgid "Port must be a positive integer - %s" | 329 | msgid "Port must be a positive integer - %s" |
325 | msgstr "" | 330 | msgstr "" |
326 | 331 | ||
327 | #: plugins/check_dig.c:241 | 332 | #: plugins/check_dig.c:244 |
328 | #, c-format | 333 | #, c-format |
329 | msgid "Warning interval must be a positive integer - %s" | 334 | msgid "Warning interval must be a positive integer - %s" |
330 | msgstr "" | 335 | msgstr "" |
331 | 336 | ||
332 | #: plugins/check_dig.c:249 | 337 | #: plugins/check_dig.c:252 |
333 | #, c-format | 338 | #, c-format |
334 | msgid "Critical interval must be a positive integer - %s" | 339 | msgid "Critical interval must be a positive integer - %s" |
335 | msgstr "" | 340 | msgstr "" |
336 | 341 | ||
337 | #: plugins/check_dig.c:257 | 342 | #: plugins/check_dig.c:260 |
338 | #, c-format | 343 | #, c-format |
339 | msgid "Timeout interval must be a positive integer - %s" | 344 | msgid "Timeout interval must be a positive integer - %s" |
340 | msgstr "" | 345 | msgstr "" |
341 | 346 | ||
342 | #: plugins/check_dig.c:316 | 347 | #: plugins/check_dig.c:325 |
343 | #, c-format | 348 | #, c-format |
344 | msgid "This plugin test the DNS service on the specified host using dig" | 349 | msgid "This plugin test the DNS service on the specified host using dig" |
345 | msgstr "" | 350 | msgstr "" |
346 | 351 | ||
347 | #: plugins/check_dig.c:329 | 352 | #: plugins/check_dig.c:338 |
353 | msgid "Force dig to only use IPv4 query transport" | ||
354 | msgstr "" | ||
355 | |||
356 | #: plugins/check_dig.c:340 | ||
357 | msgid "Force dig to only use IPv6 query transport" | ||
358 | msgstr "" | ||
359 | |||
360 | #: plugins/check_dig.c:342 | ||
348 | msgid "Machine name to lookup" | 361 | msgid "Machine name to lookup" |
349 | msgstr "" | 362 | msgstr "" |
350 | 363 | ||
351 | #: plugins/check_dig.c:331 | 364 | #: plugins/check_dig.c:344 |
352 | msgid "Record type to lookup (default: A)" | 365 | msgid "Record type to lookup (default: A)" |
353 | msgstr "" | 366 | msgstr "" |
354 | 367 | ||
355 | #: plugins/check_dig.c:333 | 368 | #: plugins/check_dig.c:346 |
356 | msgid "" | 369 | msgid "" |
357 | "An address expected to be in the answer section. If not set, uses whatever" | 370 | "An address expected to be in the answer section. If not set, uses whatever" |
358 | msgstr "" | 371 | msgstr "" |
359 | 372 | ||
360 | #: plugins/check_dig.c:334 | 373 | #: plugins/check_dig.c:347 |
361 | msgid "was in -l" | 374 | msgid "was in -l" |
362 | msgstr "" | 375 | msgstr "" |
363 | 376 | ||
364 | #: plugins/check_dig.c:336 | 377 | #: plugins/check_dig.c:349 |
365 | msgid "Pass STRING as argument(s) to dig" | 378 | msgid "Pass STRING as argument(s) to dig" |
366 | msgstr "" | 379 | msgstr "" |
367 | 380 | ||
368 | #: plugins/check_disk.c:212 | 381 | #: plugins/check_disk.c:216 |
369 | #, c-format | 382 | #, c-format |
370 | msgid "DISK %s: %s not found\n" | 383 | msgid "DISK %s: %s not found\n" |
371 | msgstr "" | 384 | msgstr "" |
372 | 385 | ||
373 | #: plugins/check_disk.c:212 plugins/check_disk.c:937 plugins/check_dns.c:241 | 386 | #: plugins/check_disk.c:216 plugins/check_disk.c:956 plugins/check_dns.c:241 |
374 | #: plugins/check_dummy.c:74 plugins/check_mysql.c:212 | 387 | #: plugins/check_dummy.c:74 plugins/check_mysql.c:299 |
375 | #: plugins/check_nagios.c:104 plugins/check_nagios.c:168 | 388 | #: plugins/check_nagios.c:104 plugins/check_nagios.c:168 |
376 | #: plugins/check_nagios.c:172 plugins/check_procs.c:290 | 389 | #: plugins/check_nagios.c:172 plugins/check_pgsql.c:601 |
390 | #: plugins/check_pgsql.c:618 plugins/check_pgsql.c:627 | ||
391 | #: plugins/check_pgsql.c:642 plugins/check_procs.c:351 | ||
377 | #, c-format | 392 | #, c-format |
378 | msgid "CRITICAL" | 393 | msgid "CRITICAL" |
379 | msgstr "" | 394 | msgstr "" |
380 | 395 | ||
381 | #: plugins/check_disk.c:541 | 396 | #: plugins/check_disk.c:550 |
382 | #, c-format | 397 | #, c-format |
383 | msgid "unit type %s not known\n" | 398 | msgid "unit type %s not known\n" |
384 | msgstr "" | 399 | msgstr "" |
385 | 400 | ||
386 | #: plugins/check_disk.c:544 | 401 | #: plugins/check_disk.c:553 |
387 | #, c-format | 402 | #, c-format |
388 | msgid "failed allocating storage for '%s'\n" | 403 | msgid "failed allocating storage for '%s'\n" |
389 | msgstr "" | 404 | msgstr "" |
390 | 405 | ||
391 | #: plugins/check_disk.c:568 plugins/check_disk.c:606 plugins/check_disk.c:611 | 406 | #: plugins/check_disk.c:577 plugins/check_disk.c:618 plugins/check_disk.c:626 |
392 | #: plugins/check_disk.c:618 plugins/check_disk.c:622 plugins/check_disk.c:662 | 407 | #: plugins/check_disk.c:633 plugins/check_disk.c:637 plugins/check_disk.c:677 |
393 | #: plugins/check_disk.c:668 plugins/check_disk.c:687 plugins/check_dummy.c:77 | 408 | #: plugins/check_disk.c:683 plugins/check_disk.c:702 plugins/check_dummy.c:77 |
394 | #: plugins/check_dummy.c:80 plugins/check_procs.c:453 | 409 | #: plugins/check_dummy.c:80 plugins/check_pgsql.c:643 |
410 | #: plugins/check_procs.c:506 | ||
395 | #, c-format | 411 | #, c-format |
396 | msgid "UNKNOWN" | 412 | msgid "UNKNOWN" |
397 | msgstr "" | 413 | msgstr "" |
398 | 414 | ||
399 | #: plugins/check_disk.c:568 | 415 | #: plugins/check_disk.c:577 |
400 | msgid "Must set a threshold value before using -p\n" | 416 | msgid "Must set a threshold value before using -p\n" |
401 | msgstr "" | 417 | msgstr "" |
402 | 418 | ||
403 | #: plugins/check_disk.c:606 | 419 | #: plugins/check_disk.c:618 |
404 | msgid "Must set -E before selecting paths\n" | 420 | msgid "Must set -E before selecting paths\n" |
405 | msgstr "" | 421 | msgstr "" |
406 | 422 | ||
407 | #: plugins/check_disk.c:611 | 423 | #: plugins/check_disk.c:626 |
408 | msgid "Must set group value before selecting paths\n" | 424 | msgid "Must set group value before selecting paths\n" |
409 | msgstr "" | 425 | msgstr "" |
410 | 426 | ||
411 | #: plugins/check_disk.c:618 | 427 | #: plugins/check_disk.c:633 |
412 | msgid "" | 428 | msgid "" |
413 | "Paths need to be selected before using -i/-I. Use -A to select all paths " | 429 | "Paths need to be selected before using -i/-I. Use -A to select all paths " |
414 | "explicitly" | 430 | "explicitly" |
415 | msgstr "" | 431 | msgstr "" |
416 | 432 | ||
417 | #: plugins/check_disk.c:622 plugins/check_disk.c:668 plugins/check_procs.c:453 | 433 | #: plugins/check_disk.c:637 plugins/check_disk.c:683 plugins/check_procs.c:506 |
418 | msgid "Could not compile regular expression" | 434 | msgid "Could not compile regular expression" |
419 | msgstr "" | 435 | msgstr "" |
420 | 436 | ||
421 | #: plugins/check_disk.c:662 | 437 | #: plugins/check_disk.c:677 |
422 | msgid "Must set a threshold value before using -r/-R\n" | 438 | msgid "Must set a threshold value before using -r/-R\n" |
423 | msgstr "" | 439 | msgstr "" |
424 | 440 | ||
425 | #: plugins/check_disk.c:688 | 441 | #: plugins/check_disk.c:703 |
426 | msgid "Regular expression did not match any path or disk" | 442 | msgid "Regular expression did not match any path or disk" |
427 | msgstr "" | 443 | msgstr "" |
428 | 444 | ||
429 | #: plugins/check_disk.c:734 | 445 | #: plugins/check_disk.c:749 |
430 | msgid "Unknown argument" | 446 | msgid "Unknown argument" |
431 | msgstr "" | 447 | msgstr "" |
432 | 448 | ||
433 | #: plugins/check_disk.c:768 | 449 | #: plugins/check_disk.c:783 |
434 | #, c-format | 450 | #, c-format |
435 | msgid " for %s\n" | 451 | msgid " for %s\n" |
436 | msgstr "" | 452 | msgstr "" |
437 | 453 | ||
438 | #: plugins/check_disk.c:842 | 454 | #: plugins/check_disk.c:857 |
439 | msgid "" | 455 | msgid "" |
440 | "This plugin checks the amount of used disk space on a mounted file system" | 456 | "This plugin checks the amount of used disk space on a mounted file system" |
441 | msgstr "" | 457 | msgstr "" |
442 | 458 | ||
443 | #: plugins/check_disk.c:843 | 459 | #: plugins/check_disk.c:858 |
444 | msgid "" | 460 | msgid "" |
445 | "and generates an alert if free space is less than one of the threshold values" | 461 | "and generates an alert if free space is less than one of the threshold values" |
446 | msgstr "" | 462 | msgstr "" |
447 | 463 | ||
448 | #: plugins/check_disk.c:853 | 464 | #: plugins/check_disk.c:868 |
449 | msgid "Exit with WARNING status if less than INTEGER units of disk are free" | 465 | msgid "Exit with WARNING status if less than INTEGER units of disk are free" |
450 | msgstr "" | 466 | msgstr "" |
451 | 467 | ||
452 | #: plugins/check_disk.c:855 | 468 | #: plugins/check_disk.c:870 |
453 | msgid "Exit with WARNING status if less than PERCENT of disk space is free" | 469 | msgid "Exit with WARNING status if less than PERCENT of disk space is free" |
454 | msgstr "" | 470 | msgstr "" |
455 | 471 | ||
456 | #: plugins/check_disk.c:857 | 472 | #: plugins/check_disk.c:872 |
457 | msgid "Exit with CRITICAL status if less than INTEGER units of disk are free" | 473 | msgid "Exit with CRITICAL status if less than INTEGER units of disk are free" |
458 | msgstr "" | 474 | msgstr "" |
459 | 475 | ||
460 | #: plugins/check_disk.c:859 | 476 | #: plugins/check_disk.c:874 |
461 | msgid "Exit with CRITCAL status if less than PERCENT of disk space is free" | 477 | msgid "Exit with CRITICAL status if less than PERCENT of disk space is free" |
462 | msgstr "" | 478 | msgstr "" |
463 | 479 | ||
464 | #: plugins/check_disk.c:861 | 480 | #: plugins/check_disk.c:876 |
465 | msgid "Exit with WARNING status if less than PERCENT of inode space is free" | 481 | msgid "Exit with WARNING status if less than PERCENT of inode space is free" |
466 | msgstr "" | 482 | msgstr "" |
467 | 483 | ||
468 | #: plugins/check_disk.c:863 | 484 | #: plugins/check_disk.c:878 |
469 | msgid "Exit with CRITICAL status if less than PERCENT of inode space is free" | 485 | msgid "Exit with CRITICAL status if less than PERCENT of inode space is free" |
470 | msgstr "" | 486 | msgstr "" |
471 | 487 | ||
472 | #: plugins/check_disk.c:865 | 488 | #: plugins/check_disk.c:880 |
473 | msgid "Path or partition (may be repeated)" | 489 | msgid "Path or partition (may be repeated)" |
474 | msgstr "" | 490 | msgstr "" |
475 | 491 | ||
476 | #: plugins/check_disk.c:867 | 492 | #: plugins/check_disk.c:882 |
477 | msgid "Ignore device (only works if -p unspecified)" | 493 | msgid "Ignore device (only works if -p unspecified)" |
478 | msgstr "" | 494 | msgstr "" |
479 | 495 | ||
480 | #: plugins/check_disk.c:869 | 496 | #: plugins/check_disk.c:884 |
481 | msgid "Clear thresholds" | 497 | msgid "Clear thresholds" |
482 | msgstr "" | 498 | msgstr "" |
483 | 499 | ||
484 | #: plugins/check_disk.c:871 | 500 | #: plugins/check_disk.c:886 |
485 | msgid "For paths or partitions specified with -p, only check for exact paths" | 501 | msgid "For paths or partitions specified with -p, only check for exact paths" |
486 | msgstr "" | 502 | msgstr "" |
487 | 503 | ||
488 | #: plugins/check_disk.c:873 | 504 | #: plugins/check_disk.c:888 |
489 | msgid "Display only devices/mountpoints with errors" | 505 | msgid "Display only devices/mountpoints with errors" |
490 | msgstr "" | 506 | msgstr "" |
491 | 507 | ||
492 | #: plugins/check_disk.c:875 | 508 | #: plugins/check_disk.c:890 |
509 | msgid "Don't account root-reserved blocks into freespace in perfdata" | ||
510 | msgstr "" | ||
511 | |||
512 | #: plugins/check_disk.c:892 | ||
493 | msgid "" | 513 | msgid "" |
494 | "Group paths. Thresholds apply to (free-)space of all partitions together" | 514 | "Group paths. Thresholds apply to (free-)space of all partitions together" |
495 | msgstr "" | 515 | msgstr "" |
496 | 516 | ||
497 | #: plugins/check_disk.c:877 | 517 | #: plugins/check_disk.c:894 |
498 | msgid "Same as '--units kB'" | 518 | msgid "Same as '--units kB'" |
499 | msgstr "" | 519 | msgstr "" |
500 | 520 | ||
501 | #: plugins/check_disk.c:879 | 521 | #: plugins/check_disk.c:896 |
502 | msgid "Only check local filesystems" | 522 | msgid "Only check local filesystems" |
503 | msgstr "" | 523 | msgstr "" |
504 | 524 | ||
505 | #: plugins/check_disk.c:881 | 525 | #: plugins/check_disk.c:898 |
506 | msgid "" | 526 | msgid "" |
507 | "Only check local filesystems against thresholds. Yet call stat on remote " | 527 | "Only check local filesystems against thresholds. Yet call stat on remote " |
508 | "filesystems" | 528 | "filesystems" |
509 | msgstr "" | 529 | msgstr "" |
510 | 530 | ||
511 | #: plugins/check_disk.c:882 | 531 | #: plugins/check_disk.c:899 |
512 | msgid "to test if they are accessible (e.g. to detect Stale NFS Handles)" | 532 | msgid "to test if they are accessible (e.g. to detect Stale NFS Handles)" |
513 | msgstr "" | 533 | msgstr "" |
514 | 534 | ||
515 | #: plugins/check_disk.c:884 | 535 | #: plugins/check_disk.c:901 |
516 | msgid "Display the mountpoint instead of the partition" | 536 | msgid "Display the mountpoint instead of the partition" |
517 | msgstr "" | 537 | msgstr "" |
518 | 538 | ||
519 | #: plugins/check_disk.c:886 | 539 | #: plugins/check_disk.c:903 |
520 | msgid "Same as '--units MB'" | 540 | msgid "Same as '--units MB'" |
521 | msgstr "" | 541 | msgstr "" |
522 | 542 | ||
523 | #: plugins/check_disk.c:888 | 543 | #: plugins/check_disk.c:905 |
524 | msgid "Explicitly select all paths. This is equivalent to -R '.*'" | 544 | msgid "Explicitly select all paths. This is equivalent to -R '.*'" |
525 | msgstr "" | 545 | msgstr "" |
526 | 546 | ||
527 | #: plugins/check_disk.c:890 | 547 | #: plugins/check_disk.c:907 |
528 | msgid "" | 548 | msgid "" |
529 | "Case insensitive regular expression for path/partition (may be repeated)" | 549 | "Case insensitive regular expression for path/partition (may be repeated)" |
530 | msgstr "" | 550 | msgstr "" |
531 | 551 | ||
532 | #: plugins/check_disk.c:892 | 552 | #: plugins/check_disk.c:909 |
533 | msgid "Regular expression for path or partition (may be repeated)" | 553 | msgid "Regular expression for path or partition (may be repeated)" |
534 | msgstr "" | 554 | msgstr "" |
535 | 555 | ||
536 | #: plugins/check_disk.c:894 | 556 | #: plugins/check_disk.c:911 |
537 | msgid "" | 557 | msgid "" |
538 | "Regular expression to ignore selected path/partition (case insensitive) (may " | 558 | "Regular expression to ignore selected path/partition (case insensitive) (may " |
539 | "be repeated)" | 559 | "be repeated)" |
540 | msgstr "" | 560 | msgstr "" |
541 | 561 | ||
542 | #: plugins/check_disk.c:896 | 562 | #: plugins/check_disk.c:913 |
543 | msgid "" | 563 | msgid "" |
544 | "Regular expression to ignore selected path or partition (may be repeated)" | 564 | "Regular expression to ignore selected path or partition (may be repeated)" |
545 | msgstr "" | 565 | msgstr "" |
546 | 566 | ||
547 | #: plugins/check_disk.c:899 | 567 | #: plugins/check_disk.c:916 |
548 | msgid "Choose bytes, kB, MB, GB, TB (default: MB)" | 568 | msgid "Choose bytes, kB, MB, GB, TB (default: MB)" |
549 | msgstr "" | 569 | msgstr "" |
550 | 570 | ||
551 | #: plugins/check_disk.c:902 | 571 | #: plugins/check_disk.c:919 |
552 | msgid "Ignore all filesystems of indicated type (may be repeated)" | 572 | msgid "Ignore all filesystems of indicated type (may be repeated)" |
553 | msgstr "" | 573 | msgstr "" |
554 | 574 | ||
555 | #: plugins/check_disk.c:907 | 575 | #: plugins/check_disk.c:921 |
576 | msgid "Check only filesystems of indicated type (may be repeated)" | ||
577 | msgstr "" | ||
578 | |||
579 | #: plugins/check_disk.c:926 | ||
556 | msgid "Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB" | 580 | msgid "Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB" |
557 | msgstr "" | 581 | msgstr "" |
558 | 582 | ||
559 | #: plugins/check_disk.c:909 | 583 | #: plugins/check_disk.c:928 |
560 | msgid "" | 584 | msgid "" |
561 | "Checks all filesystems not matching -r at 100M and 50M. The fs matching the -" | 585 | "Checks all filesystems not matching -r at 100M and 50M. The fs matching the -" |
562 | "r regex" | 586 | "r regex" |
563 | msgstr "" | 587 | msgstr "" |
564 | 588 | ||
565 | #: plugins/check_disk.c:910 | 589 | #: plugins/check_disk.c:929 |
566 | msgid "" | 590 | msgid "" |
567 | "are grouped which means the freespace thresholds are applied to all disks " | 591 | "are grouped which means the freespace thresholds are applied to all disks " |
568 | "together" | 592 | "together" |
569 | msgstr "" | 593 | msgstr "" |
570 | 594 | ||
571 | #: plugins/check_disk.c:912 | 595 | #: plugins/check_disk.c:931 |
572 | msgid "" | 596 | msgid "" |
573 | "Checks /foo for 1000M/500M and /bar for 5/3%. All remaining volumes use " | 597 | "Checks /foo for 1000M/500M and /bar for 5/3%. All remaining volumes use " |
574 | "100M/50M" | 598 | "100M/50M" |
575 | msgstr "" | 599 | msgstr "" |
576 | 600 | ||
577 | #: plugins/check_disk.c:938 | 601 | #: plugins/check_disk.c:957 |
578 | #, c-format | 602 | #, c-format |
579 | msgid "%s %s: %s\n" | 603 | msgid "%s %s: %s\n" |
580 | msgstr "" | 604 | msgstr "" |
581 | 605 | ||
582 | #: plugins/check_disk.c:938 | 606 | #: plugins/check_disk.c:957 |
583 | msgid "is not accessible" | 607 | msgid "is not accessible" |
584 | msgstr "" | 608 | msgstr "" |
585 | 609 | ||
@@ -616,13 +640,15 @@ msgid "server %s is not authoritative for %s" | |||
616 | msgstr "" | 640 | msgstr "" |
617 | 641 | ||
618 | #: plugins/check_dns.c:237 plugins/check_dummy.c:68 plugins/check_nagios.c:182 | 642 | #: plugins/check_dns.c:237 plugins/check_dummy.c:68 plugins/check_nagios.c:182 |
619 | #: plugins/check_procs.c:283 | 643 | #: plugins/check_pgsql.c:638 plugins/check_procs.c:344 |
620 | #, c-format | 644 | #, c-format |
621 | msgid "OK" | 645 | msgid "OK" |
622 | msgstr "" | 646 | msgstr "" |
623 | 647 | ||
624 | #: plugins/check_dns.c:239 plugins/check_dummy.c:71 plugins/check_mysql.c:209 | 648 | #: plugins/check_dns.c:239 plugins/check_dummy.c:71 plugins/check_mysql.c:296 |
625 | #: plugins/check_nagios.c:182 plugins/check_procs.c:285 | 649 | #: plugins/check_nagios.c:182 plugins/check_pgsql.c:607 |
650 | #: plugins/check_pgsql.c:612 plugins/check_pgsql.c:640 | ||
651 | #: plugins/check_procs.c:346 | ||
626 | #, c-format | 652 | #, c-format |
627 | msgid "WARNING" | 653 | msgid "WARNING" |
628 | msgstr "" | 654 | msgstr "" |
@@ -789,142 +815,176 @@ msgstr "" | |||
789 | msgid "of the <state> argument with optional text" | 815 | msgid "of the <state> argument with optional text" |
790 | msgstr "" | 816 | msgstr "" |
791 | 817 | ||
792 | #: plugins/check_fping.c:108 plugins/check_hpjd.c:128 plugins/check_ping.c:437 | 818 | #: plugins/check_fping.c:125 plugins/check_hpjd.c:128 plugins/check_ping.c:438 |
793 | #: plugins/check_swap.c:175 plugins/check_users.c:73 plugins/urlize.c:110 | 819 | #: plugins/check_swap.c:175 plugins/check_users.c:94 plugins/urlize.c:110 |
794 | #, c-format | 820 | #, c-format |
795 | msgid "Could not open pipe: %s\n" | 821 | msgid "Could not open pipe: %s\n" |
796 | msgstr "" | 822 | msgstr "" |
797 | 823 | ||
798 | #: plugins/check_fping.c:114 plugins/check_hpjd.c:134 plugins/check_load.c:153 | 824 | #: plugins/check_fping.c:131 plugins/check_hpjd.c:134 plugins/check_load.c:153 |
799 | #: plugins/check_swap.c:181 plugins/check_users.c:79 plugins/urlize.c:116 | 825 | #: plugins/check_swap.c:181 plugins/check_users.c:100 plugins/urlize.c:116 |
800 | #, c-format | 826 | #, c-format |
801 | msgid "Could not open stderr for %s\n" | 827 | msgid "Could not open stderr for %s\n" |
802 | msgstr "" | 828 | msgstr "" |
803 | 829 | ||
804 | #: plugins/check_fping.c:154 | 830 | #: plugins/check_fping.c:157 |
831 | msgid "FPING UNKNOWN - IP address not found\n" | ||
832 | msgstr "" | ||
833 | |||
834 | #: plugins/check_fping.c:160 | ||
835 | msgid "FPING UNKNOWN - invalid commandline argument\n" | ||
836 | msgstr "" | ||
837 | |||
838 | #: plugins/check_fping.c:163 | ||
839 | msgid "FPING UNKNOWN - failed system call\n" | ||
840 | msgstr "" | ||
841 | |||
842 | #: plugins/check_fping.c:187 | ||
805 | #, c-format | 843 | #, c-format |
806 | msgid "FPING UNKNOW - %s not found\n" | 844 | msgid "FPING UNKNOW - %s not found\n" |
807 | msgstr "" | 845 | msgstr "" |
808 | 846 | ||
809 | #: plugins/check_fping.c:158 | 847 | #: plugins/check_fping.c:191 |
810 | #, c-format | 848 | #, c-format |
811 | msgid "FPING CRITICAL - %s is unreachable\n" | 849 | msgid "FPING CRITICAL - %s is unreachable\n" |
812 | msgstr "" | 850 | msgstr "" |
813 | 851 | ||
814 | #: plugins/check_fping.c:163 | 852 | #: plugins/check_fping.c:196 |
853 | #, c-format | ||
854 | msgid "FPING UNKNOWN - %s parameter error\n" | ||
855 | msgstr "" | ||
856 | |||
857 | #: plugins/check_fping.c:200 plugins/check_fping.c:240 | ||
815 | #, c-format | 858 | #, c-format |
816 | msgid "FPING CRITICAL - %s is down\n" | 859 | msgid "FPING CRITICAL - %s is down\n" |
817 | msgstr "" | 860 | msgstr "" |
818 | 861 | ||
819 | #: plugins/check_fping.c:190 | 862 | #: plugins/check_fping.c:227 |
820 | #, c-format | 863 | #, c-format |
821 | msgid "FPING %s - %s (loss=%.0f%%, rta=%f ms)|%s %s\n" | 864 | msgid "FPING %s - %s (loss=%.0f%%, rta=%f ms)|%s %s\n" |
822 | msgstr "" | 865 | msgstr "" |
823 | 866 | ||
824 | #: plugins/check_fping.c:211 | 867 | #: plugins/check_fping.c:253 |
825 | #, c-format | 868 | #, c-format |
826 | msgid "FPING %s - %s (loss=%.0f%% )|%s\n" | 869 | msgid "FPING %s - %s (loss=%.0f%% )|%s\n" |
827 | msgstr "" | 870 | msgstr "" |
828 | 871 | ||
829 | #: plugins/check_fping.c:280 plugins/check_hpjd.c:338 plugins/check_hpjd.c:361 | 872 | #: plugins/check_fping.c:326 plugins/check_fping.c:332 |
830 | #: plugins/check_mysql.c:276 plugins/check_mysql.c:334 plugins/check_ntp.c:705 | 873 | #: plugins/check_hpjd.c:338 plugins/check_hpjd.c:361 plugins/check_mysql.c:371 |
831 | #: plugins/check_ntp_peer.c:491 plugins/check_ntp_time.c:492 | 874 | #: plugins/check_mysql.c:455 plugins/check_ntp.c:709 |
832 | #: plugins/check_pgsql.c:268 plugins/check_ping.c:295 plugins/check_ping.c:418 | 875 | #: plugins/check_ntp_peer.c:497 plugins/check_ntp_time.c:496 |
876 | #: plugins/check_pgsql.c:335 plugins/check_ping.c:295 plugins/check_ping.c:418 | ||
833 | #: plugins/check_radius.c:264 plugins/check_real.c:314 | 877 | #: plugins/check_radius.c:264 plugins/check_real.c:314 |
834 | #: plugins/check_real.c:376 plugins/check_smtp.c:509 plugins/check_smtp.c:638 | 878 | #: plugins/check_real.c:376 plugins/check_smtp.c:499 plugins/check_smtp.c:641 |
835 | #: plugins/check_ssh.c:157 plugins/check_time.c:240 plugins/check_time.c:315 | 879 | #: plugins/check_ssh.c:157 plugins/check_time.c:240 plugins/check_time.c:315 |
836 | #: plugins/check_ups.c:504 plugins/check_ups.c:573 | 880 | #: plugins/check_ups.c:504 plugins/check_ups.c:573 |
837 | msgid "Invalid hostname/address" | 881 | msgid "Invalid hostname/address" |
838 | msgstr "" | 882 | msgstr "" |
839 | 883 | ||
840 | #: plugins/check_fping.c:314 | 884 | #: plugins/check_fping.c:345 plugins/check_ldap.c:353 plugins/check_ping.c:246 |
885 | msgid "IPv6 support not available\n" | ||
886 | msgstr "" | ||
887 | |||
888 | #: plugins/check_fping.c:378 | ||
841 | msgid "Packet size must be a positive integer" | 889 | msgid "Packet size must be a positive integer" |
842 | msgstr "" | 890 | msgstr "" |
843 | 891 | ||
844 | #: plugins/check_fping.c:320 | 892 | #: plugins/check_fping.c:384 |
845 | msgid "Packet count must be a positive integer" | 893 | msgid "Packet count must be a positive integer" |
846 | msgstr "" | 894 | msgstr "" |
847 | 895 | ||
848 | #: plugins/check_fping.c:326 | 896 | #: plugins/check_fping.c:390 |
849 | msgid "Target timeout must be a positive integer" | 897 | msgid "Target timeout must be a positive integer" |
850 | msgstr "" | 898 | msgstr "" |
851 | 899 | ||
852 | #: plugins/check_fping.c:332 | 900 | #: plugins/check_fping.c:396 |
853 | msgid "Interval must be a positive integer" | 901 | msgid "Interval must be a positive integer" |
854 | msgstr "" | 902 | msgstr "" |
855 | 903 | ||
856 | #: plugins/check_fping.c:338 plugins/check_ntp.c:729 | 904 | #: plugins/check_fping.c:402 plugins/check_ntp.c:733 |
857 | #: plugins/check_ntp_peer.c:518 plugins/check_ntp_time.c:519 | 905 | #: plugins/check_ntp_peer.c:524 plugins/check_ntp_time.c:523 |
858 | #: plugins/check_radius.c:314 plugins/check_time.c:319 | 906 | #: plugins/check_radius.c:314 plugins/check_time.c:319 |
859 | msgid "Hostname was not supplied" | 907 | msgid "Hostname was not supplied" |
860 | msgstr "" | 908 | msgstr "" |
861 | 909 | ||
862 | #: plugins/check_fping.c:358 | 910 | #: plugins/check_fping.c:422 |
863 | #, c-format | 911 | #, c-format |
864 | msgid "%s: Only one threshold may be packet loss (%s)\n" | 912 | msgid "%s: Only one threshold may be packet loss (%s)\n" |
865 | msgstr "" | 913 | msgstr "" |
866 | 914 | ||
867 | #: plugins/check_fping.c:362 | 915 | #: plugins/check_fping.c:426 |
868 | #, c-format | 916 | #, c-format |
869 | msgid "%s: Only one threshold must be packet loss (%s)\n" | 917 | msgid "%s: Only one threshold must be packet loss (%s)\n" |
870 | msgstr "" | 918 | msgstr "" |
871 | 919 | ||
872 | #: plugins/check_fping.c:394 | 920 | #: plugins/check_fping.c:458 |
873 | msgid "" | 921 | msgid "" |
874 | "This plugin will use the fping command to ping the specified host for a fast " | 922 | "This plugin will use the fping command to ping the specified host for a fast " |
875 | "check" | 923 | "check" |
876 | msgstr "" | 924 | msgstr "" |
877 | 925 | ||
878 | #: plugins/check_fping.c:396 | 926 | #: plugins/check_fping.c:460 |
879 | msgid "Note that it is necessary to set the suid flag on fping." | 927 | msgid "Note that it is necessary to set the suid flag on fping." |
880 | msgstr "" | 928 | msgstr "" |
881 | 929 | ||
882 | #: plugins/check_fping.c:406 | 930 | #: plugins/check_fping.c:472 |
883 | msgid "" | 931 | msgid "" |
884 | "name or IP Address of host to ping (IP Address bypasses name lookup, " | 932 | "name or IP Address of host to ping (IP Address bypasses name lookup, " |
885 | "reducing system load)" | 933 | "reducing system load)" |
886 | msgstr "" | 934 | msgstr "" |
887 | 935 | ||
888 | #: plugins/check_fping.c:408 plugins/check_ping.c:573 | 936 | #: plugins/check_fping.c:474 plugins/check_ping.c:575 |
889 | msgid "warning threshold pair" | 937 | msgid "warning threshold pair" |
890 | msgstr "" | 938 | msgstr "" |
891 | 939 | ||
892 | #: plugins/check_fping.c:410 plugins/check_ping.c:575 | 940 | #: plugins/check_fping.c:476 plugins/check_ping.c:577 |
893 | msgid "critical threshold pair" | 941 | msgid "critical threshold pair" |
894 | msgstr "" | 942 | msgstr "" |
895 | 943 | ||
896 | #: plugins/check_fping.c:412 | 944 | #: plugins/check_fping.c:478 |
897 | msgid "size of ICMP packet" | 945 | msgid "size of ICMP packet" |
898 | msgstr "" | 946 | msgstr "" |
899 | 947 | ||
900 | #: plugins/check_fping.c:414 | 948 | #: plugins/check_fping.c:480 |
901 | msgid "number of ICMP packets to send" | 949 | msgid "number of ICMP packets to send" |
902 | msgstr "" | 950 | msgstr "" |
903 | 951 | ||
904 | #: plugins/check_fping.c:416 | 952 | #: plugins/check_fping.c:482 |
905 | msgid "Target timeout (ms)" | 953 | msgid "Target timeout (ms)" |
906 | msgstr "" | 954 | msgstr "" |
907 | 955 | ||
908 | #: plugins/check_fping.c:418 | 956 | #: plugins/check_fping.c:484 |
909 | msgid "Interval (ms) between sending packets" | 957 | msgid "Interval (ms) between sending packets" |
910 | msgstr "" | 958 | msgstr "" |
911 | 959 | ||
912 | #: plugins/check_fping.c:421 | 960 | #: plugins/check_fping.c:486 |
961 | msgid "name or IP Address of sourceip" | ||
962 | msgstr "" | ||
963 | |||
964 | #: plugins/check_fping.c:488 | ||
965 | msgid "source interface name" | ||
966 | msgstr "" | ||
967 | |||
968 | #: plugins/check_fping.c:491 | ||
913 | #, c-format | 969 | #, c-format |
914 | msgid "" | 970 | msgid "" |
915 | "THRESHOLD is <rta>,<pl>%% where <rta> is the round trip average travel time " | 971 | "THRESHOLD is <rta>,<pl>%% where <rta> is the round trip average travel time " |
916 | "(ms)" | 972 | "(ms)" |
917 | msgstr "" | 973 | msgstr "" |
918 | 974 | ||
919 | #: plugins/check_fping.c:422 | 975 | #: plugins/check_fping.c:492 |
920 | msgid "" | 976 | msgid "" |
921 | "which triggers a WARNING or CRITICAL state, and <pl> is the percentage of" | 977 | "which triggers a WARNING or CRITICAL state, and <pl> is the percentage of" |
922 | msgstr "" | 978 | msgstr "" |
923 | 979 | ||
924 | #: plugins/check_fping.c:423 | 980 | #: plugins/check_fping.c:493 |
925 | msgid "packet loss to trigger an alarm state." | 981 | msgid "packet loss to trigger an alarm state." |
926 | msgstr "" | 982 | msgstr "" |
927 | 983 | ||
984 | #: plugins/check_fping.c:496 | ||
985 | msgid "IPv4 is used by default. Specify -6 to use IPv6." | ||
986 | msgstr "" | ||
987 | |||
928 | #: plugins/check_game.c:111 | 988 | #: plugins/check_game.c:111 |
929 | #, c-format | 989 | #, c-format |
930 | msgid "CRITICAL - Host type parameter incorrect!\n" | 990 | msgid "CRITICAL - Host type parameter incorrect!\n" |
@@ -1049,438 +1109,521 @@ msgstr "" | |||
1049 | msgid "(default=%s)" | 1109 | msgid "(default=%s)" |
1050 | msgstr "" | 1110 | msgstr "" |
1051 | 1111 | ||
1052 | #: plugins/check_http.c:285 plugins/check_tcp.c:556 | 1112 | #: plugins/check_http.c:189 |
1113 | msgid "file does not exist or is not readable" | ||
1114 | msgstr "" | ||
1115 | |||
1116 | #: plugins/check_http.c:310 plugins/check_http.c:315 plugins/check_http.c:321 | ||
1117 | #: plugins/check_smtp.c:600 plugins/check_tcp.c:576 plugins/check_tcp.c:580 | ||
1118 | #: plugins/check_tcp.c:586 | ||
1053 | msgid "Invalid certificate expiration period" | 1119 | msgid "Invalid certificate expiration period" |
1054 | msgstr "" | 1120 | msgstr "" |
1055 | 1121 | ||
1056 | #: plugins/check_http.c:294 plugins/check_tcp.c:568 | 1122 | #: plugins/check_http.c:348 |
1123 | msgid "" | ||
1124 | "Invalid option - Valid values for SSL Version are 1 (TLSv1), 2 (SSLv2) or 3 " | ||
1125 | "(SSLv3)" | ||
1126 | msgstr "" | ||
1127 | |||
1128 | #: plugins/check_http.c:354 plugins/check_tcp.c:599 | ||
1057 | msgid "Invalid option - SSL is not available" | 1129 | msgid "Invalid option - SSL is not available" |
1058 | msgstr "" | 1130 | msgstr "" |
1059 | 1131 | ||
1060 | #: plugins/check_http.c:318 | 1132 | #: plugins/check_http.c:375 |
1061 | msgid "Invalid onredirect option" | 1133 | msgid "Invalid onredirect option" |
1062 | msgstr "" | 1134 | msgstr "" |
1063 | 1135 | ||
1064 | #: plugins/check_http.c:320 | 1136 | #: plugins/check_http.c:377 |
1065 | #, c-format | 1137 | #, c-format |
1066 | msgid "option f:%d \n" | 1138 | msgid "option f:%d \n" |
1067 | msgstr "" | 1139 | msgstr "" |
1068 | 1140 | ||
1069 | #: plugins/check_http.c:341 | 1141 | #: plugins/check_http.c:398 |
1070 | msgid "Invalid port number" | 1142 | msgid "Invalid port number" |
1071 | msgstr "" | 1143 | msgstr "" |
1072 | 1144 | ||
1073 | #: plugins/check_http.c:389 | 1145 | #: plugins/check_http.c:450 |
1074 | #, c-format | 1146 | #, c-format |
1075 | msgid "Could Not Compile Regular Expression: %s" | 1147 | msgid "Could Not Compile Regular Expression: %s" |
1076 | msgstr "" | 1148 | msgstr "" |
1077 | 1149 | ||
1078 | #: plugins/check_http.c:403 plugins/check_ntp.c:718 | 1150 | #: plugins/check_http.c:464 plugins/check_ntp.c:722 |
1079 | #: plugins/check_ntp_peer.c:507 plugins/check_ntp_time.c:508 | 1151 | #: plugins/check_ntp_peer.c:513 plugins/check_ntp_time.c:512 |
1080 | #: plugins/check_smtp.c:618 plugins/check_ssh.c:149 plugins/check_tcp.c:460 | 1152 | #: plugins/check_smtp.c:621 plugins/check_ssh.c:149 plugins/check_tcp.c:477 |
1081 | msgid "IPv6 support not available" | 1153 | msgid "IPv6 support not available" |
1082 | msgstr "" | 1154 | msgstr "" |
1083 | 1155 | ||
1084 | #: plugins/check_http.c:465 plugins/check_ping.c:422 | 1156 | #: plugins/check_http.c:529 plugins/check_ping.c:422 |
1085 | msgid "You must specify a server address or host name" | 1157 | msgid "You must specify a server address or host name" |
1086 | msgstr "" | 1158 | msgstr "" |
1087 | 1159 | ||
1088 | #: plugins/check_http.c:600 plugins/check_http.c:768 | 1160 | #: plugins/check_http.c:543 |
1161 | msgid "" | ||
1162 | "If you use a client certificate you must also specify a private key file" | ||
1163 | msgstr "" | ||
1164 | |||
1165 | #: plugins/check_http.c:667 plugins/check_http.c:835 | ||
1089 | msgid "HTTP UNKNOWN - Memory allocation error\n" | 1166 | msgid "HTTP UNKNOWN - Memory allocation error\n" |
1090 | msgstr "" | 1167 | msgstr "" |
1091 | 1168 | ||
1092 | #: plugins/check_http.c:672 | 1169 | #: plugins/check_http.c:739 |
1093 | #, c-format | 1170 | #, c-format |
1094 | msgid "%sServer date unknown, " | 1171 | msgid "%sServer date unknown, " |
1095 | msgstr "" | 1172 | msgstr "" |
1096 | 1173 | ||
1097 | #: plugins/check_http.c:675 | 1174 | #: plugins/check_http.c:742 |
1098 | #, c-format | 1175 | #, c-format |
1099 | msgid "%sDocument modification date unknown, " | 1176 | msgid "%sDocument modification date unknown, " |
1100 | msgstr "" | 1177 | msgstr "" |
1101 | 1178 | ||
1102 | #: plugins/check_http.c:682 | 1179 | #: plugins/check_http.c:749 |
1103 | #, c-format | 1180 | #, c-format |
1104 | msgid "%sServer date \"%100s\" unparsable, " | 1181 | msgid "%sServer date \"%100s\" unparsable, " |
1105 | msgstr "" | 1182 | msgstr "" |
1106 | 1183 | ||
1107 | #: plugins/check_http.c:685 | 1184 | #: plugins/check_http.c:752 |
1108 | #, c-format | 1185 | #, c-format |
1109 | msgid "%sDocument date \"%100s\" unparsable, " | 1186 | msgid "%sDocument date \"%100s\" unparsable, " |
1110 | msgstr "" | 1187 | msgstr "" |
1111 | 1188 | ||
1112 | #: plugins/check_http.c:688 | 1189 | #: plugins/check_http.c:755 |
1113 | #, c-format | 1190 | #, c-format |
1114 | msgid "%sDocument is %d seconds in the future, " | 1191 | msgid "%sDocument is %d seconds in the future, " |
1115 | msgstr "" | 1192 | msgstr "" |
1116 | 1193 | ||
1117 | #: plugins/check_http.c:693 | 1194 | #: plugins/check_http.c:760 |
1118 | #, c-format | 1195 | #, c-format |
1119 | msgid "%sLast modified %.1f days ago, " | 1196 | msgid "%sLast modified %.1f days ago, " |
1120 | msgstr "" | 1197 | msgstr "" |
1121 | 1198 | ||
1122 | #: plugins/check_http.c:696 | 1199 | #: plugins/check_http.c:763 |
1123 | #, c-format | 1200 | #, c-format |
1124 | msgid "%sLast modified %d:%02d:%02d ago, " | 1201 | msgid "%sLast modified %d:%02d:%02d ago, " |
1125 | msgstr "" | 1202 | msgstr "" |
1126 | 1203 | ||
1127 | #: plugins/check_http.c:798 | 1204 | #: plugins/check_http.c:876 |
1128 | msgid "HTTP CRITICAL - Unable to open TCP socket\n" | 1205 | msgid "HTTP CRITICAL - Unable to open TCP socket\n" |
1129 | msgstr "" | 1206 | msgstr "" |
1130 | 1207 | ||
1131 | #: plugins/check_http.c:901 | 1208 | #: plugins/check_http.c:995 |
1132 | msgid "HTTP CRITICAL - Error on receive\n" | 1209 | msgid "HTTP CRITICAL - Error on receive\n" |
1133 | msgstr "" | 1210 | msgstr "" |
1134 | 1211 | ||
1135 | #: plugins/check_http.c:911 | 1212 | #: plugins/check_http.c:1005 |
1136 | msgid "HTTP CRITICAL - No data received from host\n" | 1213 | msgid "HTTP CRITICAL - No data received from host\n" |
1137 | msgstr "" | 1214 | msgstr "" |
1138 | 1215 | ||
1139 | #: plugins/check_http.c:962 | 1216 | #: plugins/check_http.c:1056 |
1140 | #, c-format | 1217 | #, c-format |
1141 | msgid "Invalid HTTP response received from host: %s\n" | 1218 | msgid "Invalid HTTP response received from host: %s\n" |
1142 | msgstr "" | 1219 | msgstr "" |
1143 | 1220 | ||
1144 | #: plugins/check_http.c:966 | 1221 | #: plugins/check_http.c:1060 |
1145 | #, c-format | 1222 | #, c-format |
1146 | msgid "Invalid HTTP response received from host on port %d: %s\n" | 1223 | msgid "Invalid HTTP response received from host on port %d: %s\n" |
1147 | msgstr "" | 1224 | msgstr "" |
1148 | 1225 | ||
1149 | #: plugins/check_http.c:975 | 1226 | #: plugins/check_http.c:1069 |
1150 | #, c-format | 1227 | #, c-format |
1151 | msgid "Status line output matched \"%s\" - " | 1228 | msgid "Status line output matched \"%s\" - " |
1152 | msgstr "" | 1229 | msgstr "" |
1153 | 1230 | ||
1154 | #: plugins/check_http.c:986 | 1231 | #: plugins/check_http.c:1080 |
1155 | #, c-format | 1232 | #, c-format |
1156 | msgid "HTTP CRITICAL: Invalid Status Line (%s)\n" | 1233 | msgid "HTTP CRITICAL: Invalid Status Line (%s)\n" |
1157 | msgstr "" | 1234 | msgstr "" |
1158 | 1235 | ||
1159 | #: plugins/check_http.c:993 | 1236 | #: plugins/check_http.c:1087 |
1160 | #, c-format | 1237 | #, c-format |
1161 | msgid "HTTP CRITICAL: Invalid Status (%s)\n" | 1238 | msgid "HTTP CRITICAL: Invalid Status (%s)\n" |
1162 | msgstr "" | 1239 | msgstr "" |
1163 | 1240 | ||
1164 | #: plugins/check_http.c:997 plugins/check_http.c:1002 | 1241 | #: plugins/check_http.c:1091 plugins/check_http.c:1096 |
1165 | #: plugins/check_http.c:1012 plugins/check_http.c:1016 | 1242 | #: plugins/check_http.c:1106 plugins/check_http.c:1110 |
1166 | #, c-format | 1243 | #, c-format |
1167 | msgid "%s - " | 1244 | msgid "%s - " |
1168 | msgstr "" | 1245 | msgstr "" |
1169 | 1246 | ||
1170 | #: plugins/check_http.c:1036 | 1247 | #: plugins/check_http.c:1129 |
1248 | #, c-format | ||
1249 | msgid "%sheader '%s' not found on '%s://%s:%d%s', " | ||
1250 | msgstr "" | ||
1251 | |||
1252 | #: plugins/check_http.c:1141 | ||
1171 | #, c-format | 1253 | #, c-format |
1172 | msgid "%sstring '%s' not found on '%s://%s:%d%s', " | 1254 | msgid "%sstring '%s' not found on '%s://%s:%d%s', " |
1173 | msgstr "" | 1255 | msgstr "" |
1174 | 1256 | ||
1175 | #: plugins/check_http.c:1049 | 1257 | #: plugins/check_http.c:1154 |
1176 | #, c-format | 1258 | #, c-format |
1177 | msgid "%spattern not found, " | 1259 | msgid "%spattern not found, " |
1178 | msgstr "" | 1260 | msgstr "" |
1179 | 1261 | ||
1180 | #: plugins/check_http.c:1051 | 1262 | #: plugins/check_http.c:1156 |
1181 | #, c-format | 1263 | #, c-format |
1182 | msgid "%spattern found, " | 1264 | msgid "%spattern found, " |
1183 | msgstr "" | 1265 | msgstr "" |
1184 | 1266 | ||
1185 | #: plugins/check_http.c:1057 | 1267 | #: plugins/check_http.c:1162 |
1186 | #, c-format | 1268 | #, c-format |
1187 | msgid "%sExecute Error: %s, " | 1269 | msgid "%sExecute Error: %s, " |
1188 | msgstr "" | 1270 | msgstr "" |
1189 | 1271 | ||
1190 | #: plugins/check_http.c:1073 | 1272 | #: plugins/check_http.c:1178 |
1191 | #, c-format | 1273 | #, c-format |
1192 | msgid "%spage size %d too large, " | 1274 | msgid "%spage size %d too large, " |
1193 | msgstr "" | 1275 | msgstr "" |
1194 | 1276 | ||
1195 | #: plugins/check_http.c:1076 | 1277 | #: plugins/check_http.c:1181 |
1196 | #, c-format | 1278 | #, c-format |
1197 | msgid "%spage size %d too small, " | 1279 | msgid "%spage size %d too small, " |
1198 | msgstr "" | 1280 | msgstr "" |
1199 | 1281 | ||
1200 | #: plugins/check_http.c:1088 | 1282 | #: plugins/check_http.c:1194 |
1283 | #, c-format | ||
1284 | msgid "%s - %d bytes in %.3f second response time %s|%s %s %s %s %s %s %s" | ||
1285 | msgstr "" | ||
1286 | |||
1287 | #: plugins/check_http.c:1206 | ||
1201 | #, c-format | 1288 | #, c-format |
1202 | msgid "%s - %d bytes in %.3f second response time %s|%s %s" | 1289 | msgid "%s - %d bytes in %.3f second response time %s|%s %s" |
1203 | msgstr "" | 1290 | msgstr "" |
1204 | 1291 | ||
1205 | #: plugins/check_http.c:1125 | 1292 | #: plugins/check_http.c:1244 |
1206 | msgid "HTTP UNKNOWN - Could not allocate addr\n" | 1293 | msgid "HTTP UNKNOWN - Could not allocate addr\n" |
1207 | msgstr "" | 1294 | msgstr "" |
1208 | 1295 | ||
1209 | #: plugins/check_http.c:1129 plugins/check_http.c:1160 | 1296 | #: plugins/check_http.c:1248 plugins/check_http.c:1279 |
1210 | msgid "HTTP UNKNOWN - Could not allocate URL\n" | 1297 | msgid "HTTP UNKNOWN - Could not allocate URL\n" |
1211 | msgstr "" | 1298 | msgstr "" |
1212 | 1299 | ||
1213 | #: plugins/check_http.c:1138 | 1300 | #: plugins/check_http.c:1257 |
1214 | #, c-format | 1301 | #, c-format |
1215 | msgid "HTTP UNKNOWN - Could not find redirect location - %s%s\n" | 1302 | msgid "HTTP UNKNOWN - Could not find redirect location - %s%s\n" |
1216 | msgstr "" | 1303 | msgstr "" |
1217 | 1304 | ||
1218 | #: plugins/check_http.c:1153 | 1305 | #: plugins/check_http.c:1272 |
1219 | #, c-format | 1306 | #, c-format |
1220 | msgid "HTTP UNKNOWN - Empty redirect location%s\n" | 1307 | msgid "HTTP UNKNOWN - Empty redirect location%s\n" |
1221 | msgstr "" | 1308 | msgstr "" |
1222 | 1309 | ||
1223 | #: plugins/check_http.c:1203 | 1310 | #: plugins/check_http.c:1322 |
1224 | #, c-format | 1311 | #, c-format |
1225 | msgid "HTTP UNKNOWN - Could not parse redirect location - %s%s\n" | 1312 | msgid "HTTP UNKNOWN - Could not parse redirect location - %s%s\n" |
1226 | msgstr "" | 1313 | msgstr "" |
1227 | 1314 | ||
1228 | #: plugins/check_http.c:1213 | 1315 | #: plugins/check_http.c:1332 |
1229 | #, c-format | 1316 | #, c-format |
1230 | msgid "HTTP WARNING - maximum redirection depth %d exceeded - %s://%s:%d%s%s\n" | 1317 | msgid "HTTP WARNING - maximum redirection depth %d exceeded - %s://%s:%d%s%s\n" |
1231 | msgstr "" | 1318 | msgstr "" |
1232 | 1319 | ||
1233 | #: plugins/check_http.c:1221 | 1320 | #: plugins/check_http.c:1340 |
1234 | #, c-format | 1321 | #, c-format |
1235 | msgid "HTTP WARNING - redirection creates an infinite loop - %s://%s:%d%s%s\n" | 1322 | msgid "HTTP WARNING - redirection creates an infinite loop - %s://%s:%d%s%s\n" |
1236 | msgstr "" | 1323 | msgstr "" |
1237 | 1324 | ||
1238 | #: plugins/check_http.c:1242 | 1325 | #: plugins/check_http.c:1361 |
1239 | #, c-format | 1326 | #, c-format |
1240 | msgid "HTTP UNKNOWN - Redirection to port above %d - %s://%s:%d%s%s\n" | 1327 | msgid "HTTP UNKNOWN - Redirection to port above %d - %s://%s:%d%s%s\n" |
1241 | msgstr "" | 1328 | msgstr "" |
1242 | 1329 | ||
1243 | #: plugins/check_http.c:1247 | 1330 | #: plugins/check_http.c:1366 |
1244 | #, c-format | 1331 | #, c-format |
1245 | msgid "Redirection to %s://%s:%d%s\n" | 1332 | msgid "Redirection to %s://%s:%d%s\n" |
1246 | msgstr "" | 1333 | msgstr "" |
1247 | 1334 | ||
1248 | #: plugins/check_http.c:1298 | 1335 | #: plugins/check_http.c:1440 |
1249 | msgid "This plugin tests the HTTP service on the specified host. It can test" | 1336 | msgid "This plugin tests the HTTP service on the specified host. It can test" |
1250 | msgstr "" | 1337 | msgstr "" |
1251 | 1338 | ||
1252 | #: plugins/check_http.c:1299 | 1339 | #: plugins/check_http.c:1441 |
1253 | msgid "normal (http) and secure (https) servers, follow redirects, search for" | 1340 | msgid "normal (http) and secure (https) servers, follow redirects, search for" |
1254 | msgstr "" | 1341 | msgstr "" |
1255 | 1342 | ||
1256 | #: plugins/check_http.c:1300 | 1343 | #: plugins/check_http.c:1442 |
1257 | msgid "strings and regular expressions, check connection times, and report on" | 1344 | msgid "strings and regular expressions, check connection times, and report on" |
1258 | msgstr "" | 1345 | msgstr "" |
1259 | 1346 | ||
1260 | #: plugins/check_http.c:1301 | 1347 | #: plugins/check_http.c:1443 |
1261 | msgid "certificate expiration times." | 1348 | msgid "certificate expiration times." |
1262 | msgstr "" | 1349 | msgstr "" |
1263 | 1350 | ||
1264 | #: plugins/check_http.c:1307 | 1351 | #: plugins/check_http.c:1449 |
1265 | #, c-format | 1352 | #, c-format |
1266 | msgid "NOTE: One or both of -H and -I must be specified" | 1353 | msgid "NOTE: One or both of -H and -I must be specified" |
1267 | msgstr "" | 1354 | msgstr "" |
1268 | 1355 | ||
1269 | #: plugins/check_http.c:1315 | 1356 | #: plugins/check_http.c:1457 |
1270 | msgid "Host name argument for servers using host headers (virtual host)" | 1357 | msgid "Host name argument for servers using host headers (virtual host)" |
1271 | msgstr "" | 1358 | msgstr "" |
1272 | 1359 | ||
1273 | #: plugins/check_http.c:1316 | 1360 | #: plugins/check_http.c:1458 |
1274 | msgid "Append a port to include it in the header (eg: example.com:5000)" | 1361 | msgid "Append a port to include it in the header (eg: example.com:5000)" |
1275 | msgstr "" | 1362 | msgstr "" |
1276 | 1363 | ||
1277 | #: plugins/check_http.c:1318 | 1364 | #: plugins/check_http.c:1460 |
1278 | msgid "" | 1365 | msgid "" |
1279 | "IP address or name (use numeric address if possible to bypass DNS lookup)." | 1366 | "IP address or name (use numeric address if possible to bypass DNS lookup)." |
1280 | msgstr "" | 1367 | msgstr "" |
1281 | 1368 | ||
1282 | #: plugins/check_http.c:1320 | 1369 | #: plugins/check_http.c:1462 |
1283 | msgid "Port number (default: " | 1370 | msgid "Port number (default: " |
1284 | msgstr "" | 1371 | msgstr "" |
1285 | 1372 | ||
1286 | #: plugins/check_http.c:1327 | 1373 | #: plugins/check_http.c:1469 |
1287 | msgid "Connect via SSL. Port defaults to 443" | 1374 | msgid "" |
1375 | "Connect via SSL. Port defaults to 443. VERSION is optional, and prevents" | ||
1288 | msgstr "" | 1376 | msgstr "" |
1289 | 1377 | ||
1290 | #: plugins/check_http.c:1329 | 1378 | #: plugins/check_http.c:1470 |
1379 | msgid "auto-negotiation (1 = TLSv1, 2 = SSLv2, 3 = SSLv3)." | ||
1380 | msgstr "" | ||
1381 | |||
1382 | #: plugins/check_http.c:1472 | ||
1291 | msgid "Enable SSL/TLS hostname extension support (SNI)" | 1383 | msgid "Enable SSL/TLS hostname extension support (SNI)" |
1292 | msgstr "" | 1384 | msgstr "" |
1293 | 1385 | ||
1294 | #: plugins/check_http.c:1331 | 1386 | #: plugins/check_http.c:1474 |
1295 | msgid "" | 1387 | msgid "" |
1296 | "Minimum number of days a certificate has to be valid. Port defaults to 443" | 1388 | "Minimum number of days a certificate has to be valid. Port defaults to 443" |
1297 | msgstr "" | 1389 | msgstr "" |
1298 | 1390 | ||
1299 | #: plugins/check_http.c:1332 | 1391 | #: plugins/check_http.c:1475 |
1300 | msgid "(when this option is used the URL is not checked.)\n" | 1392 | msgid "(when this option is used the URL is not checked.)" |
1393 | msgstr "" | ||
1394 | |||
1395 | #: plugins/check_http.c:1477 | ||
1396 | msgid "Name of file that contains the client certificate (PEM format)" | ||
1397 | msgstr "" | ||
1398 | |||
1399 | #: plugins/check_http.c:1478 | ||
1400 | msgid "to be used in establishing the SSL session" | ||
1301 | msgstr "" | 1401 | msgstr "" |
1302 | 1402 | ||
1303 | #: plugins/check_http.c:1336 | 1403 | #: plugins/check_http.c:1480 |
1404 | msgid "Name of file containing the private key (PEM format)" | ||
1405 | msgstr "" | ||
1406 | |||
1407 | #: plugins/check_http.c:1481 | ||
1408 | msgid "matching the client certificate" | ||
1409 | msgstr "" | ||
1410 | |||
1411 | #: plugins/check_http.c:1485 | ||
1304 | msgid "Comma-delimited list of strings, at least one of them is expected in" | 1412 | msgid "Comma-delimited list of strings, at least one of them is expected in" |
1305 | msgstr "" | 1413 | msgstr "" |
1306 | 1414 | ||
1307 | #: plugins/check_http.c:1337 | 1415 | #: plugins/check_http.c:1486 |
1308 | msgid "the first (status) line of the server response (default: " | 1416 | msgid "the first (status) line of the server response (default: " |
1309 | msgstr "" | 1417 | msgstr "" |
1310 | 1418 | ||
1311 | #: plugins/check_http.c:1339 | 1419 | #: plugins/check_http.c:1488 |
1312 | msgid "" | 1420 | msgid "" |
1313 | "If specified skips all other status line logic (ex: 3xx, 4xx, 5xx processing)" | 1421 | "If specified skips all other status line logic (ex: 3xx, 4xx, 5xx processing)" |
1314 | msgstr "" | 1422 | msgstr "" |
1315 | 1423 | ||
1316 | #: plugins/check_http.c:1341 | 1424 | #: plugins/check_http.c:1490 |
1425 | msgid "String to expect in the response headers" | ||
1426 | msgstr "" | ||
1427 | |||
1428 | #: plugins/check_http.c:1492 | ||
1317 | msgid "String to expect in the content" | 1429 | msgid "String to expect in the content" |
1318 | msgstr "" | 1430 | msgstr "" |
1319 | 1431 | ||
1320 | #: plugins/check_http.c:1343 | 1432 | #: plugins/check_http.c:1494 |
1321 | msgid "URL to GET or POST (default: /)" | 1433 | msgid "URL to GET or POST (default: /)" |
1322 | msgstr "" | 1434 | msgstr "" |
1323 | 1435 | ||
1324 | #: plugins/check_http.c:1345 | 1436 | #: plugins/check_http.c:1496 |
1325 | msgid "URL encoded http POST data" | 1437 | msgid "URL encoded http POST data" |
1326 | msgstr "" | 1438 | msgstr "" |
1327 | 1439 | ||
1328 | #: plugins/check_http.c:1347 | 1440 | #: plugins/check_http.c:1498 |
1329 | msgid "Set HTTP method." | 1441 | msgid "Set HTTP method." |
1330 | msgstr "" | 1442 | msgstr "" |
1331 | 1443 | ||
1332 | #: plugins/check_http.c:1349 | 1444 | #: plugins/check_http.c:1500 |
1333 | msgid "Don't wait for document body: stop reading after headers." | 1445 | msgid "Don't wait for document body: stop reading after headers." |
1334 | msgstr "" | 1446 | msgstr "" |
1335 | 1447 | ||
1336 | #: plugins/check_http.c:1350 | 1448 | #: plugins/check_http.c:1501 |
1337 | msgid "(Note that this still does an HTTP GET or POST, not a HEAD.)" | 1449 | msgid "(Note that this still does an HTTP GET or POST, not a HEAD.)" |
1338 | msgstr "" | 1450 | msgstr "" |
1339 | 1451 | ||
1340 | #: plugins/check_http.c:1352 | 1452 | #: plugins/check_http.c:1503 |
1341 | msgid "Warn if document is more than SECONDS old. the number can also be of" | 1453 | msgid "Warn if document is more than SECONDS old. the number can also be of" |
1342 | msgstr "" | 1454 | msgstr "" |
1343 | 1455 | ||
1344 | #: plugins/check_http.c:1353 | 1456 | #: plugins/check_http.c:1504 |
1345 | msgid "the form \"10m\" for minutes, \"10h\" for hours, or \"10d\" for days." | 1457 | msgid "the form \"10m\" for minutes, \"10h\" for hours, or \"10d\" for days." |
1346 | msgstr "" | 1458 | msgstr "" |
1347 | 1459 | ||
1348 | #: plugins/check_http.c:1355 | 1460 | #: plugins/check_http.c:1506 |
1349 | msgid "specify Content-Type header media type when POSTing\n" | 1461 | msgid "specify Content-Type header media type when POSTing\n" |
1350 | msgstr "" | 1462 | msgstr "" |
1351 | 1463 | ||
1352 | #: plugins/check_http.c:1358 | 1464 | #: plugins/check_http.c:1509 |
1353 | msgid "Allow regex to span newlines (must precede -r or -R)" | 1465 | msgid "Allow regex to span newlines (must precede -r or -R)" |
1354 | msgstr "" | 1466 | msgstr "" |
1355 | 1467 | ||
1356 | #: plugins/check_http.c:1360 | 1468 | #: plugins/check_http.c:1511 |
1357 | msgid "Search page for regex STRING" | 1469 | msgid "Search page for regex STRING" |
1358 | msgstr "" | 1470 | msgstr "" |
1359 | 1471 | ||
1360 | #: plugins/check_http.c:1362 | 1472 | #: plugins/check_http.c:1513 |
1361 | msgid "Search page for case-insensitive regex STRING" | 1473 | msgid "Search page for case-insensitive regex STRING" |
1362 | msgstr "" | 1474 | msgstr "" |
1363 | 1475 | ||
1364 | #: plugins/check_http.c:1364 | 1476 | #: plugins/check_http.c:1515 |
1365 | msgid "Return CRITICAL if found, OK if not\n" | 1477 | msgid "Return CRITICAL if found, OK if not\n" |
1366 | msgstr "" | 1478 | msgstr "" |
1367 | 1479 | ||
1368 | #: plugins/check_http.c:1367 | 1480 | #: plugins/check_http.c:1518 |
1369 | msgid "Username:password on sites with basic authentication" | 1481 | msgid "Username:password on sites with basic authentication" |
1370 | msgstr "" | 1482 | msgstr "" |
1371 | 1483 | ||
1372 | #: plugins/check_http.c:1369 | 1484 | #: plugins/check_http.c:1520 |
1373 | msgid "Username:password on proxy-servers with basic authentication" | 1485 | msgid "Username:password on proxy-servers with basic authentication" |
1374 | msgstr "" | 1486 | msgstr "" |
1375 | 1487 | ||
1376 | #: plugins/check_http.c:1371 | 1488 | #: plugins/check_http.c:1522 |
1377 | msgid "String to be sent in http header as \"User Agent\"" | 1489 | msgid "String to be sent in http header as \"User Agent\"" |
1378 | msgstr "" | 1490 | msgstr "" |
1379 | 1491 | ||
1380 | #: plugins/check_http.c:1373 | 1492 | #: plugins/check_http.c:1524 |
1381 | msgid "" | 1493 | msgid "" |
1382 | "Any other tags to be sent in http header. Use multiple times for additional " | 1494 | "Any other tags to be sent in http header. Use multiple times for additional " |
1383 | "headers" | 1495 | "headers" |
1384 | msgstr "" | 1496 | msgstr "" |
1385 | 1497 | ||
1386 | #: plugins/check_http.c:1375 | 1498 | #: plugins/check_http.c:1526 |
1499 | msgid "Print additional performance data" | ||
1500 | msgstr "" | ||
1501 | |||
1502 | #: plugins/check_http.c:1528 | ||
1387 | msgid "Wrap output in HTML link (obsoleted by urlize)" | 1503 | msgid "Wrap output in HTML link (obsoleted by urlize)" |
1388 | msgstr "" | 1504 | msgstr "" |
1389 | 1505 | ||
1390 | #: plugins/check_http.c:1377 | 1506 | #: plugins/check_http.c:1530 |
1391 | msgid "How to handle redirected pages. sticky is like follow but stick to the" | 1507 | msgid "How to handle redirected pages. sticky is like follow but stick to the" |
1392 | msgstr "" | 1508 | msgstr "" |
1393 | 1509 | ||
1394 | #: plugins/check_http.c:1378 | 1510 | #: plugins/check_http.c:1531 |
1395 | msgid "specified IP address. stickyport also ensures port stays the same." | 1511 | msgid "specified IP address. stickyport also ensures port stays the same." |
1396 | msgstr "" | 1512 | msgstr "" |
1397 | 1513 | ||
1398 | #: plugins/check_http.c:1380 | 1514 | #: plugins/check_http.c:1533 |
1399 | msgid "Minimum page size required (bytes) : Maximum page size required (bytes)" | 1515 | msgid "Minimum page size required (bytes) : Maximum page size required (bytes)" |
1400 | msgstr "" | 1516 | msgstr "" |
1401 | 1517 | ||
1402 | #: plugins/check_http.c:1390 | 1518 | #: plugins/check_http.c:1543 |
1403 | msgid "This plugin will attempt to open an HTTP connection with the host." | 1519 | msgid "This plugin will attempt to open an HTTP connection with the host." |
1404 | msgstr "" | 1520 | msgstr "" |
1405 | 1521 | ||
1406 | #: plugins/check_http.c:1391 | 1522 | #: plugins/check_http.c:1544 |
1407 | msgid "" | 1523 | msgid "" |
1408 | "Successful connects return STATE_OK, refusals and timeouts return " | 1524 | "Successful connects return STATE_OK, refusals and timeouts return " |
1409 | "STATE_CRITICAL" | 1525 | "STATE_CRITICAL" |
1410 | msgstr "" | 1526 | msgstr "" |
1411 | 1527 | ||
1412 | #: plugins/check_http.c:1392 | 1528 | #: plugins/check_http.c:1545 |
1413 | msgid "" | 1529 | msgid "" |
1414 | "other errors return STATE_UNKNOWN. Successful connects, but incorrect " | 1530 | "other errors return STATE_UNKNOWN. Successful connects, but incorrect " |
1415 | "reponse" | 1531 | "reponse" |
1416 | msgstr "" | 1532 | msgstr "" |
1417 | 1533 | ||
1418 | #: plugins/check_http.c:1393 | 1534 | #: plugins/check_http.c:1546 |
1419 | msgid "" | 1535 | msgid "" |
1420 | "messages from the host result in STATE_WARNING return values. If you are" | 1536 | "messages from the host result in STATE_WARNING return values. If you are" |
1421 | msgstr "" | 1537 | msgstr "" |
1422 | 1538 | ||
1423 | #: plugins/check_http.c:1394 | 1539 | #: plugins/check_http.c:1547 |
1424 | msgid "" | 1540 | msgid "" |
1425 | "checking a virtual server that uses 'host headers' you must supply the FQDN" | 1541 | "checking a virtual server that uses 'host headers' you must supply the FQDN" |
1426 | msgstr "" | 1542 | msgstr "" |
1427 | 1543 | ||
1428 | #: plugins/check_http.c:1395 | 1544 | #: plugins/check_http.c:1548 |
1429 | msgid "(fully qualified domain name) as the [host_name] argument." | 1545 | msgid "(fully qualified domain name) as the [host_name] argument." |
1430 | msgstr "" | 1546 | msgstr "" |
1431 | 1547 | ||
1432 | #: plugins/check_http.c:1399 | 1548 | #: plugins/check_http.c:1552 |
1433 | msgid "This plugin can also check whether an SSL enabled web server is able to" | 1549 | msgid "This plugin can also check whether an SSL enabled web server is able to" |
1434 | msgstr "" | 1550 | msgstr "" |
1435 | 1551 | ||
1436 | #: plugins/check_http.c:1400 | 1552 | #: plugins/check_http.c:1553 |
1437 | msgid "serve content (optionally within a specified time) or whether the X509 " | 1553 | msgid "serve content (optionally within a specified time) or whether the X509 " |
1438 | msgstr "" | 1554 | msgstr "" |
1439 | 1555 | ||
1440 | #: plugins/check_http.c:1401 | 1556 | #: plugins/check_http.c:1554 |
1441 | msgid "certificate is still valid for the specified number of days." | 1557 | msgid "certificate is still valid for the specified number of days." |
1442 | msgstr "" | 1558 | msgstr "" |
1443 | 1559 | ||
1444 | #: plugins/check_http.c:1405 | 1560 | #: plugins/check_http.c:1556 |
1561 | msgid "Please note that this plugin does not check if the presented server" | ||
1562 | msgstr "" | ||
1563 | |||
1564 | #: plugins/check_http.c:1557 | ||
1565 | msgid "certificate matches the hostname of the server, or if the certificate" | ||
1566 | msgstr "" | ||
1567 | |||
1568 | #: plugins/check_http.c:1558 | ||
1569 | msgid "has a valid chain of trust to one of the locally installed CAs." | ||
1570 | msgstr "" | ||
1571 | |||
1572 | #: plugins/check_http.c:1562 | ||
1445 | msgid "" | 1573 | msgid "" |
1446 | "When the 'www.verisign.com' server returns its content within 5 seconds," | 1574 | "When the 'www.verisign.com' server returns its content within 5 seconds," |
1447 | msgstr "" | 1575 | msgstr "" |
1448 | 1576 | ||
1449 | #: plugins/check_http.c:1406 | 1577 | #: plugins/check_http.c:1563 |
1450 | msgid "" | 1578 | msgid "" |
1451 | "a STATE_OK will be returned. When the server returns its content but exceeds" | 1579 | "a STATE_OK will be returned. When the server returns its content but exceeds" |
1452 | msgstr "" | 1580 | msgstr "" |
1453 | 1581 | ||
1454 | #: plugins/check_http.c:1407 | 1582 | #: plugins/check_http.c:1564 |
1455 | msgid "" | 1583 | msgid "" |
1456 | "the 5-second threshold, a STATE_WARNING will be returned. When an error " | 1584 | "the 5-second threshold, a STATE_WARNING will be returned. When an error " |
1457 | "occurs," | 1585 | "occurs," |
1458 | msgstr "" | 1586 | msgstr "" |
1459 | 1587 | ||
1460 | #: plugins/check_http.c:1408 | 1588 | #: plugins/check_http.c:1565 |
1461 | msgid "a STATE_CRITICAL will be returned." | 1589 | msgid "a STATE_CRITICAL will be returned." |
1462 | msgstr "" | 1590 | msgstr "" |
1463 | 1591 | ||
1464 | #: plugins/check_http.c:1411 | 1592 | #: plugins/check_http.c:1568 |
1465 | msgid "" | 1593 | msgid "" |
1466 | "When the certificate of 'www.verisign.com' is valid for more than 14 days," | 1594 | "When the certificate of 'www.verisign.com' is valid for more than 14 days," |
1467 | msgstr "" | 1595 | msgstr "" |
1468 | 1596 | ||
1469 | #: plugins/check_http.c:1412 | 1597 | #: plugins/check_http.c:1569 plugins/check_http.c:1575 |
1470 | msgid "" | 1598 | msgid "" |
1471 | "a STATE_OK is returned. When the certificate is still valid, but for less " | 1599 | "a STATE_OK is returned. When the certificate is still valid, but for less " |
1472 | "than" | 1600 | "than" |
1473 | msgstr "" | 1601 | msgstr "" |
1474 | 1602 | ||
1475 | #: plugins/check_http.c:1413 | 1603 | #: plugins/check_http.c:1570 |
1476 | msgid "" | 1604 | msgid "" |
1477 | "14 days, a STATE_WARNING is returned. A STATE_CRITICAL will be returned when" | 1605 | "14 days, a STATE_WARNING is returned. A STATE_CRITICAL will be returned when" |
1478 | msgstr "" | 1606 | msgstr "" |
1479 | 1607 | ||
1480 | #: plugins/check_http.c:1414 | 1608 | #: plugins/check_http.c:1571 |
1481 | msgid "the certificate is expired." | 1609 | msgid "the certificate is expired." |
1482 | msgstr "" | 1610 | msgstr "" |
1483 | 1611 | ||
1612 | #: plugins/check_http.c:1574 | ||
1613 | msgid "" | ||
1614 | "When the certificate of 'www.verisign.com' is valid for more than 30 days," | ||
1615 | msgstr "" | ||
1616 | |||
1617 | #: plugins/check_http.c:1576 | ||
1618 | msgid "30 days, but more than 14 days, a STATE_WARNING is returned." | ||
1619 | msgstr "" | ||
1620 | |||
1621 | #: plugins/check_http.c:1577 | ||
1622 | msgid "" | ||
1623 | "A STATE_CRITICAL will be returned when certificate expires in less than 14 " | ||
1624 | "days" | ||
1625 | msgstr "" | ||
1626 | |||
1484 | #: plugins/check_ldap.c:133 | 1627 | #: plugins/check_ldap.c:133 |
1485 | #, c-format | 1628 | #, c-format |
1486 | msgid "Could not connect to the server at port %i\n" | 1629 | msgid "Could not connect to the server at port %i\n" |
@@ -1531,10 +1674,6 @@ msgstr "" | |||
1531 | msgid "%s cannot be combined with %s" | 1674 | msgid "%s cannot be combined with %s" |
1532 | msgstr "" | 1675 | msgstr "" |
1533 | 1676 | ||
1534 | #: plugins/check_ldap.c:353 plugins/check_ping.c:246 | ||
1535 | msgid "IPv6 support not available\n" | ||
1536 | msgstr "" | ||
1537 | |||
1538 | #: plugins/check_ldap.c:379 | 1677 | #: plugins/check_ldap.c:379 |
1539 | msgid "Please specify the host name\n" | 1678 | msgid "Please specify the host name\n" |
1540 | msgstr "" | 1679 | msgstr "" |
@@ -1613,61 +1752,66 @@ msgstr "" | |||
1613 | msgid "Error opening %s\n" | 1752 | msgid "Error opening %s\n" |
1614 | msgstr "" | 1753 | msgstr "" |
1615 | 1754 | ||
1616 | #: plugins/check_load.c:160 | 1755 | #: plugins/check_load.c:163 |
1756 | #, c-format | ||
1757 | msgid "could not parse load from uptime: %s\n" | ||
1758 | msgstr "" | ||
1759 | |||
1760 | #: plugins/check_load.c:169 | ||
1617 | #, c-format | 1761 | #, c-format |
1618 | msgid "Error code %d returned in %s\n" | 1762 | msgid "Error code %d returned in %s\n" |
1619 | msgstr "" | 1763 | msgstr "" |
1620 | 1764 | ||
1621 | #: plugins/check_load.c:175 | 1765 | #: plugins/check_load.c:184 |
1622 | #, c-format | 1766 | #, c-format |
1623 | msgid "Error in getloadavg()\n" | 1767 | msgid "Error in getloadavg()\n" |
1624 | msgstr "" | 1768 | msgstr "" |
1625 | 1769 | ||
1626 | #: plugins/check_load.c:178 plugins/check_load.c:180 | 1770 | #: plugins/check_load.c:187 plugins/check_load.c:189 |
1627 | #, c-format | 1771 | #, c-format |
1628 | msgid "Error processing %s\n" | 1772 | msgid "Error processing %s\n" |
1629 | msgstr "" | 1773 | msgstr "" |
1630 | 1774 | ||
1631 | #: plugins/check_load.c:189 | 1775 | #: plugins/check_load.c:198 |
1632 | #, c-format | 1776 | #, c-format |
1633 | msgid "load average: %.2f, %.2f, %.2f" | 1777 | msgid "load average: %.2f, %.2f, %.2f" |
1634 | msgstr "" | 1778 | msgstr "" |
1635 | 1779 | ||
1636 | #: plugins/check_load.c:282 | 1780 | #: plugins/check_load.c:291 |
1637 | #, c-format | 1781 | #, c-format |
1638 | msgid "Critical threshold for %d-minute load average is not specified\n" | 1782 | msgid "Critical threshold for %d-minute load average is not specified\n" |
1639 | msgstr "" | 1783 | msgstr "" |
1640 | 1784 | ||
1641 | #: plugins/check_load.c:284 | 1785 | #: plugins/check_load.c:293 |
1642 | #, c-format | 1786 | #, c-format |
1643 | msgid "Warning threshold for %d-minute load average is not specified\n" | 1787 | msgid "Warning threshold for %d-minute load average is not specified\n" |
1644 | msgstr "" | 1788 | msgstr "" |
1645 | 1789 | ||
1646 | #: plugins/check_load.c:286 | 1790 | #: plugins/check_load.c:295 |
1647 | #, c-format | 1791 | #, c-format |
1648 | msgid "" | 1792 | msgid "" |
1649 | "Parameter inconsistency: %d-minute \"warning load\" is greater than " | 1793 | "Parameter inconsistency: %d-minute \"warning load\" is greater than " |
1650 | "\"critical load\"\n" | 1794 | "\"critical load\"\n" |
1651 | msgstr "" | 1795 | msgstr "" |
1652 | 1796 | ||
1653 | #: plugins/check_load.c:302 | 1797 | #: plugins/check_load.c:311 |
1654 | #, c-format | 1798 | #, c-format |
1655 | msgid "This plugin tests the current system load average." | 1799 | msgid "This plugin tests the current system load average." |
1656 | msgstr "" | 1800 | msgstr "" |
1657 | 1801 | ||
1658 | #: plugins/check_load.c:312 | 1802 | #: plugins/check_load.c:321 |
1659 | msgid "Exit with WARNING status if load average exceeds WLOADn" | 1803 | msgid "Exit with WARNING status if load average exceeds WLOADn" |
1660 | msgstr "" | 1804 | msgstr "" |
1661 | 1805 | ||
1662 | #: plugins/check_load.c:314 | 1806 | #: plugins/check_load.c:323 |
1663 | msgid "Exit with CRITICAL status if load average exceed CLOADn" | 1807 | msgid "Exit with CRITICAL status if load average exceed CLOADn" |
1664 | msgstr "" | 1808 | msgstr "" |
1665 | 1809 | ||
1666 | #: plugins/check_load.c:315 | 1810 | #: plugins/check_load.c:324 |
1667 | msgid "the load average format is the same used by \"uptime\" and \"w\"" | 1811 | msgid "the load average format is the same used by \"uptime\" and \"w\"" |
1668 | msgstr "" | 1812 | msgstr "" |
1669 | 1813 | ||
1670 | #: plugins/check_load.c:317 | 1814 | #: plugins/check_load.c:326 |
1671 | msgid "Divide the load averages by the number of CPUs (when possible)" | 1815 | msgid "Divide the load averages by the number of CPUs (when possible)" |
1672 | msgstr "" | 1816 | msgstr "" |
1673 | 1817 | ||
@@ -1800,7 +1944,7 @@ msgstr "" | |||
1800 | 1944 | ||
1801 | #: plugins/check_mrtg.c:359 | 1945 | #: plugins/check_mrtg.c:359 |
1802 | msgid "" | 1946 | msgid "" |
1803 | "packets/sec, etc. I use MRTG in conjuction with the Novell NLM that allows" | 1947 | "packets/sec, etc. I use MRTG in conjunction with the Novell NLM that allows" |
1804 | msgstr "" | 1948 | msgstr "" |
1805 | 1949 | ||
1806 | #: plugins/check_mrtg.c:360 | 1950 | #: plugins/check_mrtg.c:360 |
@@ -1928,93 +2072,130 @@ msgstr "" | |||
1928 | msgid "Usage" | 2072 | msgid "Usage" |
1929 | msgstr "" | 2073 | msgstr "" |
1930 | 2074 | ||
1931 | #: plugins/check_mysql.c:126 | 2075 | #: plugins/check_mysql.c:171 |
2076 | #, c-format | ||
2077 | msgid "status store_result error: %s\n" | ||
2078 | msgstr "" | ||
2079 | |||
2080 | #: plugins/check_mysql.c:202 | ||
1932 | #, c-format | 2081 | #, c-format |
1933 | msgid "slave query error: %s\n" | 2082 | msgid "slave query error: %s\n" |
1934 | msgstr "" | 2083 | msgstr "" |
1935 | 2084 | ||
1936 | #: plugins/check_mysql.c:133 | 2085 | #: plugins/check_mysql.c:209 |
1937 | #, c-format | 2086 | #, c-format |
1938 | msgid "slave store_result error: %s\n" | 2087 | msgid "slave store_result error: %s\n" |
1939 | msgstr "" | 2088 | msgstr "" |
1940 | 2089 | ||
1941 | #: plugins/check_mysql.c:139 | 2090 | #: plugins/check_mysql.c:215 |
1942 | msgid "No slaves defined" | 2091 | msgid "No slaves defined" |
1943 | msgstr "" | 2092 | msgstr "" |
1944 | 2093 | ||
1945 | #: plugins/check_mysql.c:147 | 2094 | #: plugins/check_mysql.c:223 |
1946 | #, c-format | 2095 | #, c-format |
1947 | msgid "slave fetch row error: %s\n" | 2096 | msgid "slave fetch row error: %s\n" |
1948 | msgstr "" | 2097 | msgstr "" |
1949 | 2098 | ||
1950 | #: plugins/check_mysql.c:152 | 2099 | #: plugins/check_mysql.c:228 |
1951 | #, c-format | 2100 | #, c-format |
1952 | msgid "Slave running: %s" | 2101 | msgid "Slave running: %s" |
1953 | msgstr "" | 2102 | msgstr "" |
1954 | 2103 | ||
1955 | #: plugins/check_mysql.c:378 | 2104 | #: plugins/check_mysql.c:505 |
1956 | msgid "This program tests connections to a MySQL server" | 2105 | msgid "This program tests connections to a MySQL server" |
1957 | msgstr "" | 2106 | msgstr "" |
1958 | 2107 | ||
1959 | #: plugins/check_mysql.c:389 | 2108 | #: plugins/check_mysql.c:516 |
1960 | msgid "Use the specified socket (has no effect if -H is used)" | 2109 | msgid "Use the specified socket (has no effect if -H is used)" |
1961 | msgstr "" | 2110 | msgstr "" |
1962 | 2111 | ||
1963 | #: plugins/check_mysql.c:392 | 2112 | #: plugins/check_mysql.c:519 |
1964 | msgid "Check database with indicated name" | 2113 | msgid "Check database with indicated name" |
1965 | msgstr "" | 2114 | msgstr "" |
1966 | 2115 | ||
1967 | #: plugins/check_mysql.c:394 | 2116 | #: plugins/check_mysql.c:521 |
2117 | msgid "Read from the specified client options file" | ||
2118 | msgstr "" | ||
2119 | |||
2120 | #: plugins/check_mysql.c:523 | ||
2121 | msgid "Use a client options group" | ||
2122 | msgstr "" | ||
2123 | |||
2124 | #: plugins/check_mysql.c:525 | ||
1968 | msgid "Connect using the indicated username" | 2125 | msgid "Connect using the indicated username" |
1969 | msgstr "" | 2126 | msgstr "" |
1970 | 2127 | ||
1971 | #: plugins/check_mysql.c:396 | 2128 | #: plugins/check_mysql.c:527 |
1972 | msgid "Use the indicated password to authenticate the connection" | 2129 | msgid "Use the indicated password to authenticate the connection" |
1973 | msgstr "" | 2130 | msgstr "" |
1974 | 2131 | ||
1975 | #: plugins/check_mysql.c:397 | 2132 | #: plugins/check_mysql.c:528 |
1976 | msgid "IMPORTANT: THIS FORM OF AUTHENTICATION IS NOT SECURE!!!" | 2133 | msgid "IMPORTANT: THIS FORM OF AUTHENTICATION IS NOT SECURE!!!" |
1977 | msgstr "" | 2134 | msgstr "" |
1978 | 2135 | ||
1979 | #: plugins/check_mysql.c:398 | 2136 | #: plugins/check_mysql.c:529 |
1980 | msgid "Your clear-text password could be visible as a process table entry" | 2137 | msgid "Your clear-text password could be visible as a process table entry" |
1981 | msgstr "" | 2138 | msgstr "" |
1982 | 2139 | ||
1983 | #: plugins/check_mysql.c:400 | 2140 | #: plugins/check_mysql.c:531 |
1984 | msgid "Check if the slave thread is running properly." | 2141 | msgid "Check if the slave thread is running properly." |
1985 | msgstr "" | 2142 | msgstr "" |
1986 | 2143 | ||
1987 | #: plugins/check_mysql.c:402 | 2144 | #: plugins/check_mysql.c:533 |
1988 | msgid "Exit with WARNING status if slave server is more than INTEGER seconds" | 2145 | msgid "Exit with WARNING status if slave server is more than INTEGER seconds" |
1989 | msgstr "" | 2146 | msgstr "" |
1990 | 2147 | ||
1991 | #: plugins/check_mysql.c:403 plugins/check_mysql.c:406 | 2148 | #: plugins/check_mysql.c:534 plugins/check_mysql.c:537 |
1992 | msgid "behind master" | 2149 | msgid "behind master" |
1993 | msgstr "" | 2150 | msgstr "" |
1994 | 2151 | ||
1995 | #: plugins/check_mysql.c:405 | 2152 | #: plugins/check_mysql.c:536 |
1996 | msgid "Exit with CRITICAL status if slave server is more then INTEGER seconds" | 2153 | msgid "Exit with CRITICAL status if slave server is more then INTEGER seconds" |
1997 | msgstr "" | 2154 | msgstr "" |
1998 | 2155 | ||
1999 | #: plugins/check_mysql.c:409 | 2156 | #: plugins/check_mysql.c:539 |
2157 | msgid "Use ssl encryptation" | ||
2158 | msgstr "" | ||
2159 | |||
2160 | #: plugins/check_mysql.c:541 | ||
2161 | msgid "Path to CA signing the cert" | ||
2162 | msgstr "" | ||
2163 | |||
2164 | #: plugins/check_mysql.c:543 | ||
2165 | msgid "Path to SSL certificate" | ||
2166 | msgstr "" | ||
2167 | |||
2168 | #: plugins/check_mysql.c:545 | ||
2169 | msgid "Path to private SSL key" | ||
2170 | msgstr "" | ||
2171 | |||
2172 | #: plugins/check_mysql.c:547 | ||
2173 | msgid "Path to CA directory" | ||
2174 | msgstr "" | ||
2175 | |||
2176 | #: plugins/check_mysql.c:549 | ||
2177 | msgid "List of valid SSL ciphers" | ||
2178 | msgstr "" | ||
2179 | |||
2180 | #: plugins/check_mysql.c:553 | ||
2000 | msgid "" | 2181 | msgid "" |
2001 | "There are no required arguments. By default, the local database is checked" | 2182 | "There are no required arguments. By default, the local database is checked" |
2002 | msgstr "" | 2183 | msgstr "" |
2003 | 2184 | ||
2004 | #: plugins/check_mysql.c:410 | 2185 | #: plugins/check_mysql.c:554 |
2005 | msgid "" | 2186 | msgid "" |
2006 | "using the default unix socket. You can force TCP on localhost by using an" | 2187 | "using the default unix socket. You can force TCP on localhost by using an" |
2007 | msgstr "" | 2188 | msgstr "" |
2008 | 2189 | ||
2009 | #: plugins/check_mysql.c:411 | 2190 | #: plugins/check_mysql.c:555 |
2010 | msgid "IP address or FQDN ('localhost' will use the socket as well)." | 2191 | msgid "IP address or FQDN ('localhost' will use the socket as well)." |
2011 | msgstr "" | 2192 | msgstr "" |
2012 | 2193 | ||
2013 | #: plugins/check_mysql.c:415 | 2194 | #: plugins/check_mysql.c:559 |
2014 | msgid "You must specify -p with an empty string to force an empty password," | 2195 | msgid "You must specify -p with an empty string to force an empty password," |
2015 | msgstr "" | 2196 | msgstr "" |
2016 | 2197 | ||
2017 | #: plugins/check_mysql.c:416 | 2198 | #: plugins/check_mysql.c:560 |
2018 | msgid "overriding any my.cnf settings." | 2199 | msgid "overriding any my.cnf settings." |
2019 | msgstr "" | 2200 | msgstr "" |
2020 | 2201 | ||
@@ -2035,7 +2216,7 @@ msgstr "" | |||
2035 | msgid "Cannot parse Nagios log file for valid time" | 2216 | msgid "Cannot parse Nagios log file for valid time" |
2036 | msgstr "" | 2217 | msgstr "" |
2037 | 2218 | ||
2038 | #: plugins/check_nagios.c:183 plugins/check_procs.c:295 | 2219 | #: plugins/check_nagios.c:183 plugins/check_procs.c:356 |
2039 | #, c-format | 2220 | #, c-format |
2040 | msgid "%d process" | 2221 | msgid "%d process" |
2041 | msgid_plural "%d processes" | 2222 | msgid_plural "%d processes" |
@@ -2049,567 +2230,574 @@ msgid_plural "status log updated %d seconds ago" | |||
2049 | msgstr[0] "" | 2230 | msgstr[0] "" |
2050 | msgstr[1] "" | 2231 | msgstr[1] "" |
2051 | 2232 | ||
2052 | #: plugins/check_nagios.c:223 plugins/check_nagios.c:252 | 2233 | #: plugins/check_nagios.c:224 plugins/check_nagios.c:253 |
2053 | msgid "Expiration time must be an integer (seconds)\n" | 2234 | msgid "Expiration time must be an integer (seconds)\n" |
2054 | msgstr "" | 2235 | msgstr "" |
2055 | 2236 | ||
2056 | #: plugins/check_nagios.c:264 | 2237 | #: plugins/check_nagios.c:260 |
2238 | msgid "Timeout must be an integer (seconds)\n" | ||
2239 | msgstr "" | ||
2240 | |||
2241 | #: plugins/check_nagios.c:272 | ||
2057 | msgid "You must provide the status_log\n" | 2242 | msgid "You must provide the status_log\n" |
2058 | msgstr "" | 2243 | msgstr "" |
2059 | 2244 | ||
2060 | #: plugins/check_nagios.c:267 | 2245 | #: plugins/check_nagios.c:275 |
2061 | msgid "You must provide a process string\n" | 2246 | msgid "You must provide a process string\n" |
2062 | msgstr "" | 2247 | msgstr "" |
2063 | 2248 | ||
2064 | #: plugins/check_nagios.c:281 | 2249 | #: plugins/check_nagios.c:289 |
2065 | msgid "" | 2250 | msgid "" |
2066 | "This plugin checks the status of the Nagios process on the local machine" | 2251 | "This plugin checks the status of the Nagios process on the local machine" |
2067 | msgstr "" | 2252 | msgstr "" |
2068 | 2253 | ||
2069 | #: plugins/check_nagios.c:282 | 2254 | #: plugins/check_nagios.c:290 |
2070 | msgid "" | 2255 | msgid "" |
2071 | "The plugin will check to make sure the Nagios status log is no older than" | 2256 | "The plugin will check to make sure the Nagios status log is no older than" |
2072 | msgstr "" | 2257 | msgstr "" |
2073 | 2258 | ||
2074 | #: plugins/check_nagios.c:283 | 2259 | #: plugins/check_nagios.c:291 |
2075 | msgid "the number of minutes specified by the expires option." | 2260 | msgid "the number of minutes specified by the expires option." |
2076 | msgstr "" | 2261 | msgstr "" |
2077 | 2262 | ||
2078 | #: plugins/check_nagios.c:284 | 2263 | #: plugins/check_nagios.c:292 |
2079 | msgid "" | 2264 | msgid "" |
2080 | "It also checks the process table for a process matching the command argument." | 2265 | "It also checks the process table for a process matching the command argument." |
2081 | msgstr "" | 2266 | msgstr "" |
2082 | 2267 | ||
2083 | #: plugins/check_nagios.c:294 | 2268 | #: plugins/check_nagios.c:302 |
2084 | msgid "Name of the log file to check" | 2269 | msgid "Name of the log file to check" |
2085 | msgstr "" | 2270 | msgstr "" |
2086 | 2271 | ||
2087 | #: plugins/check_nagios.c:296 | 2272 | #: plugins/check_nagios.c:304 |
2088 | msgid "Minutes aging after which logfile is considered stale" | 2273 | msgid "Minutes aging after which logfile is considered stale" |
2089 | msgstr "" | 2274 | msgstr "" |
2090 | 2275 | ||
2091 | #: plugins/check_nagios.c:298 | 2276 | #: plugins/check_nagios.c:306 |
2092 | msgid "Substring to search for in process arguments" | 2277 | msgid "Substring to search for in process arguments" |
2093 | msgstr "" | 2278 | msgstr "" |
2094 | 2279 | ||
2095 | #: plugins/check_nt.c:141 | 2280 | #: plugins/check_nagios.c:308 |
2281 | msgid "Timeout for the plugin in seconds" | ||
2282 | msgstr "" | ||
2283 | |||
2284 | #: plugins/check_nt.c:142 | ||
2096 | #, c-format | 2285 | #, c-format |
2097 | msgid "Wrong client version - running: %s, required: %s" | 2286 | msgid "Wrong client version - running: %s, required: %s" |
2098 | msgstr "" | 2287 | msgstr "" |
2099 | 2288 | ||
2100 | #: plugins/check_nt.c:152 plugins/check_nt.c:217 | 2289 | #: plugins/check_nt.c:153 plugins/check_nt.c:218 |
2101 | msgid "missing -l parameters" | 2290 | msgid "missing -l parameters" |
2102 | msgstr "" | 2291 | msgstr "" |
2103 | 2292 | ||
2104 | #: plugins/check_nt.c:154 | 2293 | #: plugins/check_nt.c:155 |
2105 | msgid "wrong -l parameter." | 2294 | msgid "wrong -l parameter." |
2106 | msgstr "" | 2295 | msgstr "" |
2107 | 2296 | ||
2108 | #: plugins/check_nt.c:158 | 2297 | #: plugins/check_nt.c:159 |
2109 | msgid "CPU Load" | 2298 | msgid "CPU Load" |
2110 | msgstr "" | 2299 | msgstr "" |
2111 | 2300 | ||
2112 | #: plugins/check_nt.c:181 | 2301 | #: plugins/check_nt.c:182 |
2113 | #, c-format | 2302 | #, c-format |
2114 | msgid " %lu%% (%lu min average)" | 2303 | msgid " %lu%% (%lu min average)" |
2115 | msgstr "" | 2304 | msgstr "" |
2116 | 2305 | ||
2117 | #: plugins/check_nt.c:183 | 2306 | #: plugins/check_nt.c:184 |
2118 | #, c-format | 2307 | #, c-format |
2119 | msgid " '%lu min avg Load'=%lu%%;%lu;%lu;0;100" | 2308 | msgid " '%lu min avg Load'=%lu%%;%lu;%lu;0;100" |
2120 | msgstr "" | 2309 | msgstr "" |
2121 | 2310 | ||
2122 | #: plugins/check_nt.c:193 | 2311 | #: plugins/check_nt.c:194 |
2123 | msgid "not enough values for -l parameters" | 2312 | msgid "not enough values for -l parameters" |
2124 | msgstr "" | 2313 | msgstr "" |
2125 | 2314 | ||
2126 | #: plugins/check_nt.c:205 | 2315 | #: plugins/check_nt.c:206 |
2127 | #, c-format | 2316 | #, c-format |
2128 | msgid "System Uptime - %u day(s) %u hour(s) %u minute(s)" | 2317 | msgid "System Uptime - %u day(s) %u hour(s) %u minute(s)" |
2129 | msgstr "" | 2318 | msgstr "" |
2130 | 2319 | ||
2131 | #: plugins/check_nt.c:219 | 2320 | #: plugins/check_nt.c:220 |
2132 | msgid "wrong -l argument" | 2321 | msgid "wrong -l argument" |
2133 | msgstr "" | 2322 | msgstr "" |
2134 | 2323 | ||
2135 | #: plugins/check_nt.c:235 | 2324 | #: plugins/check_nt.c:236 |
2136 | #, c-format | 2325 | #, c-format |
2137 | msgid "%s:\\ - total: %.2f Gb - used: %.2f Gb (%.0f%%) - free %.2f Gb (%.0f%%)" | 2326 | msgid "%s:\\ - total: %.2f Gb - used: %.2f Gb (%.0f%%) - free %.2f Gb (%.0f%%)" |
2138 | msgstr "" | 2327 | msgstr "" |
2139 | 2328 | ||
2140 | #: plugins/check_nt.c:238 | 2329 | #: plugins/check_nt.c:239 |
2141 | #, c-format | 2330 | #, c-format |
2142 | msgid "'%s:\\ Used Space'=%.2fGb;%.2f;%.2f;0.00;%.2f" | 2331 | msgid "'%s:\\ Used Space'=%.2fGb;%.2f;%.2f;0.00;%.2f" |
2143 | msgstr "" | 2332 | msgstr "" |
2144 | 2333 | ||
2145 | #: plugins/check_nt.c:252 | 2334 | #: plugins/check_nt.c:253 |
2146 | msgid "Free disk space : Invalid drive" | 2335 | msgid "Free disk space : Invalid drive" |
2147 | msgstr "" | 2336 | msgstr "" |
2148 | 2337 | ||
2149 | #: plugins/check_nt.c:262 | 2338 | #: plugins/check_nt.c:263 |
2150 | msgid "No service/process specified" | 2339 | msgid "No service/process specified" |
2151 | msgstr "" | 2340 | msgstr "" |
2152 | 2341 | ||
2153 | #: plugins/check_nt.c:286 | 2342 | #: plugins/check_nt.c:271 plugins/check_nt.c:284 plugins/check_nt.c:288 |
2343 | #: plugins/check_nt.c:622 | ||
2344 | msgid "could not fetch information from server\n" | ||
2345 | msgstr "" | ||
2346 | |||
2347 | #: plugins/check_nt.c:296 | ||
2154 | #, c-format | 2348 | #, c-format |
2155 | msgid "" | 2349 | msgid "" |
2156 | "Memory usage: total:%.2f Mb - used: %.2f Mb (%.0f%%) - free: %.2f Mb (%.0f%%)" | 2350 | "Memory usage: total:%.2f Mb - used: %.2f Mb (%.0f%%) - free: %.2f Mb (%.0f%%)" |
2157 | msgstr "" | 2351 | msgstr "" |
2158 | 2352 | ||
2159 | #: plugins/check_nt.c:289 | 2353 | #: plugins/check_nt.c:299 |
2160 | #, c-format | 2354 | #, c-format |
2161 | msgid "'Memory usage'=%.2fMb;%.2f;%.2f;0.00;%.2f" | 2355 | msgid "'Memory usage'=%.2fMb;%.2f;%.2f;0.00;%.2f" |
2162 | msgstr "" | 2356 | msgstr "" |
2163 | 2357 | ||
2164 | #: plugins/check_nt.c:325 plugins/check_nt.c:410 plugins/check_nt.c:440 | 2358 | #: plugins/check_nt.c:335 plugins/check_nt.c:420 plugins/check_nt.c:450 |
2165 | msgid "No counter specified" | 2359 | msgid "No counter specified" |
2166 | msgstr "" | 2360 | msgstr "" |
2167 | 2361 | ||
2168 | #: plugins/check_nt.c:357 | 2362 | #: plugins/check_nt.c:367 |
2169 | msgid "Minimum value contains non-numbers" | 2363 | msgid "Minimum value contains non-numbers" |
2170 | msgstr "" | 2364 | msgstr "" |
2171 | 2365 | ||
2172 | #: plugins/check_nt.c:361 | 2366 | #: plugins/check_nt.c:371 |
2173 | msgid "Maximum value contains non-numbers" | 2367 | msgid "Maximum value contains non-numbers" |
2174 | msgstr "" | 2368 | msgstr "" |
2175 | 2369 | ||
2176 | #: plugins/check_nt.c:368 | 2370 | #: plugins/check_nt.c:378 |
2177 | msgid "No unit counter specified" | 2371 | msgid "No unit counter specified" |
2178 | msgstr "" | 2372 | msgstr "" |
2179 | 2373 | ||
2180 | #: plugins/check_nt.c:455 | 2374 | #: plugins/check_nt.c:465 |
2181 | msgid "Please specify a variable to check" | 2375 | msgid "Please specify a variable to check" |
2182 | msgstr "" | 2376 | msgstr "" |
2183 | 2377 | ||
2184 | #: plugins/check_nt.c:539 | 2378 | #: plugins/check_nt.c:549 |
2185 | msgid "Server port must be an integer\n" | 2379 | msgid "Server port must be an integer\n" |
2186 | msgstr "" | 2380 | msgstr "" |
2187 | 2381 | ||
2188 | #: plugins/check_nt.c:593 | 2382 | #: plugins/check_nt.c:603 |
2189 | msgid "You must provide a server address or host name" | 2383 | msgid "You must provide a server address or host name" |
2190 | msgstr "" | 2384 | msgstr "" |
2191 | 2385 | ||
2192 | #: plugins/check_nt.c:599 | 2386 | #: plugins/check_nt.c:609 |
2193 | msgid "None" | 2387 | msgid "None" |
2194 | msgstr "" | 2388 | msgstr "" |
2195 | 2389 | ||
2196 | #: plugins/check_nt.c:612 | 2390 | #: plugins/check_nt.c:666 |
2197 | msgid "could not fetch information from server\n" | ||
2198 | msgstr "" | ||
2199 | |||
2200 | #: plugins/check_nt.c:656 | ||
2201 | msgid "This plugin collects data from the NSClient service running on a" | 2391 | msgid "This plugin collects data from the NSClient service running on a" |
2202 | msgstr "" | 2392 | msgstr "" |
2203 | 2393 | ||
2204 | #: plugins/check_nt.c:657 | 2394 | #: plugins/check_nt.c:667 |
2205 | msgid "Windows NT/2000/XP/2003 server." | 2395 | msgid "Windows NT/2000/XP/2003 server." |
2206 | msgstr "" | 2396 | msgstr "" |
2207 | 2397 | ||
2208 | #: plugins/check_nt.c:668 | 2398 | #: plugins/check_nt.c:678 |
2209 | msgid "Name of the host to check" | 2399 | msgid "Name of the host to check" |
2210 | msgstr "" | 2400 | msgstr "" |
2211 | 2401 | ||
2212 | #: plugins/check_nt.c:670 | 2402 | #: plugins/check_nt.c:680 |
2213 | msgid "Optional port number (default: " | 2403 | msgid "Optional port number (default: " |
2214 | msgstr "" | 2404 | msgstr "" |
2215 | 2405 | ||
2216 | #: plugins/check_nt.c:673 | 2406 | #: plugins/check_nt.c:683 |
2217 | msgid "Password needed for the request" | 2407 | msgid "Password needed for the request" |
2218 | msgstr "" | 2408 | msgstr "" |
2219 | 2409 | ||
2220 | #: plugins/check_nt.c:675 plugins/check_nwstat.c:1661 | 2410 | #: plugins/check_nt.c:685 plugins/check_nwstat.c:1661 |
2221 | #: plugins/check_overcr.c:432 | 2411 | #: plugins/check_overcr.c:432 |
2222 | msgid "Threshold which will result in a warning status" | 2412 | msgid "Threshold which will result in a warning status" |
2223 | msgstr "" | 2413 | msgstr "" |
2224 | 2414 | ||
2225 | #: plugins/check_nt.c:677 plugins/check_nwstat.c:1663 | 2415 | #: plugins/check_nt.c:687 plugins/check_nwstat.c:1663 |
2226 | #: plugins/check_overcr.c:434 | 2416 | #: plugins/check_overcr.c:434 |
2227 | msgid "Threshold which will result in a critical status" | 2417 | msgid "Threshold which will result in a critical status" |
2228 | msgstr "" | 2418 | msgstr "" |
2229 | 2419 | ||
2230 | #: plugins/check_nt.c:679 | 2420 | #: plugins/check_nt.c:689 |
2231 | msgid "Seconds before connection attempt times out (default: " | 2421 | msgid "Seconds before connection attempt times out (default: " |
2232 | msgstr "" | 2422 | msgstr "" |
2233 | 2423 | ||
2234 | #: plugins/check_nt.c:681 | 2424 | #: plugins/check_nt.c:691 |
2235 | msgid "Parameters passed to specified check (see below)" | 2425 | msgid "Parameters passed to specified check (see below)" |
2236 | msgstr "" | 2426 | msgstr "" |
2237 | 2427 | ||
2238 | #: plugins/check_nt.c:683 | 2428 | #: plugins/check_nt.c:693 |
2239 | msgid "Display options (currently only SHOWALL works)" | 2429 | msgid "Display options (currently only SHOWALL works)" |
2240 | msgstr "" | 2430 | msgstr "" |
2241 | 2431 | ||
2242 | #: plugins/check_nt.c:685 | 2432 | #: plugins/check_nt.c:695 |
2243 | msgid "Return UNKNOWN on timeouts" | 2433 | msgid "Return UNKNOWN on timeouts" |
2244 | msgstr "" | 2434 | msgstr "" |
2245 | 2435 | ||
2246 | #: plugins/check_nt.c:688 | 2436 | #: plugins/check_nt.c:698 |
2247 | msgid "Print this help screen" | 2437 | msgid "Print this help screen" |
2248 | msgstr "" | 2438 | msgstr "" |
2249 | 2439 | ||
2250 | #: plugins/check_nt.c:690 | 2440 | #: plugins/check_nt.c:700 |
2251 | msgid "Print version information" | 2441 | msgid "Print version information" |
2252 | msgstr "" | 2442 | msgstr "" |
2253 | 2443 | ||
2254 | #: plugins/check_nt.c:692 | 2444 | #: plugins/check_nt.c:702 |
2255 | msgid "Variable to check" | 2445 | msgid "Variable to check" |
2256 | msgstr "" | 2446 | msgstr "" |
2257 | 2447 | ||
2258 | #: plugins/check_nt.c:693 | 2448 | #: plugins/check_nt.c:703 |
2259 | msgid "Valid variables are:" | 2449 | msgid "Valid variables are:" |
2260 | msgstr "" | 2450 | msgstr "" |
2261 | 2451 | ||
2262 | #: plugins/check_nt.c:695 | 2452 | #: plugins/check_nt.c:705 |
2263 | msgid "Get the NSClient version" | 2453 | msgid "Get the NSClient version" |
2264 | msgstr "" | 2454 | msgstr "" |
2265 | 2455 | ||
2266 | #: plugins/check_nt.c:696 | 2456 | #: plugins/check_nt.c:706 |
2267 | msgid "If -l <version> is specified, will return warning if versions differ." | 2457 | msgid "If -l <version> is specified, will return warning if versions differ." |
2268 | msgstr "" | 2458 | msgstr "" |
2269 | 2459 | ||
2270 | #: plugins/check_nt.c:698 | 2460 | #: plugins/check_nt.c:708 |
2271 | msgid "Average CPU load on last x minutes." | 2461 | msgid "Average CPU load on last x minutes." |
2272 | msgstr "" | 2462 | msgstr "" |
2273 | 2463 | ||
2274 | #: plugins/check_nt.c:699 | 2464 | #: plugins/check_nt.c:709 |
2275 | msgid "Request a -l parameter with the following syntax:" | 2465 | msgid "Request a -l parameter with the following syntax:" |
2276 | msgstr "" | 2466 | msgstr "" |
2277 | 2467 | ||
2278 | #: plugins/check_nt.c:700 | 2468 | #: plugins/check_nt.c:710 |
2279 | msgid "-l <minutes range>,<warning threshold>,<critical threshold>." | 2469 | msgid "-l <minutes range>,<warning threshold>,<critical threshold>." |
2280 | msgstr "" | 2470 | msgstr "" |
2281 | 2471 | ||
2282 | #: plugins/check_nt.c:701 | 2472 | #: plugins/check_nt.c:711 |
2283 | msgid "<minute range> should be less than 24*60." | 2473 | msgid "<minute range> should be less than 24*60." |
2284 | msgstr "" | 2474 | msgstr "" |
2285 | 2475 | ||
2286 | #: plugins/check_nt.c:702 | 2476 | #: plugins/check_nt.c:712 |
2287 | msgid "" | 2477 | msgid "" |
2288 | "Thresholds are percentage and up to 10 requests can be done in one shot." | 2478 | "Thresholds are percentage and up to 10 requests can be done in one shot." |
2289 | msgstr "" | 2479 | msgstr "" |
2290 | 2480 | ||
2291 | #: plugins/check_nt.c:705 | 2481 | #: plugins/check_nt.c:715 |
2292 | msgid "Get the uptime of the machine." | 2482 | msgid "Get the uptime of the machine." |
2293 | msgstr "" | 2483 | msgstr "" |
2294 | 2484 | ||
2295 | #: plugins/check_nt.c:706 | 2485 | #: plugins/check_nt.c:716 |
2296 | msgid "No specific parameters. No warning or critical threshold" | 2486 | msgid "No specific parameters. No warning or critical threshold" |
2297 | msgstr "" | 2487 | msgstr "" |
2298 | 2488 | ||
2299 | #: plugins/check_nt.c:708 | 2489 | #: plugins/check_nt.c:718 |
2300 | msgid "Size and percentage of disk use." | 2490 | msgid "Size and percentage of disk use." |
2301 | msgstr "" | 2491 | msgstr "" |
2302 | 2492 | ||
2303 | #: plugins/check_nt.c:709 | 2493 | #: plugins/check_nt.c:719 |
2304 | msgid "Request a -l parameter containing the drive letter only." | 2494 | msgid "Request a -l parameter containing the drive letter only." |
2305 | msgstr "" | 2495 | msgstr "" |
2306 | 2496 | ||
2307 | #: plugins/check_nt.c:710 plugins/check_nt.c:713 | 2497 | #: plugins/check_nt.c:720 plugins/check_nt.c:723 |
2308 | msgid "Warning and critical thresholds can be specified with -w and -c." | 2498 | msgid "Warning and critical thresholds can be specified with -w and -c." |
2309 | msgstr "" | 2499 | msgstr "" |
2310 | 2500 | ||
2311 | #: plugins/check_nt.c:712 | 2501 | #: plugins/check_nt.c:722 |
2312 | msgid "Memory use." | 2502 | msgid "Memory use." |
2313 | msgstr "" | 2503 | msgstr "" |
2314 | 2504 | ||
2315 | #: plugins/check_nt.c:715 | 2505 | #: plugins/check_nt.c:725 |
2316 | msgid "Check the state of one or several services." | 2506 | msgid "Check the state of one or several services." |
2317 | msgstr "" | 2507 | msgstr "" |
2318 | 2508 | ||
2319 | #: plugins/check_nt.c:716 plugins/check_nt.c:725 | 2509 | #: plugins/check_nt.c:726 plugins/check_nt.c:735 |
2320 | msgid "Request a -l parameters with the following syntax:" | 2510 | msgid "Request a -l parameters with the following syntax:" |
2321 | msgstr "" | 2511 | msgstr "" |
2322 | 2512 | ||
2323 | #: plugins/check_nt.c:717 | 2513 | #: plugins/check_nt.c:727 |
2324 | msgid "-l <service1>,<service2>,<service3>,..." | 2514 | msgid "-l <service1>,<service2>,<service3>,..." |
2325 | msgstr "" | 2515 | msgstr "" |
2326 | 2516 | ||
2327 | #: plugins/check_nt.c:718 | 2517 | #: plugins/check_nt.c:728 |
2328 | msgid "You can specify -d SHOWALL in case you want to see working services" | 2518 | msgid "You can specify -d SHOWALL in case you want to see working services" |
2329 | msgstr "" | 2519 | msgstr "" |
2330 | 2520 | ||
2331 | #: plugins/check_nt.c:719 | 2521 | #: plugins/check_nt.c:729 |
2332 | msgid "in the returned string." | 2522 | msgid "in the returned string." |
2333 | msgstr "" | 2523 | msgstr "" |
2334 | 2524 | ||
2335 | #: plugins/check_nt.c:721 | 2525 | #: plugins/check_nt.c:731 |
2336 | msgid "Check if one or several process are running." | 2526 | msgid "Check if one or several process are running." |
2337 | msgstr "" | 2527 | msgstr "" |
2338 | 2528 | ||
2339 | #: plugins/check_nt.c:722 | 2529 | #: plugins/check_nt.c:732 |
2340 | msgid "Same syntax as SERVICESTATE." | 2530 | msgid "Same syntax as SERVICESTATE." |
2341 | msgstr "" | 2531 | msgstr "" |
2342 | 2532 | ||
2343 | #: plugins/check_nt.c:724 | 2533 | #: plugins/check_nt.c:734 |
2344 | msgid "Check any performance counter of Windows NT/2000." | 2534 | msgid "Check any performance counter of Windows NT/2000." |
2345 | msgstr "" | 2535 | msgstr "" |
2346 | 2536 | ||
2347 | #: plugins/check_nt.c:726 | 2537 | #: plugins/check_nt.c:736 |
2348 | msgid "-l \"\\\\<performance object>\\\\counter\",\"<description>" | 2538 | msgid "-l \"\\\\<performance object>\\\\counter\",\"<description>" |
2349 | msgstr "" | 2539 | msgstr "" |
2350 | 2540 | ||
2351 | #: plugins/check_nt.c:727 | 2541 | #: plugins/check_nt.c:737 |
2352 | msgid "The <description> parameter is optional and is given to a printf " | 2542 | msgid "The <description> parameter is optional and is given to a printf " |
2353 | msgstr "" | 2543 | msgstr "" |
2354 | 2544 | ||
2355 | #: plugins/check_nt.c:728 | 2545 | #: plugins/check_nt.c:738 |
2356 | msgid "output command which requires a float parameter." | 2546 | msgid "output command which requires a float parameter." |
2357 | msgstr "" | 2547 | msgstr "" |
2358 | 2548 | ||
2359 | #: plugins/check_nt.c:729 | 2549 | #: plugins/check_nt.c:739 |
2360 | #, c-format | 2550 | #, c-format |
2361 | msgid "If <description> does not include \"%%\", it is used as a label." | 2551 | msgid "If <description> does not include \"%%\", it is used as a label." |
2362 | msgstr "" | 2552 | msgstr "" |
2363 | 2553 | ||
2364 | #: plugins/check_nt.c:730 plugins/check_nt.c:745 | 2554 | #: plugins/check_nt.c:740 plugins/check_nt.c:755 |
2365 | msgid "Some examples:" | 2555 | msgid "Some examples:" |
2366 | msgstr "" | 2556 | msgstr "" |
2367 | 2557 | ||
2368 | #: plugins/check_nt.c:734 | 2558 | #: plugins/check_nt.c:744 |
2369 | msgid "Check any performance counter object of Windows NT/2000." | 2559 | msgid "Check any performance counter object of Windows NT/2000." |
2370 | msgstr "" | 2560 | msgstr "" |
2371 | 2561 | ||
2372 | #: plugins/check_nt.c:735 | 2562 | #: plugins/check_nt.c:745 |
2373 | msgid "" | 2563 | msgid "" |
2374 | "Syntax: check_nt -H <hostname> -p <port> -v INSTANCES -l <counter object>" | 2564 | "Syntax: check_nt -H <hostname> -p <port> -v INSTANCES -l <counter object>" |
2375 | msgstr "" | 2565 | msgstr "" |
2376 | 2566 | ||
2377 | #: plugins/check_nt.c:736 | 2567 | #: plugins/check_nt.c:746 |
2378 | msgid "<counter object> is a Windows Perfmon Counter object (eg. Process)," | 2568 | msgid "<counter object> is a Windows Perfmon Counter object (eg. Process)," |
2379 | msgstr "" | 2569 | msgstr "" |
2380 | 2570 | ||
2381 | #: plugins/check_nt.c:737 | 2571 | #: plugins/check_nt.c:747 |
2382 | msgid "if it is two words, it should be enclosed in quotes" | 2572 | msgid "if it is two words, it should be enclosed in quotes" |
2383 | msgstr "" | 2573 | msgstr "" |
2384 | 2574 | ||
2385 | #: plugins/check_nt.c:738 | 2575 | #: plugins/check_nt.c:748 |
2386 | msgid "The returned results will be a comma-separated list of instances on " | 2576 | msgid "The returned results will be a comma-separated list of instances on " |
2387 | msgstr "" | 2577 | msgstr "" |
2388 | 2578 | ||
2389 | #: plugins/check_nt.c:739 | 2579 | #: plugins/check_nt.c:749 |
2390 | msgid " the selected computer for that object." | 2580 | msgid " the selected computer for that object." |
2391 | msgstr "" | 2581 | msgstr "" |
2392 | 2582 | ||
2393 | #: plugins/check_nt.c:740 | 2583 | #: plugins/check_nt.c:750 |
2394 | msgid "" | 2584 | msgid "" |
2395 | "The purpose of this is to be run from command line to determine what " | 2585 | "The purpose of this is to be run from command line to determine what " |
2396 | "instances" | 2586 | "instances" |
2397 | msgstr "" | 2587 | msgstr "" |
2398 | 2588 | ||
2399 | #: plugins/check_nt.c:741 | 2589 | #: plugins/check_nt.c:751 |
2400 | msgid "" | 2590 | msgid "" |
2401 | " are available for monitoring without having to log onto the Windows server" | 2591 | " are available for monitoring without having to log onto the Windows server" |
2402 | msgstr "" | 2592 | msgstr "" |
2403 | 2593 | ||
2404 | #: plugins/check_nt.c:742 | 2594 | #: plugins/check_nt.c:752 |
2405 | msgid " to run Perfmon directly." | 2595 | msgid " to run Perfmon directly." |
2406 | msgstr "" | 2596 | msgstr "" |
2407 | 2597 | ||
2408 | #: plugins/check_nt.c:743 | 2598 | #: plugins/check_nt.c:753 |
2409 | msgid "It can also be used in scripts that automatically create Nagios service" | 2599 | msgid "" |
2600 | "It can also be used in scripts that automatically create the monitoring " | ||
2601 | "service" | ||
2410 | msgstr "" | 2602 | msgstr "" |
2411 | 2603 | ||
2412 | #: plugins/check_nt.c:744 | 2604 | #: plugins/check_nt.c:754 |
2413 | msgid " configuration files." | 2605 | msgid " configuration files." |
2414 | msgstr "" | 2606 | msgstr "" |
2415 | 2607 | ||
2416 | #: plugins/check_nt.c:746 | 2608 | #: plugins/check_nt.c:756 |
2417 | msgid "check_nt -H 192.168.1.1 -p 1248 -v INSTANCES -l Process" | 2609 | msgid "check_nt -H 192.168.1.1 -p 1248 -v INSTANCES -l Process" |
2418 | msgstr "" | 2610 | msgstr "" |
2419 | 2611 | ||
2420 | #: plugins/check_nt.c:749 | 2612 | #: plugins/check_nt.c:759 |
2421 | msgid "" | 2613 | msgid "" |
2422 | "- The NSClient service should be running on the server to get any information" | 2614 | "- The NSClient service should be running on the server to get any information" |
2423 | msgstr "" | 2615 | msgstr "" |
2424 | 2616 | ||
2425 | #: plugins/check_nt.c:751 | 2617 | #: plugins/check_nt.c:761 |
2426 | msgid "- Critical thresholds should be lower than warning thresholds" | 2618 | msgid "- Critical thresholds should be lower than warning thresholds" |
2427 | msgstr "" | 2619 | msgstr "" |
2428 | 2620 | ||
2429 | #: plugins/check_nt.c:752 | 2621 | #: plugins/check_nt.c:762 |
2430 | msgid "- Default port 1248 is sometimes in use by other services. The error" | 2622 | msgid "- Default port 1248 is sometimes in use by other services. The error" |
2431 | msgstr "" | 2623 | msgstr "" |
2432 | 2624 | ||
2433 | #: plugins/check_nt.c:753 | 2625 | #: plugins/check_nt.c:763 |
2434 | msgid "" | 2626 | msgid "" |
2435 | "output when this happens contains \"Cannot map xxxxx to protocol number\"." | 2627 | "output when this happens contains \"Cannot map xxxxx to protocol number\"." |
2436 | msgstr "" | 2628 | msgstr "" |
2437 | 2629 | ||
2438 | #: plugins/check_nt.c:754 | 2630 | #: plugins/check_nt.c:764 |
2439 | msgid "One fix for this is to change the port to something else on check_nt " | 2631 | msgid "One fix for this is to change the port to something else on check_nt " |
2440 | msgstr "" | 2632 | msgstr "" |
2441 | 2633 | ||
2442 | #: plugins/check_nt.c:755 | 2634 | #: plugins/check_nt.c:765 |
2443 | msgid "and on the client service it's connecting to." | 2635 | msgid "and on the client service it's connecting to." |
2444 | msgstr "" | 2636 | msgstr "" |
2445 | 2637 | ||
2446 | #: plugins/check_ntp.c:803 plugins/check_ntp_peer.c:606 | 2638 | #: plugins/check_ntp.c:807 plugins/check_ntp_peer.c:612 |
2447 | #: plugins/check_ntp_time.c:567 | 2639 | #: plugins/check_ntp_time.c:571 |
2448 | #, c-format | ||
2449 | msgid "NTP CRITICAL:" | 2640 | msgid "NTP CRITICAL:" |
2450 | msgstr "" | 2641 | msgstr "" |
2451 | 2642 | ||
2452 | #: plugins/check_ntp.c:806 plugins/check_ntp_peer.c:609 | 2643 | #: plugins/check_ntp.c:810 plugins/check_ntp_peer.c:615 |
2453 | #: plugins/check_ntp_time.c:570 | 2644 | #: plugins/check_ntp_time.c:574 |
2454 | #, c-format | ||
2455 | msgid "NTP WARNING:" | 2645 | msgid "NTP WARNING:" |
2456 | msgstr "" | 2646 | msgstr "" |
2457 | 2647 | ||
2458 | #: plugins/check_ntp.c:809 plugins/check_ntp_peer.c:612 | 2648 | #: plugins/check_ntp.c:813 plugins/check_ntp_peer.c:618 |
2459 | #: plugins/check_ntp_time.c:573 | 2649 | #: plugins/check_ntp_time.c:577 |
2460 | #, c-format | ||
2461 | msgid "NTP OK:" | 2650 | msgid "NTP OK:" |
2462 | msgstr "" | 2651 | msgstr "" |
2463 | 2652 | ||
2464 | #: plugins/check_ntp.c:812 plugins/check_ntp_peer.c:615 | 2653 | #: plugins/check_ntp.c:816 plugins/check_ntp_peer.c:621 |
2465 | #: plugins/check_ntp_time.c:576 | 2654 | #: plugins/check_ntp_time.c:580 |
2466 | #, c-format | ||
2467 | msgid "NTP UNKNOWN:" | 2655 | msgid "NTP UNKNOWN:" |
2468 | msgstr "" | 2656 | msgstr "" |
2469 | 2657 | ||
2470 | #: plugins/check_ntp.c:816 plugins/check_ntp_peer.c:624 | 2658 | #: plugins/check_ntp.c:820 plugins/check_ntp_peer.c:630 |
2471 | #: plugins/check_ntp_time.c:580 | 2659 | #: plugins/check_ntp_time.c:584 |
2472 | msgid "Offset unknown" | 2660 | msgid "Offset unknown" |
2473 | msgstr "" | 2661 | msgstr "" |
2474 | 2662 | ||
2475 | #: plugins/check_ntp.c:819 plugins/check_ntp_peer.c:627 | 2663 | #: plugins/check_ntp.c:823 plugins/check_ntp_peer.c:633 |
2476 | #: plugins/check_ntp_time.c:583 | 2664 | #: plugins/check_ntp_time.c:587 |
2477 | msgid "Offset" | 2665 | msgid "Offset" |
2478 | msgstr "" | 2666 | msgstr "" |
2479 | 2667 | ||
2480 | #: plugins/check_ntp.c:840 plugins/check_ntp_peer.c:656 | 2668 | #: plugins/check_ntp.c:844 plugins/check_ntp_peer.c:662 |
2481 | msgid "This plugin checks the selected ntp server" | 2669 | msgid "This plugin checks the selected ntp server" |
2482 | msgstr "" | 2670 | msgstr "" |
2483 | 2671 | ||
2484 | #: plugins/check_ntp.c:849 plugins/check_ntp_peer.c:667 | 2672 | #: plugins/check_ntp.c:854 plugins/check_ntp_peer.c:674 |
2485 | #: plugins/check_ntp_time.c:609 | 2673 | #: plugins/check_ntp_time.c:614 |
2486 | msgid "Offset to result in warning status (seconds)" | 2674 | msgid "Offset to result in warning status (seconds)" |
2487 | msgstr "" | 2675 | msgstr "" |
2488 | 2676 | ||
2489 | #: plugins/check_ntp.c:851 plugins/check_ntp_peer.c:669 | 2677 | #: plugins/check_ntp.c:856 plugins/check_ntp_peer.c:676 |
2490 | #: plugins/check_ntp_time.c:611 | 2678 | #: plugins/check_ntp_time.c:616 |
2491 | msgid "Offset to result in critical status (seconds)" | 2679 | msgid "Offset to result in critical status (seconds)" |
2492 | msgstr "" | 2680 | msgstr "" |
2493 | 2681 | ||
2494 | #: plugins/check_ntp.c:853 plugins/check_ntp_peer.c:675 | 2682 | #: plugins/check_ntp.c:858 plugins/check_ntp_peer.c:682 |
2495 | msgid "Warning threshold for jitter" | 2683 | msgid "Warning threshold for jitter" |
2496 | msgstr "" | 2684 | msgstr "" |
2497 | 2685 | ||
2498 | #: plugins/check_ntp.c:855 plugins/check_ntp_peer.c:677 | 2686 | #: plugins/check_ntp.c:860 plugins/check_ntp_peer.c:684 |
2499 | msgid "Critical threshold for jitter" | 2687 | msgid "Critical threshold for jitter" |
2500 | msgstr "" | 2688 | msgstr "" |
2501 | 2689 | ||
2502 | #: plugins/check_ntp.c:865 | 2690 | #: plugins/check_ntp.c:870 |
2503 | msgid "Normal offset check:" | 2691 | msgid "Normal offset check:" |
2504 | msgstr "" | 2692 | msgstr "" |
2505 | 2693 | ||
2506 | #: plugins/check_ntp.c:868 plugins/check_ntp_peer.c:702 | 2694 | #: plugins/check_ntp.c:873 plugins/check_ntp_peer.c:709 |
2507 | msgid "" | 2695 | msgid "" |
2508 | "Check jitter too, avoiding critical notifications if jitter isn't available" | 2696 | "Check jitter too, avoiding critical notifications if jitter isn't available" |
2509 | msgstr "" | 2697 | msgstr "" |
2510 | 2698 | ||
2511 | #: plugins/check_ntp.c:869 plugins/check_ntp_peer.c:703 | 2699 | #: plugins/check_ntp.c:874 plugins/check_ntp_peer.c:710 |
2512 | msgid "(See Notes above for more details on thresholds formats):" | 2700 | msgid "(See Notes above for more details on thresholds formats):" |
2513 | msgstr "" | 2701 | msgstr "" |
2514 | 2702 | ||
2515 | #: plugins/check_ntp.c:874 plugins/check_ntp.c:881 | 2703 | #: plugins/check_ntp.c:879 plugins/check_ntp.c:886 |
2516 | msgid "WARNING: check_ntp is deprecated. Please use check_ntp_peer or" | 2704 | msgid "WARNING: check_ntp is deprecated. Please use check_ntp_peer or" |
2517 | msgstr "" | 2705 | msgstr "" |
2518 | 2706 | ||
2519 | #: plugins/check_ntp.c:875 plugins/check_ntp.c:882 | 2707 | #: plugins/check_ntp.c:880 plugins/check_ntp.c:887 |
2520 | msgid "check_ntp_time instead." | 2708 | msgid "check_ntp_time instead." |
2521 | msgstr "" | 2709 | msgstr "" |
2522 | 2710 | ||
2523 | #: plugins/check_ntp_peer.c:619 | 2711 | #: plugins/check_ntp_peer.c:625 |
2524 | msgid "Server not synchronized" | 2712 | msgid "Server not synchronized" |
2525 | msgstr "" | 2713 | msgstr "" |
2526 | 2714 | ||
2527 | #: plugins/check_ntp_peer.c:621 | 2715 | #: plugins/check_ntp_peer.c:627 |
2528 | msgid "Server has the LI_ALARM bit set" | 2716 | msgid "Server has the LI_ALARM bit set" |
2529 | msgstr "" | 2717 | msgstr "" |
2530 | 2718 | ||
2531 | #: plugins/check_ntp_peer.c:665 | 2719 | #: plugins/check_ntp_peer.c:672 |
2532 | msgid "" | 2720 | msgid "" |
2533 | "Returns UNKNOWN instead of CRITICAL or WARNING if server isn't synchronized" | 2721 | "Returns UNKNOWN instead of CRITICAL or WARNING if server isn't synchronized" |
2534 | msgstr "" | 2722 | msgstr "" |
2535 | 2723 | ||
2536 | #: plugins/check_ntp_peer.c:671 | 2724 | #: plugins/check_ntp_peer.c:678 |
2537 | msgid "Warning threshold for stratum" | 2725 | msgid "Warning threshold for stratum of server's synchronization peer" |
2538 | msgstr "" | 2726 | msgstr "" |
2539 | 2727 | ||
2540 | #: plugins/check_ntp_peer.c:673 | 2728 | #: plugins/check_ntp_peer.c:680 |
2541 | msgid "Critical threshold for stratum" | 2729 | msgid "Critical threshold for stratum of server's synchronization peer" |
2542 | msgstr "" | 2730 | msgstr "" |
2543 | 2731 | ||
2544 | #: plugins/check_ntp_peer.c:679 | 2732 | #: plugins/check_ntp_peer.c:686 |
2545 | msgid "Warning threshold for number of usable time sources (\"truechimers\")" | 2733 | msgid "Warning threshold for number of usable time sources (\"truechimers\")" |
2546 | msgstr "" | 2734 | msgstr "" |
2547 | 2735 | ||
2548 | #: plugins/check_ntp_peer.c:681 | 2736 | #: plugins/check_ntp_peer.c:688 |
2549 | msgid "Critical threshold for number of usable time sources (\"truechimers\")" | 2737 | msgid "Critical threshold for number of usable time sources (\"truechimers\")" |
2550 | msgstr "" | 2738 | msgstr "" |
2551 | 2739 | ||
2552 | #: plugins/check_ntp_peer.c:686 | 2740 | #: plugins/check_ntp_peer.c:693 |
2553 | msgid "This plugin checks an NTP server independent of any commandline" | 2741 | msgid "This plugin checks an NTP server independent of any commandline" |
2554 | msgstr "" | 2742 | msgstr "" |
2555 | 2743 | ||
2556 | #: plugins/check_ntp_peer.c:687 | 2744 | #: plugins/check_ntp_peer.c:694 |
2557 | msgid "programs or external libraries." | 2745 | msgid "programs or external libraries." |
2558 | msgstr "" | 2746 | msgstr "" |
2559 | 2747 | ||
2560 | #: plugins/check_ntp_peer.c:690 | 2748 | #: plugins/check_ntp_peer.c:697 |
2561 | msgid "Use this plugin to check the health of an NTP server. It supports" | 2749 | msgid "Use this plugin to check the health of an NTP server. It supports" |
2562 | msgstr "" | 2750 | msgstr "" |
2563 | 2751 | ||
2564 | #: plugins/check_ntp_peer.c:691 | 2752 | #: plugins/check_ntp_peer.c:698 |
2565 | msgid "checking the offset with the sync peer, the jitter and stratum. This" | 2753 | msgid "checking the offset with the sync peer, the jitter and stratum. This" |
2566 | msgstr "" | 2754 | msgstr "" |
2567 | 2755 | ||
2568 | #: plugins/check_ntp_peer.c:692 | 2756 | #: plugins/check_ntp_peer.c:699 |
2569 | msgid "plugin will not check the clock offset between the local host and NTP" | 2757 | msgid "plugin will not check the clock offset between the local host and NTP" |
2570 | msgstr "" | 2758 | msgstr "" |
2571 | 2759 | ||
2572 | #: plugins/check_ntp_peer.c:693 | 2760 | #: plugins/check_ntp_peer.c:700 |
2573 | msgid "server; please use check_ntp_time for that purpose." | 2761 | msgid "server; please use check_ntp_time for that purpose." |
2574 | msgstr "" | 2762 | msgstr "" |
2575 | 2763 | ||
2576 | #: plugins/check_ntp_peer.c:699 | 2764 | #: plugins/check_ntp_peer.c:706 |
2577 | msgid "Simple NTP server check:" | 2765 | msgid "Simple NTP server check:" |
2578 | msgstr "" | 2766 | msgstr "" |
2579 | 2767 | ||
2580 | #: plugins/check_ntp_peer.c:706 | 2768 | #: plugins/check_ntp_peer.c:713 |
2581 | msgid "Only check the number of usable time sources (\"truechimers\"):" | 2769 | msgid "Only check the number of usable time sources (\"truechimers\"):" |
2582 | msgstr "" | 2770 | msgstr "" |
2583 | 2771 | ||
2584 | #: plugins/check_ntp_peer.c:709 | 2772 | #: plugins/check_ntp_peer.c:716 |
2585 | msgid "Check only stratum:" | 2773 | msgid "Check only stratum:" |
2586 | msgstr "" | 2774 | msgstr "" |
2587 | 2775 | ||
2588 | #: plugins/check_ntp_time.c:598 | 2776 | #: plugins/check_ntp_time.c:602 |
2589 | msgid "This plugin checks the clock offset with the ntp server" | 2777 | msgid "This plugin checks the clock offset with the ntp server" |
2590 | msgstr "" | 2778 | msgstr "" |
2591 | 2779 | ||
2592 | #: plugins/check_ntp_time.c:607 | 2780 | #: plugins/check_ntp_time.c:612 |
2593 | msgid "Returns UNKNOWN instead of CRITICAL if offset cannot be found" | 2781 | msgid "Returns UNKNOWN instead of CRITICAL if offset cannot be found" |
2594 | msgstr "" | 2782 | msgstr "" |
2595 | 2783 | ||
2596 | #: plugins/check_ntp_time.c:616 | 2784 | #: plugins/check_ntp_time.c:621 |
2597 | msgid "This plugin checks the clock offset between the local host and a" | 2785 | msgid "This plugin checks the clock offset between the local host and a" |
2598 | msgstr "" | 2786 | msgstr "" |
2599 | 2787 | ||
2600 | #: plugins/check_ntp_time.c:617 | 2788 | #: plugins/check_ntp_time.c:622 |
2601 | msgid "remote NTP server. It is independent of any commandline programs or" | 2789 | msgid "remote NTP server. It is independent of any commandline programs or" |
2602 | msgstr "" | 2790 | msgstr "" |
2603 | 2791 | ||
2604 | #: plugins/check_ntp_time.c:618 | 2792 | #: plugins/check_ntp_time.c:623 |
2605 | msgid "external libraries." | 2793 | msgid "external libraries." |
2606 | msgstr "" | 2794 | msgstr "" |
2607 | 2795 | ||
2608 | #: plugins/check_ntp_time.c:622 | 2796 | #: plugins/check_ntp_time.c:627 |
2609 | msgid "If you'd rather want to monitor an NTP server, please use" | 2797 | msgid "If you'd rather want to monitor an NTP server, please use" |
2610 | msgstr "" | 2798 | msgstr "" |
2611 | 2799 | ||
2612 | #: plugins/check_ntp_time.c:623 | 2800 | #: plugins/check_ntp_time.c:628 |
2613 | msgid "check_ntp_peer." | 2801 | msgid "check_ntp_peer." |
2614 | msgstr "" | 2802 | msgstr "" |
2615 | 2803 | ||
@@ -2708,17 +2896,14 @@ msgid "disabled" | |||
2708 | msgstr "" | 2896 | msgstr "" |
2709 | 2897 | ||
2710 | #: plugins/check_nwstat.c:560 | 2898 | #: plugins/check_nwstat.c:560 |
2711 | #, c-format | ||
2712 | msgid "CRITICAL - NRM Status is bad!" | 2899 | msgid "CRITICAL - NRM Status is bad!" |
2713 | msgstr "" | 2900 | msgstr "" |
2714 | 2901 | ||
2715 | #: plugins/check_nwstat.c:565 | 2902 | #: plugins/check_nwstat.c:565 |
2716 | #, c-format | ||
2717 | msgid "Warning - NRM Status is suspect!" | 2903 | msgid "Warning - NRM Status is suspect!" |
2718 | msgstr "" | 2904 | msgstr "" |
2719 | 2905 | ||
2720 | #: plugins/check_nwstat.c:568 | 2906 | #: plugins/check_nwstat.c:568 |
2721 | #, c-format | ||
2722 | msgid "OK - NRM Status is good!" | 2907 | msgid "OK - NRM Status is good!" |
2723 | msgstr "" | 2908 | msgstr "" |
2724 | 2909 | ||
@@ -2778,12 +2963,10 @@ msgid "%lu current service processes (%lu max)|Processes=%lu;%lu;%lu;0;%lu" | |||
2778 | msgstr "" | 2963 | msgstr "" |
2779 | 2964 | ||
2780 | #: plugins/check_nwstat.c:904 | 2965 | #: plugins/check_nwstat.c:904 |
2781 | #, c-format | ||
2782 | msgid "CRITICAL - Time not in sync with network!" | 2966 | msgid "CRITICAL - Time not in sync with network!" |
2783 | msgstr "" | 2967 | msgstr "" |
2784 | 2968 | ||
2785 | #: plugins/check_nwstat.c:907 | 2969 | #: plugins/check_nwstat.c:907 |
2786 | #, c-format | ||
2787 | msgid "OK - Time in sync with network!" | 2970 | msgid "OK - Time in sync with network!" |
2788 | msgstr "" | 2971 | msgstr "" |
2789 | 2972 | ||
@@ -3184,112 +3367,218 @@ msgid "" | |||
3184 | "higher than the warning threshold value, EXCEPT with the uptime variable" | 3367 | "higher than the warning threshold value, EXCEPT with the uptime variable" |
3185 | msgstr "" | 3368 | msgstr "" |
3186 | 3369 | ||
3187 | #: plugins/check_pgsql.c:183 | 3370 | #: plugins/check_pgsql.c:222 |
3188 | #, c-format | 3371 | #, c-format |
3189 | msgid "CRITICAL - no connection to '%s' (%s).\n" | 3372 | msgid "CRITICAL - no connection to '%s' (%s).\n" |
3190 | msgstr "" | 3373 | msgstr "" |
3191 | 3374 | ||
3192 | #: plugins/check_pgsql.c:200 | 3375 | #: plugins/check_pgsql.c:250 |
3193 | #, c-format | 3376 | #, c-format |
3194 | msgid " %s - database %s (%d sec.)|%s\n" | 3377 | msgid " %s - database %s (%f sec.)|%s\n" |
3195 | msgstr "" | 3378 | msgstr "" |
3196 | 3379 | ||
3197 | #: plugins/check_pgsql.c:256 plugins/check_time.c:277 plugins/check_time.c:289 | 3380 | #: plugins/check_pgsql.c:317 plugins/check_time.c:277 plugins/check_time.c:289 |
3198 | #: plugins/check_users.c:166 | 3381 | #: plugins/check_users.c:181 |
3199 | msgid "Critical threshold must be a positive integer" | 3382 | msgid "Critical threshold must be a positive integer" |
3200 | msgstr "" | 3383 | msgstr "" |
3201 | 3384 | ||
3202 | #: plugins/check_pgsql.c:262 plugins/check_time.c:258 plugins/check_time.c:282 | 3385 | #: plugins/check_pgsql.c:323 plugins/check_time.c:258 plugins/check_time.c:282 |
3203 | #: plugins/check_users.c:172 plugins/check_users.c:182 | 3386 | #: plugins/check_users.c:187 plugins/check_users.c:197 |
3204 | #: plugins/check_users.c:189 | 3387 | #: plugins/check_users.c:203 |
3205 | msgid "Warning threshold must be a positive integer" | 3388 | msgid "Warning threshold must be a positive integer" |
3206 | msgstr "" | 3389 | msgstr "" |
3207 | 3390 | ||
3208 | #: plugins/check_pgsql.c:280 | 3391 | #: plugins/check_pgsql.c:347 |
3209 | msgid "Database name is not valid" | 3392 | msgid "Database name is not valid" |
3210 | msgstr "" | 3393 | msgstr "" |
3211 | 3394 | ||
3212 | #: plugins/check_pgsql.c:286 | 3395 | #: plugins/check_pgsql.c:353 |
3213 | msgid "User name is not valid" | 3396 | msgid "User name is not valid" |
3214 | msgstr "" | 3397 | msgstr "" |
3215 | 3398 | ||
3216 | #: plugins/check_pgsql.c:426 | 3399 | #: plugins/check_pgsql.c:504 |
3217 | #, c-format | 3400 | #, c-format |
3218 | msgid "Test whether a PostgreSQL Database is accepting connections." | 3401 | msgid "Test whether a PostgreSQL Database is accepting connections." |
3219 | msgstr "" | 3402 | msgstr "" |
3220 | 3403 | ||
3221 | #: plugins/check_pgsql.c:440 | 3404 | #: plugins/check_pgsql.c:516 |
3222 | msgid "Database to check " | 3405 | msgid "Database to check " |
3223 | msgstr "" | 3406 | msgstr "" |
3224 | 3407 | ||
3225 | #: plugins/check_pgsql.c:441 | 3408 | #: plugins/check_pgsql.c:517 |
3226 | #, c-format | 3409 | #, c-format |
3227 | msgid "(default: %s)" | 3410 | msgid "(default: %s)" |
3228 | msgstr "" | 3411 | msgstr "" |
3229 | 3412 | ||
3230 | #: plugins/check_pgsql.c:443 | 3413 | #: plugins/check_pgsql.c:519 |
3231 | msgid "Login name of user" | 3414 | msgid "Login name of user" |
3232 | msgstr "" | 3415 | msgstr "" |
3233 | 3416 | ||
3234 | #: plugins/check_pgsql.c:445 | 3417 | #: plugins/check_pgsql.c:521 |
3235 | msgid "Password (BIG SECURITY ISSUE)" | 3418 | msgid "Password (BIG SECURITY ISSUE)" |
3236 | msgstr "" | 3419 | msgstr "" |
3237 | 3420 | ||
3238 | #: plugins/check_pgsql.c:454 | 3421 | #: plugins/check_pgsql.c:523 |
3422 | msgid "Connection parameters (keyword = value), see below" | ||
3423 | msgstr "" | ||
3424 | |||
3425 | #: plugins/check_pgsql.c:530 | ||
3426 | msgid "SQL query to run. Only first column in first row will be read" | ||
3427 | msgstr "" | ||
3428 | |||
3429 | #: plugins/check_pgsql.c:532 | ||
3430 | msgid "SQL query value to result in warning status (double)" | ||
3431 | msgstr "" | ||
3432 | |||
3433 | #: plugins/check_pgsql.c:534 | ||
3434 | msgid "SQL query value to result in critical status (double)" | ||
3435 | msgstr "" | ||
3436 | |||
3437 | #: plugins/check_pgsql.c:539 | ||
3239 | msgid "All parameters are optional." | 3438 | msgid "All parameters are optional." |
3240 | msgstr "" | 3439 | msgstr "" |
3241 | 3440 | ||
3242 | #: plugins/check_pgsql.c:455 | 3441 | #: plugins/check_pgsql.c:540 |
3243 | msgid "" | 3442 | msgid "" |
3244 | "This plugin tests a PostgreSQL DBMS to determine whether it is active and" | 3443 | "This plugin tests a PostgreSQL DBMS to determine whether it is active and" |
3245 | msgstr "" | 3444 | msgstr "" |
3246 | 3445 | ||
3247 | #: plugins/check_pgsql.c:456 | 3446 | #: plugins/check_pgsql.c:541 |
3248 | msgid "accepting queries. In its current operation, it simply connects to the" | 3447 | msgid "accepting queries. In its current operation, it simply connects to the" |
3249 | msgstr "" | 3448 | msgstr "" |
3250 | 3449 | ||
3251 | #: plugins/check_pgsql.c:457 | 3450 | #: plugins/check_pgsql.c:542 |
3252 | msgid "" | 3451 | msgid "" |
3253 | "specified database, and then disconnects. If no database is specified, it" | 3452 | "specified database, and then disconnects. If no database is specified, it" |
3254 | msgstr "" | 3453 | msgstr "" |
3255 | 3454 | ||
3256 | #: plugins/check_pgsql.c:458 | 3455 | #: plugins/check_pgsql.c:543 |
3257 | msgid "" | 3456 | msgid "" |
3258 | "connects to the template1 database, which is present in every functioning" | 3457 | "connects to the template1 database, which is present in every functioning" |
3259 | msgstr "" | 3458 | msgstr "" |
3260 | 3459 | ||
3261 | #: plugins/check_pgsql.c:459 | 3460 | #: plugins/check_pgsql.c:544 |
3262 | msgid "PostgreSQL DBMS." | 3461 | msgid "PostgreSQL DBMS." |
3263 | msgstr "" | 3462 | msgstr "" |
3264 | 3463 | ||
3265 | #: plugins/check_pgsql.c:461 | 3464 | #: plugins/check_pgsql.c:546 |
3465 | msgid "If a query is specified using the -q option, it will be executed after" | ||
3466 | msgstr "" | ||
3467 | |||
3468 | #: plugins/check_pgsql.c:547 | ||
3469 | msgid "connecting to the server. The result from the query has to be numeric." | ||
3470 | msgstr "" | ||
3471 | |||
3472 | #: plugins/check_pgsql.c:548 | ||
3473 | msgid "" | ||
3474 | "Multiple SQL commands, separated by semicolon, are allowed but the result " | ||
3475 | msgstr "" | ||
3476 | |||
3477 | #: plugins/check_pgsql.c:549 | ||
3478 | msgid "of the last command is taken into account only. The value of the first" | ||
3479 | msgstr "" | ||
3480 | |||
3481 | #: plugins/check_pgsql.c:550 | ||
3482 | msgid "column in the first row is used as the check result." | ||
3483 | msgstr "" | ||
3484 | |||
3485 | #: plugins/check_pgsql.c:552 | ||
3486 | msgid "" | ||
3487 | "See the chapter \"Monitoring Database Activity\" of the PostgreSQL manual" | ||
3488 | msgstr "" | ||
3489 | |||
3490 | #: plugins/check_pgsql.c:553 | ||
3491 | msgid "" | ||
3492 | "for details about how to access internal statistics of the database server." | ||
3493 | msgstr "" | ||
3494 | |||
3495 | #: plugins/check_pgsql.c:555 | ||
3496 | msgid "" | ||
3497 | "For a list of available connection parameters which may be used with the -o" | ||
3498 | msgstr "" | ||
3499 | |||
3500 | #: plugins/check_pgsql.c:556 | ||
3501 | msgid "" | ||
3502 | "command line option, see the documentation for PQconnectdb() in the chapter" | ||
3503 | msgstr "" | ||
3504 | |||
3505 | #: plugins/check_pgsql.c:557 | ||
3506 | msgid "" | ||
3507 | "\"libpq - C Library\" of the PostgreSQL manual. For example, this may be" | ||
3508 | msgstr "" | ||
3509 | |||
3510 | #: plugins/check_pgsql.c:558 | ||
3511 | msgid "" | ||
3512 | "used to specify a service name in pg_service.conf to be used for additional" | ||
3513 | msgstr "" | ||
3514 | |||
3515 | #: plugins/check_pgsql.c:559 | ||
3516 | msgid "connection parameters: -o 'service=<name>' or to specify the SSL mode:" | ||
3517 | msgstr "" | ||
3518 | |||
3519 | #: plugins/check_pgsql.c:560 | ||
3520 | msgid "-o 'sslmode=require'." | ||
3521 | msgstr "" | ||
3522 | |||
3523 | #: plugins/check_pgsql.c:562 | ||
3266 | msgid "" | 3524 | msgid "" |
3267 | "The plugin will connect to a local postmaster if no host is specified. To" | 3525 | "The plugin will connect to a local postmaster if no host is specified. To" |
3268 | msgstr "" | 3526 | msgstr "" |
3269 | 3527 | ||
3270 | #: plugins/check_pgsql.c:462 | 3528 | #: plugins/check_pgsql.c:563 |
3271 | msgid "" | 3529 | msgid "" |
3272 | "connect to a remote host, be sure that the remote postmaster accepts TCP/IP" | 3530 | "connect to a remote host, be sure that the remote postmaster accepts TCP/IP" |
3273 | msgstr "" | 3531 | msgstr "" |
3274 | 3532 | ||
3275 | #: plugins/check_pgsql.c:463 | 3533 | #: plugins/check_pgsql.c:564 |
3276 | msgid "connections (start the postmaster with the -i option)." | 3534 | msgid "connections (start the postmaster with the -i option)." |
3277 | msgstr "" | 3535 | msgstr "" |
3278 | 3536 | ||
3279 | #: plugins/check_pgsql.c:465 | 3537 | #: plugins/check_pgsql.c:566 |
3280 | msgid "" | 3538 | msgid "" |
3281 | "Typically, the nagios user (unless the --logname option is used) should be" | 3539 | "Typically, the monitoring user (unless the --logname option is used) should " |
3540 | "be" | ||
3282 | msgstr "" | 3541 | msgstr "" |
3283 | 3542 | ||
3284 | #: plugins/check_pgsql.c:466 | 3543 | #: plugins/check_pgsql.c:567 |
3285 | msgid "" | 3544 | msgid "" |
3286 | "able to connect to the database without a password. The plugin can also send" | 3545 | "able to connect to the database without a password. The plugin can also send" |
3287 | msgstr "" | 3546 | msgstr "" |
3288 | 3547 | ||
3289 | #: plugins/check_pgsql.c:467 | 3548 | #: plugins/check_pgsql.c:568 |
3290 | msgid "a password, but no effort is made to obsure or encrypt the password." | 3549 | msgid "a password, but no effort is made to obsure or encrypt the password." |
3291 | msgstr "" | 3550 | msgstr "" |
3292 | 3551 | ||
3552 | #: plugins/check_pgsql.c:601 | ||
3553 | #, c-format | ||
3554 | msgid "QUERY %s - %s: %s.\n" | ||
3555 | msgstr "" | ||
3556 | |||
3557 | #: plugins/check_pgsql.c:601 | ||
3558 | msgid "Error with query" | ||
3559 | msgstr "" | ||
3560 | |||
3561 | #: plugins/check_pgsql.c:607 | ||
3562 | msgid "No rows returned" | ||
3563 | msgstr "" | ||
3564 | |||
3565 | #: plugins/check_pgsql.c:612 | ||
3566 | msgid "No columns returned" | ||
3567 | msgstr "" | ||
3568 | |||
3569 | #: plugins/check_pgsql.c:618 | ||
3570 | msgid "No data returned" | ||
3571 | msgstr "" | ||
3572 | |||
3573 | #: plugins/check_pgsql.c:627 | ||
3574 | msgid "Is not a numeric" | ||
3575 | msgstr "" | ||
3576 | |||
3577 | #: plugins/check_pgsql.c:644 | ||
3578 | #, c-format | ||
3579 | msgid "'%s' returned %f" | ||
3580 | msgstr "" | ||
3581 | |||
3293 | #: plugins/check_ping.c:141 | 3582 | #: plugins/check_ping.c:141 |
3294 | msgid "CRITICAL - Could not interpret output from ping command\n" | 3583 | msgid "CRITICAL - Could not interpret output from ping command\n" |
3295 | msgstr "" | 3584 | msgstr "" |
@@ -3370,306 +3659,301 @@ msgstr "" | |||
3370 | msgid "<wpl> (%d) cannot be larger than <cpl> (%d)\n" | 3659 | msgid "<wpl> (%d) cannot be larger than <cpl> (%d)\n" |
3371 | msgstr "" | 3660 | msgstr "" |
3372 | 3661 | ||
3373 | #: plugins/check_ping.c:441 | 3662 | #: plugins/check_ping.c:442 |
3374 | #, c-format | 3663 | #, c-format |
3375 | msgid "Cannot open stderr for %s\n" | 3664 | msgid "Cannot open stderr for %s\n" |
3376 | msgstr "" | 3665 | msgstr "" |
3377 | 3666 | ||
3378 | #: plugins/check_ping.c:490 plugins/check_ping.c:492 | 3667 | #: plugins/check_ping.c:492 plugins/check_ping.c:494 |
3379 | msgid "System call sent warnings to stderr " | 3668 | msgid "System call sent warnings to stderr " |
3380 | msgstr "" | 3669 | msgstr "" |
3381 | 3670 | ||
3382 | #: plugins/check_ping.c:519 | 3671 | #: plugins/check_ping.c:519 |
3383 | #, c-format | 3672 | #, c-format |
3384 | msgid "CRITICAL - Network Unreachable (%s)" | 3673 | msgid "CRITICAL - Network Unreachable (%s)\n" |
3385 | msgstr "" | 3674 | msgstr "" |
3386 | 3675 | ||
3387 | #: plugins/check_ping.c:521 | 3676 | #: plugins/check_ping.c:521 |
3388 | #, c-format | 3677 | #, c-format |
3389 | msgid "CRITICAL - Host Unreachable (%s)" | 3678 | msgid "CRITICAL - Host Unreachable (%s)\n" |
3390 | msgstr "" | 3679 | msgstr "" |
3391 | 3680 | ||
3392 | #: plugins/check_ping.c:523 | 3681 | #: plugins/check_ping.c:523 |
3393 | #, c-format | 3682 | #, c-format |
3394 | msgid "CRITICAL - Bogus ICMP: Port Unreachable (%s)" | 3683 | msgid "CRITICAL - Bogus ICMP: Port Unreachable (%s)\n" |
3395 | msgstr "" | 3684 | msgstr "" |
3396 | 3685 | ||
3397 | #: plugins/check_ping.c:525 | 3686 | #: plugins/check_ping.c:525 |
3398 | #, c-format | 3687 | #, c-format |
3399 | msgid "CRITICAL - Bogus ICMP: Protocol Unreachable (%s)" | 3688 | msgid "CRITICAL - Bogus ICMP: Protocol Unreachable (%s)\n" |
3400 | msgstr "" | 3689 | msgstr "" |
3401 | 3690 | ||
3402 | #: plugins/check_ping.c:527 | 3691 | #: plugins/check_ping.c:527 |
3403 | #, c-format | 3692 | #, c-format |
3404 | msgid "CRITICAL - Network Prohibited (%s)" | 3693 | msgid "CRITICAL - Network Prohibited (%s)\n" |
3405 | msgstr "" | 3694 | msgstr "" |
3406 | 3695 | ||
3407 | #: plugins/check_ping.c:529 | 3696 | #: plugins/check_ping.c:529 |
3408 | #, c-format | 3697 | #, c-format |
3409 | msgid "CRITICAL - Host Prohibited (%s)" | 3698 | msgid "CRITICAL - Host Prohibited (%s)\n" |
3410 | msgstr "" | 3699 | msgstr "" |
3411 | 3700 | ||
3412 | #: plugins/check_ping.c:531 | 3701 | #: plugins/check_ping.c:531 |
3413 | #, c-format | 3702 | #, c-format |
3414 | msgid "CRITICAL - Packet Filtered (%s)" | 3703 | msgid "CRITICAL - Packet Filtered (%s)\n" |
3415 | msgstr "" | 3704 | msgstr "" |
3416 | 3705 | ||
3417 | #: plugins/check_ping.c:533 | 3706 | #: plugins/check_ping.c:533 |
3418 | #, c-format | 3707 | #, c-format |
3419 | msgid "CRITICAL - Host not found (%s)" | 3708 | msgid "CRITICAL - Host not found (%s)\n" |
3420 | msgstr "" | 3709 | msgstr "" |
3421 | 3710 | ||
3422 | #: plugins/check_ping.c:535 | 3711 | #: plugins/check_ping.c:535 |
3423 | #, c-format | 3712 | #, c-format |
3424 | msgid "CRITICAL - Time to live exceeded (%s)" | 3713 | msgid "CRITICAL - Time to live exceeded (%s)\n" |
3425 | msgstr "" | 3714 | msgstr "" |
3426 | 3715 | ||
3427 | #: plugins/check_ping.c:542 | 3716 | #: plugins/check_ping.c:537 |
3428 | msgid "Unable to realloc warn_text" | 3717 | #, c-format |
3718 | msgid "CRITICAL - Destination Unreachable (%s)\n" | ||
3429 | msgstr "" | 3719 | msgstr "" |
3430 | 3720 | ||
3431 | #: plugins/check_ping.c:559 | 3721 | #: plugins/check_ping.c:544 |
3722 | msgid "Unable to realloc warn_text\n" | ||
3723 | msgstr "" | ||
3724 | |||
3725 | #: plugins/check_ping.c:561 | ||
3432 | #, c-format | 3726 | #, c-format |
3433 | msgid "Use ping to check connection statistics for a remote host." | 3727 | msgid "Use ping to check connection statistics for a remote host." |
3434 | msgstr "" | 3728 | msgstr "" |
3435 | 3729 | ||
3436 | #: plugins/check_ping.c:571 | 3730 | #: plugins/check_ping.c:573 |
3437 | msgid "host to ping" | 3731 | msgid "host to ping" |
3438 | msgstr "" | 3732 | msgstr "" |
3439 | 3733 | ||
3440 | #: plugins/check_ping.c:577 | 3734 | #: plugins/check_ping.c:579 |
3441 | msgid "number of ICMP ECHO packets to send" | 3735 | msgid "number of ICMP ECHO packets to send" |
3442 | msgstr "" | 3736 | msgstr "" |
3443 | 3737 | ||
3444 | #: plugins/check_ping.c:578 | 3738 | #: plugins/check_ping.c:580 |
3445 | #, c-format | 3739 | #, c-format |
3446 | msgid "(Default: %d)\n" | 3740 | msgid "(Default: %d)\n" |
3447 | msgstr "" | 3741 | msgstr "" |
3448 | 3742 | ||
3449 | #: plugins/check_ping.c:580 | 3743 | #: plugins/check_ping.c:582 |
3450 | msgid "show HTML in the plugin output (obsoleted by urlize)" | 3744 | msgid "show HTML in the plugin output (obsoleted by urlize)" |
3451 | msgstr "" | 3745 | msgstr "" |
3452 | 3746 | ||
3453 | #: plugins/check_ping.c:585 | 3747 | #: plugins/check_ping.c:587 |
3454 | msgid "THRESHOLD is <rta>,<pl>% where <rta> is the round trip average travel" | 3748 | msgid "THRESHOLD is <rta>,<pl>% where <rta> is the round trip average travel" |
3455 | msgstr "" | 3749 | msgstr "" |
3456 | 3750 | ||
3457 | #: plugins/check_ping.c:586 | 3751 | #: plugins/check_ping.c:588 |
3458 | msgid "time (ms) which triggers a WARNING or CRITICAL state, and <pl> is the" | 3752 | msgid "time (ms) which triggers a WARNING or CRITICAL state, and <pl> is the" |
3459 | msgstr "" | 3753 | msgstr "" |
3460 | 3754 | ||
3461 | #: plugins/check_ping.c:587 | 3755 | #: plugins/check_ping.c:589 |
3462 | msgid "percentage of packet loss to trigger an alarm state." | 3756 | msgid "percentage of packet loss to trigger an alarm state." |
3463 | msgstr "" | 3757 | msgstr "" |
3464 | 3758 | ||
3465 | #: plugins/check_ping.c:590 | 3759 | #: plugins/check_ping.c:592 |
3466 | msgid "" | 3760 | msgid "" |
3467 | "This plugin uses the ping command to probe the specified host for packet loss" | 3761 | "This plugin uses the ping command to probe the specified host for packet loss" |
3468 | msgstr "" | 3762 | msgstr "" |
3469 | 3763 | ||
3470 | #: plugins/check_ping.c:591 | 3764 | #: plugins/check_ping.c:593 |
3471 | msgid "" | 3765 | msgid "" |
3472 | "(percentage) and round trip average (milliseconds). It can produce HTML " | 3766 | "(percentage) and round trip average (milliseconds). It can produce HTML " |
3473 | "output" | 3767 | "output" |
3474 | msgstr "" | 3768 | msgstr "" |
3475 | 3769 | ||
3476 | #: plugins/check_ping.c:592 | 3770 | #: plugins/check_ping.c:594 |
3477 | msgid "" | 3771 | msgid "" |
3478 | "linking to a traceroute CGI contributed by Ian Cass. The CGI can be found in" | 3772 | "linking to a traceroute CGI contributed by Ian Cass. The CGI can be found in" |
3479 | msgstr "" | 3773 | msgstr "" |
3480 | 3774 | ||
3481 | #: plugins/check_ping.c:593 | 3775 | #: plugins/check_ping.c:595 |
3482 | msgid "the contrib area of the downloads section at http://www.nagios.org/" | 3776 | msgid "the contrib area of the downloads section at http://www.nagios.org/" |
3483 | msgstr "" | 3777 | msgstr "" |
3484 | 3778 | ||
3485 | #: plugins/check_procs.c:159 | 3779 | #: plugins/check_procs.c:193 |
3486 | #, c-format | 3780 | #, c-format |
3487 | msgid "CMD: %s\n" | 3781 | msgid "CMD: %s\n" |
3488 | msgstr "" | 3782 | msgstr "" |
3489 | 3783 | ||
3490 | #: plugins/check_procs.c:164 | 3784 | #: plugins/check_procs.c:198 |
3491 | msgid "System call sent warnings to stderr" | 3785 | msgid "System call sent warnings to stderr" |
3492 | msgstr "" | 3786 | msgstr "" |
3493 | 3787 | ||
3494 | #: plugins/check_procs.c:265 | 3788 | #: plugins/check_procs.c:326 |
3495 | #, c-format | 3789 | #, c-format |
3496 | msgid "Not parseable: %s" | 3790 | msgid "Not parseable: %s" |
3497 | msgstr "" | 3791 | msgstr "" |
3498 | 3792 | ||
3499 | #: plugins/check_procs.c:270 | 3793 | #: plugins/check_procs.c:331 |
3500 | #, c-format | 3794 | #, c-format |
3501 | msgid "Unable to read output\n" | 3795 | msgid "Unable to read output\n" |
3502 | msgstr "" | 3796 | msgstr "" |
3503 | 3797 | ||
3504 | #: plugins/check_procs.c:287 | 3798 | #: plugins/check_procs.c:348 |
3505 | #, c-format | 3799 | #, c-format |
3506 | msgid "%d warn out of " | 3800 | msgid "%d warn out of " |
3507 | msgstr "" | 3801 | msgstr "" |
3508 | 3802 | ||
3509 | #: plugins/check_procs.c:292 | 3803 | #: plugins/check_procs.c:353 |
3510 | #, c-format | 3804 | #, c-format |
3511 | msgid "%d crit, %d warn out of " | 3805 | msgid "%d crit, %d warn out of " |
3512 | msgstr "" | 3806 | msgstr "" |
3513 | 3807 | ||
3514 | #: plugins/check_procs.c:298 | 3808 | #: plugins/check_procs.c:359 |
3515 | #, c-format | 3809 | #, c-format |
3516 | msgid " with %s" | 3810 | msgid " with %s" |
3517 | msgstr "" | 3811 | msgstr "" |
3518 | 3812 | ||
3519 | #: plugins/check_procs.c:380 | 3813 | #: plugins/check_procs.c:453 |
3520 | msgid "Critical Process Count must be an integer!" | ||
3521 | msgstr "" | ||
3522 | |||
3523 | #: plugins/check_procs.c:392 | ||
3524 | msgid "Warning Process Count must be an integer!" | ||
3525 | msgstr "" | ||
3526 | |||
3527 | #: plugins/check_procs.c:400 | ||
3528 | msgid "Parent Process ID must be an integer!" | 3814 | msgid "Parent Process ID must be an integer!" |
3529 | msgstr "" | 3815 | msgstr "" |
3530 | 3816 | ||
3531 | #: plugins/check_procs.c:406 plugins/check_procs.c:527 | 3817 | #: plugins/check_procs.c:459 plugins/check_procs.c:586 |
3532 | #, c-format | 3818 | #, c-format |
3533 | msgid "%s%sSTATE = %s" | 3819 | msgid "%s%sSTATE = %s" |
3534 | msgstr "" | 3820 | msgstr "" |
3535 | 3821 | ||
3536 | #: plugins/check_procs.c:415 | 3822 | #: plugins/check_procs.c:468 |
3537 | msgid "UID was not found" | 3823 | msgid "UID was not found" |
3538 | msgstr "" | 3824 | msgstr "" |
3539 | 3825 | ||
3540 | #: plugins/check_procs.c:421 | 3826 | #: plugins/check_procs.c:474 |
3541 | msgid "User name was not found" | 3827 | msgid "User name was not found" |
3542 | msgstr "" | 3828 | msgstr "" |
3543 | 3829 | ||
3544 | #: plugins/check_procs.c:436 | 3830 | #: plugins/check_procs.c:489 |
3545 | #, c-format | 3831 | #, c-format |
3546 | msgid "%s%scommand name '%s'" | 3832 | msgid "%s%scommand name '%s'" |
3547 | msgstr "" | 3833 | msgstr "" |
3548 | 3834 | ||
3549 | #: plugins/check_procs.c:471 | 3835 | #: plugins/check_procs.c:524 |
3550 | msgid "RSS must be an integer!" | 3836 | msgid "RSS must be an integer!" |
3551 | msgstr "" | 3837 | msgstr "" |
3552 | 3838 | ||
3553 | #: plugins/check_procs.c:478 | 3839 | #: plugins/check_procs.c:531 |
3554 | msgid "VSZ must be an integer!" | 3840 | msgid "VSZ must be an integer!" |
3555 | msgstr "" | 3841 | msgstr "" |
3556 | 3842 | ||
3557 | #: plugins/check_procs.c:486 | 3843 | #: plugins/check_procs.c:539 |
3558 | msgid "PCPU must be a float!" | 3844 | msgid "PCPU must be a float!" |
3559 | msgstr "" | 3845 | msgstr "" |
3560 | 3846 | ||
3561 | #: plugins/check_procs.c:510 | 3847 | #: plugins/check_procs.c:563 |
3562 | msgid "Metric must be one of PROCS, VSZ, RSS, CPU, ELAPSED!" | 3848 | msgid "Metric must be one of PROCS, VSZ, RSS, CPU, ELAPSED!" |
3563 | msgstr "" | 3849 | msgstr "" |
3564 | 3850 | ||
3565 | #: plugins/check_procs.c:546 | 3851 | #: plugins/check_procs.c:694 |
3566 | #, c-format | ||
3567 | msgid "wmax (%d) cannot be greater than cmax (%d)\n" | ||
3568 | msgstr "" | ||
3569 | |||
3570 | #: plugins/check_procs.c:550 | ||
3571 | #, c-format | ||
3572 | msgid "wmin (%d) cannot be less than cmin (%d)\n" | ||
3573 | msgstr "" | ||
3574 | |||
3575 | #: plugins/check_procs.c:687 | ||
3576 | msgid "" | 3852 | msgid "" |
3577 | "Checks all processes and generates WARNING or CRITICAL states if the " | 3853 | "Checks all processes and generates WARNING or CRITICAL states if the " |
3578 | "specified" | 3854 | "specified" |
3579 | msgstr "" | 3855 | msgstr "" |
3580 | 3856 | ||
3581 | #: plugins/check_procs.c:688 | 3857 | #: plugins/check_procs.c:695 |
3582 | msgid "" | 3858 | msgid "" |
3583 | "metric is outside the required threshold ranges. The metric defaults to " | 3859 | "metric is outside the required threshold ranges. The metric defaults to " |
3584 | "number" | 3860 | "number" |
3585 | msgstr "" | 3861 | msgstr "" |
3586 | 3862 | ||
3587 | #: plugins/check_procs.c:689 | 3863 | #: plugins/check_procs.c:696 |
3588 | msgid "" | 3864 | msgid "" |
3589 | "of processes. Search filters can be applied to limit the processes to check." | 3865 | "of processes. Search filters can be applied to limit the processes to check." |
3590 | msgstr "" | 3866 | msgstr "" |
3591 | 3867 | ||
3592 | #: plugins/check_procs.c:698 | 3868 | #: plugins/check_procs.c:705 |
3593 | msgid "Generate warning state if metric is outside this range" | 3869 | msgid "Generate warning state if metric is outside this range" |
3594 | msgstr "" | 3870 | msgstr "" |
3595 | 3871 | ||
3596 | #: plugins/check_procs.c:700 | 3872 | #: plugins/check_procs.c:707 |
3597 | msgid "Generate critical state if metric is outside this range" | 3873 | msgid "Generate critical state if metric is outside this range" |
3598 | msgstr "" | 3874 | msgstr "" |
3599 | 3875 | ||
3600 | #: plugins/check_procs.c:702 | 3876 | #: plugins/check_procs.c:709 |
3601 | msgid "Check thresholds against metric. Valid types:" | 3877 | msgid "Check thresholds against metric. Valid types:" |
3602 | msgstr "" | 3878 | msgstr "" |
3603 | 3879 | ||
3604 | #: plugins/check_procs.c:703 | 3880 | #: plugins/check_procs.c:710 |
3605 | msgid "PROCS - number of processes (default)" | 3881 | msgid "PROCS - number of processes (default)" |
3606 | msgstr "" | 3882 | msgstr "" |
3607 | 3883 | ||
3608 | #: plugins/check_procs.c:704 | 3884 | #: plugins/check_procs.c:711 |
3609 | msgid "VSZ - virtual memory size" | 3885 | msgid "VSZ - virtual memory size" |
3610 | msgstr "" | 3886 | msgstr "" |
3611 | 3887 | ||
3612 | #: plugins/check_procs.c:705 | 3888 | #: plugins/check_procs.c:712 |
3613 | msgid "RSS - resident set memory size" | 3889 | msgid "RSS - resident set memory size" |
3614 | msgstr "" | 3890 | msgstr "" |
3615 | 3891 | ||
3616 | #: plugins/check_procs.c:706 | 3892 | #: plugins/check_procs.c:713 |
3617 | msgid "CPU - percentage CPU" | 3893 | msgid "CPU - percentage CPU" |
3618 | msgstr "" | 3894 | msgstr "" |
3619 | 3895 | ||
3620 | #: plugins/check_procs.c:709 | 3896 | #: plugins/check_procs.c:716 |
3621 | msgid "ELAPSED - time elapsed in seconds" | 3897 | msgid "ELAPSED - time elapsed in seconds" |
3622 | msgstr "" | 3898 | msgstr "" |
3623 | 3899 | ||
3624 | #: plugins/check_procs.c:714 | 3900 | #: plugins/check_procs.c:721 |
3625 | msgid "Extra information. Up to 3 verbosity levels" | 3901 | msgid "Extra information. Up to 3 verbosity levels" |
3626 | msgstr "" | 3902 | msgstr "" |
3627 | 3903 | ||
3628 | #: plugins/check_procs.c:719 | 3904 | #: plugins/check_procs.c:724 |
3905 | msgid "Filter own process the traditional way by PID instead of /proc/pid/exe" | ||
3906 | msgstr "" | ||
3907 | |||
3908 | #: plugins/check_procs.c:729 | ||
3629 | msgid "Only scan for processes that have, in the output of `ps`, one or" | 3909 | msgid "Only scan for processes that have, in the output of `ps`, one or" |
3630 | msgstr "" | 3910 | msgstr "" |
3631 | 3911 | ||
3632 | #: plugins/check_procs.c:720 | 3912 | #: plugins/check_procs.c:730 |
3633 | msgid "more of the status flags you specify (for example R, Z, S, RS," | 3913 | msgid "more of the status flags you specify (for example R, Z, S, RS," |
3634 | msgstr "" | 3914 | msgstr "" |
3635 | 3915 | ||
3636 | #: plugins/check_procs.c:721 | 3916 | #: plugins/check_procs.c:731 |
3637 | msgid "RSZDT, plus others based on the output of your 'ps' command)." | 3917 | msgid "RSZDT, plus others based on the output of your 'ps' command)." |
3638 | msgstr "" | 3918 | msgstr "" |
3639 | 3919 | ||
3640 | #: plugins/check_procs.c:723 | 3920 | #: plugins/check_procs.c:733 |
3641 | msgid "Only scan for children of the parent process ID indicated." | 3921 | msgid "Only scan for children of the parent process ID indicated." |
3642 | msgstr "" | 3922 | msgstr "" |
3643 | 3923 | ||
3644 | #: plugins/check_procs.c:725 | 3924 | #: plugins/check_procs.c:735 |
3645 | msgid "Only scan for processes with VSZ higher than indicated." | 3925 | msgid "Only scan for processes with VSZ higher than indicated." |
3646 | msgstr "" | 3926 | msgstr "" |
3647 | 3927 | ||
3648 | #: plugins/check_procs.c:727 | 3928 | #: plugins/check_procs.c:737 |
3649 | msgid "Only scan for processes with RSS higher than indicated." | 3929 | msgid "Only scan for processes with RSS higher than indicated." |
3650 | msgstr "" | 3930 | msgstr "" |
3651 | 3931 | ||
3652 | #: plugins/check_procs.c:729 | 3932 | #: plugins/check_procs.c:739 |
3653 | msgid "Only scan for processes with PCPU higher than indicated." | 3933 | msgid "Only scan for processes with PCPU higher than indicated." |
3654 | msgstr "" | 3934 | msgstr "" |
3655 | 3935 | ||
3656 | #: plugins/check_procs.c:731 | 3936 | #: plugins/check_procs.c:741 |
3657 | msgid "Only scan for processes with user name or ID indicated." | 3937 | msgid "Only scan for processes with user name or ID indicated." |
3658 | msgstr "" | 3938 | msgstr "" |
3659 | 3939 | ||
3660 | #: plugins/check_procs.c:733 | 3940 | #: plugins/check_procs.c:743 |
3661 | msgid "Only scan for processes with args that contain STRING." | 3941 | msgid "Only scan for processes with args that contain STRING." |
3662 | msgstr "" | 3942 | msgstr "" |
3663 | 3943 | ||
3664 | #: plugins/check_procs.c:735 | 3944 | #: plugins/check_procs.c:745 |
3665 | msgid "Only scan for processes with args that contain the regex STRING." | 3945 | msgid "Only scan for processes with args that contain the regex STRING." |
3666 | msgstr "" | 3946 | msgstr "" |
3667 | 3947 | ||
3668 | #: plugins/check_procs.c:737 | 3948 | #: plugins/check_procs.c:747 |
3669 | msgid "Only scan for exact matches of COMMAND (without path)." | 3949 | msgid "Only scan for exact matches of COMMAND (without path)." |
3670 | msgstr "" | 3950 | msgstr "" |
3671 | 3951 | ||
3672 | #: plugins/check_procs.c:739 | 3952 | #: plugins/check_procs.c:749 |
3953 | msgid "Only scan for non kernel threads (works on Linux only)." | ||
3954 | msgstr "" | ||
3955 | |||
3956 | #: plugins/check_procs.c:751 | ||
3673 | #, c-format | 3957 | #, c-format |
3674 | msgid "" | 3958 | msgid "" |
3675 | "\n" | 3959 | "\n" |
@@ -3679,7 +3963,7 @@ msgid "" | |||
3679 | "\n" | 3963 | "\n" |
3680 | msgstr "" | 3964 | msgstr "" |
3681 | 3965 | ||
3682 | #: plugins/check_procs.c:744 | 3966 | #: plugins/check_procs.c:756 |
3683 | #, c-format | 3967 | #, c-format |
3684 | msgid "" | 3968 | msgid "" |
3685 | "This plugin checks the number of currently running processes and\n" | 3969 | "This plugin checks the number of currently running processes and\n" |
@@ -3690,27 +3974,27 @@ msgid "" | |||
3690 | "\n" | 3974 | "\n" |
3691 | msgstr "" | 3975 | msgstr "" |
3692 | 3976 | ||
3693 | #: plugins/check_procs.c:753 | 3977 | #: plugins/check_procs.c:765 |
3694 | msgid "Warning if not two processes with command name portsentry." | 3978 | msgid "Warning if not two processes with command name portsentry." |
3695 | msgstr "" | 3979 | msgstr "" |
3696 | 3980 | ||
3697 | #: plugins/check_procs.c:754 | 3981 | #: plugins/check_procs.c:766 |
3698 | msgid "Critical if < 2 or > 1024 processes" | 3982 | msgid "Critical if < 2 or > 1024 processes" |
3699 | msgstr "" | 3983 | msgstr "" |
3700 | 3984 | ||
3701 | #: plugins/check_procs.c:756 | 3985 | #: plugins/check_procs.c:768 |
3702 | msgid "Warning alert if > 10 processes with command arguments containing" | 3986 | msgid "Warning alert if > 10 processes with command arguments containing" |
3703 | msgstr "" | 3987 | msgstr "" |
3704 | 3988 | ||
3705 | #: plugins/check_procs.c:757 | 3989 | #: plugins/check_procs.c:769 |
3706 | msgid "'/usr/local/bin/perl' and owned by root" | 3990 | msgid "'/usr/local/bin/perl' and owned by root" |
3707 | msgstr "" | 3991 | msgstr "" |
3708 | 3992 | ||
3709 | #: plugins/check_procs.c:759 | 3993 | #: plugins/check_procs.c:771 |
3710 | msgid "Alert if VSZ of any processes over 50K or 100K" | 3994 | msgid "Alert if VSZ of any processes over 50K or 100K" |
3711 | msgstr "" | 3995 | msgstr "" |
3712 | 3996 | ||
3713 | #: plugins/check_procs.c:761 | 3997 | #: plugins/check_procs.c:773 |
3714 | #, c-format | 3998 | #, c-format |
3715 | msgid "Alert if CPU of any processes over 10%% or 20%%" | 3999 | msgid "Alert if CPU of any processes over 10%% or 20%%" |
3716 | msgstr "" | 4000 | msgstr "" |
@@ -3839,7 +4123,7 @@ msgid "" | |||
3839 | msgstr "" | 4123 | msgstr "" |
3840 | 4124 | ||
3841 | #: plugins/check_radius.c:373 | 4125 | #: plugins/check_radius.c:373 |
3842 | msgid "in a process listing. This risk is exacerbated because nagios will" | 4126 | msgid "in a process listing. This risk is exacerbated because the monitor will" |
3843 | msgstr "" | 4127 | msgstr "" |
3844 | 4128 | ||
3845 | #: plugins/check_radius.c:374 | 4129 | #: plugins/check_radius.c:374 |
@@ -3869,7 +4153,7 @@ msgstr "" | |||
3869 | msgid "Invalid REAL response received from host on port %d\n" | 4153 | msgid "Invalid REAL response received from host on port %d\n" |
3870 | msgstr "" | 4154 | msgstr "" |
3871 | 4155 | ||
3872 | #: plugins/check_real.c:184 plugins/check_tcp.c:289 | 4156 | #: plugins/check_real.c:184 plugins/check_tcp.c:311 |
3873 | #, c-format | 4157 | #, c-format |
3874 | msgid "No data received from host\n" | 4158 | msgid "No data received from host\n" |
3875 | msgstr "" | 4159 | msgstr "" |
@@ -3879,11 +4163,11 @@ msgstr "" | |||
3879 | msgid "REAL %s - %d second response time\n" | 4163 | msgid "REAL %s - %d second response time\n" |
3880 | msgstr "" | 4164 | msgstr "" |
3881 | 4165 | ||
3882 | #: plugins/check_real.c:336 plugins/check_smtp.c:578 plugins/check_ups.c:536 | 4166 | #: plugins/check_real.c:336 plugins/check_ups.c:536 |
3883 | msgid "Warning time must be a positive integer" | 4167 | msgid "Warning time must be a positive integer" |
3884 | msgstr "" | 4168 | msgstr "" |
3885 | 4169 | ||
3886 | #: plugins/check_real.c:345 plugins/check_smtp.c:569 plugins/check_ups.c:527 | 4170 | #: plugins/check_real.c:345 plugins/check_ups.c:527 |
3887 | msgid "Critical time must be a positive integer" | 4171 | msgid "Critical time must be a positive integer" |
3888 | msgstr "" | 4172 | msgstr "" |
3889 | 4173 | ||
@@ -3908,7 +4192,7 @@ msgstr "" | |||
3908 | msgid "This plugin will attempt to open an RTSP connection with the host." | 4192 | msgid "This plugin will attempt to open an RTSP connection with the host." |
3909 | msgstr "" | 4193 | msgstr "" |
3910 | 4194 | ||
3911 | #: plugins/check_real.c:438 plugins/check_smtp.c:827 | 4195 | #: plugins/check_real.c:438 plugins/check_smtp.c:830 |
3912 | msgid "Successul connects return STATE_OK, refusals and timeouts return" | 4196 | msgid "Successul connects return STATE_OK, refusals and timeouts return" |
3913 | msgstr "" | 4197 | msgstr "" |
3914 | 4198 | ||
@@ -3979,450 +4263,453 @@ msgstr "" | |||
3979 | msgid "SMTP UNKNOWN - Cannot read EHLO response via TLS." | 4263 | msgid "SMTP UNKNOWN - Cannot read EHLO response via TLS." |
3980 | msgstr "" | 4264 | msgstr "" |
3981 | 4265 | ||
3982 | #: plugins/check_smtp.c:312 plugins/check_snmp.c:718 | 4266 | #: plugins/check_smtp.c:303 plugins/check_snmp.c:806 |
3983 | #, c-format | 4267 | #, c-format |
3984 | msgid "Could Not Compile Regular Expression" | 4268 | msgid "Could Not Compile Regular Expression" |
3985 | msgstr "" | 4269 | msgstr "" |
3986 | 4270 | ||
3987 | #: plugins/check_smtp.c:321 | 4271 | #: plugins/check_smtp.c:312 |
3988 | #, c-format | 4272 | #, c-format |
3989 | msgid "SMTP %s - Invalid response '%s' to command '%s'\n" | 4273 | msgid "SMTP %s - Invalid response '%s' to command '%s'\n" |
3990 | msgstr "" | 4274 | msgstr "" |
3991 | 4275 | ||
3992 | #: plugins/check_smtp.c:325 plugins/check_snmp.c:449 | 4276 | #: plugins/check_smtp.c:316 plugins/check_snmp.c:511 |
3993 | #, c-format | 4277 | #, c-format |
3994 | msgid "Execute Error: %s\n" | 4278 | msgid "Execute Error: %s\n" |
3995 | msgstr "" | 4279 | msgstr "" |
3996 | 4280 | ||
3997 | #: plugins/check_smtp.c:339 | 4281 | #: plugins/check_smtp.c:330 |
3998 | #, c-format | ||
3999 | msgid "no authuser specified, " | 4282 | msgid "no authuser specified, " |
4000 | msgstr "" | 4283 | msgstr "" |
4001 | 4284 | ||
4002 | #: plugins/check_smtp.c:344 | 4285 | #: plugins/check_smtp.c:335 |
4003 | #, c-format | ||
4004 | msgid "no authpass specified, " | 4286 | msgid "no authpass specified, " |
4005 | msgstr "" | 4287 | msgstr "" |
4006 | 4288 | ||
4007 | #: plugins/check_smtp.c:351 plugins/check_smtp.c:373 plugins/check_smtp.c:394 | 4289 | #: plugins/check_smtp.c:342 plugins/check_smtp.c:363 plugins/check_smtp.c:383 |
4008 | #: plugins/check_smtp.c:685 | 4290 | #: plugins/check_smtp.c:688 |
4009 | #, c-format | 4291 | #, c-format |
4010 | msgid "sent %s\n" | 4292 | msgid "sent %s\n" |
4011 | msgstr "" | 4293 | msgstr "" |
4012 | 4294 | ||
4013 | #: plugins/check_smtp.c:354 | 4295 | #: plugins/check_smtp.c:345 |
4014 | #, c-format | ||
4015 | msgid "recv() failed after AUTH LOGIN, " | 4296 | msgid "recv() failed after AUTH LOGIN, " |
4016 | msgstr "" | 4297 | msgstr "" |
4017 | 4298 | ||
4018 | #: plugins/check_smtp.c:359 plugins/check_smtp.c:381 plugins/check_smtp.c:402 | 4299 | #: plugins/check_smtp.c:350 plugins/check_smtp.c:371 plugins/check_smtp.c:391 |
4019 | #: plugins/check_smtp.c:696 | 4300 | #: plugins/check_smtp.c:699 |
4020 | #, c-format | 4301 | #, c-format |
4021 | msgid "received %s\n" | 4302 | msgid "received %s\n" |
4022 | msgstr "" | 4303 | msgstr "" |
4023 | 4304 | ||
4024 | #: plugins/check_smtp.c:363 | 4305 | #: plugins/check_smtp.c:354 |
4025 | #, c-format | ||
4026 | msgid "invalid response received after AUTH LOGIN, " | 4306 | msgid "invalid response received after AUTH LOGIN, " |
4027 | msgstr "" | 4307 | msgstr "" |
4028 | 4308 | ||
4029 | #: plugins/check_smtp.c:377 | 4309 | #: plugins/check_smtp.c:367 |
4030 | #, c-format | ||
4031 | msgid "recv() failed after sending authuser, " | 4310 | msgid "recv() failed after sending authuser, " |
4032 | msgstr "" | 4311 | msgstr "" |
4033 | 4312 | ||
4034 | #: plugins/check_smtp.c:385 | 4313 | #: plugins/check_smtp.c:375 |
4035 | #, c-format | ||
4036 | msgid "invalid response received after authuser, " | 4314 | msgid "invalid response received after authuser, " |
4037 | msgstr "" | 4315 | msgstr "" |
4038 | 4316 | ||
4039 | #: plugins/check_smtp.c:398 | 4317 | #: plugins/check_smtp.c:387 |
4040 | #, c-format | ||
4041 | msgid "recv() failed after sending authpass, " | 4318 | msgid "recv() failed after sending authpass, " |
4042 | msgstr "" | 4319 | msgstr "" |
4043 | 4320 | ||
4044 | #: plugins/check_smtp.c:406 | 4321 | #: plugins/check_smtp.c:395 |
4045 | #, c-format | ||
4046 | msgid "invalid response received after authpass, " | 4322 | msgid "invalid response received after authpass, " |
4047 | msgstr "" | 4323 | msgstr "" |
4048 | 4324 | ||
4049 | #: plugins/check_smtp.c:413 | 4325 | #: plugins/check_smtp.c:402 |
4050 | #, c-format | ||
4051 | msgid "only authtype LOGIN is supported, " | 4326 | msgid "only authtype LOGIN is supported, " |
4052 | msgstr "" | 4327 | msgstr "" |
4053 | 4328 | ||
4054 | #: plugins/check_smtp.c:437 | 4329 | #: plugins/check_smtp.c:426 |
4055 | #, c-format | 4330 | #, c-format |
4056 | msgid "SMTP %s - %s%.3f sec. response time%s%s|%s\n" | 4331 | msgid "SMTP %s - %s%.3f sec. response time%s%s|%s\n" |
4057 | msgstr "" | 4332 | msgstr "" |
4058 | 4333 | ||
4059 | #: plugins/check_smtp.c:545 plugins/check_smtp.c:557 | 4334 | #: plugins/check_smtp.c:536 plugins/check_smtp.c:548 |
4060 | #, c-format | 4335 | #, c-format |
4061 | msgid "Could not realloc() units [%d]\n" | 4336 | msgid "Could not realloc() units [%d]\n" |
4062 | msgstr "" | 4337 | msgstr "" |
4063 | 4338 | ||
4064 | #: plugins/check_smtp.c:608 | 4339 | #: plugins/check_smtp.c:556 |
4340 | msgid "Critical time must be a positive" | ||
4341 | msgstr "" | ||
4342 | |||
4343 | #: plugins/check_smtp.c:564 | ||
4344 | msgid "Warning time must be a positive" | ||
4345 | msgstr "" | ||
4346 | |||
4347 | #: plugins/check_smtp.c:611 | ||
4065 | msgid "SSL support not available - install OpenSSL and recompile" | 4348 | msgid "SSL support not available - install OpenSSL and recompile" |
4066 | msgstr "" | 4349 | msgstr "" |
4067 | 4350 | ||
4068 | #: plugins/check_smtp.c:676 plugins/check_smtp.c:681 | 4351 | #: plugins/check_smtp.c:679 plugins/check_smtp.c:684 |
4069 | #, c-format | 4352 | #, c-format |
4070 | msgid "Connection closed by server before sending QUIT command\n" | 4353 | msgid "Connection closed by server before sending QUIT command\n" |
4071 | msgstr "" | 4354 | msgstr "" |
4072 | 4355 | ||
4073 | #: plugins/check_smtp.c:691 | 4356 | #: plugins/check_smtp.c:694 |
4074 | #, c-format | 4357 | #, c-format |
4075 | msgid "recv() failed after QUIT." | 4358 | msgid "recv() failed after QUIT." |
4076 | msgstr "" | 4359 | msgstr "" |
4077 | 4360 | ||
4078 | #: plugins/check_smtp.c:693 | 4361 | #: plugins/check_smtp.c:696 |
4079 | #, c-format | 4362 | #, c-format |
4080 | msgid "Connection reset by peer." | 4363 | msgid "Connection reset by peer." |
4081 | msgstr "" | 4364 | msgstr "" |
4082 | 4365 | ||
4083 | #: plugins/check_smtp.c:781 | 4366 | #: plugins/check_smtp.c:784 |
4084 | msgid "This plugin will attempt to open an SMTP connection with the host." | 4367 | msgid "This plugin will attempt to open an SMTP connection with the host." |
4085 | msgstr "" | 4368 | msgstr "" |
4086 | 4369 | ||
4087 | #: plugins/check_smtp.c:795 | 4370 | #: plugins/check_smtp.c:798 |
4088 | #, c-format | 4371 | #, c-format |
4089 | msgid " String to expect in first line of server response (default: '%s')\n" | 4372 | msgid " String to expect in first line of server response (default: '%s')\n" |
4090 | msgstr "" | 4373 | msgstr "" |
4091 | 4374 | ||
4092 | #: plugins/check_smtp.c:797 | 4375 | #: plugins/check_smtp.c:800 |
4093 | msgid "SMTP command (may be used repeatedly)" | 4376 | msgid "SMTP command (may be used repeatedly)" |
4094 | msgstr "" | 4377 | msgstr "" |
4095 | 4378 | ||
4096 | #: plugins/check_smtp.c:799 | 4379 | #: plugins/check_smtp.c:802 |
4097 | msgid "Expected response to command (may be used repeatedly)" | 4380 | msgid "Expected response to command (may be used repeatedly)" |
4098 | msgstr "" | 4381 | msgstr "" |
4099 | 4382 | ||
4100 | #: plugins/check_smtp.c:801 | 4383 | #: plugins/check_smtp.c:804 |
4101 | msgid "FROM-address to include in MAIL command, required by Exchange 2000" | 4384 | msgid "FROM-address to include in MAIL command, required by Exchange 2000" |
4102 | msgstr "" | 4385 | msgstr "" |
4103 | 4386 | ||
4104 | #: plugins/check_smtp.c:803 | 4387 | #: plugins/check_smtp.c:806 |
4105 | msgid "FQDN used for HELO" | 4388 | msgid "FQDN used for HELO" |
4106 | msgstr "" | 4389 | msgstr "" |
4107 | 4390 | ||
4108 | #: plugins/check_smtp.c:806 plugins/check_tcp.c:630 | 4391 | #: plugins/check_smtp.c:809 plugins/check_tcp.c:665 |
4109 | msgid "Minimum number of days a certificate has to be valid." | 4392 | msgid "Minimum number of days a certificate has to be valid." |
4110 | msgstr "" | 4393 | msgstr "" |
4111 | 4394 | ||
4112 | #: plugins/check_smtp.c:808 | 4395 | #: plugins/check_smtp.c:811 |
4113 | msgid "Use STARTTLS for the connection." | 4396 | msgid "Use STARTTLS for the connection." |
4114 | msgstr "" | 4397 | msgstr "" |
4115 | 4398 | ||
4116 | #: plugins/check_smtp.c:812 | 4399 | #: plugins/check_smtp.c:815 |
4117 | msgid "SMTP AUTH type to check (default none, only LOGIN supported)" | 4400 | msgid "SMTP AUTH type to check (default none, only LOGIN supported)" |
4118 | msgstr "" | 4401 | msgstr "" |
4119 | 4402 | ||
4120 | #: plugins/check_smtp.c:814 | 4403 | #: plugins/check_smtp.c:817 |
4121 | msgid "SMTP AUTH username" | 4404 | msgid "SMTP AUTH username" |
4122 | msgstr "" | 4405 | msgstr "" |
4123 | 4406 | ||
4124 | #: plugins/check_smtp.c:816 | 4407 | #: plugins/check_smtp.c:819 |
4125 | msgid "SMTP AUTH password" | 4408 | msgid "SMTP AUTH password" |
4126 | msgstr "" | 4409 | msgstr "" |
4127 | 4410 | ||
4128 | #: plugins/check_smtp.c:818 | 4411 | #: plugins/check_smtp.c:821 |
4129 | msgid "Ignore failure when sending QUIT command to server" | 4412 | msgid "Ignore failure when sending QUIT command to server" |
4130 | msgstr "" | 4413 | msgstr "" |
4131 | 4414 | ||
4132 | #: plugins/check_smtp.c:828 | 4415 | #: plugins/check_smtp.c:831 |
4133 | msgid "STATE_CRITICAL, other errors return STATE_UNKNOWN. Successful" | 4416 | msgid "STATE_CRITICAL, other errors return STATE_UNKNOWN. Successful" |
4134 | msgstr "" | 4417 | msgstr "" |
4135 | 4418 | ||
4136 | #: plugins/check_smtp.c:829 | 4419 | #: plugins/check_smtp.c:832 |
4137 | msgid "connects, but incorrect reponse messages from the host result in" | 4420 | msgid "connects, but incorrect reponse messages from the host result in" |
4138 | msgstr "" | 4421 | msgstr "" |
4139 | 4422 | ||
4140 | #: plugins/check_smtp.c:830 | 4423 | #: plugins/check_smtp.c:833 |
4141 | msgid "STATE_WARNING return values." | 4424 | msgid "STATE_WARNING return values." |
4142 | msgstr "" | 4425 | msgstr "" |
4143 | 4426 | ||
4144 | #: plugins/check_snmp.c:298 | 4427 | #: plugins/check_snmp.c:169 plugins/check_snmp.c:582 |
4428 | msgid "Cannot malloc" | ||
4429 | msgstr "" | ||
4430 | |||
4431 | #: plugins/check_snmp.c:356 | ||
4145 | #, c-format | 4432 | #, c-format |
4146 | msgid "External command error: %s\n" | 4433 | msgid "External command error: %s\n" |
4147 | msgstr "" | 4434 | msgstr "" |
4148 | 4435 | ||
4149 | #: plugins/check_snmp.c:303 | 4436 | #: plugins/check_snmp.c:361 |
4150 | #, c-format | 4437 | #, c-format |
4151 | msgid "External command error with no output (return code: %d)\n" | 4438 | msgid "External command error with no output (return code: %d)\n" |
4152 | msgstr "" | 4439 | msgstr "" |
4153 | 4440 | ||
4154 | #: plugins/check_snmp.c:406 | 4441 | #: plugins/check_snmp.c:464 |
4155 | msgid "No valid data returned" | 4442 | #, c-format |
4443 | msgid "No valid data returned (%s)\n" | ||
4156 | msgstr "" | 4444 | msgstr "" |
4157 | 4445 | ||
4158 | #: plugins/check_snmp.c:413 | 4446 | #: plugins/check_snmp.c:475 |
4159 | msgid "Time duration between plugin calls is invalid" | 4447 | msgid "Time duration between plugin calls is invalid" |
4160 | msgstr "" | 4448 | msgstr "" |
4161 | 4449 | ||
4162 | #: plugins/check_snmp.c:509 | 4450 | #: plugins/check_snmp.c:588 |
4163 | msgid "Cannot malloc" | ||
4164 | msgstr "" | ||
4165 | |||
4166 | #: plugins/check_snmp.c:515 | ||
4167 | msgid "Cannot asprintf()" | 4451 | msgid "Cannot asprintf()" |
4168 | msgstr "" | 4452 | msgstr "" |
4169 | 4453 | ||
4170 | #: plugins/check_snmp.c:521 | 4454 | #: plugins/check_snmp.c:594 |
4171 | msgid "Cannot realloc()" | 4455 | msgid "Cannot realloc()" |
4172 | msgstr "" | 4456 | msgstr "" |
4173 | 4457 | ||
4174 | #: plugins/check_snmp.c:537 | 4458 | #: plugins/check_snmp.c:610 |
4175 | msgid "No previous data to calculate rate - assume okay" | 4459 | msgid "No previous data to calculate rate - assume okay" |
4176 | msgstr "" | 4460 | msgstr "" |
4177 | 4461 | ||
4178 | #: plugins/check_snmp.c:676 | 4462 | #: plugins/check_snmp.c:751 |
4179 | msgid "Retries interval must be a positive integer" | 4463 | msgid "Retries interval must be a positive integer" |
4180 | msgstr "" | 4464 | msgstr "" |
4181 | 4465 | ||
4182 | #: plugins/check_snmp.c:738 | 4466 | #: plugins/check_snmp.c:831 |
4183 | #, c-format | 4467 | #, c-format |
4184 | msgid "Could not reallocate labels[%d]" | 4468 | msgid "Could not reallocate labels[%d]" |
4185 | msgstr "" | 4469 | msgstr "" |
4186 | 4470 | ||
4187 | #: plugins/check_snmp.c:750 | 4471 | #: plugins/check_snmp.c:844 |
4188 | msgid "Could not reallocate labels\n" | 4472 | msgid "Could not reallocate labels\n" |
4189 | msgstr "" | 4473 | msgstr "" |
4190 | 4474 | ||
4191 | #: plugins/check_snmp.c:767 | 4475 | #: plugins/check_snmp.c:860 |
4192 | #, c-format | 4476 | #, c-format |
4193 | msgid "Could not reallocate units [%d]\n" | 4477 | msgid "Could not reallocate units [%d]\n" |
4194 | msgstr "" | 4478 | msgstr "" |
4195 | 4479 | ||
4196 | #: plugins/check_snmp.c:779 | 4480 | #: plugins/check_snmp.c:872 |
4197 | msgid "Could not realloc() units\n" | 4481 | msgid "Could not realloc() units\n" |
4198 | msgstr "" | 4482 | msgstr "" |
4199 | 4483 | ||
4200 | #: plugins/check_snmp.c:796 | 4484 | #: plugins/check_snmp.c:889 |
4201 | msgid "Rate multiplier must be a positive integer" | 4485 | msgid "Rate multiplier must be a positive integer" |
4202 | msgstr "" | 4486 | msgstr "" |
4203 | 4487 | ||
4204 | #: plugins/check_snmp.c:848 | 4488 | #: plugins/check_snmp.c:947 |
4205 | msgid "No host specified\n" | 4489 | msgid "No host specified\n" |
4206 | msgstr "" | 4490 | msgstr "" |
4207 | 4491 | ||
4208 | #: plugins/check_snmp.c:852 | 4492 | #: plugins/check_snmp.c:951 |
4209 | msgid "No OIDs specified\n" | 4493 | msgid "No OIDs specified\n" |
4210 | msgstr "" | 4494 | msgstr "" |
4211 | 4495 | ||
4212 | #: plugins/check_snmp.c:874 | 4496 | #: plugins/check_snmp.c:973 |
4213 | msgid "Invalid seclevel" | 4497 | msgid "Invalid seclevel" |
4214 | msgstr "" | 4498 | msgstr "" |
4215 | 4499 | ||
4216 | #: plugins/check_snmp.c:881 plugins/check_snmp.c:884 plugins/check_snmp.c:902 | 4500 | #: plugins/check_snmp.c:980 plugins/check_snmp.c:983 plugins/check_snmp.c:1001 |
4217 | #, c-format | 4501 | #, c-format |
4218 | msgid "Required parameter: %s\n" | 4502 | msgid "Required parameter: %s\n" |
4219 | msgstr "" | 4503 | msgstr "" |
4220 | 4504 | ||
4221 | #: plugins/check_snmp.c:923 | 4505 | #: plugins/check_snmp.c:1022 |
4222 | msgid "Invalid SNMP version" | 4506 | msgid "Invalid SNMP version" |
4223 | msgstr "" | 4507 | msgstr "" |
4224 | 4508 | ||
4225 | #: plugins/check_snmp.c:940 | 4509 | #: plugins/check_snmp.c:1039 |
4226 | msgid "Unbalanced quotes\n" | 4510 | msgid "Unbalanced quotes\n" |
4227 | msgstr "" | 4511 | msgstr "" |
4228 | 4512 | ||
4229 | #: plugins/check_snmp.c:989 | 4513 | #: plugins/check_snmp.c:1088 |
4230 | msgid "Check status of remote machines and obtain system information via SNMP" | 4514 | msgid "Check status of remote machines and obtain system information via SNMP" |
4231 | msgstr "" | 4515 | msgstr "" |
4232 | 4516 | ||
4233 | #: plugins/check_snmp.c:1002 | 4517 | #: plugins/check_snmp.c:1101 |
4234 | msgid "Use SNMP GETNEXT instead of SNMP GET" | 4518 | msgid "Use SNMP GETNEXT instead of SNMP GET" |
4235 | msgstr "" | 4519 | msgstr "" |
4236 | 4520 | ||
4237 | #: plugins/check_snmp.c:1004 | 4521 | #: plugins/check_snmp.c:1103 |
4238 | msgid "SNMP protocol version" | 4522 | msgid "SNMP protocol version" |
4239 | msgstr "" | 4523 | msgstr "" |
4240 | 4524 | ||
4241 | #: plugins/check_snmp.c:1006 | 4525 | #: plugins/check_snmp.c:1105 |
4242 | msgid "SNMPv3 securityLevel" | 4526 | msgid "SNMPv3 securityLevel" |
4243 | msgstr "" | 4527 | msgstr "" |
4244 | 4528 | ||
4245 | #: plugins/check_snmp.c:1008 | 4529 | #: plugins/check_snmp.c:1107 |
4246 | msgid "SNMPv3 auth proto" | 4530 | msgid "SNMPv3 auth proto" |
4247 | msgstr "" | 4531 | msgstr "" |
4248 | 4532 | ||
4249 | #: plugins/check_snmp.c:1010 | 4533 | #: plugins/check_snmp.c:1109 |
4250 | msgid "SNMPv3 priv proto (default DES)" | 4534 | msgid "SNMPv3 priv proto (default DES)" |
4251 | msgstr "" | 4535 | msgstr "" |
4252 | 4536 | ||
4253 | #: plugins/check_snmp.c:1014 | 4537 | #: plugins/check_snmp.c:1113 |
4254 | msgid "Optional community string for SNMP communication" | 4538 | msgid "Optional community string for SNMP communication" |
4255 | msgstr "" | 4539 | msgstr "" |
4256 | 4540 | ||
4257 | #: plugins/check_snmp.c:1015 | 4541 | #: plugins/check_snmp.c:1114 |
4258 | msgid "default is" | 4542 | msgid "default is" |
4259 | msgstr "" | 4543 | msgstr "" |
4260 | 4544 | ||
4261 | #: plugins/check_snmp.c:1017 | 4545 | #: plugins/check_snmp.c:1116 |
4262 | msgid "SNMPv3 username" | 4546 | msgid "SNMPv3 username" |
4263 | msgstr "" | 4547 | msgstr "" |
4264 | 4548 | ||
4265 | #: plugins/check_snmp.c:1019 | 4549 | #: plugins/check_snmp.c:1118 |
4266 | msgid "SNMPv3 authentication password" | 4550 | msgid "SNMPv3 authentication password" |
4267 | msgstr "" | 4551 | msgstr "" |
4268 | 4552 | ||
4269 | #: plugins/check_snmp.c:1021 | 4553 | #: plugins/check_snmp.c:1120 |
4270 | msgid "SNMPv3 privacy password" | 4554 | msgid "SNMPv3 privacy password" |
4271 | msgstr "" | 4555 | msgstr "" |
4272 | 4556 | ||
4273 | #: plugins/check_snmp.c:1025 | 4557 | #: plugins/check_snmp.c:1124 |
4274 | msgid "Object identifier(s) or SNMP variables whose value you wish to query" | 4558 | msgid "Object identifier(s) or SNMP variables whose value you wish to query" |
4275 | msgstr "" | 4559 | msgstr "" |
4276 | 4560 | ||
4277 | #: plugins/check_snmp.c:1027 | 4561 | #: plugins/check_snmp.c:1126 |
4278 | msgid "" | 4562 | msgid "" |
4279 | "List of MIBS to be loaded (default = none if using numeric OIDs or 'ALL'" | 4563 | "List of MIBS to be loaded (default = none if using numeric OIDs or 'ALL'" |
4280 | msgstr "" | 4564 | msgstr "" |
4281 | 4565 | ||
4282 | #: plugins/check_snmp.c:1028 | 4566 | #: plugins/check_snmp.c:1127 |
4283 | msgid "for symbolic OIDs.)" | 4567 | msgid "for symbolic OIDs.)" |
4284 | msgstr "" | 4568 | msgstr "" |
4285 | 4569 | ||
4286 | #: plugins/check_snmp.c:1030 | 4570 | #: plugins/check_snmp.c:1129 |
4287 | msgid "Delimiter to use when parsing returned data. Default is" | 4571 | msgid "Delimiter to use when parsing returned data. Default is" |
4288 | msgstr "" | 4572 | msgstr "" |
4289 | 4573 | ||
4290 | #: plugins/check_snmp.c:1031 | 4574 | #: plugins/check_snmp.c:1130 |
4291 | msgid "Any data on the right hand side of the delimiter is considered" | 4575 | msgid "Any data on the right hand side of the delimiter is considered" |
4292 | msgstr "" | 4576 | msgstr "" |
4293 | 4577 | ||
4294 | #: plugins/check_snmp.c:1032 | 4578 | #: plugins/check_snmp.c:1131 |
4295 | msgid "to be the data that should be used in the evaluation." | 4579 | msgid "to be the data that should be used in the evaluation." |
4296 | msgstr "" | 4580 | msgstr "" |
4297 | 4581 | ||
4298 | #: plugins/check_snmp.c:1036 | 4582 | #: plugins/check_snmp.c:1135 |
4299 | msgid "Warning threshold range(s)" | 4583 | msgid "Warning threshold range(s)" |
4300 | msgstr "" | 4584 | msgstr "" |
4301 | 4585 | ||
4302 | #: plugins/check_snmp.c:1038 | 4586 | #: plugins/check_snmp.c:1137 |
4303 | msgid "Critical threshold range(s)" | 4587 | msgid "Critical threshold range(s)" |
4304 | msgstr "" | 4588 | msgstr "" |
4305 | 4589 | ||
4306 | #: plugins/check_snmp.c:1040 | 4590 | #: plugins/check_snmp.c:1139 |
4307 | msgid "Enable rate calculation. See 'Rate Calculation' below" | 4591 | msgid "Enable rate calculation. See 'Rate Calculation' below" |
4308 | msgstr "" | 4592 | msgstr "" |
4309 | 4593 | ||
4310 | #: plugins/check_snmp.c:1042 | 4594 | #: plugins/check_snmp.c:1141 |
4311 | msgid "" | 4595 | msgid "" |
4312 | "Converts rate per second. For example, set to 60 to convert to per minute" | 4596 | "Converts rate per second. For example, set to 60 to convert to per minute" |
4313 | msgstr "" | 4597 | msgstr "" |
4314 | 4598 | ||
4315 | #: plugins/check_snmp.c:1046 | 4599 | #: plugins/check_snmp.c:1143 |
4600 | msgid "Add/substract the specified OFFSET to numeric sensor data" | ||
4601 | msgstr "" | ||
4602 | |||
4603 | #: plugins/check_snmp.c:1147 | ||
4316 | msgid "Return OK state (for that OID) if STRING is an exact match" | 4604 | msgid "Return OK state (for that OID) if STRING is an exact match" |
4317 | msgstr "" | 4605 | msgstr "" |
4318 | 4606 | ||
4319 | #: plugins/check_snmp.c:1048 | 4607 | #: plugins/check_snmp.c:1149 |
4320 | msgid "" | 4608 | msgid "" |
4321 | "Return OK state (for that OID) if extended regular expression REGEX matches" | 4609 | "Return OK state (for that OID) if extended regular expression REGEX matches" |
4322 | msgstr "" | 4610 | msgstr "" |
4323 | 4611 | ||
4324 | #: plugins/check_snmp.c:1050 | 4612 | #: plugins/check_snmp.c:1151 |
4325 | msgid "" | 4613 | msgid "" |
4326 | "Return OK state (for that OID) if case-insensitive extended REGEX matches" | 4614 | "Return OK state (for that OID) if case-insensitive extended REGEX matches" |
4327 | msgstr "" | 4615 | msgstr "" |
4328 | 4616 | ||
4329 | #: plugins/check_snmp.c:1052 | 4617 | #: plugins/check_snmp.c:1153 |
4330 | msgid "Invert search result (CRITICAL if found)" | 4618 | msgid "Invert search result (CRITICAL if found)" |
4331 | msgstr "" | 4619 | msgstr "" |
4332 | 4620 | ||
4333 | #: plugins/check_snmp.c:1056 | 4621 | #: plugins/check_snmp.c:1157 |
4334 | msgid "Prefix label for output from plugin" | 4622 | msgid "Prefix label for output from plugin" |
4335 | msgstr "" | 4623 | msgstr "" |
4336 | 4624 | ||
4337 | #: plugins/check_snmp.c:1058 | 4625 | #: plugins/check_snmp.c:1159 |
4338 | msgid "Units label(s) for output data (e.g., 'sec.')." | 4626 | msgid "Units label(s) for output data (e.g., 'sec.')." |
4339 | msgstr "" | 4627 | msgstr "" |
4340 | 4628 | ||
4341 | #: plugins/check_snmp.c:1060 | 4629 | #: plugins/check_snmp.c:1161 |
4342 | msgid "Separates output on multiple OID requests" | 4630 | msgid "Separates output on multiple OID requests" |
4343 | msgstr "" | 4631 | msgstr "" |
4344 | 4632 | ||
4345 | #: plugins/check_snmp.c:1064 | 4633 | #: plugins/check_snmp.c:1165 |
4346 | msgid "Number of retries to be used in the requests" | 4634 | msgid "Number of retries to be used in the requests" |
4347 | msgstr "" | 4635 | msgstr "" |
4348 | 4636 | ||
4349 | #: plugins/check_snmp.c:1069 | 4637 | #: plugins/check_snmp.c:1168 |
4638 | msgid "Label performance data with OIDs instead of --label's" | ||
4639 | msgstr "" | ||
4640 | |||
4641 | #: plugins/check_snmp.c:1173 | ||
4350 | msgid "" | 4642 | msgid "" |
4351 | "This plugin uses the 'snmpget' command included with the NET-SNMP package." | 4643 | "This plugin uses the 'snmpget' command included with the NET-SNMP package." |
4352 | msgstr "" | 4644 | msgstr "" |
4353 | 4645 | ||
4354 | #: plugins/check_snmp.c:1070 | 4646 | #: plugins/check_snmp.c:1174 |
4355 | msgid "" | 4647 | msgid "" |
4356 | "if you don't have the package installed, you will need to download it from" | 4648 | "if you don't have the package installed, you will need to download it from" |
4357 | msgstr "" | 4649 | msgstr "" |
4358 | 4650 | ||
4359 | #: plugins/check_snmp.c:1071 | 4651 | #: plugins/check_snmp.c:1175 |
4360 | msgid "http://net-snmp.sourceforge.net before you can use this plugin." | 4652 | msgid "http://net-snmp.sourceforge.net before you can use this plugin." |
4361 | msgstr "" | 4653 | msgstr "" |
4362 | 4654 | ||
4363 | #: plugins/check_snmp.c:1075 | 4655 | #: plugins/check_snmp.c:1179 |
4364 | msgid "" | 4656 | msgid "" |
4365 | "- Multiple OIDs may be indicated by a comma or space-delimited list (lists " | 4657 | "- Multiple OIDs (and labels) may be indicated by a comma or space-delimited " |
4366 | "with" | ||
4367 | msgstr "" | 4658 | msgstr "" |
4368 | 4659 | ||
4369 | #: plugins/check_snmp.c:1076 | 4660 | #: plugins/check_snmp.c:1180 |
4370 | msgid "internal spaces must be quoted). Maximum:" | 4661 | msgid "list (lists with internal spaces must be quoted)." |
4371 | msgstr "" | 4662 | msgstr "" |
4372 | 4663 | ||
4373 | #: plugins/check_snmp.c:1076 | 4664 | #: plugins/check_snmp.c:1184 |
4374 | msgid "OIDs." | ||
4375 | msgstr "" | ||
4376 | |||
4377 | #: plugins/check_snmp.c:1080 | ||
4378 | msgid "" | 4665 | msgid "" |
4379 | "- When checking multiple OIDs, separate ranges by commas like '-w " | 4666 | "- When checking multiple OIDs, separate ranges by commas like '-w " |
4380 | "1:10,1:,:20'" | 4667 | "1:10,1:,:20'" |
4381 | msgstr "" | 4668 | msgstr "" |
4382 | 4669 | ||
4383 | #: plugins/check_snmp.c:1081 | 4670 | #: plugins/check_snmp.c:1185 |
4384 | msgid "- Note that only one string and one regex may be checked at present" | 4671 | msgid "- Note that only one string and one regex may be checked at present" |
4385 | msgstr "" | 4672 | msgstr "" |
4386 | 4673 | ||
4387 | #: plugins/check_snmp.c:1082 | 4674 | #: plugins/check_snmp.c:1186 |
4388 | msgid "" | 4675 | msgid "" |
4389 | "- All evaluation methods other than PR, STR, and SUBSTR expect that the value" | 4676 | "- All evaluation methods other than PR, STR, and SUBSTR expect that the value" |
4390 | msgstr "" | 4677 | msgstr "" |
4391 | 4678 | ||
4392 | #: plugins/check_snmp.c:1083 | 4679 | #: plugins/check_snmp.c:1187 |
4393 | msgid "returned from the SNMP query is an unsigned integer." | 4680 | msgid "returned from the SNMP query is an unsigned integer." |
4394 | msgstr "" | 4681 | msgstr "" |
4395 | 4682 | ||
4396 | #: plugins/check_snmp.c:1086 | 4683 | #: plugins/check_snmp.c:1190 |
4397 | msgid "Rate Calculation:" | 4684 | msgid "Rate Calculation:" |
4398 | msgstr "" | 4685 | msgstr "" |
4399 | 4686 | ||
4400 | #: plugins/check_snmp.c:1087 | 4687 | #: plugins/check_snmp.c:1191 |
4401 | msgid "In many places, SNMP returns counters that are only meaningful when" | 4688 | msgid "In many places, SNMP returns counters that are only meaningful when" |
4402 | msgstr "" | 4689 | msgstr "" |
4403 | 4690 | ||
4404 | #: plugins/check_snmp.c:1088 | 4691 | #: plugins/check_snmp.c:1192 |
4405 | msgid "calculating the counter difference since the last check. check_snmp" | 4692 | msgid "calculating the counter difference since the last check. check_snmp" |
4406 | msgstr "" | 4693 | msgstr "" |
4407 | 4694 | ||
4408 | #: plugins/check_snmp.c:1089 | 4695 | #: plugins/check_snmp.c:1193 |
4409 | msgid "saves the last state information in a file so that the rate per second" | 4696 | msgid "saves the last state information in a file so that the rate per second" |
4410 | msgstr "" | 4697 | msgstr "" |
4411 | 4698 | ||
4412 | #: plugins/check_snmp.c:1090 | 4699 | #: plugins/check_snmp.c:1194 |
4413 | msgid "can be calculated. Use the --rate option to save state information." | 4700 | msgid "can be calculated. Use the --rate option to save state information." |
4414 | msgstr "" | 4701 | msgstr "" |
4415 | 4702 | ||
4416 | #: plugins/check_snmp.c:1091 | 4703 | #: plugins/check_snmp.c:1195 |
4417 | msgid "" | 4704 | msgid "" |
4418 | "On the first run, there will be no prior state - this will return with OK." | 4705 | "On the first run, there will be no prior state - this will return with OK." |
4419 | msgstr "" | 4706 | msgstr "" |
4420 | 4707 | ||
4421 | #: plugins/check_snmp.c:1092 | 4708 | #: plugins/check_snmp.c:1196 |
4422 | msgid "The state is uniquely determined by the arguments to the plugin, so" | 4709 | msgid "The state is uniquely determined by the arguments to the plugin, so" |
4423 | msgstr "" | 4710 | msgstr "" |
4424 | 4711 | ||
4425 | #: plugins/check_snmp.c:1093 | 4712 | #: plugins/check_snmp.c:1197 |
4426 | msgid "changing the arguments will create a new state file." | 4713 | msgid "changing the arguments will create a new state file." |
4427 | msgstr "" | 4714 | msgstr "" |
4428 | 4715 | ||
@@ -4541,101 +4828,105 @@ msgstr "" | |||
4541 | msgid "On AIX, if -a is specified, uses lsps -a, otherwise uses lsps -s." | 4828 | msgid "On AIX, if -a is specified, uses lsps -a, otherwise uses lsps -s." |
4542 | msgstr "" | 4829 | msgstr "" |
4543 | 4830 | ||
4544 | #: plugins/check_tcp.c:197 | 4831 | #: plugins/check_tcp.c:206 |
4545 | msgid "CRITICAL - Generic check_tcp called with unknown service\n" | 4832 | msgid "CRITICAL - Generic check_tcp called with unknown service\n" |
4546 | msgstr "" | 4833 | msgstr "" |
4547 | 4834 | ||
4548 | #: plugins/check_tcp.c:221 | 4835 | #: plugins/check_tcp.c:230 |
4549 | msgid "With UDP checks, a send/expect string must be specified." | 4836 | msgid "With UDP checks, a send/expect string must be specified." |
4550 | msgstr "" | 4837 | msgstr "" |
4551 | 4838 | ||
4552 | #: plugins/check_tcp.c:415 | 4839 | #: plugins/check_tcp.c:431 |
4553 | msgid "No arguments found" | 4840 | msgid "No arguments found" |
4554 | msgstr "" | 4841 | msgstr "" |
4555 | 4842 | ||
4556 | #: plugins/check_tcp.c:516 | 4843 | #: plugins/check_tcp.c:534 |
4557 | msgid "Maxbytes must be a positive integer" | 4844 | msgid "Maxbytes must be a positive integer" |
4558 | msgstr "" | 4845 | msgstr "" |
4559 | 4846 | ||
4560 | #: plugins/check_tcp.c:534 | 4847 | #: plugins/check_tcp.c:552 |
4561 | msgid "Refuse must be one of ok, warn, crit" | 4848 | msgid "Refuse must be one of ok, warn, crit" |
4562 | msgstr "" | 4849 | msgstr "" |
4563 | 4850 | ||
4564 | #: plugins/check_tcp.c:544 | 4851 | #: plugins/check_tcp.c:562 |
4565 | msgid "Mismatch must be one of ok, warn, crit" | 4852 | msgid "Mismatch must be one of ok, warn, crit" |
4566 | msgstr "" | 4853 | msgstr "" |
4567 | 4854 | ||
4568 | #: plugins/check_tcp.c:550 | 4855 | #: plugins/check_tcp.c:568 |
4569 | msgid "Delay must be a positive integer" | 4856 | msgid "Delay must be a positive integer" |
4570 | msgstr "" | 4857 | msgstr "" |
4571 | 4858 | ||
4572 | #: plugins/check_tcp.c:578 | 4859 | #: plugins/check_tcp.c:613 |
4573 | msgid "You must provide a server address" | 4860 | msgid "You must provide a server address" |
4574 | msgstr "" | 4861 | msgstr "" |
4575 | 4862 | ||
4576 | #: plugins/check_tcp.c:580 | 4863 | #: plugins/check_tcp.c:615 |
4577 | msgid "Invalid hostname, address or socket" | 4864 | msgid "Invalid hostname, address or socket" |
4578 | msgstr "" | 4865 | msgstr "" |
4579 | 4866 | ||
4580 | #: plugins/check_tcp.c:594 | 4867 | #: plugins/check_tcp.c:629 |
4581 | #, c-format | 4868 | #, c-format |
4582 | msgid "" | 4869 | msgid "" |
4583 | "This plugin tests %s connections with the specified host (or unix socket).\n" | 4870 | "This plugin tests %s connections with the specified host (or unix socket).\n" |
4584 | "\n" | 4871 | "\n" |
4585 | msgstr "" | 4872 | msgstr "" |
4586 | 4873 | ||
4587 | #: plugins/check_tcp.c:607 | 4874 | #: plugins/check_tcp.c:642 |
4588 | msgid "" | 4875 | msgid "" |
4589 | "Can use \\n, \\r, \\t or \\ in send or quit string. Must come before send or " | 4876 | "Can use \\n, \\r, \\t or \\ in send or quit string. Must come before send or " |
4590 | "quit option" | 4877 | "quit option" |
4591 | msgstr "" | 4878 | msgstr "" |
4592 | 4879 | ||
4593 | #: plugins/check_tcp.c:608 | 4880 | #: plugins/check_tcp.c:643 |
4594 | msgid "Default: nothing added to send, \\r\\n added to end of quit" | 4881 | msgid "Default: nothing added to send, \\r\\n added to end of quit" |
4595 | msgstr "" | 4882 | msgstr "" |
4596 | 4883 | ||
4597 | #: plugins/check_tcp.c:610 | 4884 | #: plugins/check_tcp.c:645 |
4598 | msgid "String to send to the server" | 4885 | msgid "String to send to the server" |
4599 | msgstr "" | 4886 | msgstr "" |
4600 | 4887 | ||
4601 | #: plugins/check_tcp.c:612 | 4888 | #: plugins/check_tcp.c:647 |
4602 | msgid "String to expect in server response" | 4889 | msgid "String to expect in server response" |
4603 | msgstr "" | 4890 | msgstr "" |
4604 | 4891 | ||
4605 | #: plugins/check_tcp.c:612 | 4892 | #: plugins/check_tcp.c:647 |
4606 | msgid "(may be repeated)" | 4893 | msgid "(may be repeated)" |
4607 | msgstr "" | 4894 | msgstr "" |
4608 | 4895 | ||
4609 | #: plugins/check_tcp.c:614 | 4896 | #: plugins/check_tcp.c:649 |
4610 | msgid "All expect strings need to occur in server response. Default is any" | 4897 | msgid "All expect strings need to occur in server response. Default is any" |
4611 | msgstr "" | 4898 | msgstr "" |
4612 | 4899 | ||
4613 | #: plugins/check_tcp.c:616 | 4900 | #: plugins/check_tcp.c:651 |
4614 | msgid "String to send server to initiate a clean close of the connection" | 4901 | msgid "String to send server to initiate a clean close of the connection" |
4615 | msgstr "" | 4902 | msgstr "" |
4616 | 4903 | ||
4617 | #: plugins/check_tcp.c:618 | 4904 | #: plugins/check_tcp.c:653 |
4618 | msgid "Accept TCP refusals with states ok, warn, crit (default: crit)" | 4905 | msgid "Accept TCP refusals with states ok, warn, crit (default: crit)" |
4619 | msgstr "" | 4906 | msgstr "" |
4620 | 4907 | ||
4621 | #: plugins/check_tcp.c:620 | 4908 | #: plugins/check_tcp.c:655 |
4622 | msgid "" | 4909 | msgid "" |
4623 | "Accept expected string mismatches with states ok, warn, crit (default: warn)" | 4910 | "Accept expected string mismatches with states ok, warn, crit (default: warn)" |
4624 | msgstr "" | 4911 | msgstr "" |
4625 | 4912 | ||
4626 | #: plugins/check_tcp.c:622 | 4913 | #: plugins/check_tcp.c:657 |
4627 | msgid "Hide output from TCP socket" | 4914 | msgid "Hide output from TCP socket" |
4628 | msgstr "" | 4915 | msgstr "" |
4629 | 4916 | ||
4630 | #: plugins/check_tcp.c:624 | 4917 | #: plugins/check_tcp.c:659 |
4631 | msgid "Close connection once more than this number of bytes are received" | 4918 | msgid "Close connection once more than this number of bytes are received" |
4632 | msgstr "" | 4919 | msgstr "" |
4633 | 4920 | ||
4634 | #: plugins/check_tcp.c:626 | 4921 | #: plugins/check_tcp.c:661 |
4635 | msgid "Seconds to wait between sending string and polling for response" | 4922 | msgid "Seconds to wait between sending string and polling for response" |
4636 | msgstr "" | 4923 | msgstr "" |
4637 | 4924 | ||
4638 | #: plugins/check_tcp.c:632 | 4925 | #: plugins/check_tcp.c:666 |
4926 | msgid "1st is #days for warning, 2nd is critical (if not specified - 0)." | ||
4927 | msgstr "" | ||
4928 | |||
4929 | #: plugins/check_tcp.c:668 | ||
4639 | msgid "Use SSL for the connection." | 4930 | msgid "Use SSL for the connection." |
4640 | msgstr "" | 4931 | msgstr "" |
4641 | 4932 | ||
@@ -4697,7 +4988,6 @@ msgid "Response time (sec.) necessary to result in critical status" | |||
4697 | msgstr "" | 4988 | msgstr "" |
4698 | 4989 | ||
4699 | #: plugins/check_ups.c:144 | 4990 | #: plugins/check_ups.c:144 |
4700 | #, c-format | ||
4701 | msgid "On Battery, Low Battery" | 4991 | msgid "On Battery, Low Battery" |
4702 | msgstr "" | 4992 | msgstr "" |
4703 | 4993 | ||
@@ -4750,7 +5040,6 @@ msgid ", Unknown" | |||
4750 | msgstr "" | 5040 | msgstr "" |
4751 | 5041 | ||
4752 | #: plugins/check_ups.c:324 | 5042 | #: plugins/check_ups.c:324 |
4753 | #, c-format | ||
4754 | msgid "UPS does not support any available options\n" | 5043 | msgid "UPS does not support any available options\n" |
4755 | msgstr "" | 5044 | msgstr "" |
4756 | 5045 | ||
@@ -4865,281 +5154,281 @@ msgstr "" | |||
4865 | msgid "http://www.networkupstools.org" | 5154 | msgid "http://www.networkupstools.org" |
4866 | msgstr "" | 5155 | msgstr "" |
4867 | 5156 | ||
4868 | #: plugins/check_users.c:92 | 5157 | #: plugins/check_users.c:110 |
4869 | #, c-format | 5158 | #, c-format |
4870 | msgid "# users=%d" | 5159 | msgid "# users=%d" |
4871 | msgstr "" | 5160 | msgstr "" |
4872 | 5161 | ||
4873 | #: plugins/check_users.c:115 | 5162 | #: plugins/check_users.c:133 |
4874 | msgid "Unable to read output" | 5163 | msgid "Unable to read output" |
4875 | msgstr "" | 5164 | msgstr "" |
4876 | 5165 | ||
4877 | #: plugins/check_users.c:122 | 5166 | #: plugins/check_users.c:140 |
4878 | #, c-format | 5167 | #, c-format |
4879 | msgid "USERS %s - %d users currently logged in |%s\n" | 5168 | msgid "USERS %s - %d users currently logged in |%s\n" |
4880 | msgstr "" | 5169 | msgstr "" |
4881 | 5170 | ||
4882 | #: plugins/check_users.c:207 | 5171 | #: plugins/check_users.c:219 |
4883 | msgid "This plugin checks the number of users currently logged in on the local" | 5172 | msgid "This plugin checks the number of users currently logged in on the local" |
4884 | msgstr "" | 5173 | msgstr "" |
4885 | 5174 | ||
4886 | #: plugins/check_users.c:208 | 5175 | #: plugins/check_users.c:220 |
4887 | msgid "" | 5176 | msgid "" |
4888 | "system and generates an error if the number exceeds the thresholds specified." | 5177 | "system and generates an error if the number exceeds the thresholds specified." |
4889 | msgstr "" | 5178 | msgstr "" |
4890 | 5179 | ||
4891 | #: plugins/check_users.c:218 | 5180 | #: plugins/check_users.c:230 |
4892 | msgid "Set WARNING status if more than INTEGER users are logged in" | 5181 | msgid "Set WARNING status if more than INTEGER users are logged in" |
4893 | msgstr "" | 5182 | msgstr "" |
4894 | 5183 | ||
4895 | #: plugins/check_users.c:220 | 5184 | #: plugins/check_users.c:232 |
4896 | msgid "Set CRITICAL status if more than INTEGER users are logged in" | 5185 | msgid "Set CRITICAL status if more than INTEGER users are logged in" |
4897 | msgstr "" | 5186 | msgstr "" |
4898 | 5187 | ||
4899 | #: plugins/check_ide_smart.c:229 | 5188 | #: plugins/check_ide_smart.c:256 |
4900 | #, c-format | 5189 | #, c-format |
4901 | msgid "CRITICAL - Couldn't open device %s: %s\n" | 5190 | msgid "CRITICAL - Couldn't open device %s: %s\n" |
4902 | msgstr "" | 5191 | msgstr "" |
4903 | 5192 | ||
4904 | #: plugins/check_ide_smart.c:234 | 5193 | #: plugins/check_ide_smart.c:261 |
4905 | #, c-format | 5194 | #, c-format |
4906 | msgid "CRITICAL - SMART_CMD_ENABLE\n" | 5195 | msgid "CRITICAL - SMART_CMD_ENABLE\n" |
4907 | msgstr "" | 5196 | msgstr "" |
4908 | 5197 | ||
4909 | #: plugins/check_ide_smart.c:295 | 5198 | #: plugins/check_ide_smart.c:323 plugins/check_ide_smart.c:350 |
4910 | #, c-format | 5199 | #, c-format |
4911 | msgid "CRITICAL - SMART_READ_VALUES: %s\n" | 5200 | msgid "CRITICAL - SMART_READ_VALUES: %s\n" |
4912 | msgstr "" | 5201 | msgstr "" |
4913 | 5202 | ||
4914 | #: plugins/check_ide_smart.c:364 | 5203 | #: plugins/check_ide_smart.c:421 |
4915 | #, c-format | 5204 | #, c-format |
4916 | msgid "CRITICAL - %d Harddrive PreFailure%cDetected! %d/%d tests failed.\n" | 5205 | msgid "CRITICAL - %d Harddrive PreFailure%cDetected! %d/%d tests failed.\n" |
4917 | msgstr "" | 5206 | msgstr "" |
4918 | 5207 | ||
4919 | #: plugins/check_ide_smart.c:372 | 5208 | #: plugins/check_ide_smart.c:429 |
4920 | #, c-format | 5209 | #, c-format |
4921 | msgid "WARNING - %d Harddrive Advisor%s Detected. %d/%d tests failed.\n" | 5210 | msgid "WARNING - %d Harddrive Advisor%s Detected. %d/%d tests failed.\n" |
4922 | msgstr "" | 5211 | msgstr "" |
4923 | 5212 | ||
4924 | #: plugins/check_ide_smart.c:380 | 5213 | #: plugins/check_ide_smart.c:437 |
4925 | #, c-format | 5214 | #, c-format |
4926 | msgid "OK - Operational (%d/%d tests passed)\n" | 5215 | msgid "OK - Operational (%d/%d tests passed)\n" |
4927 | msgstr "" | 5216 | msgstr "" |
4928 | 5217 | ||
4929 | #: plugins/check_ide_smart.c:384 | 5218 | #: plugins/check_ide_smart.c:441 |
4930 | #, c-format | 5219 | #, c-format |
4931 | msgid "ERROR - Status '%d' unkown. %d/%d tests passed\n" | 5220 | msgid "ERROR - Status '%d' unknown. %d/%d tests passed\n" |
4932 | msgstr "" | 5221 | msgstr "" |
4933 | 5222 | ||
4934 | #: plugins/check_ide_smart.c:417 | 5223 | #: plugins/check_ide_smart.c:474 |
4935 | #, c-format | 5224 | #, c-format |
4936 | msgid "OffLineStatus=%d {%s}, AutoOffLine=%s, OffLineTimeout=%d minutes\n" | 5225 | msgid "OffLineStatus=%d {%s}, AutoOffLine=%s, OffLineTimeout=%d minutes\n" |
4937 | msgstr "" | 5226 | msgstr "" |
4938 | 5227 | ||
4939 | #: plugins/check_ide_smart.c:423 | 5228 | #: plugins/check_ide_smart.c:480 |
4940 | #, c-format | 5229 | #, c-format |
4941 | msgid "OffLineCapability=%d {%s %s %s}\n" | 5230 | msgid "OffLineCapability=%d {%s %s %s}\n" |
4942 | msgstr "" | 5231 | msgstr "" |
4943 | 5232 | ||
4944 | #: plugins/check_ide_smart.c:429 | 5233 | #: plugins/check_ide_smart.c:486 |
4945 | #, c-format | 5234 | #, c-format |
4946 | msgid "SmartRevision=%d, CheckSum=%d, SmartCapability=%d {%s %s}\n" | 5235 | msgid "SmartRevision=%d, CheckSum=%d, SmartCapability=%d {%s %s}\n" |
4947 | msgstr "" | 5236 | msgstr "" |
4948 | 5237 | ||
4949 | #: plugins/check_ide_smart.c:450 | 5238 | #: plugins/check_ide_smart.c:508 plugins/check_ide_smart.c:532 |
4950 | #, c-format | 5239 | #, c-format |
4951 | msgid "CRITICAL - %s: %s\n" | 5240 | msgid "CRITICAL - %s: %s\n" |
4952 | msgstr "" | 5241 | msgstr "" |
4953 | 5242 | ||
4954 | #: plugins/check_ide_smart.c:469 | 5243 | #: plugins/check_ide_smart.c:553 plugins/check_ide_smart.c:580 |
4955 | #, c-format | 5244 | #, c-format |
4956 | msgid "CRITICAL - SMART_READ_THRESHOLDS: %s\n" | 5245 | msgid "CRITICAL - SMART_READ_THRESHOLDS: %s\n" |
4957 | msgstr "" | 5246 | msgstr "" |
4958 | 5247 | ||
4959 | #: plugins/check_ide_smart.c:486 | 5248 | #: plugins/check_ide_smart.c:599 |
4960 | #, c-format | 5249 | #, c-format |
4961 | msgid "" | 5250 | msgid "" |
4962 | "This plugin checks a local hard drive with the (Linux specific) SMART " | 5251 | "This plugin checks a local hard drive with the (Linux specific) SMART " |
4963 | "interface [http://smartlinux.sourceforge.net/smart/index.php]." | 5252 | "interface [http://smartlinux.sourceforge.net/smart/index.php]." |
4964 | msgstr "" | 5253 | msgstr "" |
4965 | 5254 | ||
4966 | #: plugins/check_ide_smart.c:496 | 5255 | #: plugins/check_ide_smart.c:609 |
4967 | msgid "Select device DEVICE" | 5256 | msgid "Select device DEVICE" |
4968 | msgstr "" | 5257 | msgstr "" |
4969 | 5258 | ||
4970 | #: plugins/check_ide_smart.c:497 | 5259 | #: plugins/check_ide_smart.c:610 |
4971 | msgid "" | 5260 | msgid "" |
4972 | "Note: if the device is selected with this option, _no_ other options are " | 5261 | "Note: if the device is selected with this option, _no_ other options are " |
4973 | "accepted" | 5262 | "accepted" |
4974 | msgstr "" | 5263 | msgstr "" |
4975 | 5264 | ||
4976 | #: plugins/check_ide_smart.c:499 | 5265 | #: plugins/check_ide_smart.c:612 |
4977 | msgid "Perform immediately offline tests" | 5266 | msgid "Perform immediately offline tests" |
4978 | msgstr "" | 5267 | msgstr "" |
4979 | 5268 | ||
4980 | #: plugins/check_ide_smart.c:501 | 5269 | #: plugins/check_ide_smart.c:614 |
4981 | msgid "Returns the number of failed tests" | 5270 | msgid "Returns the number of failed tests" |
4982 | msgstr "" | 5271 | msgstr "" |
4983 | 5272 | ||
4984 | #: plugins/check_ide_smart.c:503 | 5273 | #: plugins/check_ide_smart.c:616 |
4985 | msgid "Turn on automatic offline tests" | 5274 | msgid "Turn on automatic offline tests" |
4986 | msgstr "" | 5275 | msgstr "" |
4987 | 5276 | ||
4988 | #: plugins/check_ide_smart.c:505 | 5277 | #: plugins/check_ide_smart.c:618 |
4989 | msgid "Turn off automatic offline tests" | 5278 | msgid "Turn off automatic offline tests" |
4990 | msgstr "" | 5279 | msgstr "" |
4991 | 5280 | ||
4992 | #: plugins/check_ide_smart.c:507 | 5281 | #: plugins/check_ide_smart.c:620 |
4993 | msgid "Output suitable for Nagios" | 5282 | msgid "Output suitable for the monitoring system" |
4994 | msgstr "" | 5283 | msgstr "" |
4995 | 5284 | ||
4996 | #: plugins/negate.c:96 | 5285 | #: plugins/negate.c:99 |
4997 | msgid "No data returned from command\n" | 5286 | msgid "No data returned from command\n" |
4998 | msgstr "" | 5287 | msgstr "" |
4999 | 5288 | ||
5000 | #: plugins/negate.c:167 | 5289 | #: plugins/negate.c:170 |
5001 | msgid "" | 5290 | msgid "" |
5002 | "Timeout result must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) " | 5291 | "Timeout result must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) " |
5003 | "or integer (0-3)." | 5292 | "or integer (0-3)." |
5004 | msgstr "" | 5293 | msgstr "" |
5005 | 5294 | ||
5006 | #: plugins/negate.c:171 | 5295 | #: plugins/negate.c:174 |
5007 | msgid "" | 5296 | msgid "" |
5008 | "Ok must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or integer (0-" | 5297 | "Ok must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or integer " |
5009 | "3)." | 5298 | "(0-3)." |
5010 | msgstr "" | 5299 | msgstr "" |
5011 | 5300 | ||
5012 | #: plugins/negate.c:177 | 5301 | #: plugins/negate.c:180 |
5013 | msgid "" | 5302 | msgid "" |
5014 | "Warning must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or " | 5303 | "Warning must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or " |
5015 | "integer (0-3)." | 5304 | "integer (0-3)." |
5016 | msgstr "" | 5305 | msgstr "" |
5017 | 5306 | ||
5018 | #: plugins/negate.c:182 | 5307 | #: plugins/negate.c:185 |
5019 | msgid "" | 5308 | msgid "" |
5020 | "Critical must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or " | 5309 | "Critical must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or " |
5021 | "integer (0-3)." | 5310 | "integer (0-3)." |
5022 | msgstr "" | 5311 | msgstr "" |
5023 | 5312 | ||
5024 | #: plugins/negate.c:187 | 5313 | #: plugins/negate.c:190 |
5025 | msgid "" | 5314 | msgid "" |
5026 | "Unknown must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or " | 5315 | "Unknown must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or " |
5027 | "integer (0-3)." | 5316 | "integer (0-3)." |
5028 | msgstr "" | 5317 | msgstr "" |
5029 | 5318 | ||
5030 | #: plugins/negate.c:214 | 5319 | #: plugins/negate.c:217 |
5031 | msgid "Require path to command" | 5320 | msgid "Require path to command" |
5032 | msgstr "" | 5321 | msgstr "" |
5033 | 5322 | ||
5034 | #: plugins/negate.c:243 | 5323 | #: plugins/negate.c:246 |
5035 | msgid "" | 5324 | msgid "" |
5036 | "Negates the status of a plugin (returns OK for CRITICAL and vice-versa)." | 5325 | "Negates the status of a plugin (returns OK for CRITICAL and vice-versa)." |
5037 | msgstr "" | 5326 | msgstr "" |
5038 | 5327 | ||
5039 | #: plugins/negate.c:244 | 5328 | #: plugins/negate.c:247 |
5040 | msgid "Additional switches can be used to control which state becomes what." | 5329 | msgid "Additional switches can be used to control which state becomes what." |
5041 | msgstr "" | 5330 | msgstr "" |
5042 | 5331 | ||
5043 | #: plugins/negate.c:253 | 5332 | #: plugins/negate.c:256 |
5044 | msgid "Keep timeout longer than the plugin timeout to retain CRITICAL status." | 5333 | msgid "Keep timeout longer than the plugin timeout to retain CRITICAL status." |
5045 | msgstr "" | 5334 | msgstr "" |
5046 | 5335 | ||
5047 | #: plugins/negate.c:255 | 5336 | #: plugins/negate.c:258 |
5048 | msgid "Custom result on Negate timeouts; see below for STATUS definition\n" | 5337 | msgid "Custom result on Negate timeouts; see below for STATUS definition\n" |
5049 | msgstr "" | 5338 | msgstr "" |
5050 | 5339 | ||
5051 | #: plugins/negate.c:261 | 5340 | #: plugins/negate.c:264 |
5052 | #, c-format | 5341 | #, c-format |
5053 | msgid "" | 5342 | msgid "" |
5054 | " STATUS can be 'OK', 'WARNING', 'CRITICAL' or 'UNKNOWN' without single\n" | 5343 | " STATUS can be 'OK', 'WARNING', 'CRITICAL' or 'UNKNOWN' without single\n" |
5055 | msgstr "" | 5344 | msgstr "" |
5056 | 5345 | ||
5057 | #: plugins/negate.c:262 | 5346 | #: plugins/negate.c:265 |
5058 | #, c-format | 5347 | #, c-format |
5059 | msgid "" | 5348 | msgid "" |
5060 | " quotes. Numeric values are accepted. If nothing is specified, permutes\n" | 5349 | " quotes. Numeric values are accepted. If nothing is specified, permutes\n" |
5061 | msgstr "" | 5350 | msgstr "" |
5062 | 5351 | ||
5063 | #: plugins/negate.c:263 | 5352 | #: plugins/negate.c:266 |
5064 | #, c-format | 5353 | #, c-format |
5065 | msgid " OK and CRITICAL.\n" | 5354 | msgid " OK and CRITICAL.\n" |
5066 | msgstr "" | 5355 | msgstr "" |
5067 | 5356 | ||
5068 | #: plugins/negate.c:265 | 5357 | #: plugins/negate.c:268 |
5069 | #, c-format | 5358 | #, c-format |
5070 | msgid "" | 5359 | msgid "" |
5071 | " Substitute output text as well. Will only substitute text in CAPITALS\n" | 5360 | " Substitute output text as well. Will only substitute text in CAPITALS\n" |
5072 | msgstr "" | 5361 | msgstr "" |
5073 | 5362 | ||
5074 | #: plugins/negate.c:270 | 5363 | #: plugins/negate.c:273 |
5075 | msgid "Run check_ping and invert result. Must use full path to plugin" | 5364 | msgid "Run check_ping and invert result. Must use full path to plugin" |
5076 | msgstr "" | 5365 | msgstr "" |
5077 | 5366 | ||
5078 | #: plugins/negate.c:272 | 5367 | #: plugins/negate.c:275 |
5079 | msgid "This will return OK instead of WARNING and UNKNOWN instead of CRITICAL" | 5368 | msgid "This will return OK instead of WARNING and UNKNOWN instead of CRITICAL" |
5080 | msgstr "" | 5369 | msgstr "" |
5081 | 5370 | ||
5082 | #: plugins/negate.c:275 | 5371 | #: plugins/negate.c:278 |
5083 | msgid "" | 5372 | msgid "" |
5084 | "This plugin is a wrapper to take the output of another plugin and invert it." | 5373 | "This plugin is a wrapper to take the output of another plugin and invert it." |
5085 | msgstr "" | 5374 | msgstr "" |
5086 | 5375 | ||
5087 | #: plugins/negate.c:276 | 5376 | #: plugins/negate.c:279 |
5088 | msgid "The full path of the plugin must be provided." | 5377 | msgid "The full path of the plugin must be provided." |
5089 | msgstr "" | 5378 | msgstr "" |
5090 | 5379 | ||
5091 | #: plugins/negate.c:277 | 5380 | #: plugins/negate.c:280 |
5092 | msgid "If the wrapped plugin returns OK, the wrapper will return CRITICAL." | 5381 | msgid "If the wrapped plugin returns OK, the wrapper will return CRITICAL." |
5093 | msgstr "" | 5382 | msgstr "" |
5094 | 5383 | ||
5095 | #: plugins/negate.c:278 | 5384 | #: plugins/negate.c:281 |
5096 | msgid "If the wrapped plugin returns CRITICAL, the wrapper will return OK." | 5385 | msgid "If the wrapped plugin returns CRITICAL, the wrapper will return OK." |
5097 | msgstr "" | 5386 | msgstr "" |
5098 | 5387 | ||
5099 | #: plugins/negate.c:279 | 5388 | #: plugins/negate.c:282 |
5100 | msgid "Otherwise, the output state of the wrapped plugin is unchanged." | 5389 | msgid "Otherwise, the output state of the wrapped plugin is unchanged." |
5101 | msgstr "" | 5390 | msgstr "" |
5102 | 5391 | ||
5103 | #: plugins/negate.c:281 | 5392 | #: plugins/negate.c:284 |
5104 | msgid "" | 5393 | msgid "" |
5105 | "Using timeout-result, it is possible to override the timeout behaviour or a" | 5394 | "Using timeout-result, it is possible to override the timeout behaviour or a" |
5106 | msgstr "" | 5395 | msgstr "" |
5107 | 5396 | ||
5108 | #: plugins/negate.c:282 | 5397 | #: plugins/negate.c:285 |
5109 | msgid "plugin by setting the negate timeout a bit lower." | 5398 | msgid "plugin by setting the negate timeout a bit lower." |
5110 | msgstr "" | 5399 | msgstr "" |
5111 | 5400 | ||
5112 | #: plugins/netutils.c:48 | 5401 | #: plugins/netutils.c:49 |
5113 | #, c-format | 5402 | #, c-format |
5114 | msgid "%s - Socket timeout after %d seconds\n" | 5403 | msgid "%s - Socket timeout after %d seconds\n" |
5115 | msgstr "" | 5404 | msgstr "" |
5116 | 5405 | ||
5117 | #: plugins/netutils.c:50 | 5406 | #: plugins/netutils.c:51 |
5118 | #, c-format | 5407 | #, c-format |
5119 | msgid "%s - Abnormal timeout after %d seconds\n" | 5408 | msgid "%s - Abnormal timeout after %d seconds\n" |
5120 | msgstr "" | 5409 | msgstr "" |
5121 | 5410 | ||
5122 | #: plugins/netutils.c:78 plugins/netutils.c:280 | 5411 | #: plugins/netutils.c:79 plugins/netutils.c:281 |
5123 | msgid "Send failed" | 5412 | msgid "Send failed" |
5124 | msgstr "" | 5413 | msgstr "" |
5125 | 5414 | ||
5126 | #: plugins/netutils.c:95 plugins/netutils.c:295 | 5415 | #: plugins/netutils.c:96 plugins/netutils.c:296 |
5127 | msgid "No data was received from host!" | 5416 | msgid "No data was received from host!" |
5128 | msgstr "" | 5417 | msgstr "" |
5129 | 5418 | ||
5130 | #: plugins/netutils.c:203 plugins/netutils.c:239 | 5419 | #: plugins/netutils.c:204 plugins/netutils.c:240 |
5131 | msgid "Socket creation failed" | 5420 | msgid "Socket creation failed" |
5132 | msgstr "" | 5421 | msgstr "" |
5133 | 5422 | ||
5134 | #: plugins/netutils.c:232 | 5423 | #: plugins/netutils.c:233 |
5135 | msgid "Supplied path too long unix domain socket" | 5424 | msgid "Supplied path too long unix domain socket" |
5136 | msgstr "" | 5425 | msgstr "" |
5137 | 5426 | ||
5138 | #: plugins/netutils.c:304 | 5427 | #: plugins/netutils.c:305 |
5139 | msgid "Receive failed" | 5428 | msgid "Receive failed" |
5140 | msgstr "" | 5429 | msgstr "" |
5141 | 5430 | ||
5142 | #: plugins/netutils.c:330 plugins-root/check_dhcp.c:1341 | 5431 | #: plugins/netutils.c:331 plugins-root/check_dhcp.c:1342 |
5143 | #, c-format | 5432 | #, c-format |
5144 | msgid "Invalid hostname/address - %s" | 5433 | msgid "Invalid hostname/address - %s" |
5145 | msgstr "" | 5434 | msgstr "" |
@@ -5177,18 +5466,19 @@ msgid "" | |||
5177 | msgstr "" | 5466 | msgstr "" |
5178 | 5467 | ||
5179 | #: plugins/urlize.c:169 | 5468 | #: plugins/urlize.c:169 |
5180 | msgid "This plugin wraps the text output of another command (plugin)" | 5469 | msgid "" |
5470 | "This plugin wraps the text output of another command (plugin) in HTML <A>" | ||
5181 | msgstr "" | 5471 | msgstr "" |
5182 | 5472 | ||
5183 | #: plugins/urlize.c:170 | 5473 | #: plugins/urlize.c:170 |
5184 | msgid "" | 5474 | msgid "" |
5185 | "in HTML <A> tags, thus displaying the child plugin's output as a clickable " | 5475 | "tags, thus displaying the child plugin's output as a clickable link in " |
5186 | "link in" | 5476 | "compatible" |
5187 | msgstr "" | 5477 | msgstr "" |
5188 | 5478 | ||
5189 | #: plugins/urlize.c:171 | 5479 | #: plugins/urlize.c:171 |
5190 | msgid "" | 5480 | msgid "" |
5191 | "the Nagios status screen. This plugin returns the status of the invoked " | 5481 | "monitoring status screen. This plugin returns the status of the invoked " |
5192 | "plugin." | 5482 | "plugin." |
5193 | msgstr "" | 5483 | msgstr "" |
5194 | 5484 | ||
@@ -5221,27 +5511,31 @@ msgstr "" | |||
5221 | msgid "urlize http://example.com/ \"check_http -H example.com -r 'two words'\"" | 5511 | msgid "urlize http://example.com/ \"check_http -H example.com -r 'two words'\"" |
5222 | msgstr "" | 5512 | msgstr "" |
5223 | 5513 | ||
5224 | #: plugins/utils.c:171 | 5514 | #: plugins/utils.c:174 |
5225 | #, c-format | 5515 | #, c-format |
5226 | msgid "%s - Plugin timed out after %d seconds\n" | 5516 | msgid "%s - Plugin timed out after %d seconds\n" |
5227 | msgstr "" | 5517 | msgstr "" |
5228 | 5518 | ||
5229 | #: plugins/utils.c:466 | 5519 | #: plugins/utils.c:469 |
5230 | msgid "failed realloc in strpcpy\n" | 5520 | msgid "failed realloc in strpcpy\n" |
5231 | msgstr "" | 5521 | msgstr "" |
5232 | 5522 | ||
5233 | #: plugins/utils.c:508 | 5523 | #: plugins/utils.c:511 |
5234 | msgid "failed malloc in strscat\n" | 5524 | msgid "failed malloc in strscat\n" |
5235 | msgstr "" | 5525 | msgstr "" |
5236 | 5526 | ||
5237 | #: plugins/utils.h:140 | 5527 | #: plugins/utils.c:531 |
5528 | msgid "failed malloc in xvasprintf\n" | ||
5529 | msgstr "" | ||
5530 | |||
5531 | #: plugins/utils.h:137 | ||
5238 | #, c-format | 5532 | #, c-format |
5239 | msgid "" | 5533 | msgid "" |
5240 | " %s (-h | --help) for detailed help\n" | 5534 | " %s (-h | --help) for detailed help\n" |
5241 | " %s (-V | --version) for version information\n" | 5535 | " %s (-V | --version) for version information\n" |
5242 | msgstr "" | 5536 | msgstr "" |
5243 | 5537 | ||
5244 | #: plugins/utils.h:144 | 5538 | #: plugins/utils.h:141 |
5245 | msgid "" | 5539 | msgid "" |
5246 | "\n" | 5540 | "\n" |
5247 | "Options:\n" | 5541 | "Options:\n" |
@@ -5251,7 +5545,7 @@ msgid "" | |||
5251 | " Print version information\n" | 5545 | " Print version information\n" |
5252 | msgstr "" | 5546 | msgstr "" |
5253 | 5547 | ||
5254 | #: plugins/utils.h:151 | 5548 | #: plugins/utils.h:148 |
5255 | #, c-format | 5549 | #, c-format |
5256 | msgid "" | 5550 | msgid "" |
5257 | " -H, --hostname=ADDRESS\n" | 5551 | " -H, --hostname=ADDRESS\n" |
@@ -5260,7 +5554,7 @@ msgid "" | |||
5260 | " Port number (default: %s)\n" | 5554 | " Port number (default: %s)\n" |
5261 | msgstr "" | 5555 | msgstr "" |
5262 | 5556 | ||
5263 | #: plugins/utils.h:157 | 5557 | #: plugins/utils.h:154 |
5264 | msgid "" | 5558 | msgid "" |
5265 | " -4, --use-ipv4\n" | 5559 | " -4, --use-ipv4\n" |
5266 | " Use IPv4 connection\n" | 5560 | " Use IPv4 connection\n" |
@@ -5268,13 +5562,14 @@ msgid "" | |||
5268 | " Use IPv6 connection\n" | 5562 | " Use IPv6 connection\n" |
5269 | msgstr "" | 5563 | msgstr "" |
5270 | 5564 | ||
5271 | #: plugins/utils.h:163 | 5565 | #: plugins/utils.h:160 |
5272 | msgid "" | 5566 | msgid "" |
5273 | " -v, --verbose\n" | 5567 | " -v, --verbose\n" |
5274 | " Show details for command-line debugging (Nagios may truncate output)\n" | 5568 | " Show details for command-line debugging (output may be truncated by\n" |
5569 | "\t\tthe monitoring system)\n" | ||
5275 | msgstr "" | 5570 | msgstr "" |
5276 | 5571 | ||
5277 | #: plugins/utils.h:167 | 5572 | #: plugins/utils.h:165 |
5278 | msgid "" | 5573 | msgid "" |
5279 | " -w, --warning=DOUBLE\n" | 5574 | " -w, --warning=DOUBLE\n" |
5280 | " Response time to result in warning status (seconds)\n" | 5575 | " Response time to result in warning status (seconds)\n" |
@@ -5282,7 +5577,7 @@ msgid "" | |||
5282 | " Response time to result in critical status (seconds)\n" | 5577 | " Response time to result in critical status (seconds)\n" |
5283 | msgstr "" | 5578 | msgstr "" |
5284 | 5579 | ||
5285 | #: plugins/utils.h:173 | 5580 | #: plugins/utils.h:171 |
5286 | msgid "" | 5581 | msgid "" |
5287 | " -w, --warning=RANGE\n" | 5582 | " -w, --warning=RANGE\n" |
5288 | " Warning range (format: start:end). Alert if outside this range\n" | 5583 | " Warning range (format: start:end). Alert if outside this range\n" |
@@ -5290,41 +5585,42 @@ msgid "" | |||
5290 | " Critical range\n" | 5585 | " Critical range\n" |
5291 | msgstr "" | 5586 | msgstr "" |
5292 | 5587 | ||
5293 | #: plugins/utils.h:179 | 5588 | #: plugins/utils.h:177 |
5294 | #, c-format | 5589 | #, c-format |
5295 | msgid "" | 5590 | msgid "" |
5296 | " -t, --timeout=INTEGER\n" | 5591 | " -t, --timeout=INTEGER\n" |
5297 | " Seconds before connection times out (default: %d)\n" | 5592 | " Seconds before connection times out (default: %d)\n" |
5298 | msgstr "" | 5593 | msgstr "" |
5299 | 5594 | ||
5300 | #: plugins/utils.h:184 | 5595 | #: plugins/utils.h:182 |
5301 | msgid "" | 5596 | msgid "" |
5302 | " --extra-opts=[section][@file]\n" | 5597 | " --extra-opts=[section][@file]\n" |
5303 | " Read options from an ini file. See http://nagiosplugins.org/extra-opts\n" | 5598 | " Read options from an ini file. See\n" |
5599 | " https://www.monitoring-plugins.org/doc/extra-opts.html\n" | ||
5304 | " for usage and examples.\n" | 5600 | " for usage and examples.\n" |
5305 | msgstr "" | 5601 | msgstr "" |
5306 | 5602 | ||
5307 | #: plugins/utils.h:192 | 5603 | #: plugins/utils.h:190 |
5308 | msgid "" | 5604 | msgid "" |
5309 | " See:\n" | 5605 | " See:\n" |
5310 | " http://nagiosplug.sourceforge.net/developer-guidelines." | 5606 | " https://www.monitoring-plugins.org/doc/guidelines.html#THRESHOLDFORMAT\n" |
5311 | "html#THRESHOLDFORMAT\n" | ||
5312 | " for THRESHOLD format and examples.\n" | 5607 | " for THRESHOLD format and examples.\n" |
5313 | msgstr "" | 5608 | msgstr "" |
5314 | 5609 | ||
5315 | #: plugins/utils.h:197 | 5610 | #: plugins/utils.h:195 |
5316 | msgid "" | 5611 | msgid "" |
5317 | "\n" | 5612 | "\n" |
5318 | "Send email to nagios-users@lists.sourceforge.net if you have questions\n" | 5613 | "Send email to help@monitoring-plugins.org if you have questions regarding\n" |
5319 | "regarding use of this software. To submit patches or suggest improvements,\n" | 5614 | "use of this software. To submit patches or suggest improvements, send email\n" |
5320 | "send email to nagiosplug-devel@lists.sourceforge.net\n" | 5615 | "to devel@monitoring-plugins.org\n" |
5321 | "\n" | 5616 | "\n" |
5322 | msgstr "" | 5617 | msgstr "" |
5323 | 5618 | ||
5324 | #: plugins/utils.h:202 | 5619 | #: plugins/utils.h:200 |
5325 | msgid "" | 5620 | msgid "" |
5326 | "\n" | 5621 | "\n" |
5327 | "The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\n" | 5622 | "The Monitoring Plugins come with ABSOLUTELY NO WARRANTY. You may " |
5623 | "redistribute\n" | ||
5328 | "copies of the plugins under the terms of the GNU General Public License.\n" | 5624 | "copies of the plugins under the terms of the GNU General Public License.\n" |
5329 | "For more information about these matters, see the file named COPYING.\n" | 5625 | "For more information about these matters, see the file named COPYING.\n" |
5330 | msgstr "" | 5626 | msgstr "" |
@@ -5355,52 +5651,52 @@ msgstr "" | |||
5355 | msgid "Error: Couldn't get hardware address from %s. sysctl 2 error - %s.\n" | 5651 | msgid "Error: Couldn't get hardware address from %s. sysctl 2 error - %s.\n" |
5356 | msgstr "" | 5652 | msgstr "" |
5357 | 5653 | ||
5358 | #: plugins-root/check_dhcp.c:383 | 5654 | #: plugins-root/check_dhcp.c:388 |
5359 | #, c-format | 5655 | #, c-format |
5360 | msgid "" | 5656 | msgid "" |
5361 | "Error: can't find unit number in interface_name (%s) - expecting TypeNumber " | 5657 | "Error: can't find unit number in interface_name (%s) - expecting TypeNumber " |
5362 | "eg lnc0.\n" | 5658 | "eg lnc0.\n" |
5363 | msgstr "" | 5659 | msgstr "" |
5364 | 5660 | ||
5365 | #: plugins-root/check_dhcp.c:388 plugins-root/check_dhcp.c:400 | 5661 | #: plugins-root/check_dhcp.c:393 plugins-root/check_dhcp.c:405 |
5366 | #, c-format | 5662 | #, c-format |
5367 | msgid "" | 5663 | msgid "" |
5368 | "Error: can't read MAC address from DLPI streams interface for device %s unit " | 5664 | "Error: can't read MAC address from DLPI streams interface for device %s unit " |
5369 | "%d.\n" | 5665 | "%d.\n" |
5370 | msgstr "" | 5666 | msgstr "" |
5371 | 5667 | ||
5372 | #: plugins-root/check_dhcp.c:406 | 5668 | #: plugins-root/check_dhcp.c:411 |
5373 | #, c-format | 5669 | #, c-format |
5374 | msgid "" | 5670 | msgid "" |
5375 | "Error: can't get MAC address for this architecture. Use the --mac option.\n" | 5671 | "Error: can't get MAC address for this architecture. Use the --mac option.\n" |
5376 | msgstr "" | 5672 | msgstr "" |
5377 | 5673 | ||
5378 | #: plugins-root/check_dhcp.c:425 | 5674 | #: plugins-root/check_dhcp.c:430 |
5379 | #, c-format | 5675 | #, c-format |
5380 | msgid "Error: Cannot determine IP address of interface %s\n" | 5676 | msgid "Error: Cannot determine IP address of interface %s\n" |
5381 | msgstr "" | 5677 | msgstr "" |
5382 | 5678 | ||
5383 | #: plugins-root/check_dhcp.c:433 | 5679 | #: plugins-root/check_dhcp.c:438 |
5384 | #, c-format | 5680 | #, c-format |
5385 | msgid "Error: Cannot get interface IP address on this platform.\n" | 5681 | msgid "Error: Cannot get interface IP address on this platform.\n" |
5386 | msgstr "" | 5682 | msgstr "" |
5387 | 5683 | ||
5388 | #: plugins-root/check_dhcp.c:438 | 5684 | #: plugins-root/check_dhcp.c:443 |
5389 | #, c-format | 5685 | #, c-format |
5390 | msgid "Pretending to be relay client %s\n" | 5686 | msgid "Pretending to be relay client %s\n" |
5391 | msgstr "" | 5687 | msgstr "" |
5392 | 5688 | ||
5393 | #: plugins-root/check_dhcp.c:523 | 5689 | #: plugins-root/check_dhcp.c:528 |
5394 | #, c-format | 5690 | #, c-format |
5395 | msgid "DHCPDISCOVER to %s port %d\n" | 5691 | msgid "DHCPDISCOVER to %s port %d\n" |
5396 | msgstr "" | 5692 | msgstr "" |
5397 | 5693 | ||
5398 | #: plugins-root/check_dhcp.c:575 | 5694 | #: plugins-root/check_dhcp.c:580 |
5399 | #, c-format | 5695 | #, c-format |
5400 | msgid "Result=ERROR\n" | 5696 | msgid "Result=ERROR\n" |
5401 | msgstr "" | 5697 | msgstr "" |
5402 | 5698 | ||
5403 | #: plugins-root/check_dhcp.c:581 | 5699 | #: plugins-root/check_dhcp.c:586 |
5404 | #, c-format | 5700 | #, c-format |
5405 | msgid "Result=OK\n" | 5701 | msgid "Result=OK\n" |
5406 | msgstr "" | 5702 | msgstr "" |
@@ -5493,234 +5789,234 @@ msgstr "" | |||
5493 | msgid "Requested server address: %s\n" | 5789 | msgid "Requested server address: %s\n" |
5494 | msgstr "" | 5790 | msgstr "" |
5495 | 5791 | ||
5496 | #: plugins-root/check_dhcp.c:881 | 5792 | #: plugins-root/check_dhcp.c:882 |
5497 | #, c-format | 5793 | #, c-format |
5498 | msgid "Lease Time: Infinite\n" | 5794 | msgid "Lease Time: Infinite\n" |
5499 | msgstr "" | 5795 | msgstr "" |
5500 | 5796 | ||
5501 | #: plugins-root/check_dhcp.c:883 | 5797 | #: plugins-root/check_dhcp.c:884 |
5502 | #, c-format | 5798 | #, c-format |
5503 | msgid "Lease Time: %lu seconds\n" | 5799 | msgid "Lease Time: %lu seconds\n" |
5504 | msgstr "" | 5800 | msgstr "" |
5505 | 5801 | ||
5506 | #: plugins-root/check_dhcp.c:885 | 5802 | #: plugins-root/check_dhcp.c:886 |
5507 | #, c-format | 5803 | #, c-format |
5508 | msgid "Renewal Time: Infinite\n" | 5804 | msgid "Renewal Time: Infinite\n" |
5509 | msgstr "" | 5805 | msgstr "" |
5510 | 5806 | ||
5511 | #: plugins-root/check_dhcp.c:887 | 5807 | #: plugins-root/check_dhcp.c:888 |
5512 | #, c-format | 5808 | #, c-format |
5513 | msgid "Renewal Time: %lu seconds\n" | 5809 | msgid "Renewal Time: %lu seconds\n" |
5514 | msgstr "" | 5810 | msgstr "" |
5515 | 5811 | ||
5516 | #: plugins-root/check_dhcp.c:889 | 5812 | #: plugins-root/check_dhcp.c:890 |
5517 | #, c-format | 5813 | #, c-format |
5518 | msgid "Rebinding Time: Infinite\n" | 5814 | msgid "Rebinding Time: Infinite\n" |
5519 | msgstr "" | 5815 | msgstr "" |
5520 | 5816 | ||
5521 | #: plugins-root/check_dhcp.c:890 | 5817 | #: plugins-root/check_dhcp.c:891 |
5522 | #, c-format | 5818 | #, c-format |
5523 | msgid "Rebinding Time: %lu seconds\n" | 5819 | msgid "Rebinding Time: %lu seconds\n" |
5524 | msgstr "" | 5820 | msgstr "" |
5525 | 5821 | ||
5526 | #: plugins-root/check_dhcp.c:918 | 5822 | #: plugins-root/check_dhcp.c:919 |
5527 | #, c-format | 5823 | #, c-format |
5528 | msgid "Added offer from server @ %s" | 5824 | msgid "Added offer from server @ %s" |
5529 | msgstr "" | 5825 | msgstr "" |
5530 | 5826 | ||
5531 | #: plugins-root/check_dhcp.c:919 | 5827 | #: plugins-root/check_dhcp.c:920 |
5532 | #, c-format | 5828 | #, c-format |
5533 | msgid " of IP address %s\n" | 5829 | msgid " of IP address %s\n" |
5534 | msgstr "" | 5830 | msgstr "" |
5535 | 5831 | ||
5536 | #: plugins-root/check_dhcp.c:986 | 5832 | #: plugins-root/check_dhcp.c:987 |
5537 | #, c-format | 5833 | #, c-format |
5538 | msgid "DHCP Server Match: Offerer=%s" | 5834 | msgid "DHCP Server Match: Offerer=%s" |
5539 | msgstr "" | 5835 | msgstr "" |
5540 | 5836 | ||
5541 | #: plugins-root/check_dhcp.c:987 | 5837 | #: plugins-root/check_dhcp.c:988 |
5542 | #, c-format | 5838 | #, c-format |
5543 | msgid " Requested=%s" | 5839 | msgid " Requested=%s" |
5544 | msgstr "" | 5840 | msgstr "" |
5545 | 5841 | ||
5546 | #: plugins-root/check_dhcp.c:989 | 5842 | #: plugins-root/check_dhcp.c:990 |
5547 | #, c-format | 5843 | #, c-format |
5548 | msgid " (duplicate)" | 5844 | msgid " (duplicate)" |
5549 | msgstr "" | 5845 | msgstr "" |
5550 | 5846 | ||
5551 | #: plugins-root/check_dhcp.c:990 | 5847 | #: plugins-root/check_dhcp.c:991 |
5552 | #, c-format | 5848 | #, c-format |
5553 | msgid "\n" | 5849 | msgid "\n" |
5554 | msgstr "" | 5850 | msgstr "" |
5555 | 5851 | ||
5556 | #: plugins-root/check_dhcp.c:1038 | 5852 | #: plugins-root/check_dhcp.c:1039 |
5557 | #, c-format | 5853 | #, c-format |
5558 | msgid "No DHCPOFFERs were received.\n" | 5854 | msgid "No DHCPOFFERs were received.\n" |
5559 | msgstr "" | 5855 | msgstr "" |
5560 | 5856 | ||
5561 | #: plugins-root/check_dhcp.c:1042 | 5857 | #: plugins-root/check_dhcp.c:1043 |
5562 | #, c-format | 5858 | #, c-format |
5563 | msgid "Received %d DHCPOFFER(s)" | 5859 | msgid "Received %d DHCPOFFER(s)" |
5564 | msgstr "" | 5860 | msgstr "" |
5565 | 5861 | ||
5566 | #: plugins-root/check_dhcp.c:1045 | 5862 | #: plugins-root/check_dhcp.c:1046 |
5567 | #, c-format | 5863 | #, c-format |
5568 | msgid ", %s%d of %d requested servers responded" | 5864 | msgid ", %s%d of %d requested servers responded" |
5569 | msgstr "" | 5865 | msgstr "" |
5570 | 5866 | ||
5571 | #: plugins-root/check_dhcp.c:1048 | 5867 | #: plugins-root/check_dhcp.c:1049 |
5572 | #, c-format | 5868 | #, c-format |
5573 | msgid ", requested address (%s) was %soffered" | 5869 | msgid ", requested address (%s) was %soffered" |
5574 | msgstr "" | 5870 | msgstr "" |
5575 | 5871 | ||
5576 | #: plugins-root/check_dhcp.c:1048 | 5872 | #: plugins-root/check_dhcp.c:1049 |
5577 | msgid "not " | 5873 | msgid "not " |
5578 | msgstr "" | 5874 | msgstr "" |
5579 | 5875 | ||
5580 | #: plugins-root/check_dhcp.c:1050 | 5876 | #: plugins-root/check_dhcp.c:1051 |
5581 | #, c-format | 5877 | #, c-format |
5582 | msgid ", max lease time = " | 5878 | msgid ", max lease time = " |
5583 | msgstr "" | 5879 | msgstr "" |
5584 | 5880 | ||
5585 | #: plugins-root/check_dhcp.c:1052 | 5881 | #: plugins-root/check_dhcp.c:1053 |
5586 | #, c-format | 5882 | #, c-format |
5587 | msgid "Infinity" | 5883 | msgid "Infinity" |
5588 | msgstr "" | 5884 | msgstr "" |
5589 | 5885 | ||
5590 | #: plugins-root/check_dhcp.c:1233 | 5886 | #: plugins-root/check_dhcp.c:1234 |
5591 | #, c-format | 5887 | #, c-format |
5592 | msgid "Error: DLPI stream API failed to get MAC in check_ctrl: %s.\n" | 5888 | msgid "Error: DLPI stream API failed to get MAC in check_ctrl: %s.\n" |
5593 | msgstr "" | 5889 | msgstr "" |
5594 | 5890 | ||
5595 | #: plugins-root/check_dhcp.c:1245 | 5891 | #: plugins-root/check_dhcp.c:1246 |
5596 | #, c-format | 5892 | #, c-format |
5597 | msgid "Error: DLPI stream API failed to get MAC in put_ctrl/putmsg(): %s.\n" | 5893 | msgid "Error: DLPI stream API failed to get MAC in put_ctrl/putmsg(): %s.\n" |
5598 | msgstr "" | 5894 | msgstr "" |
5599 | 5895 | ||
5600 | #: plugins-root/check_dhcp.c:1258 | 5896 | #: plugins-root/check_dhcp.c:1259 |
5601 | #, c-format | 5897 | #, c-format |
5602 | msgid "Error: DLPI stream API failed to get MAC in put_both/putmsg().\n" | 5898 | msgid "Error: DLPI stream API failed to get MAC in put_both/putmsg().\n" |
5603 | msgstr "" | 5899 | msgstr "" |
5604 | 5900 | ||
5605 | #: plugins-root/check_dhcp.c:1270 | 5901 | #: plugins-root/check_dhcp.c:1271 |
5606 | #, c-format | 5902 | #, c-format |
5607 | msgid "" | 5903 | msgid "" |
5608 | "Error: DLPI stream API failed to get MAC in dl_attach_req/open(%s..): %s.\n" | 5904 | "Error: DLPI stream API failed to get MAC in dl_attach_req/open(%s..): %s.\n" |
5609 | msgstr "" | 5905 | msgstr "" |
5610 | 5906 | ||
5611 | #: plugins-root/check_dhcp.c:1294 | 5907 | #: plugins-root/check_dhcp.c:1295 |
5612 | #, c-format | 5908 | #, c-format |
5613 | msgid "Error: DLPI stream API failed to get MAC in dl_bind/check_ctrl(): %s.\n" | 5909 | msgid "Error: DLPI stream API failed to get MAC in dl_bind/check_ctrl(): %s.\n" |
5614 | msgstr "" | 5910 | msgstr "" |
5615 | 5911 | ||
5616 | #: plugins-root/check_dhcp.c:1373 | 5912 | #: plugins-root/check_dhcp.c:1374 |
5617 | #, c-format | 5913 | #, c-format |
5618 | msgid "Hardware address: " | 5914 | msgid "Hardware address: " |
5619 | msgstr "" | 5915 | msgstr "" |
5620 | 5916 | ||
5621 | #: plugins-root/check_dhcp.c:1389 | 5917 | #: plugins-root/check_dhcp.c:1390 |
5622 | msgid "This plugin tests the availability of DHCP servers on a network." | 5918 | msgid "This plugin tests the availability of DHCP servers on a network." |
5623 | msgstr "" | 5919 | msgstr "" |
5624 | 5920 | ||
5625 | #: plugins-root/check_dhcp.c:1401 | 5921 | #: plugins-root/check_dhcp.c:1402 |
5626 | msgid "IP address of DHCP server that we must hear from" | 5922 | msgid "IP address of DHCP server that we must hear from" |
5627 | msgstr "" | 5923 | msgstr "" |
5628 | 5924 | ||
5629 | #: plugins-root/check_dhcp.c:1403 | 5925 | #: plugins-root/check_dhcp.c:1404 |
5630 | msgid "IP address that should be offered by at least one DHCP server" | 5926 | msgid "IP address that should be offered by at least one DHCP server" |
5631 | msgstr "" | 5927 | msgstr "" |
5632 | 5928 | ||
5633 | #: plugins-root/check_dhcp.c:1405 | 5929 | #: plugins-root/check_dhcp.c:1406 |
5634 | msgid "Seconds to wait for DHCPOFFER before timeout occurs" | 5930 | msgid "Seconds to wait for DHCPOFFER before timeout occurs" |
5635 | msgstr "" | 5931 | msgstr "" |
5636 | 5932 | ||
5637 | #: plugins-root/check_dhcp.c:1407 | 5933 | #: plugins-root/check_dhcp.c:1408 |
5638 | msgid "Interface to to use for listening (i.e. eth0)" | 5934 | msgid "Interface to to use for listening (i.e. eth0)" |
5639 | msgstr "" | 5935 | msgstr "" |
5640 | 5936 | ||
5641 | #: plugins-root/check_dhcp.c:1409 | 5937 | #: plugins-root/check_dhcp.c:1410 |
5642 | msgid "MAC address to use in the DHCP request" | 5938 | msgid "MAC address to use in the DHCP request" |
5643 | msgstr "" | 5939 | msgstr "" |
5644 | 5940 | ||
5645 | #: plugins-root/check_dhcp.c:1411 | 5941 | #: plugins-root/check_dhcp.c:1412 |
5646 | msgid "Unicast testing: mimic a DHCP relay, requires -s" | 5942 | msgid "Unicast testing: mimic a DHCP relay, requires -s" |
5647 | msgstr "" | 5943 | msgstr "" |
5648 | 5944 | ||
5649 | #: plugins-root/check_icmp.c:1288 | 5945 | #: plugins-root/check_icmp.c:1295 |
5650 | msgid "specify a target" | 5946 | msgid "specify a target" |
5651 | msgstr "" | 5947 | msgstr "" |
5652 | 5948 | ||
5653 | #: plugins-root/check_icmp.c:1290 | 5949 | #: plugins-root/check_icmp.c:1297 |
5654 | msgid "warning threshold (currently " | 5950 | msgid "warning threshold (currently " |
5655 | msgstr "" | 5951 | msgstr "" |
5656 | 5952 | ||
5657 | #: plugins-root/check_icmp.c:1293 | 5953 | #: plugins-root/check_icmp.c:1300 |
5658 | msgid "critical threshold (currently " | 5954 | msgid "critical threshold (currently " |
5659 | msgstr "" | 5955 | msgstr "" |
5660 | 5956 | ||
5661 | #: plugins-root/check_icmp.c:1296 | 5957 | #: plugins-root/check_icmp.c:1303 |
5662 | msgid "specify a source IP address or device name" | 5958 | msgid "specify a source IP address or device name" |
5663 | msgstr "" | 5959 | msgstr "" |
5664 | 5960 | ||
5665 | #: plugins-root/check_icmp.c:1298 | 5961 | #: plugins-root/check_icmp.c:1305 |
5666 | msgid "number of packets to send (currently " | 5962 | msgid "number of packets to send (currently " |
5667 | msgstr "" | 5963 | msgstr "" |
5668 | 5964 | ||
5669 | #: plugins-root/check_icmp.c:1301 | 5965 | #: plugins-root/check_icmp.c:1308 |
5670 | msgid "max packet interval (currently " | 5966 | msgid "max packet interval (currently " |
5671 | msgstr "" | 5967 | msgstr "" |
5672 | 5968 | ||
5673 | #: plugins-root/check_icmp.c:1304 | 5969 | #: plugins-root/check_icmp.c:1311 |
5674 | msgid "max target interval (currently " | 5970 | msgid "max target interval (currently " |
5675 | msgstr "" | 5971 | msgstr "" |
5676 | 5972 | ||
5677 | #: plugins-root/check_icmp.c:1307 | 5973 | #: plugins-root/check_icmp.c:1314 |
5678 | msgid "number of alive hosts required for success" | 5974 | msgid "number of alive hosts required for success" |
5679 | msgstr "" | 5975 | msgstr "" |
5680 | 5976 | ||
5681 | #: plugins-root/check_icmp.c:1310 | 5977 | #: plugins-root/check_icmp.c:1317 |
5682 | msgid "TTL on outgoing packets (currently " | 5978 | msgid "TTL on outgoing packets (currently " |
5683 | msgstr "" | 5979 | msgstr "" |
5684 | 5980 | ||
5685 | #: plugins-root/check_icmp.c:1313 | 5981 | #: plugins-root/check_icmp.c:1320 |
5686 | msgid "timeout value (seconds, currently " | 5982 | msgid "timeout value (seconds, currently " |
5687 | msgstr "" | 5983 | msgstr "" |
5688 | 5984 | ||
5689 | #: plugins-root/check_icmp.c:1316 | 5985 | #: plugins-root/check_icmp.c:1323 |
5690 | msgid "Number of icmp data bytes to send" | 5986 | msgid "Number of icmp data bytes to send" |
5691 | msgstr "" | 5987 | msgstr "" |
5692 | 5988 | ||
5693 | #: plugins-root/check_icmp.c:1317 | 5989 | #: plugins-root/check_icmp.c:1324 |
5694 | msgid "Packet size will be data bytes + icmp header (currently" | 5990 | msgid "Packet size will be data bytes + icmp header (currently" |
5695 | msgstr "" | 5991 | msgstr "" |
5696 | 5992 | ||
5697 | #: plugins-root/check_icmp.c:1319 | 5993 | #: plugins-root/check_icmp.c:1326 |
5698 | msgid "verbose" | 5994 | msgid "verbose" |
5699 | msgstr "" | 5995 | msgstr "" |
5700 | 5996 | ||
5701 | #: plugins-root/check_icmp.c:1323 | 5997 | #: plugins-root/check_icmp.c:1330 |
5702 | msgid "The -H switch is optional. Naming a host (or several) to check is not." | 5998 | msgid "The -H switch is optional. Naming a host (or several) to check is not." |
5703 | msgstr "" | 5999 | msgstr "" |
5704 | 6000 | ||
5705 | #: plugins-root/check_icmp.c:1325 | 6001 | #: plugins-root/check_icmp.c:1332 |
5706 | msgid "" | 6002 | msgid "" |
5707 | "Threshold format for -w and -c is 200.25,60% for 200.25 msec RTA and 60%" | 6003 | "Threshold format for -w and -c is 200.25,60% for 200.25 msec RTA and 60%" |
5708 | msgstr "" | 6004 | msgstr "" |
5709 | 6005 | ||
5710 | #: plugins-root/check_icmp.c:1326 | 6006 | #: plugins-root/check_icmp.c:1333 |
5711 | msgid "packet loss. The default values should work well for most users." | 6007 | msgid "packet loss. The default values should work well for most users." |
5712 | msgstr "" | 6008 | msgstr "" |
5713 | 6009 | ||
5714 | #: plugins-root/check_icmp.c:1327 | 6010 | #: plugins-root/check_icmp.c:1334 |
5715 | msgid "" | 6011 | msgid "" |
5716 | "You can specify different RTA factors using the standardized abbreviations" | 6012 | "You can specify different RTA factors using the standardized abbreviations" |
5717 | msgstr "" | 6013 | msgstr "" |
5718 | 6014 | ||
5719 | #: plugins-root/check_icmp.c:1328 | 6015 | #: plugins-root/check_icmp.c:1335 |
5720 | msgid "" | 6016 | msgid "" |
5721 | "us (microseconds), ms (milliseconds, default) or just plain s for seconds." | 6017 | "us (microseconds), ms (milliseconds, default) or just plain s for seconds." |
5722 | msgstr "" | 6018 | msgstr "" |
5723 | 6019 | ||
5724 | #: plugins-root/check_icmp.c:1334 | 6020 | #: plugins-root/check_icmp.c:1341 |
5725 | msgid "The -v switch can be specified several times for increased verbosity." | 6021 | msgid "The -v switch can be specified several times for increased verbosity." |
5726 | msgstr "" | 6022 | msgstr "" |
@@ -9,9 +9,9 @@ use Getopt::Long; | |||
9 | 9 | ||
10 | use NPTest qw(DetermineTestHarnessDirectory TestsFrom); | 10 | use NPTest qw(DetermineTestHarnessDirectory TestsFrom); |
11 | 11 | ||
12 | my $tstdir; | 12 | my @tstdir; |
13 | 13 | ||
14 | if ( ! GetOptions( "testdir:s" => \$tstdir ) ) | 14 | if ( ! GetOptions( "testdir:s" => \@tstdir ) ) |
15 | { | 15 | { |
16 | print "Usage: ${0} [--testdir=<directory>] [<test_harness.t> ...]\n"; | 16 | print "Usage: ${0} [--testdir=<directory>] [<test_harness.t> ...]\n"; |
17 | exit 1; | 17 | exit 1; |
@@ -25,15 +25,18 @@ if ( scalar( @ARGV ) ) | |||
25 | } | 25 | } |
26 | else | 26 | else |
27 | { | 27 | { |
28 | my $directory = DetermineTestHarnessDirectory( $tstdir ); | 28 | my @directory = DetermineTestHarnessDirectory( @tstdir ); |
29 | 29 | ||
30 | if ( !defined( $directory ) ) | 30 | if ( @directory == 0 ) |
31 | { | 31 | { |
32 | print STDERR "$0: Unable to determine the test harness directory - ABORTING\n"; | 32 | print STDERR "$0: Unable to determine the test harness directory - ABORTING\n"; |
33 | exit 2; | 33 | exit 2; |
34 | } | 34 | } |
35 | 35 | ||
36 | @tests = TestsFrom( $directory, 1 ); | 36 | for my $d ( @directory ) |
37 | { | ||
38 | push (@tests, TestsFrom( $d, 1 )); | ||
39 | } | ||
37 | } | 40 | } |
38 | 41 | ||
39 | if ( ! scalar( @tests ) ) | 42 | if ( ! scalar( @tests ) ) |
diff --git a/tools/README b/tools/README index 98c243b..825ee56 100644 --- a/tools/README +++ b/tools/README | |||
@@ -1,8 +1,8 @@ | |||
1 | The tools subdirectory contains anciliary files that can be used to configure | 1 | The tools subdirectory contains anciliary files that can be used to configure |
2 | or test the plugins. | 2 | or test the plugins. |
3 | 3 | ||
4 | 1. setup - used to get the configuration initialized after a CVS download | 4 | 1. setup - used for initialization after cloning the Git repository |
5 | 2. tango - | 5 | 2. tango - |
6 | 3. mini_epn/p1.pl - used to test perl plugins for functionality under embedded | 6 | 3. mini_epn/p1.pl - used to test perl plugins for functionality under embedded |
7 | perl | 7 | perl |
8 | 4. distclean - used to clean the sources leaving only original CVS files | 8 | 4. distclean - used to clean the sources leaving only original Git files |
diff --git a/tools/distclean b/tools/distclean index f4ec20b..961cc80 100755 --- a/tools/distclean +++ b/tools/distclean | |||
@@ -6,7 +6,7 @@ | |||
6 | # Please run this script from the top-level directory. | 6 | # Please run this script from the top-level directory. |
7 | 7 | ||
8 | if [ ! -f tools/distclean ]; then | 8 | if [ ! -f tools/distclean ]; then |
9 | echo "Please run this script from the top-level directory of Nagios-plugins." | 9 | echo "Please run this script from the top-level directory of Monitoring Plugins." |
10 | exit 1 | 10 | exit 1 |
11 | fi | 11 | fi |
12 | 12 | ||
diff --git a/tools/generate-change-log b/tools/generate-change-log index 03321fd..3a6b38e 100755 --- a/tools/generate-change-log +++ b/tools/generate-change-log | |||
@@ -1,10 +1,10 @@ | |||
1 | #!/usr/bin/env perl | 1 | #!/usr/bin/env perl |
2 | # | 2 | # |
3 | # Copyright (c) 2013 Nagios Plugins Development Team | 3 | # Copyright (c) 2013 Monitoring Plugins Development Team |
4 | # | 4 | # |
5 | # Originally written by Holger Weiss <holger@zedat.fu-berlin.de>. | 5 | # Originally written by Holger Weiss <holger@zedat.fu-berlin.de>. |
6 | # | 6 | # |
7 | # This file is free software; the Nagios Plugins Development Team gives | 7 | # This file is free software; the Monitoring Plugins Development Team gives |
8 | # unlimited permission to copy and/or distribute it, with or without | 8 | # unlimited permission to copy and/or distribute it, with or without |
9 | # modifications, as long as this notice is preserved. | 9 | # modifications, as long as this notice is preserved. |
10 | # | 10 | # |
diff --git a/tools/git-notify b/tools/git-notify index 8514296..ff59d39 100755 --- a/tools/git-notify +++ b/tools/git-notify | |||
@@ -3,7 +3,7 @@ | |||
3 | # Tool to send git commit notifications | 3 | # Tool to send git commit notifications |
4 | # | 4 | # |
5 | # Copyright 2005 Alexandre Julliard | 5 | # Copyright 2005 Alexandre Julliard |
6 | # Copyright 2009 Nagios Plugins Development Team | 6 | # Copyright 2009 Monitoring Plugins Development Team |
7 | # | 7 | # |
8 | # This program is free software; you can redistribute it and/or | 8 | # This program is free software; you can redistribute it and/or |
9 | # modify it under the terms of the GNU General Public License as | 9 | # modify it under the terms of the GNU General Public License as |
diff --git a/tools/git-post-receive-hook b/tools/git-post-receive-hook index db9ad9e..c822a63 100755 --- a/tools/git-post-receive-hook +++ b/tools/git-post-receive-hook | |||
@@ -1,11 +1,11 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | prefix="${0%/*}/notifications" # $GIT_DIR/hooks/notifications | 3 | prefix="${0%/*}/notifications" # $GIT_DIR/hooks/notifications |
4 | recipient='Nagios Plugin Commits <nagiosplug-checkins@lists.sourceforge.net>' | 4 | recipient='Monitoring Plugins Commits <commits@monitoring-plugins.org>' |
5 | maxcommits=100 | 5 | maxcommits=100 |
6 | maxdiffsize=$((300 * 1024)) | 6 | maxdiffsize=$((300 * 1024)) |
7 | project='nagiosplug' | 7 | project='monitoring-plugins' |
8 | gitweburl='http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug' | 8 | gitweburl='https://github.com/monitoring-plugins/monitoring-plugins' |
9 | gitnotify="$prefix/git-notify.pl" | 9 | gitnotify="$prefix/git-notify.pl" |
10 | statefile="$prefix/git-notify.dat" | 10 | statefile="$prefix/git-notify.dat" |
11 | 11 | ||
diff --git a/tools/tango b/tools/tango index 7f418d7..2737166 100755 --- a/tools/tango +++ b/tools/tango | |||
@@ -14,9 +14,9 @@ my $REVISION = '$Revision$ '; | |||
14 | $REVISION =~ s/^\$Revision: //; | 14 | $REVISION =~ s/^\$Revision: //; |
15 | $REVISION =~ s/ \$ $//; | 15 | $REVISION =~ s/ \$ $//; |
16 | 16 | ||
17 | my $PACKAGE = 'Nagios Plugins'; | 17 | my $PACKAGE = 'Monitoring Plugins'; |
18 | my $RELEASE = '1.3'; | 18 | my $RELEASE = '1.3'; |
19 | my $WARRANTY = "The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\ncopies of the plugins under the terms of the GNU General Public License.\nFor more information about these matters, see the file named COPYING.\n"; | 19 | my $WARRANTY = "The Monitoring Plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\ncopies of the plugins under the terms of the GNU General Public License.\nFor more information about these matters, see the file named COPYING.\n"; |
20 | 20 | ||
21 | my $version = undef; | 21 | my $version = undef; |
22 | my $help = undef; | 22 | my $help = undef; |
diff --git a/tools/tinderbox_build b/tools/tinderbox_build index 12528d9..48836b1 100755 --- a/tools/tinderbox_build +++ b/tools/tinderbox_build | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/usr/bin/perl | 1 | #!/usr/bin/perl |
2 | # tinderbox_build.pl | 2 | # tinderbox_build.pl |
3 | # This script builds the nagiosplugins and then sends | 3 | # This script builds the monitoringplugins and then sends |
4 | # logs back to the master tinderbox server | 4 | # logs back to the master tinderbox server |
5 | # | 5 | # |
6 | # This script is based on mozilla-unix.pl which comes with tinderbox2 | 6 | # This script is based on mozilla-unix.pl which comes with tinderbox2 |
@@ -34,7 +34,7 @@ my $ReportStatus = 0; # Do not send results to server | |||
34 | my $Tinderbox_server = '-p 1022 -o StrictHostKeyChecking=no tinderbox2@tinderbox.opsera.com'; | 34 | my $Tinderbox_server = '-p 1022 -o StrictHostKeyChecking=no tinderbox2@tinderbox.opsera.com'; |
35 | 35 | ||
36 | # These shouldn't really need to be changed | 36 | # These shouldn't really need to be changed |
37 | my $BuildTree = 'nagiosplug'; | 37 | my $BuildTree = 'monitoringplug'; |
38 | my $BuildName = ''; | 38 | my $BuildName = ''; |
39 | my $ConfigureArgs = $ENV{CONFIGURE_ARGS}; | 39 | my $ConfigureArgs = $ENV{CONFIGURE_ARGS}; |
40 | 40 | ||
@@ -81,7 +81,7 @@ sub BuildIt { | |||
81 | chdir("$StartDir"); | 81 | chdir("$StartDir"); |
82 | 82 | ||
83 | my $StartTime = time; | 83 | my $StartTime = time; |
84 | if (-e (my $file = "nagios-plugins.spec")) { | 84 | if (-e (my $file = "monitoring-plugins.spec")) { |
85 | open F, $file; | 85 | open F, $file; |
86 | while (<F>) { | 86 | while (<F>) { |
87 | if (/^Version: trunk-(\d\d\d\d)(\d\d)(\d\d)(\d\d)(\d\d)$/) { | 87 | if (/^Version: trunk-(\d\d\d\d)(\d\d)(\d\d)(\d\d)(\d\d)$/) { |