summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore5
-rw-r--r--.travis.yml52
-rw-r--r--ACKNOWLEDGEMENTS4
-rw-r--r--AUTHORS3
-rw-r--r--CODING4
-rw-r--r--FAQ20
-rw-r--r--Makefile.am4
-rw-r--r--NEWS52
-rwxr-xr-xNP-VERSION-GEN2
-rw-r--r--NPTest.pm85
-rw-r--r--README58
-rw-r--r--REQUIREMENTS14
-rw-r--r--SUPPORT35
-rw-r--r--THANKS.in17
-rw-r--r--configure.ac (renamed from configure.in)119
-rw-r--r--doc/LEAVERS9
-rw-r--r--doc/NEW_STARTERS15
-rw-r--r--doc/RELEASING15
-rw-r--r--doc/developer-guidelines.sgml59
-rw-r--r--gl/Makefile.am50
-rw-r--r--gl/idpriv-droptemp.c204
-rw-r--r--gl/idpriv.h116
-rw-r--r--gl/m4/gnulib-cache.m44
-rw-r--r--gl/m4/gnulib-comp.m426
-rw-r--r--gl/m4/idpriv.m414
-rw-r--r--gl/m4/strcase.m445
-rw-r--r--gl/m4/strings_h.m452
-rw-r--r--gl/strcasecmp.c62
-rw-r--r--gl/strings.in.h122
-rw-r--r--gl/strncasecmp.c62
-rw-r--r--lib/Makefile.am11
-rw-r--r--lib/extra_opts.c4
-rw-r--r--lib/extra_opts.h2
-rw-r--r--lib/parse_ini.c497
-rw-r--r--lib/parse_ini.h44
-rw-r--r--lib/tests/Makefile.am7
-rwxr-xr-xlib/tests/test_base64.t2
-rw-r--r--lib/tests/test_cmd.t2
-rwxr-xr-xlib/tests/test_disk.t2
-rwxr-xr-xlib/tests/test_ini1.t2
-rwxr-xr-xlib/tests/test_ini3.t2
-rwxr-xr-xlib/tests/test_opts1.t2
-rwxr-xr-xlib/tests/test_opts2.t2
-rwxr-xr-xlib/tests/test_opts3.t2
-rwxr-xr-xlib/tests/test_tcp.t2
-rw-r--r--lib/tests/test_utils.c128
-rwxr-xr-xlib/tests/test_utils.t2
-rw-r--r--lib/utils_base.c136
-rw-r--r--lib/utils_base.h15
-rw-r--r--lib/utils_cmd.c7
-rw-r--r--lib/utils_cmd.h2
-rw-r--r--lib/utils_disk.c2
-rw-r--r--lib/utils_tcp.c2
-rw-r--r--m4/np_mysqlclient.m44
-rw-r--r--monitoring-plugins.spec.in (renamed from nagios-plugins.spec.in)28
-rw-r--r--perlmods/Monitoring-Plugin-0.37.tar.gzbin0 -> 62278 bytes
-rw-r--r--perlmods/Nagios-Plugin-0.36.tar.gzbin45008 -> 0 bytes
-rw-r--r--perlmods/install_order2
-rw-r--r--pkg/solaris/pkginfo.in8
-rw-r--r--plugins-root/Makefile.am4
-rw-r--r--plugins-root/check_dhcp.c8
-rw-r--r--plugins-root/check_icmp.c8
-rw-r--r--plugins-root/pst3.c2
-rw-r--r--plugins-scripts/Makefile.am11
-rwxr-xr-xplugins-scripts/check_breeze.pl7
-rwxr-xr-xplugins-scripts/check_disk_smb.pl13
-rwxr-xr-xplugins-scripts/check_file_age.pl31
-rwxr-xr-xplugins-scripts/check_flexlm.pl11
-rwxr-xr-xplugins-scripts/check_ifoperstatus.pl22
-rwxr-xr-xplugins-scripts/check_ifstatus.pl20
-rwxr-xr-xplugins-scripts/check_ircd.pl17
-rwxr-xr-xplugins-scripts/check_log.sh58
-rwxr-xr-xplugins-scripts/check_mailq.pl109
-rwxr-xr-xplugins-scripts/check_mssql.pl15
-rwxr-xr-xplugins-scripts/check_netdns.pl9
-rwxr-xr-xplugins-scripts/check_ntp.pl4
-rwxr-xr-xplugins-scripts/check_oracle.sh5
-rwxr-xr-xplugins-scripts/check_rpc.pl13
-rwxr-xr-xplugins-scripts/check_sensors.sh6
-rwxr-xr-xplugins-scripts/check_wave.pl7
-rw-r--r--plugins-scripts/subst.in78
-rw-r--r--plugins-scripts/t/check_file_age.t7
-rw-r--r--plugins-scripts/utils.pm.in4
-rw-r--r--plugins-scripts/utils.sh.in10
-rw-r--r--plugins/Makefile.am20
-rw-r--r--plugins/check_apt.c13
-rw-r--r--plugins/check_by_ssh.c18
-rw-r--r--plugins/check_cluster.c8
-rw-r--r--plugins/check_dbi.c14
-rw-r--r--plugins/check_dig.c18
-rw-r--r--plugins/check_disk.c31
-rw-r--r--plugins/check_dns.c26
-rw-r--r--plugins/check_dummy.c6
-rw-r--r--plugins/check_fping.c6
-rw-r--r--plugins/check_game.c8
-rw-r--r--plugins/check_hpjd.c6
-rw-r--r--plugins/check_http.c30
-rw-r--r--plugins/check_ide_smart.c121
-rw-r--r--plugins/check_ldap.c8
-rw-r--r--plugins/check_load.c6
-rw-r--r--plugins/check_mrtg.c8
-rw-r--r--plugins/check_mrtgtraf.c6
-rw-r--r--plugins/check_mysql.c12
-rw-r--r--plugins/check_mysql_query.c40
-rw-r--r--plugins/check_nagios.c6
-rw-r--r--plugins/check_nt.c14
-rw-r--r--plugins/check_ntp.c25
-rw-r--r--plugins/check_ntp_peer.c8
-rw-r--r--plugins/check_ntp_time.c12
-rw-r--r--plugins/check_nwstat.c8
-rw-r--r--plugins/check_overcr.c8
-rw-r--r--plugins/check_pgsql.c12
-rw-r--r--plugins/check_ping.c21
-rw-r--r--plugins/check_procs.c16
-rw-r--r--plugins/check_radius.c61
-rw-r--r--plugins/check_real.c9
-rw-r--r--plugins/check_smtp.c8
-rw-r--r--plugins/check_snmp.c20
-rw-r--r--plugins/check_ssh.c8
-rw-r--r--plugins/check_swap.c32
-rw-r--r--plugins/check_tcp.c11
-rw-r--r--plugins/check_time.c8
-rw-r--r--plugins/check_ups.c16
-rw-r--r--plugins/check_users.c50
-rw-r--r--plugins/common.h4
-rw-r--r--plugins/negate.c48
-rw-r--r--plugins/netutils.c4
-rw-r--r--plugins/netutils.h4
-rw-r--r--plugins/popen.c4
-rw-r--r--plugins/runcmd.c6
-rw-r--r--plugins/runcmd.h2
-rw-r--r--plugins/sslutils.c6
-rw-r--r--plugins/t/NPTest.cache.travis54
-rw-r--r--plugins/t/check_disk.t4
-rw-r--r--plugins/t/check_dns.t5
-rw-r--r--plugins/t/check_fping.t14
-rw-r--r--plugins/t/check_http.t24
-rw-r--r--plugins/t/check_mysql.t32
-rw-r--r--plugins/t/check_ntp.t10
-rw-r--r--plugins/t/check_procs.t7
-rw-r--r--plugins/t/check_snmp.t13
-rw-r--r--plugins/t/check_tcp.t18
-rw-r--r--plugins/t/check_udp.t2
-rw-r--r--plugins/t/negate.t2
-rwxr-xr-xplugins/tests/check_http.t29
-rwxr-xr-x[-rw-r--r--]plugins/tests/check_procs.t85
-rwxr-xr-xplugins/tests/check_snmp.t36
-rw-r--r--plugins/tests/check_snmp_agent.pl14
-rw-r--r--plugins/tests/var/ps_axwo.debian4
-rw-r--r--plugins/urlize.c15
-rw-r--r--plugins/utils.c2
-rw-r--r--plugins/utils.h28
-rw-r--r--po/Makevars4
-rw-r--r--po/de.po2267
-rw-r--r--po/fr.po2335
-rw-r--r--po/monitoring-plugins.pot (renamed from po/nagios-plugins.pot)2116
-rwxr-xr-xtest.pl.in13
-rw-r--r--tools/README4
-rwxr-xr-xtools/distclean2
-rwxr-xr-xtools/generate-change-log4
-rwxr-xr-xtools/git-notify2
-rwxr-xr-xtools/git-post-receive-hook6
-rwxr-xr-xtools/tango4
-rwxr-xr-xtools/tinderbox_build6
164 files changed, 6486 insertions, 4238 deletions
diff --git a/.gitignore b/.gitignore
index ebd46e1f..8ea2d8e5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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 00000000..02fa084e
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,52 @@
1language: c
2
3before_install:
4 - sudo apt-get update -qq
5 - sudo apt-get purge -qq gawk
6
7install:
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
13before_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
25script:
26 - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then make test; fi
27
28notifications:
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
38env:
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
44addons:
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 7b8dbe22..50c714c3 100644
--- a/ACKNOWLEDGEMENTS
+++ b/ACKNOWLEDGEMENTS
@@ -1,6 +1,6 @@
1This file contains the origin of code copied verbatim into some or all of the Nagios plugins. 1This file contains the origin of code copied verbatim into some or all of the Monitoring Plugins.
2 2
3The NagiosPlugin team thanks the original authors. 3The Monitoring Plugins team thanks the original authors.
4 4
5Copied code is cited in the source by indented comments of the form 5Copied code is cited in the source by indented comments of the form
6 6
diff --git a/AUTHORS b/AUTHORS
index c761c389..0c667f60 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,4 +1,4 @@
1The Nagios Plugins are brought to you by the Nagios Plugins Development Team. 1The Monitoring Plugins are brought to you by the Monitoring Plugins Development Team.
2 2
3Jeremy T. Bouse 3Jeremy T. Bouse
4Peter Bray 4Peter Bray
@@ -11,6 +11,7 @@ Subhendu Ghosh
11Thomas Guyot-Sionnest 11Thomas Guyot-Sionnest
12Stanley Hopcroft 12Stanley Hopcroft
13Matthew Kent 13Matthew Kent
14Sam Kottler
14Harper Mann 15Harper Mann
15Benoit Mortier 16Benoit Mortier
16Sven Nierlein 17Sven Nierlein
diff --git a/CODING b/CODING
index 15810655..74438e7c 100644
--- a/CODING
+++ b/CODING
@@ -12,8 +12,8 @@ Foundation Coding standards (which are currently available at
12http://www.gnu.org/prep/standards_toc.html). We also follow most of 12http://www.gnu.org/prep/standards_toc.html). We also follow most of
13the FSF guidelines. Developers may suggest deviations from the FSF 13the FSF guidelines. Developers may suggest deviations from the FSF
14style recommendations, which will be considered by open discussion on 14style recommendations, which will be considered by open discussion on
15the nagiosplug-devel mailing list. Any such deviations will apply to 15the Monitoring Plugins devel mailing list. Any such deviations will
16the entire code base to ensure consistency. 16apply to the entire code base to ensure consistency.
17 17
18Currently, the exceptions to FSF recommendations are roughly equivalent 18Currently, the exceptions to FSF recommendations are roughly equivalent
19to GNU indent with invoked as 'indent -ts 2 -br'. Specifically, the 19to GNU indent with invoked as 'indent -ts 2 -br'. Specifically, the
diff --git a/FAQ b/FAQ
index 5ba948f1..20b837c6 100644
--- a/FAQ
+++ b/FAQ
@@ -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
26Q: What information do I need to include when asking for help or 24Q: 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
34Q: I'm using Redhat Linux (or some other RPM-based distribution). 32Q: 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
37A: The package nagios-plugins-<version>.<arch>.rpm contains only 35A: 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
62A: Beginning with the 1.2.9-1 release, you may run 60A: 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
70Q: I get an error like 68Q: I get an error like
@@ -86,8 +84,8 @@ A: Commonly, system administrators will make security as tight as
86 84
87Q: I have a plugin to offer. What can I do? 85Q: I have a plugin to offer. What can I do?
88 86
89A: You can make it available on NagiosExchange (http://nagiosexchange.org) 87A: 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 98542b94..517068ce 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5,7 +5,7 @@ SUBDIRS = gl tap lib plugins plugins-scripts plugins-root po @PERLMODS_DIR@
5EXTRA_DIST = config.rpath \ 5EXTRA_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
53THANKS: THANKS.in 53THANKS: 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 "" >> $@
diff --git a/NEWS b/NEWS
index 6c017764..575cbdad 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,51 @@
1This file documents the major additions and syntax changes between releases. 1This file documents the major additions and syntax changes between releases.
2 2
3... 32.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
481.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
501.4.16 27th June 2012 961.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 c50c26bd..ae507e4a 100755
--- a/NP-VERSION-GEN
+++ b/NP-VERSION-GEN
@@ -6,7 +6,7 @@
6SRC_ROOT=`dirname $0` 6SRC_ROOT=`dirname $0`
7 7
8NPVF=NP-VERSION-FILE 8NPVF=NP-VERSION-FILE
9DEF_VER=1.4.16.git 9DEF_VER=1.5.git
10 10
11LF=' 11LF='
12' 12'
diff --git a/NPTest.pm b/NPTest.pm
index 9b856171..f72ed2df 100644
--- a/NPTest.pm
+++ b/NPTest.pm
@@ -1,12 +1,12 @@
1package NPTest; 1package NPTest;
2 2
3# 3#
4# Helper Functions for testing Nagios Plugins 4# Helper Functions for testing Monitoring Plugins
5# 5#
6 6
7require Exporter; 7require 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
12use strict; 12use strict;
@@ -25,21 +25,21 @@ $VERSION = "1556."; # must be all one line, for MakeMaker
25 25
26=head1 NAME 26=head1 NAME
27 27
28NPTest - Simplify the testing of Nagios Plugins 28NPTest - Simplify the testing of Monitoring Plugins
29 29
30=head1 DESCRIPTION 30=head1 DESCRIPTION
31 31
32This modules provides convenience functions to assist in the testing 32This modules provides convenience functions to assist in the testing
33of Nagios Plugins, making the testing code easier to read and write; 33of Monitoring Plugins, making the testing code easier to read and write;
34hopefully encouraging the development of a more complete test suite for 34hopefully encouraging the development of a more complete test suite for
35the Nagios Plugins. It is based on the patterns of testing seen in the 35the Monitoring Plugins. It is based on the patterns of testing seen in the
361.4.0 release, and continues to use the L<Test> module as the basis of 361.4.0 release, and continues to use the L<Test> module as the basis of
37testing. 37testing.
38 38
39=head1 FUNCTIONS 39=head1 FUNCTIONS
40 40
41This module defines three public functions, C<getTestParameter(...)>, 41This module defines four public functions, C<getTestParameter(...)>,
42C<checkCmd(...)> and C<skipMissingCmd(...)>. These are exported by 42C<checkCmd(...)>, C<skipMissingCmd(...)> and C<skipMsg(...)>. These are exported by
43default via the C<use NPTest;> statement. 43default 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.
92This function is obsolete. Use C<testCmd()> instead. 92This function is obsolete. Use C<testCmd()> instead.
93 93
94This function attempts to encompass the majority of test styles used 94This function attempts to encompass the majority of test styles used
95in testing Nagios Plugins. As each plug-in is a separate command, the 95in testing Monitoring Plugins. As each plug-in is a separate command, the
96typical tests we wish to perform are against the exit status of the 96typical tests we wish to perform are against the exit status of the
97command and the output (if any) it generated. Simplifying these tests 97command and the output (if any) it generated. Simplifying these tests
98into a single function call, makes the test harness easier to read and 98into 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
132when counting the number of tests to place in the C<Test::plan(...)> 132when counting the number of tests to place in the C<Test::plan(...)>
133call. 133call.
134 134
135Many Nagios Plugins test network services, some of which may not be 135Many Monitoring Plugins test network services, some of which may not be
136present on all systems. To cater for this, C<checkCmd(...)> allows the 136present on all systems. To cater for this, C<checkCmd(...)> allows the
137tester to define exceptions based on the command's exit status. These 137tester to define exceptions based on the command's exit status. These
138exceptions are provided to skip tests if the test case developer 138exceptions 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
190If for any reason the test harness must C<Test::skip()> some
191or all of the tests in a given test harness this function provides a
192simple iterator to issue an appropriate message the requested number
193of times.
194
195=back
196
188=head1 SEE ALSO 197=head1 SEE ALSO
189 198
190L<Test> 199L<Test>
@@ -199,7 +208,7 @@ Copyright (c) 2005 Peter Bray. All rights reserved.
199 208
200This package is free software and is provided "as is" without express 209This package is free software and is provided "as is" without express
201or implied warranty. It may be used, redistributed and/or modified 210or implied warranty. It may be used, redistributed and/or modified
202under the same terms as the Nagios Plugins release. 211under 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
316sub 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
307sub getTestParameter 330sub 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
495sub DetermineTestHarnessDirectory 518sub 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
541sub TestsFrom 573sub TestsFrom
@@ -618,12 +650,13 @@ sub only_output {
618} 650}
619 651
620sub testCmd { 652sub 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);
diff --git a/README b/README
index 6fd50d60..beb77690 100644
--- a/README
+++ b/README
@@ -1,9 +1,9 @@
1Nagios Plugins 1Monitoring 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
22You can check for the latest plugins at: 22You can check for the latest plugins at:
23 23
24* <https://sourceforge.net/projects/nagiosplug/> 24* <https://www.monitoring-plugins.org/>
25 25
26Send an email to <nagiosplug-help@lists.sourceforge.net> for assistance. 26Send an email to <help@monitoring-plugins.org> for assistance. Please
27Please include the OS type and version that you are using. Also, run the 27include the OS type and version that you are using. Also, run the plugin
28plugin with the `-vvv` option and provide the resulting version information. 28with the `-vvv` option and provide the resulting version information. Of
29Of course, there may be additional diagnostic information required as well. 29course, there may be additional diagnostic information required as well.
30Use good judgment. 30Use good judgment.
31 31
32Send an email to <nagiosplug-devel@lists.sourceforge.net> for developer 32Send an email to <devel@monitoring-plugins.org> for developer discussions.
33discussions.
34 33
35For patch submissions and bug reports, please use the appropriate resources 34For patch submissions and bug reports, please use the appropriate resources
36at <https://github.com/nagios-plugins/nagios-plugins>. 35at:
36
37* <https://github.com/monitoring-plugins>
37 38
38 39
39Installation Instructions 40Installation 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
502. Run the configure script to initialize variables and create a Makefile, 512. 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
603. Compile the plugins with the following command: 613. 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
79That's it! If you have any problems or questions, feel free to send an 80That's it! If you have any problems or questions, feel free to send an
80email to <nagiosplug-help@lists.sourceforge.net>. 81email to <help@monitoring-plugins.org>.
82
81 83
84License Notice
85--------------
82 86
83License Stuff 87You can redistribute and/or modify this software under the terms of the GNU
84------------- 88General Public License as published by the Free Software Foundation; either
89version 3 of the License, or (at your option) any later version; with the
90additional exemption that compiling, linking, and/or using OpenSSL is
91allowed.
85 92
86This software is released under the GNU General Public License, Version 3, 93This software is distributed in the hope that it will be useful, but WITHOUT
87with the additional exemption that compiling, linking and/or using OpenSSL 94ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
88is allowed. 95FITNESS FOR A PARTICULAR PURPOSE.
89 96
90See the `COPYING` file for the complete GPLv3 text. 97See the `COPYING` file for the complete text of the GNU General Public
98License, version 3.
diff --git a/REQUIREMENTS b/REQUIREMENTS
index 1f673e98..303fd62b 100644
--- a/REQUIREMENTS
+++ b/REQUIREMENTS
@@ -1,4 +1,4 @@
1Nagios Plugin Requirements 1Monitoring Plugins Requirements
2-------------------------- 2--------------------------
3 3
4Some plugins require that you have additional programs and/or 4Some 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
52check_radius: 52check_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
62check_snmp: 64check_snmp:
63 - Requires the NET-SNMP package available from 65 - Requires the NET-SNMP package available from
diff --git a/SUPPORT b/SUPPORT
index 5d852074..d2a2b7de 100644
--- a/SUPPORT
+++ b/SUPPORT
@@ -1,14 +1,14 @@
1SUPPORT 1SUPPORT
2 2
3Using the mailing lists and tracker databases at SourceForge are the 3Using the mailing lists and issue tracker at GitHub are the
4best ways to obtain direct support for the Nagios Plugins. There may 4best ways to obtain direct support for the Monitoring Plugins. There may
5also be commercial support options available to you -- check 5also be commercial support options available to you -- check
6http://www.nagios.org/ to track the current status of commercial 6http://www.nagios.org/ to track the current status of commercial
7support offerings. 7support offerings.
8 8
9There are two mailing lists associated with Nagios Plugin development: 9There 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
12certain you have found a bug or that you are requesting a new feature, 12certain you have found a bug or that you are requesting a new feature,
13please direct support requests to 'help'. 13please direct support requests to 'help'.
14 14
@@ -18,14 +18,15 @@ their time to fix bug and provide feature requests, it is generally in
18you interest to do a modest amount of legwork before posting to either 18you interest to do a modest amount of legwork before posting to either
19of these lists. 19of these lists.
20 20
21Plugins that are in the contrib directories are provided as-is. We will 21Plugins that are in the contrib directories are provided as-is. We will
22try to help, but sometimes the plugins have dependencies that the nagios-plugin 22try to help, but sometimes the plugins have dependencies that the monitoring-plugin
23developers do not have access to. You may be able to try the authors 23developers do not have access to. You may be able to try the authors
24directly. 24directly.
25 25
26In brief, always provide the version of the software that you are 26In brief, always provide the version of the software that you are
27using, and when requesting features or reporting bugs, first check to 27using, and when requesting features or reporting bugs, first check to
28see that the issue has not already been addressed in the CVS tree. 28see that the issue has not already been addressed in the current Git
29code.
29 30
30GETTING HELP 31GETTING HELP
31 32
@@ -33,7 +34,7 @@ Requests to 'help' require posting the version number of the
33plugin. The best place to include the version information is in the 34plugin. The best place to include the version information is in the
34subject. A good post would have a subject like: 35subject. 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
38If you do not include the version of the plugin, you risk having your 39If you do not include the version of the plugin, you risk having your
39post silently ignored. 40post silently ignored.
@@ -47,19 +48,19 @@ REPORTING BUGS AND SUBMITTING PATCHES
47 48
48Bug reports, investigations of possible bugs, feature requests, and 49Bug reports, investigations of possible bugs, feature requests, and
49patch submissions should be submitted to the development list at 50patch submissions should be submitted to the development list at
50mailto:nagiosplug-devel@lists.sourceforge.net. Please raise a tracker first 51mailto:devel@monitoring-plugins.org. Please raise an issue first
51in Sourceforge, otherwise your email is likely to be missed over time. 52in GitHub, otherwise your email is likely to be missed over time.
52 53
53You should identify the version, preferably in the subject line. 54You should identify the version, preferably in the subject line.
54However, to best use developer resources, it is suggested that you 55However, to best use developer resources, it is suggested that you
55reference your report to one of the following sources: 56reference 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
65production environment - the latter two you clearly should 66production environment - the latter two you clearly should
@@ -69,7 +70,7 @@ which are most recent.)
69 70
70From experience, I know that most bugs can be fixed with only a few 71From experience, I know that most bugs can be fixed with only a few
71more moments work than it takes to determine if the bug is still 72more moments work than it takes to determine if the bug is still
72present in the CVS tree. If you can save a developer the expense of 73present in the Git tree. If you can save a developer the expense of
73that time, you ensure that bugs are fixed more rapidly, and thus you 74that time, you ensure that bugs are fixed more rapidly, and thus you
74ensure your problem resolution is reflected in a stable release more 75ensure your problem resolution is reflected in a stable release more
75quickly. 76quickly.
diff --git a/THANKS.in b/THANKS.in
index c5e6057a..a8eb3e5e 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -301,4 +301,21 @@ Pall Sigurdsson
301Sebastian Schmidt 301Sebastian Schmidt
302Simon Kainz 302Simon Kainz
303Steve Weinreich 303Steve Weinreich
304Geoff Oakham
304Tim Laszlo 305Tim Laszlo
306Stéphane Bortzmeyer
307Luca Corti
308Jethro Carr
309Evgeni Golov
310Oskar Liljeblad
311Andrew Widdersheim
312Anton Lofgren
313Damian Myerscough
314Davide Madrisan
315Gunnar Beutner
316Joseph Gooch
317Lars Vogdt
318Ricardo Maraschini
319Spenser Reinhardt
320Stephane Lapie
321Tilmann Bubeck
diff --git a/configure.in b/configure.ac
index 4479c2d1..87d43fd2 100644
--- a/configure.in
+++ b/configure.ac
@@ -1,19 +1,19 @@
1dnl Process this file with autoconf to produce a configure script. 1dnl Process this file with autoconf to produce a configure script.
2AC_PREREQ(2.59) 2AC_PREREQ(2.59)
3AC_INIT(nagios-plugins,1.4.16) 3AC_INIT(monitoring-plugins,1.5)
4AC_CONFIG_SRCDIR(NPTest.pm) 4AC_CONFIG_SRCDIR(NPTest.pm)
5AC_CONFIG_FILES([gl/Makefile 5AC_CONFIG_FILES([gl/Makefile
6 nagios-plugins.spec]) 6 monitoring-plugins.spec])
7AC_CONFIG_AUX_DIR(build-aux) 7AC_CONFIG_AUX_DIR(build-aux)
8AM_INIT_AUTOMAKE([1.8.3]) 8AM_INIT_AUTOMAKE([1.8.3])
9AM_CONFIG_HEADER(config.h) 9AM_MAINTAINER_MODE([enable])
10AC_CONFIG_HEADERS([config.h])
10AC_CANONICAL_HOST 11AC_CANONICAL_HOST
11 12
13DEFAULT_PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin"
12RELEASE=1 14RELEASE=1
13AC_SUBST(RELEASE) 15AC_SUBST(RELEASE)
14 16
15AC_PREFIX_DEFAULT(/usr/local/nagios)
16
17dnl Deprecated configure options 17dnl Deprecated configure options
18 18
19 19
@@ -58,10 +58,10 @@ AC_SUBST(PLUGIN_TEST)dnl
58SCRIPT_TEST=`echo $srcdir/plugins-scripts/t/*.t|sed -e 's,\.*/plugins-scripts/,,g'` 58SCRIPT_TEST=`echo $srcdir/plugins-scripts/t/*.t|sed -e 's,\.*/plugins-scripts/,,g'`
59AC_SUBST(SCRIPT_TEST)dnl 59AC_SUBST(SCRIPT_TEST)dnl
60 60
61WARRANTY="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" 61WARRANTY="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"
62AC_SUBST(WARRANTY) 62AC_SUBST(WARRANTY)
63 63
64SUPPORT="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" 64SUPPORT="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"
65AC_SUBST(SUPPORT) 65AC_SUBST(SUPPORT)
66 66
67dnl CGIURL has changed for Nagios with 1.0 beta 67dnl CGIURL has changed for Nagios with 1.0 beta
@@ -75,9 +75,9 @@ AC_DEFINE_UNQUOTED(CGIURL,"$CGIURL",[URL of CGI programs])
75 75
76AC_ARG_WITH(trusted_path, 76AC_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)
81AC_SUBST(with_trusted_path) 81AC_SUBST(with_trusted_path)
82 82
83EXTRAS= 83EXTRAS=
@@ -90,6 +90,7 @@ ac_cv_uname_m=`uname -m`
90ac_cv_uname_s=`uname -s` 90ac_cv_uname_s=`uname -s`
91ac_cv_uname_r=`uname -r` 91ac_cv_uname_r=`uname -r`
92ac_cv_uname_v=`uname -v` 92ac_cv_uname_v=`uname -v`
93ac_cv_uname_o=`uname -o`
93 94
94PKG_ARCH=`uname -p` 95PKG_ARCH=`uname -p`
95REV_DATESTAMP=`date '+%Y.%m.%d.%H.%M'` 96REV_DATESTAMP=`date '+%Y.%m.%d.%H.%M'`
@@ -111,10 +112,7 @@ fi
111AC_SUBST(NP_RELEASE) 112AC_SUBST(NP_RELEASE)
112 113
113dnl Checks for programs. 114dnl Checks for programs.
114AC_PATH_PROG(PYTHON,python)
115AC_PATH_PROG(SH,sh)
116AC_PATH_PROG(PERL,perl) 115AC_PATH_PROG(PERL,perl)
117AC_PATH_PROG(LIBGNUTLS_CONFIG,libgnutls-config)
118AC_PATH_PROG(HOSTNAME,hostname) 116AC_PATH_PROG(HOSTNAME,hostname)
119AC_PATH_PROG(BASENAME,basename) 117AC_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])
198AM_CONDITIONAL([USE_PARSE_INI],[test "$enable_extra_opts" = "yes"]) 196AM_CONDITIONAL([USE_PARSE_INI],[test "$enable_extra_opts" = "yes"])
199if test "$enable_extra_opts" = "yes" ; then 197if 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
276dnl Check for radius libraries 274dnl Check for radius libraries
277AS_IF([test "x$with_radius" != "xno"], [ 275AS_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
344esac 349esac
345 350
346if test "$FOUNDINCLUDE" = "yes" ; then 351if test "$FOUNDINCLUDE" = "yes" ; then
347 EXTRAS="$EXTRAS check_ide_smart" 352 EXTRAS="$EXTRAS check_ide_smart\$(EXEEXT)"
348fi 353fi
349 354
350dnl Check for mysql libraries 355dnl 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).])
355else 360else
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
366AC_CHECK_HEADERS(utmpx.h) 371AC_CHECK_HEADERS(utmpx.h)
367AM_CONDITIONAL([HAVE_UTMPX], [test "$ac_cv_header_utmpx_h" = "yes"]) 372AM_CONDITIONAL([HAVE_UTMPX], [test "$ac_cv_header_utmpx_h" = "yes"])
368 373
374AC_CHECK_HEADERS(wtsapi32.h, [], [], [#include <windows.h>])
375AM_CONDITIONAL([HAVE_WTS32API], [test "$ac_cv_header_wtsapi32_h" = "yes"])
376
377if test "$ac_cv_header_wtsapi32_h" = "yes"; then
378 WTSAPI32LIBS="-lwtsapi32"
379 AC_SUBST(WTSAPI32LIBS)
380fi
381
369dnl Fallback to who(1) if the system doesn't provide an utmpx(5) interface 382dnl Fallback to who(1) if the system doesn't provide an utmpx(5) interface
370if test "$ac_cv_header_utmpx_h" = "no" 383if test "$ac_cv_header_utmpx_h" = "no" -a "$ac_cv_header_wtsapi32_h" = "no"
371then 384then
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)
503if test ! "$FOUNDOPENSSL" = "yes" && test ! "$with_gnutls" = "no"; then 516if 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
1028elif [[ "z$ac_cv_uname_o" = "zCygwin" ]]
1029then
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
1017elif [[ "z$ac_cv_uname_s" = "zUnixWare" ]] && \ 1035elif [[ "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 | \
1027then 1045then
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
1033elif $PATH_TO_PING -n -U -c 1 127.0.0.1 2>/dev/null | \ 1051elif $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 1145elif [[ "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])
1128elif test "x$PATH_TO_PING6" != "x"; then 1150elif 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
1302fi 1324fi
1303 1325
1304if test -n "$ac_cv_nslookup_command"; then 1326if 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])
1307fi 1329fi
1308 1330
@@ -1362,7 +1384,7 @@ AC_ARG_WITH(snmpget_command,
1362if test -n "$PATH_TO_SNMPGET" 1384if test -n "$PATH_TO_SNMPGET"
1363then 1385then
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)"
1366else 1388else
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])
1368fi 1390fi
@@ -1394,12 +1416,12 @@ AC_ARG_WITH(qstat_command,
1394if test -x "$PATH_TO_QUAKESTAT" 1416if test -x "$PATH_TO_QUAKESTAT"
1395then 1417then
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
1399elif test -n "$PATH_TO_QSTAT" 1421elif test -n "$PATH_TO_QSTAT"
1400then 1422then
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)"
1403else 1425else
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])
1405fi 1427fi
@@ -1423,7 +1445,7 @@ AC_ARG_WITH(fping6_command,
1423if test -n "$PATH_TO_FPING" 1445if test -n "$PATH_TO_FPING"
1424then 1446then
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,
1438if test -n "$PATH_TO_SSH" 1460if test -n "$PATH_TO_SSH"
1439then 1461then
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)"
1442else 1464else
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])
1444fi 1466fi
@@ -1574,7 +1596,7 @@ AC_CHECK_MEMBERS([struct swapent.se_nblks],,,[
1574 1596
1575if test "$ac_cv_have_decl_swapctl" = "yes"; 1597if test "$ac_cv_have_decl_swapctl" = "yes";
1576then 1598then
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
1630if test "x$ac_cv_have_swap" != "x" 1652if test "x$ac_cv_have_swap" != "x"
1631then 1653then
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)"
1634fi 1656fi
1635if test "x$ac_cv_swap_command" != "x" 1657if test "x$ac_cv_swap_command" != "x"
1636then 1658then
@@ -1662,7 +1684,7 @@ fi
1662if test -n "$ac_cv_proc_meminfo"; then 1684if 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)"
1666fi 1688fi
1667 1689
1668AC_PATH_PROG(PATH_TO_DIG,dig) 1690AC_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)
1672if test -n "$PATH_TO_DIG"; then 1694if 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])
1675fi 1697fi
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)
1683AC_DEFINE_UNQUOTED(PATH_TO_APTGET,"$PATH_TO_APTGET",[Path to apt-get command, if present]) 1705AC_DEFINE_UNQUOTED(PATH_TO_APTGET,"$PATH_TO_APTGET",[Path to apt-get command, if present])
1684if test -n "$PATH_TO_APTGET" ; then 1706if test -n "$PATH_TO_APTGET" ; then
1685 EXTRAS="$EXTRAS check_apt" 1707 EXTRAS="$EXTRAS check_apt\$(EXEEXT)"
1686fi 1708fi
1687 1709
1688 1710
1689if test -f $srcdir/plugins/check_nt.c ; then 1711if test -f $srcdir/plugins/check_nt.c ; then
1690 EXTRAS="$EXTRAS check_nt" 1712 EXTRAS="$EXTRAS check_nt\$(EXEEXT)"
1691fi 1713fi
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])
1732if test "$ac_cv_enable_redhat_pthread_workaround" = "test" ; then 1754if 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
1748dnl Perl modules 1770dnl Perl modules
1749AC_ARG_ENABLE(perl-modules, 1771AC_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])
1754if test "$enable_perl_modules" = "yes" ; then 1776if 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 13382c9b..a52a6008 100644
--- a/doc/LEAVERS
+++ b/doc/LEAVERS
@@ -3,13 +3,12 @@ LEAVERS
3These are the steps for someone leaving the team. 3These are the steps for someone leaving the team.
4 4
5Leaver has to: 5Leaver has to:
6 - Update all current tracker items 6 - Update all current issues on GitHub
7 7
8Administration tasks: 8Administration 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 6247c82b..2c5aac88 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
5Need to know: 5Need 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
111. Add member to nagiosplug-team mailing list (https://lists.sourceforge.net/lists/admin/nagiosplug-team) 111. 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)
142. Add Sourceforge access: 142. 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)
213. Add to CVS avail file: 213. 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
244. Add Git access on repos.or.cz 234. Add Git access on repos.or.cz
255. Send email to nagiosplug-team introducing new member 245. Send email to team introducing new member
diff --git a/doc/RELEASING b/doc/RELEASING
index 34bed939..1eaec9de 100644
--- a/doc/RELEASING
+++ b/doc/RELEASING
@@ -1,8 +1,5 @@
1NOTES ON RELEASING NEW VERSION OF NAGIOSPLUG 1NOTES ON RELEASING NEW VERSION OF NAGIOSPLUG
2 2
3NB: A copy of this document is located at:
4 http://nagiosplugins.org/node/96
5
6*** Pre-release 3*** Pre-release
7git pull 4git pull
8. tools/devmode, if feeling adventurous 5. tools/devmode, if feeling adventurous
@@ -24,15 +21,15 @@ git push origin master
24git push origin release-1.4.14 21git push origin release-1.4.14
25 22
26*** Checkout new version 23*** Checkout new version
27rm -fr /tmp/nagioslug 24rm -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:
30git checkout tags/release-1.4.14 27git checkout tags/release-1.4.14
31# Beware: the trailing slash of --prefix is REQUIRED 28# Beware: the trailing slash of --prefix is REQUIRED
32git checkout-index --prefix=/tmp/nagioslug/ -a 29git checkout-index --prefix=/tmp/monitoringlug/ -a
33 30
34*** Build the tarball 31*** Build the tarball
35cd /tmp/nagioslug 32cd /tmp/monitoringlug
36tools/setup 33tools/setup
37./configure 34./configure
38make dist 35make dist
@@ -43,7 +40,7 @@ SF username and password
43cd /uploads 40cd /uploads
44put file 41put file
45 42
46SF -> Submit News about release. Make sure it is called "Nagios Plugins" (with those caps) 43SF -> Submit News about release. Make sure it is called "Monitoring Plugins" (with those caps)
47Link to download at http://sourceforge.net/project/showfiles.php?group_id=29880 44Link to download at http://sourceforge.net/project/showfiles.php?group_id=29880
48Include contents of NEWS for this release 45Include contents of NEWS for this release
49List all people on team involved. 46List all people on team involved.
@@ -60,5 +57,5 @@ Step 3: *.tar.gz, Platform Independent, Source .gz
60Step 4: Send notice 57Step 4: Send notice
61 58
62*** Announce new release 59*** Announce new release
63Send email to nagiosplug-help, nagios-announce with the news text 60Send email to help, announce with the news text
64Add a news item to http://nagiosplugins.org 61Add a news item to https://monitoring-plugins.org
diff --git a/doc/developer-guidelines.sgml b/doc/developer-guidelines.sgml
index 61b9f178..d9340285 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
678all the current tests and report an overall success rate. 678all the current tests and report an overall success rate.
679</para> 679</para>
680 680
681<para>
682See the <ulink url="http://tinderbox.opsera.com">Nagios Plugins Tinderbox server</ulink>
683for 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>
701For a good and amusing tutorial on using Test::More, see this 696For 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">
703link</ulink> 698link</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>
723When you run Nagios Plugins' configure, it will look for the tap library and will automatically 718When you run Monitoring Plugins' configure, it will look for the tap library and will automatically
724setup the tests. Run "make test" to run all the tests. 719setup 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
757update 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&amp;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 c2e8e5a6..54abb4c7 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
26AUTOMAKE_OPTIONS = 1.9.6 gnits subdir-objects 26AUTOMAKE_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
407libgnu_a_SOURCES += idpriv-droptemp.c
408
409EXTRA_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
1550EXTRA_DIST += strcasecmp.c strncasecmp.c
1551
1552EXTRA_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
1683BUILT_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.
1687strings.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 $@
1706MOSTLYCLEANFILES += strings.h strings.h-t
1707
1708EXTRA_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 00000000..13d1064e
--- /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
28static int saved_uid = -1;
29#endif
30#if HAVE_GETGID
31static int saved_gid = -1;
32#endif
33
34int
35idpriv_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
121int
122idpriv_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 00000000..f454a2cc
--- /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
21extern "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. */
93extern 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. */
102extern 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. */
108extern 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 2ed35096..d6fca2a3 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:
33gl_LOCAL_DIR([]) 33gl_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 f23f7698..67a81566 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.
34AC_DEFUN([gl_EARLY], 34AC_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".
156AC_DEFUN([gl_INIT], 159AC_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 00000000..167f5238
--- /dev/null
+++ b/gl/m4/idpriv.m4
@@ -0,0 +1,14 @@
1# idpriv.m4 serial 1
2dnl Copyright (C) 2009-2013 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved.
6
7AC_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 00000000..22bf57c9
--- /dev/null
+++ b/gl/m4/strcase.m4
@@ -0,0 +1,45 @@
1# strcase.m4 serial 11
2dnl Copyright (C) 2002, 2005-2013 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved.
6
7AC_DEFUN([gl_STRCASE],
8[
9 gl_FUNC_STRCASECMP
10 gl_FUNC_STRNCASECMP
11])
12
13AC_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
22AC_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.
38AC_DEFUN([gl_PREREQ_STRCASECMP], [
39 :
40])
41
42# Prerequisites of lib/strncasecmp.c.
43AC_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 00000000..76ef2424
--- /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
9AC_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
16AC_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
38AC_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
45AC_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 00000000..0f0a742f
--- /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
32int
33strcasecmp (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 00000000..4469f86c
--- /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
52extern "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@
75extern 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@
98extern 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 00000000..35840bc0
--- /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
32int
33strncasecmp (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 99fa591a..01d73a64 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -2,19 +2,18 @@
2 2
3SUBDIRS = . tests 3SUBDIRS = . tests
4 4
5noinst_LIBRARIES = libnagiosplug.a 5noinst_LIBRARIES = libmonitoringplug.a
6 6
7AM_CPPFLAGS = -DNP_STATE_DIR_PREFIX=\"$(localstatedir)\" 7AM_CPPFLAGS = -DNP_STATE_DIR_PREFIX=\"$(localstatedir)\" \
8 -I$(srcdir) -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins
8 9
9libnagiosplug_a_SOURCES = utils_base.c utils_disk.c utils_tcp.c utils_cmd.c 10libmonitoringplug_a_SOURCES = utils_base.c utils_disk.c utils_tcp.c utils_cmd.c
10EXTRA_DIST = utils_base.h utils_disk.h utils_tcp.h utils_cmd.h parse_ini.h extra_opts.h 11EXTRA_DIST = utils_base.h utils_disk.h utils_tcp.h utils_cmd.h parse_ini.h extra_opts.h
11 12
12if USE_PARSE_INI 13if USE_PARSE_INI
13libnagiosplug_a_SOURCES += parse_ini.c extra_opts.c 14libmonitoringplug_a_SOURCES += parse_ini.c extra_opts.c
14endif USE_PARSE_INI 15endif USE_PARSE_INI
15 16
16INCLUDES = -I$(srcdir) -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins
17
18test test-debug: 17test 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 2939c7a1..f4d5e66a 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 4bb7b73b..8ff14a16 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 004396fe..25abc89b 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
42static char *default_ini_file_names[] = {
43 "monitoring-plugins.ini",
44 "plugins.ini",
45 "nagios-plugins.ini",
46 NULL
47};
48
49static 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 */
47static int read_defaults(FILE *f, const char *stanza, np_arg_list **opts); 69static 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 */
49static int add_option(FILE *f, np_arg_list **optlst); 72static int add_option(FILE *f, np_arg_list **optlst);
50/* internal function to find default file */
51static char* default_file(void);
52/* internal function to stat() files */
53static 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 */
75static char *default_file(void);
76static 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 */
59static void parse_locator(const char *locator, const char *def_stanza, np_ini_info *i){ 83static void
60 size_t locator_len=0, stanza_len=0; 84parse_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/*
91np_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; 116np_arg_list *
117np_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 */
121static int read_defaults(FILE *f, const char *stanza, np_arg_list **opts){ 157static int
122 int c, status=FALSE; 158read_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 */
194static int add_option(FILE *f, np_arg_list **optlst){ 238static int
195 np_arg_list *opttmp=*optlst, *optnew; 239add_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
298static char* default_file(void){ 357static char *
299 struct stat sb; 358default_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 371static char *
350 * existence. Returns 1 if found, 0 if not and -1 if test wasn't performed. 372default_file_in_path(void)
351 */ 373{
352static 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 e0ba8164..e37601b5 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 */
59np_arg_list* np_get_defaults(const char *locator, const char *default_section); 19np_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 1af5891a..a8d7adee 100644
--- a/lib/tests/Makefile.am
+++ b/lib/tests/Makefile.am
@@ -5,9 +5,8 @@ noinst_PROGRAMS = @EXTRA_TEST@
5TESTS = @EXTRA_TEST@ 5TESTS = @EXTRA_TEST@
6check_PROGRAMS = @EXTRA_TEST@ 6check_PROGRAMS = @EXTRA_TEST@
7 7
8AM_CPPFLAGS = -DNP_STATE_DIR_PREFIX=\"$(localstatedir)\" 8AM_CPPFLAGS = -DNP_STATE_DIR_PREFIX=\"$(localstatedir)\" \
9 9 -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins
10INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins
11 10
12EXTRA_PROGRAMS = test_utils test_disk test_tcp test_cmd test_base64 test_ini1 test_ini3 test_opts1 test_opts2 test_opts3 11EXTRA_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
29AM_CFLAGS = -g -I$(top_srcdir)/lib -I$(top_srcdir)/gl $(tap_cflags) 28AM_CFLAGS = -g -I$(top_srcdir)/lib -I$(top_srcdir)/gl $(tap_cflags)
30AM_LDFLAGS = $(tap_ldflags) -ltap 29AM_LDFLAGS = $(tap_ldflags) -ltap
31LDADD = $(top_srcdir)/lib/libnagiosplug.a $(top_srcdir)/gl/libgnu.a 30LDADD = $(top_srcdir)/lib/libmonitoringplug.a $(top_srcdir)/gl/libgnu.a
32 31
33SOURCES = 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 32SOURCES = 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 4b9236f0..4ad64737 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
2use Test::More; 2use Test::More;
3if (! -e "./test_base64") { 3if (! -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}
6exec "./test_base64"; 6exec "./test_base64";
diff --git a/lib/tests/test_cmd.t b/lib/tests/test_cmd.t
index 4dd54ef9..c50dded8 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
2use Test::More; 2use Test::More;
3if (! -e "./test_cmd") { 3if (! -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}
6exec "./test_cmd"; 6exec "./test_cmd";
diff --git a/lib/tests/test_disk.t b/lib/tests/test_disk.t
index d32567a9..da84dfdf 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
2use Test::More; 2use Test::More;
3if (! -e "./test_disk") { 3if (! -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}
6exec "./test_disk"; 6exec "./test_disk";
diff --git a/lib/tests/test_ini1.t b/lib/tests/test_ini1.t
index d4810116..25baed91 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
2use Test::More; 2use Test::More;
3if (! -e "./test_ini1") { 3if (! -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}
6exec "./test_ini1"; 6exec "./test_ini1";
diff --git a/lib/tests/test_ini3.t b/lib/tests/test_ini3.t
index 4b0be4c6..a2ca94a4 100755
--- a/lib/tests/test_ini3.t
+++ b/lib/tests/test_ini3.t
@@ -4,7 +4,7 @@ use strict;
4use warnings; 4use warnings;
5 5
6if (! -e "./test_ini3") { 6if (! -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 52eed942..1934f12b 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
2use Test::More; 2use Test::More;
3if (! -e "./test_opts1") { 3if (! -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}
6exec "./test_opts1"; 6exec "./test_opts1";
diff --git a/lib/tests/test_opts2.t b/lib/tests/test_opts2.t
index f7444f6f..59b9fdb8 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
2use Test::More; 2use Test::More;
3if (! -e "./test_opts2") { 3if (! -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"} = ".";
7exec "./test_opts2"; 7exec "./test_opts2";
diff --git a/lib/tests/test_opts3.t b/lib/tests/test_opts3.t
index fa7876d0..8d974ca0 100755
--- a/lib/tests/test_opts3.t
+++ b/lib/tests/test_opts3.t
@@ -4,7 +4,7 @@ use strict;
4use warnings; 4use warnings;
5 5
6if (! -e "./test_opts3") { 6if (! -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 8f34b67b..e5e12fc8 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
2use Test::More; 2use Test::More;
3if (! -e "./test_tcp") { 3if (! -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}
6exec "./test_tcp"; 6exec "./test_tcp";
diff --git a/lib/tests/test_utils.c b/lib/tests/test_utils.c
index 79e1110a..f35b7e27 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 @@
29int 30int
30main (int argc, char **argv) 31main (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 152eb718..e2a9311e 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
2use Test::More; 2use Test::More;
3if (! -e "./test_utils") { 3if (! -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}
6exec "./test_utils"; 6exec "./test_utils";
diff --git a/lib/utils_base.c b/lib/utils_base.c
index 54463e92..55d35fdd 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
36nagios_plugin *this_nagios_plugin=NULL; 38monitoring_plugin *this_monitoring_plugin=NULL;
37 39
38int _np_state_read_file(FILE *); 40int _np_state_read_file(FILE *);
39 41
40void np_init( char *plugin_name, int argc, char **argv ) { 42void 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
55void np_set_args( int argc, char **argv ) { 57void 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
64void np_cleanup() { 66void 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 */
81void _get_nagios_plugin( nagios_plugin **pointer ){ 83void _get_monitoring_plugin( monitoring_plugin **pointer ){
82 *pointer = this_nagios_plugin; 84 *pointer = this_monitoring_plugin;
83} 85}
84 86
85void 87void
@@ -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 */
377int 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) {
375char *_np_state_generate_key() { 394char *_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
403void _cleanup_state_data() { 422void _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() {
415char* _np_state_calculate_location_prefix(){ 434char* _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 */
512int _np_state_read_file(FILE *f) { 542int _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 0cb371fd..d69b0da1 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
57range *parse_range_string (char *); 57range *parse_range_string (char *);
58int _set_thresholds(thresholds **, char *, char *); 58int _set_thresholds(thresholds **, char *, char *);
@@ -62,7 +62,7 @@ int check_range(double, range *);
62int get_status(double, thresholds *); 62int 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
67char *np_escaped_string (const char *); 67char *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 */
80int np_warn_if_not_root(void); 80int 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 */
104int mp_translate_state (char *);
96 105
97void np_enable_state(char *, int); 106void np_enable_state(char *, int);
98state_data *np_state_read(); 107state_data *np_state_read();
diff --git a/lib/utils_cmd.c b/lib/utils_cmd.c
index 0c853dcc..9e214bd4 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 8ebb5894..ebaf15be 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 5be2b2c0..efe35fc5 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 46ad7f72..b37c446f 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 cd36c4f7..c2a4d2a7 100644
--- a/m4/np_mysqlclient.m4
+++ b/m4/np_mysqlclient.m4
@@ -1,6 +1,6 @@
1# np_mysqlclient.m4 1# np_mysqlclient.m4
2dnl Copyright (C) 2007 Nagios Plugins Team 2dnl Copyright (C) 2007 Monitoring Plugins Team
3dnl This file is free software; the Nagios Plugin Team 3dnl This file is free software; the Monitoring Plugins Team
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved. 5dnl 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 17a44c36..f0034982 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
18Name: nagios-plugins 18Name: monitoring-plugins
19Version: @PACKAGE_VERSION@ 19Version: @PACKAGE_VERSION@
20Release: @RELEASE@ 20Release: @RELEASE@
21Summary: Host/service/network monitoring program plugins for Nagios 21Summary: Host/service/network monitoring program plugins for Nagios and compatible
22 22
23Group: Applications/System 23Group: Applications/System
24License: GPL 24License: GPL
25URL: http://nagiosplug.sourceforge.net/ 25URL: https://www.monitoring-plugins.org/
26Source0: http://dl.sf.net/sourceforge/nagiosplug/%{name}-%{version}.tar.gz 26Source0: https://www.monitoring-plugins.org/download/%{name}-%{version}.tar.gz
27BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 27BuildRoot: %{_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}
34Prefix: %{_prefix}/lib/nagios/plugins 34Prefix: %{_prefix}/lib/nagios/plugins
35%endif 35%endif
36Packager: Karl DeBisschop <kdebisschop@users.sourceforge.net> 36Packager: Karl DeBisschop <kdebisschop@users.sourceforge.net>
37Vendor: Nagios Plugin Development Group 37Vendor: Monitoring Plugins Development Team
38Provides: nagios-plugins 38Provides: monitoring-plugins
39 39
40%{!?custom:%global custom 0} 40%{!?custom:%global custom 0}
41Obsoletes: nagios-plugins-custom nagios-plugins-extras 41Obsoletes: 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
105resolved. Nagios runs on a unix server as a background or daemon 105resolved. Nagios runs on a unix server as a background or daemon
106process, intermittently running checks on various services that you 106process, intermittently running checks on various services that you
107specify. The actual service checks are performed by separate "plugin" 107specify. The actual service checks are performed by separate "plugin"
108programs which return the status of the checks to Nagios. This package 108programs which return the status of the checks to the monitoring
109contains those plugins. 109system. This package contains those plugins.
110 110
111 111
112%prep 112%prep
@@ -163,8 +163,6 @@ fi
163%install 163%install
164rm -rf $RPM_BUILD_ROOT 164rm -rf $RPM_BUILD_ROOT
165make AM_INSTALL_PROGRAM_FLAGS="" DESTDIR=${RPM_BUILD_ROOT} install 165make AM_INSTALL_PROGRAM_FLAGS="" DESTDIR=${RPM_BUILD_ROOT} install
166build-aux/install-sh -c -d ${RPM_BUILD_ROOT}%{_sysconfdir}
167build-aux/install-sh -c -m 664 command.cfg ${RPM_BUILD_ROOT}%{_sysconfdir}
168%find_lang %{name} 166%find_lang %{name}
169echo "%defattr(755,%{npusr},%{npgrp})" >> %{name}.lang 167echo "%defattr(755,%{npusr},%{npgrp})" >> %{name}.lang
170comm -13 %{npdir}/ls-plugins-before %{npdir}/ls-plugins-after | egrep -v "\.o$|^\." | gawk -v libexecdir=%{_libexecdir} '{printf( "%s/%s\n", libexecdir, $0);}' >> %{name}.lang 168comm -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
174comm -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 172comm -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
175echo "%{_libexecdir}/utils.pm" >> %{name}.lang 173echo "%{_libexecdir}/utils.pm" >> %{name}.lang
176echo "%{_libexecdir}/utils.sh" >> %{name}.lang 174echo "%{_libexecdir}/utils.sh" >> %{name}.lang
175echo "%{_libexecdir}/check_ldaps" >> %{name}.lang
176
177sed -i '/libnpcommon/d' %{name}.lang
178sed -i '/monitoring-plugins.mo/d' %{name}.lang
177 179
178%clean 180%clean
179rm -rf $RPM_BUILD_ROOT 181rm -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 00000000..bb6fe69e
--- /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 811dcb91..00000000
--- a/perlmods/Nagios-Plugin-0.36.tar.gz
+++ /dev/null
Binary files differ
diff --git a/perlmods/install_order b/perlmods/install_order
index c44c8723..287cf8f3 100644
--- a/perlmods/install_order
+++ b/perlmods/install_order
@@ -13,4 +13,4 @@ Params-Validate
13Math-Calc-Units 13Math-Calc-Units
14Class-Accessor 14Class-Accessor
15Config-Tiny 15Config-Tiny
16Nagios-Plugin 16Monitoring-Plugin
diff --git a/pkg/solaris/pkginfo.in b/pkg/solaris/pkginfo.in
index 3bed3464..835ce6de 100644
--- a/pkg/solaris/pkginfo.in
+++ b/pkg/solaris/pkginfo.in
@@ -1,11 +1,11 @@
1PKG="NGOSplugin" 1PKG="NGOSplugin"
2NAME="nagios-plugins" 2NAME="monitoring-plugins"
3DESC="Nagios network monitoring plugins" 3DESC="Network Monitoring Plugins for Nagios and compatible"
4ARCH="@PKG_ARCH@" 4ARCH="@PKG_ARCH@"
5VERSION="@PACKAGE_VERSION@,REV=@REV_DATESTAMP@" 5VERSION="@PACKAGE_VERSION@,REV=@REV_DATESTAMP@"
6CATEGORY="application" 6CATEGORY="application"
7VENDOR="Nagios Plugin Development Team" 7VENDOR="Monitoring Plugins Development Team"
8EMAIL="nagiosplug-devel@lists.sourceforge.net" 8EMAIL="devel@monitoring-plugins.org"
9PSTAMP="nag@REV_TIMESTAMP@" 9PSTAMP="nag@REV_TIMESTAMP@"
10BASEDIR="/" 10BASEDIR="/"
11CLASSES="none" 11CLASSES="none"
diff --git a/plugins-root/Makefile.am b/plugins-root/Makefile.am
index 9623b1fa..a1ebb6d2 100644
--- a/plugins-root/Makefile.am
+++ b/plugins-root/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_PROGRAMS = pst3
26 26
27EXTRA_DIST = t pst3.c 27EXTRA_DIST = t pst3.c
28 28
29BASEOBJS = ../plugins/utils.o ../lib/libnagiosplug.a ../gl/libgnu.a 29BASEOBJS = ../plugins/utils.o ../lib/libmonitoringplug.a ../gl/libgnu.a
30NETOBJS = ../plugins/netutils.o $(BASEOBJS) $(EXTRA_NETOBJS) 30NETOBJS = ../plugins/netutils.o $(BASEOBJS) $(EXTRA_NETOBJS)
31NETLIBS = $(NETOBJS) $(SOCKETLIBS) 31NETLIBS = $(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
84pst3_CFLAGS = @PST3CFLAGS@ 84pst3_CFLAGS = @PST3CFLAGS@
85pst3_LDFLAGS = @PST3CFLAGS@ 85pst3_LDFLAGS = @PST3CFLAGS@
86# pst3 must not use nagiosplug/gnulib includes! 86# pst3 must not use monitoringplug/gnulib includes!
87pst3_CPPFLAGS = 87pst3_CPPFLAGS =
88 88
89check_dhcp_DEPENDENCIES = check_dhcp.c $(NETOBJS) $(DEPLIBS) 89check_dhcp_DEPENDENCIES = check_dhcp.c $(NETOBJS) $(DEPLIBS)
diff --git a/plugins-root/check_dhcp.c b/plugins-root/check_dhcp.c
index 42eedec8..b69a10da 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
36const char *progname = "check_dhcp"; 36const char *progname = "check_dhcp";
37const char *copyright = "2001-2007"; 37const char *copyright = "2001-2007";
38const char *email = "nagiosplug-devel@lists.sourceforge.net"; 38const 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 56685f86..4b4197d8 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"; */
41char *progname; 41char *progname;
42const char *copyright = "2005-2008"; 42const char *copyright = "2005-2008";
43const char *email = "nagiosplug-devel@lists.sourceforge.net"; 43const 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 8ca52814..ee9d108d 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 58db0604..78a950c2 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
21EXTRA_DIST=check_breeze.pl check_disk_smb.pl check_flexlm.pl check_ircd.pl \ 21EXTRA_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
26EDIT = 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
26TESTS_ENVIRONMENT=perl -I $(top_builddir) -I $(top_srcdir) 31TESTS_ENVIRONMENT=perl -I $(top_builddir) -I $(top_srcdir)
27 32
28TESTS = @SCRIPT_TEST@ 33TESTS = @SCRIPT_TEST@
@@ -38,11 +43,11 @@ test-debug:
38CLEANFILES=$(libexec_SCRIPTS) 43CLEANFILES=$(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
48clean-local: 53clean-local:
diff --git a/plugins-scripts/check_breeze.pl b/plugins-scripts/check_breeze.pl
index a4e8542c..12a60ee6 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
4use strict; 4use strict;
5use Getopt::Long; 5use Getopt::Long;
6use vars qw($opt_V $opt_h $opt_w $opt_c $opt_H $opt_C $PROGNAME); 6use vars qw($opt_V $opt_h $opt_w $opt_c $opt_H $opt_C $PROGNAME);
7use lib utils.pm ; 7use FindBin;
8use lib "$FindBin::Bin";
8use utils qw(%ERRORS &print_revision &support &usage); 9use utils qw(%ERRORS &print_revision &support &usage);
9 10
10$PROGNAME = "check_breeze"; 11$PROGNAME = "check_breeze";
@@ -12,7 +13,7 @@ $PROGNAME = "check_breeze";
12sub print_help (); 13sub print_help ();
13sub print_usage (); 14sub 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 0c89db57..99948a41 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;
24use Getopt::Long; 24use Getopt::Long;
25use 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); 25use 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);
26use vars qw($PROGNAME); 26use vars qw($PROGNAME);
27use lib utils.pm ; 27use FindBin;
28use lib "$FindBin::Bin";
28use utils qw($TIMEOUT %ERRORS &print_revision &support &usage); 29use utils qw($TIMEOUT %ERRORS &print_revision &support &usage);
29 30
30sub print_help (); 31sub 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;
171my $perfdata = ""; 172my $perfdata = "";
172my @lines = undef; 173my @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
296Perl Check SMB Disk plugin for Nagios 297Perl 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 dcd5efab..ae25201e 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
24use strict; 23use strict;
25use English; 24use English;
26use Getopt::Long; 25use Getopt::Long;
27use File::stat; 26use File::stat;
28use vars qw($PROGNAME); 27use vars qw($PROGNAME);
29use lib "."; 28use FindBin;
29use lib "$FindBin::Bin";
30use utils qw (%ERRORS &print_revision &support); 30use utils qw (%ERRORS &print_revision &support);
31 31
32sub print_help (); 32sub print_help ();
33sub print_usage (); 33sub print_usage ();
34 34
35my ($opt_c, $opt_f, $opt_w, $opt_C, $opt_W, $opt_h, $opt_V); 35my ($opt_c, $opt_f, $opt_w, $opt_C, $opt_W, $opt_h, $opt_V, $opt_i);
36my ($result, $message, $age, $size, $st); 36my ($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');
47GetOptions( 51GetOptions(
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)
74unless (-e $opt_f) { 79unless (-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
96sub print_usage () { 108sub 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 54d933c7..49d674d4 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 @@
35use strict; 35use strict;
36use Getopt::Long; 36use Getopt::Long;
37use vars qw($opt_V $opt_h $opt_F $opt_t $verbose $PROGNAME); 37use vars qw($opt_V $opt_h $opt_F $opt_t $verbose $PROGNAME);
38use lib utils.pm; 38use FindBin;
39use lib "$FindBin::Bin";
39use utils qw(%ERRORS &print_revision &support &usage); 40use utils qw(%ERRORS &print_revision &support &usage);
40 41
41$PROGNAME="check_flexlm"; 42$PROGNAME="check_flexlm";
@@ -43,7 +44,7 @@ $PROGNAME="check_flexlm";
43sub print_help (); 44sub print_help ();
44sub print_usage (); 45sub 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 588993be..1a7fbba4 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
35use POSIX; 36use POSIX;
36use strict; 37use strict;
37use lib utils.pm ; 38use FindBin;
39use lib "$FindBin::Bin";
38use utils qw($TIMEOUT %ERRORS &print_revision &support); 40use utils qw($TIMEOUT %ERRORS &print_revision &support);
39 41
40use Net::SNMP; 42use Net::SNMP;
@@ -47,6 +49,10 @@ sub usage ($);
47sub print_usage (); 49sub print_usage ();
48sub process_arguments (); 50sub process_arguments ();
49 51
52$ENV{'PATH'}='@TRUSTED_PATH@';
53$ENV{'BASH_ENV'}='';
54$ENV{'ENV'}='';
55
50my $timeout; 56my $timeout;
51my $status; 57my $status;
52my %ifOperStatus = ('1','up', 58my %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() {
288sub print_help() { 294sub 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 63c71ffa..e9e62149 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
33use POSIX; 33use POSIX;
34use strict; 34use strict;
35use lib utils.pm ; 35use FindBin;
36use lib "$FindBin::Bin";
36use utils qw($TIMEOUT %ERRORS &print_revision &support); 37use utils qw($TIMEOUT %ERRORS &print_revision &support);
37 38
38use Net::SNMP; 39use Net::SNMP;
@@ -46,6 +47,9 @@ sub usage ($);
46sub print_usage (); 47sub print_usage ();
47sub process_arguments (); 48sub process_arguments ();
48 49
50$ENV{'PATH'}='@TRUSTED_PATH@';
51$ENV{'BASH_ENV'}='';
52$ENV{'ENV'}='';
49 53
50my $status; 54my $status;
51my %ifOperStatus = ('1','up', 55my %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() {
239sub print_help() { 243sub 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 42a9bca9..afedfb95 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;
51use Getopt::Long; 49use Getopt::Long;
52use vars qw($opt_V $opt_h $opt_t $opt_p $opt_H $opt_w $opt_c $verbose); 50use vars qw($opt_V $opt_h $opt_t $opt_p $opt_H $opt_w $opt_c $verbose);
53use vars qw($PROGNAME); 51use vars qw($PROGNAME);
54use lib utils.pm; 52use FindBin;
53use lib "$FindBin::Bin";
55use utils qw($TIMEOUT %ERRORS &print_revision &support &usage); 54use 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
124Perl Check IRCD plugin for Nagios 123Perl 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 a1bfb486..8653a5e1 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
63ECHO="/bin/echo"
64GREP="/bin/egrep"
65DIFF="/bin/diff"
66TAIL="/bin/tail"
67CAT="/bin/cat"
68RM="/bin/rm"
69CHMOD="/bin/chmod"
70TOUCH="/bin/touch"
71 60
72PROGNAME=`/bin/basename $0` 61PROGNAME=`/bin/basename $0`
73PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` 62PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'`
74REVISION="@NP_VERSION@" 63REVISION="@NP_VERSION@"
64PATH="@TRUSTED_PATH@"
65
66export 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
169if [ ! -e $logfile ]; then 161if [ ! -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
172elif [ ! -r $logfile ] ; then 164elif [ ! -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
175fi 167fi
176 168
@@ -179,8 +171,8 @@ fi
179# the old diff file and exit 171# the old diff file and exit
180 172
181if [ ! -e $oldlog ]; then 173if [ ! -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
185fi 177fi
186 178
@@ -193,26 +185,26 @@ if [ -x /bin/mktemp ]; then
193else 185else
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
198fi 190fi
199 191
200$DIFF $logfile $oldlog | $GREP -v "^>" > $tempdiff 192diff $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
203count=`$GREP -c "$query" $tempdiff` 195count=`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
206lastentry=`$GREP "$query" $tempdiff | $TAIL -1` 198lastentry=`grep "$query" $tempdiff | tail -1`
207 199
208$RM -f $tempdiff 200rm -f $tempdiff
209$CAT $logfile > $oldlog 201cat $logfile > $oldlog
210 202
211if [ "$count" = "0" ]; then # no matches, exit with no error 203if [ "$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
214else # Print total matche count and the last entry we found 206else # 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
217fi 209fi
218 210
diff --git a/plugins-scripts/check_mailq.pl b/plugins-scripts/check_mailq.pl
index 31eb46a4..df1385d2 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;
31use vars qw($opt_V $opt_h $opt_v $verbose $PROGNAME $opt_w $opt_c $opt_t 31use 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);
34use lib utils.pm; 34use FindBin;
35use lib "$FindBin::Bin";
35use utils qw(%ERRORS &print_revision &support &usage ); 36use utils qw(%ERRORS &print_revision &support &usage );
36 37
37 38
@@ -39,7 +40,7 @@ sub print_help ();
39sub print_usage (); 40sub print_usage ();
40sub process_arguments (); 41sub 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")
377elsif ( $mailq eq "qmail" ) { 378elsif ( $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
504elsif ( $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
504print "$msg|unsent=$msg_q;$opt_w;$opt_c;0\n"; 542print "$msg|unsent=$msg_q;$opt_w;$opt_c;0\n";
505exit $state; 543exit $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 9a8fc511..a436a8ff 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 @@
29use DBI; 29use DBI;
30use DBD::Sybase; 30use DBD::Sybase;
31use Getopt::Long; 31use Getopt::Long;
32use lib "."; 32use FindBin;
33use lib "$FindBin::Bin";
33use utils qw($TIMEOUT %ERRORS &print_revision &support); 34use utils qw($TIMEOUT %ERRORS &print_revision &support);
34use strict; 35use strict;
35 36
36my $PROGNAME = "check_mssql"; 37my $PROGNAME = "check_mssql";
37 38
39$ENV{'PATH'}='@TRUSTED_PATH@';
40$ENV{'BASH_ENV'}='';
41$ENV{'ENV'}='';
42
38my ( 43my (
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
45process_arguments(); 50process_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 ecdbdb1a..82939bff 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
28use Getopt::Long; 28use Getopt::Long;
29use Net::DNS; 29use Net::DNS;
30use lib utils.pm; 30use FindBin;
31use lib "$FindBin::Bin";
31use utils ; 32use utils ;
32 33
33my $PROGNAME = "check_netdns"; 34my $PROGNAME = "check_netdns";
34 35
36$ENV{'PATH'}='@TRUSTED_PATH@';
37$ENV{'BASH_ENV'}='';
38$ENV{'ENV'}='';
39
35Getopt::Long::Configure(`bundling`); 40Getopt::Long::Configure(`bundling`);
36GetOptions("V" => $opt_V, "version" => $opt_V, 41GetOptions("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 5c87e0a6..13da939c 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";
69sub print_help (); 69sub print_help ();
70sub print_usage (); 70sub 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 2a8ab21d..ceac95dc 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
9PROGNAME=`basename $0` 9PROGNAME=`basename $0`
10PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` 10PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'`
11REVISION="@NP_VERSION@" 11REVISION="@NP_VERSION@"
12PATH="@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 d2701e95..cbdeceb4 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
22use strict; 22use strict;
23use lib utils.pm; 23use FindBin;
24use lib "$FindBin::Bin";
24use utils qw($TIMEOUT %ERRORS &print_revision &support); 25use utils qw($TIMEOUT %ERRORS &print_revision &support);
25use vars qw($PROGNAME); 26use vars qw($PROGNAME);
26my ($verbose,@proto,%prognum,$host,$response,$prognum,$port,$cmd,$progver,$state); 27my ($verbose,@proto,%prognum,$host,$response,$prognum,$port,$cmd,$progver,$state);
@@ -36,9 +37,9 @@ sub print_help ();
36sub print_usage (); 37sub print_usage ();
37sub in ($$); 38sub 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 874e1049..05c64c48 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
3PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
4
5PROGNAME=`basename $0` 3PROGNAME=`basename $0`
6PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` 4PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'`
7REVISION="@NP_VERSION@" 5REVISION="@NP_VERSION@"
6PATH="@TRUSTED_PATH@"
8 7
9. $PROGPATH/utils.sh 8export PATH
10 9
10. $PROGPATH/utils.sh
11 11
12print_usage() { 12print_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 2671112a..979416e0 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
5use strict; 5use strict;
6use lib utils.pm; 6use FindBin;
7use lib "$FindBin::Bin";
7use utils qw($TIMEOUT %ERRORS &print_revision &support); 8use utils qw($TIMEOUT %ERRORS &print_revision &support);
8use vars qw($PROGNAME); 9use vars qw($PROGNAME);
9use Getopt::Long; 10use Getopt::Long;
@@ -15,7 +16,7 @@ $PROGNAME = "check_wave";
15sub print_help (); 16sub print_help ();
16sub print_usage (); 17sub 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 a70ad884..00000000
--- a/plugins-scripts/subst.in
+++ /dev/null
@@ -1,78 +0,0 @@
1#!/usr/bin/awk
2
3function 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#
24function 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
35BEGIN {
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 384c276b..a5156491 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
7use strict; 7use strict;
8use Test::More tests => 15; 8use Test::More tests => 16;
9use NPTest; 9use NPTest;
10 10
11my $successOutput = '/^FILE_AGE OK: /'; 11my $successOutput = '/^FILE_AGE OK: /';
@@ -58,6 +58,11 @@ $result = NPTest->testCmd(
58cmp_ok( $result->return_code, '==', 0, "Checking file size" ); 58cmp_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 );
63cmp_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 );
63cmp_ok( $result->return_code, '==', 1, "One byte too short" ); 68cmp_ok( $result->return_code, '==', 1, "One byte too short" );
diff --git a/plugins-scripts/utils.pm.in b/plugins-scripts/utils.pm.in
index 37cd62c3..0f53243c 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
6package utils; 6package utils;
diff --git a/plugins-scripts/utils.sh.in b/plugins-scripts/utils.sh.in
index 4a07df89..031c0357 100644
--- a/plugins-scripts/utils.sh.in
+++ b/plugins-scripts/utils.sh.in
@@ -6,19 +6,13 @@ STATE_CRITICAL=2
6STATE_UNKNOWN=3 6STATE_UNKNOWN=3
7STATE_DEPENDENT=4 7STATE_DEPENDENT=4
8 8
9if test -x /usr/bin/printf; then
10 ECHO=/usr/bin/printf
11else
12 ECHO=echo
13fi
14
15print_revision() { 9print_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
20support() { 14support() {
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 031dd251..0ddf9bd1 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -11,9 +11,10 @@ endif
11 11
12AM_CFLAGS = -DNP_VERSION='"$(NP_VERSION)"' 12AM_CFLAGS = -DNP_VERSION='"$(NP_VERSION)"'
13 13
14VPATH = $(top_srcdir) $(top_srcdir)/lib $(top_srcdir)/plugins $(top_srcdir)/plugins/t 14VPATH = $(top_srcdir) $(top_srcdir)/lib $(top_srcdir)/plugins $(top_srcdir)/plugins/t
15 15
16INCLUDES = -I.. -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl @LDAPINCLUDE@ @PGINCLUDE@ @SSLINCLUDE@ 16AM_CPPFLAGS = -I.. -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl \
17 @LDAPINCLUDE@ @PGINCLUDE@ @SSLINCLUDE@
17 18
18localedir = $(datadir)/locale 19localedir = $(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
48libnpcommon_a_SOURCES = utils.c netutils.c sslutils.c runcmd.c \ 49libnpcommon_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
51BASEOBJS = libnpcommon.a ../lib/libnagiosplug.a ../gl/libgnu.a 52BASEOBJS = libnpcommon.a ../lib/libmonitoringplug.a ../gl/libgnu.a
52NETOBJS = $(BASEOBJS) $(EXTRA_NETOBLS) 53NETOBJS = $(BASEOBJS) $(EXTRA_NETOBLS)
53NETLIBS = $(NETOBJS) $(SOCKETLIBS) 54NETLIBS = $(NETOBJS) $(SOCKETLIBS)
54SSLOBJS = $(BASEOBJS) $(NETLIBS) $(SSLLIBS) 55SSLOBJS = $(BASEOBJS) $(NETLIBS) $(SSLLIBS)
@@ -81,11 +82,11 @@ check_ldap_LDADD = $(NETLIBS) $(LDAPLIBS)
81check_load_LDADD = $(BASEOBJS) 82check_load_LDADD = $(BASEOBJS)
82check_mrtg_LDADD = $(BASEOBJS) 83check_mrtg_LDADD = $(BASEOBJS)
83check_mrtgtraf_LDADD = $(BASEOBJS) 84check_mrtgtraf_LDADD = $(BASEOBJS)
84check_mysql_CFLAGS = $(MYSQLCFLAGS) -DNP_VERSION='"$(NP_VERSION)"' 85check_mysql_CFLAGS = $(AM_CFLAGS) $(MYSQLCFLAGS)
85check_mysql_CPPFLAGS = $(MYSQLINCLUDE) 86check_mysql_CPPFLAGS = $(AM_CPPFLAGS) $(MYSQLINCLUDE)
86check_mysql_LDADD = $(NETLIBS) $(MYSQLLIBS) 87check_mysql_LDADD = $(NETLIBS) $(MYSQLLIBS)
87check_mysql_query_CFLAGS = $(MYSQLCFLAGS) -DNP_VERSION='"$(NP_VERSION)"' 88check_mysql_query_CFLAGS = $(AM_CFLAGS) $(MYSQLCFLAGS)
88check_mysql_query_CPPFLAGS = $(MYSQLINCLUDE) 89check_mysql_query_CPPFLAGS = $(AM_CPPFLAGS) $(MYSQLINCLUDE)
89check_mysql_query_LDADD = $(NETLIBS) $(MYSQLLIBS) 90check_mysql_query_LDADD = $(NETLIBS) $(MYSQLLIBS)
90check_nagios_LDADD = $(BASEOBJS) 91check_nagios_LDADD = $(BASEOBJS)
91check_nt_LDADD = $(NETLIBS) 92check_nt_LDADD = $(NETLIBS)
@@ -106,7 +107,7 @@ check_tcp_LDADD = $(SSLOBJS)
106check_time_LDADD = $(NETLIBS) 107check_time_LDADD = $(NETLIBS)
107check_ntp_time_LDADD = $(NETLIBS) $(MATHLIBS) 108check_ntp_time_LDADD = $(NETLIBS) $(MATHLIBS)
108check_ups_LDADD = $(NETLIBS) 109check_ups_LDADD = $(NETLIBS)
109check_users_LDADD = $(BASEOBJS) 110check_users_LDADD = $(BASEOBJS) $(WTSAPI32LIBS)
110check_by_ssh_LDADD = $(NETLIBS) 111check_by_ssh_LDADD = $(NETLIBS)
111check_ide_smart_LDADD = $(BASEOBJS) 112check_ide_smart_LDADD = $(BASEOBJS)
112negate_LDADD = $(BASEOBJS) 113negate_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
133clean-local: 134clean-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
137uninstall-local: 138uninstall-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 daeb7578..07622c2f 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
32const char *progname = "check_apt"; 32const char *progname = "check_apt";
33const char *copyright = "2006-2008"; 33const char *copyright = "2006-2008";
34const char *email = "nagiosplug-devel@lists.sourceforge.net"; 34const 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 c5f0d529..58f333d3 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
29const char *progname = "check_by_ssh"; 29const char *progname = "check_by_ssh";
30const char *copyright = "2000-2008"; 30const char *copyright = "2000-2008";
31const char *email = "nagiosplug-devel@lists.sourceforge.net"; 31const 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 d4e39e0f..cf699e1f 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
25const char *progname = "check_cluster"; 25const char *progname = "check_cluster";
26const char *copyright = "2000-2007"; 26const char *copyright = "2000-2007";
27const char *email = "nagiosplug-devel@lists.sourceforge.net"; 27const 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 8c4a511d..a3d033f4 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
32const char *progname = "check_dbi"; 32const char *progname = "check_dbi";
33const char *copyright = "2011"; 33const char *copyright = "2011";
34const char *email = "nagiosplug-devel@lists.sourceforge.net"; 34const 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 c113d87b..d9481f2d 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
35const char *progname = "check_dig"; 35const char *progname = "check_dig";
36const char *copyright = "2002-2008"; 36const char *copyright = "2002-2008";
37const char *email = "nagiosplug-devel@lists.sourceforge.net"; 37const 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
52char *query_address = NULL; 53char *query_address = NULL;
53char *record_type = "A"; 54char *record_type = "A";
@@ -57,6 +58,7 @@ char *dig_args = "";
57char *query_transport = ""; 58char *query_transport = "";
58int verbose = FALSE; 59int verbose = FALSE;
59int server_port = DEFAULT_PORT; 60int server_port = DEFAULT_PORT;
61int number_tries = DEFAULT_TRIES;
60double warning_interval = UNDEFINED; 62double warning_interval = UNDEFINED;
61double critical_interval = UNDEFINED; 63double critical_interval = UNDEFINED;
62struct timeval tv; 64struct 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 04d588fb..925dfa82 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 @@
29const char *progname = "check_disk"; 29const char *progname = "check_disk";
30const char *program_name = "check_disk"; /* Required for coreutils libs */ 30const char *program_name = "check_disk"; /* Required for coreutils libs */
31const char *copyright = "1999-2008"; 31const char *copyright = "1999-2008";
32const char *email = "nagiosplug-devel@lists.sourceforge.net"; 32const 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. */
57static int inode_format = 1; 62static 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 ac6cfc38..31a953d7 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
32const char *progname = "check_dns"; 32const char *progname = "check_dns";
33const char *copyright = "2000-2008"; 33const char *copyright = "2000-2008";
34const char *email = "nagiosplug-devel@lists.sourceforge.net"; 34const 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 3cfc9ede..3ed68717 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
31const char *progname = "check_dummy"; 31const char *progname = "check_dummy";
32const char *copyright = "1999-2007"; 32const char *copyright = "1999-2007";
33const char *email = "nagiosplug-devel@lists.sourceforge.net"; 33const 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 dad000e6..46046b4f 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
32const char *progname = "check_fping"; 32const char *progname = "check_fping";
33const char *copyright = "2000-2007"; 33const char *copyright = "2000-2007";
34const char *email = "nagiosplug-devel@lists.sourceforge.net"; 34const 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 89bb4b12..29e59e2f 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
32const char *progname = "check_game"; 32const char *progname = "check_game";
33const char *copyright = "2002-2007"; 33const char *copyright = "2002-2007";
34const char *email = "nagiosplug-devel@lists.sourceforge.net"; 34const 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 60e922ed..1e7605ba 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
32const char *progname = "check_hpjd"; 32const char *progname = "check_hpjd";
33const char *copyright = "2000-2007"; 33const char *copyright = "2000-2007";
34const char *email = "nagiosplug-devel@lists.sourceforge.net"; 34const 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 c36d916a..51679975 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
36const char *progname = "check_http"; 36const char *progname = "check_http";
37const char *copyright = "1999-2013"; 37const char *copyright = "1999-2013";
38const char *email = "nagiosplug-devel@lists.sourceforge.net"; 38const 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
59int check_cert = FALSE; 59int check_cert = FALSE;
60int ssl_version; 60int ssl_version = 0;
61int days_till_exp_warn, days_till_exp_crit; 61int days_till_exp_warn, days_till_exp_crit;
62char *randbuff; 62char *randbuff;
63X509 *server_cert; 63X509 *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 0a8009ab..47605e96 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
36const char *progname = "check_ide_smart"; 36const char *progname = "check_ide_smart";
37const char *copyright = "1998-2007"; 37const char *copyright = "1998-2007";
38const char *email = "nagiosplug-devel@lists.sourceforge.net"; 38const 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 *);
172void print_values (values_t *, thresholds_t *); 172void print_values (values_t *, thresholds_t *);
173int smart_cmd_simple (int, enum SmartCommand, __u8, char); 173int smart_cmd_simple (int, enum SmartCommand, __u8, char);
174int smart_read_thresholds (int, thresholds_t *); 174int smart_read_thresholds (int, thresholds_t *);
175int verbose = FALSE;
175 176
176int 177int
177main (int argc, char *argv[]) 178main (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)
495int 476int
496smart_cmd_simple (int fd, enum SmartCommand command, __u8 val0, char show_error) 477smart_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
638print_usage (void) 630print_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 b05aca9a..c371be97 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 */
30char *progname = "check_ldap"; 30char *progname = "check_ldap";
31const char *copyright = "2000-2008"; 31const char *copyright = "2000-2008";
32const char *email = "nagiosplug-devel@lists.sourceforge.net"; 32const 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 296a8233..cde63e56 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
31const char *progname = "check_load"; 31const char *progname = "check_load";
32const char *copyright = "1999-2007"; 32const char *copyright = "1999-2007";
33const char *email = "nagiosplug-devel@lists.sourceforge.net"; 33const 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 d6162f35..cf3fe044 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
32const char *progname = "check_mrtg"; 32const char *progname = "check_mrtg";
33const char *copyright = "1999-2007"; 33const char *copyright = "1999-2007";
34const char *email = "nagiosplug-devel@lists.sourceforge.net"; 34const 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 a8226514..32ba0507 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
35const char *progname = "check_mrtgtraf"; 35const char *progname = "check_mrtgtraf";
36const char *copyright = "1999-2007"; 36const char *copyright = "1999-2007";
37const char *email = "nagiosplug-devel@lists.sourceforge.net"; 37const char *email = "devel@monitoring-plugins.org";
38 38
39int process_arguments (int, char **); 39int process_arguments (int, char **);
40int validate_arguments (void); 40int validate_arguments (void);
diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c
index db670e2d..4f09e5f8 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
33const char *progname = "check_mysql"; 33const char *progname = "check_mysql";
34const char *copyright = "1999-2011"; 34const char *copyright = "1999-2011";
35const char *email = "nagiosplug-devel@lists.sourceforge.net"; 35const 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 0bb83c3e..71ab7768 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
32const char *progname = "check_mysql_query"; 32const char *progname = "check_mysql_query";
33const char *copyright = "1999-2007"; 33const char *copyright = "1999-2007";
34const char *email = "nagiosplug-devel@lists.sourceforge.net"; 34const 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;
46char *db_socket = NULL; 46char *db_socket = NULL;
47char *db_pass = NULL; 47char *db_pass = NULL;
48char *db = NULL; 48char *db = NULL;
49char *opt_file = NULL;
50char *opt_group = NULL;
49unsigned int db_port = MYSQL_PORT; 51unsigned int db_port = MYSQL_PORT;
50 52
51int process_arguments (int, char **); 53int 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 4fd6342d..791b6dbe 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
35const char *progname = "check_nagios"; 35const char *progname = "check_nagios";
36const char *copyright = "1999-2007"; 36const char *copyright = "1999-2007";
37const char *email = "nagiosplug-devel@lists.sourceforge.net"; 37const 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 52bbd1c5..fefbfb7a 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
35const char *progname = "check_nt"; 35const char *progname = "check_nt";
36const char *copyright = "2000-2007"; 36const char *copyright = "2000-2007";
37const char *email = "nagiosplug-devel@lists.sourceforge.net"; 37const 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 16be7c51..09a923eb 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
33const char *progname = "check_ntp"; 33const char *progname = "check_ntp";
34const char *copyright = "2006-2008"; 34const char *copyright = "2006-2008";
35const char *email = "nagiosplug-devel@lists.sourceforge.net"; 35const 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);
54void print_usage (void); 54void 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){
515double jitter_request(const char *host, int *status){ 517double 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 76152e17..8dc19788 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
38const char *progname = "check_ntp_peer"; 38const char *progname = "check_ntp_peer";
39const char *copyright = "2006-2008"; 39const char *copyright = "2006-2008";
40const char *email = "nagiosplug-devel@lists.sourceforge.net"; 40const 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 bbcaa0ba..72dffbd8 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
37const char *progname = "check_ntp_time"; 37const char *progname = "check_ntp_time";
38const char *copyright = "2006-2008"; 38const char *copyright = "2006-2008";
39const char *email = "nagiosplug-devel@lists.sourceforge.net"; 39const 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);
55void print_usage (void); 55void 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 6ebe8f83..1a7bfa16 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
32const char *progname = "check_nwstat"; 32const char *progname = "check_nwstat";
33const char *copyright = "2000-2007"; 33const char *copyright = "2000-2007";
34const char *email = "nagiosplug-devel@lists.sourceforge.net"; 34const 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 95977e91..af5eb9b9 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
32const char *progname = "check_overcr"; 32const char *progname = "check_overcr";
33const char *copyright = "2000-2007"; 33const char *copyright = "2000-2007";
34const char *email = "nagiosplug-devel@lists.sourceforge.net"; 34const 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 324bd5f4..9bad1ec5 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
31const char *progname = "check_pgsql"; 31const char *progname = "check_pgsql";
32const char *copyright = "1999-2011"; 32const char *copyright = "1999-2011";
33const char *email = "nagiosplug-devel@lists.sourceforge.net"; 33const 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 eef2195b..dbc5c3e4 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
31const char *progname = "check_ping"; 31const char *progname = "check_ping";
32const char *copyright = "2000-2007"; 32const char *copyright = "2000-2007";
33const char *email = "nagiosplug-devel@lists.sourceforge.net"; 33const 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 d20b027f..402aac53 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 @@
34const char *progname = "check_procs"; 34const char *progname = "check_procs";
35const char *program_name = "check_procs"; /* Required for coreutils libs */ 35const char *program_name = "check_procs"; /* Required for coreutils libs */
36const char *copyright = "2000-2008"; 36const char *copyright = "2000-2008";
37const char *email = "nagiosplug-devel@lists.sourceforge.net"; 37const 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 e54105b0..b2943475 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
31const char *progname = "check_radius"; 31const char *progname = "check_radius";
32const char *copyright = "2000-2008"; 32const char *copyright = "2000-2008";
33const char *email = "nagiosplug-devel@lists.sourceforge.net"; 33const 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>
41rc_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 **);
47void print_help (void); 48void print_help (void);
48void print_usage (void); 49void 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
73int my_rc_read_config(char *); 77int my_rc_read_config(char *);
74 78
79#if defined(HAVE_LIBFREERADIUS_CLIENT) || defined(HAVE_LIBRADIUSCLIENT_NG)
80rc_handle *rch = NULL;
81#endif
82
75char *server = NULL; 83char *server = NULL;
76char *username = NULL; 84char *username = NULL;
77char *password = NULL; 85char *password = NULL;
@@ -142,11 +150,10 @@ Please note that all tags must be lowercase to use the DocBook XML DTD.
142int 150int
143main (int argc, char **argv) 151main (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
393int my_rc_read_config(char * a) 400int 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 18240f30..36f64134 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
31const char *progname = "check_real"; 31const char *progname = "check_real";
32const char *copyright = "2000-2007"; 32const char *copyright = "2000-2007";
33const char *email = "nagiosplug-devel@lists.sourceforge.net"; 33const 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 d477a51e..24304534 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
31const char *progname = "check_smtp"; 31const char *progname = "check_smtp";
32const char *copyright = "2000-2007"; 32const char *copyright = "2000-2007";
33const char *email = "nagiosplug-devel@lists.sourceforge.net"; 33const 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 52ad31ea..2c62a230 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
31const char *progname = "check_snmp"; 31const char *progname = "check_snmp";
32const char *copyright = "1999-2007"; 32const char *copyright = "1999-2007";
33const char *email = "nagiosplug-devel@lists.sourceforge.net"; 33const 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 6842c4cf..b6187d61 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
31const char *progname = "check_ssh"; 31const char *progname = "check_ssh";
32const char *copyright = "2000-2007"; 32const char *copyright = "2000-2007";
33const char *email = "nagiosplug-devel@lists.sourceforge.net"; 33const 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 1b2a8dd5..88a2a2ad 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
30const char *progname = "check_swap"; 30const char *progname = "check_swap";
31const char *copyright = "2000-2007"; 31const char *copyright = "2000-2007";
32const char *email = "nagiosplug-devel@lists.sourceforge.net"; 32const 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);
60int warn_percent = 0; 60int warn_percent = 0;
61int crit_percent = 0; 61int crit_percent = 0;
62float warn_size_bytes = 0; 62float warn_size_bytes = 0;
63float crit_size_bytes= 0; 63float crit_size_bytes = 0;
64int verbose; 64int verbose;
65int allswaps; 65int allswaps;
66int no_swap_state = STATE_CRITICAL;
66 67
67int 68int
68main (int argc, char **argv) 69main (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)
372int 373int
373check_swap (int usp, float free_swap_mb) 374check_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
556print_usage (void) 568print_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 6ab82616..ebdccd1b 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 */
31char *progname; 31char *progname;
32const char *copyright = "1999-2008"; 32const char *copyright = "1999-2008";
33const char *email = "nagiosplug-devel@lists.sourceforge.net"; 33const 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 7ee014e9..3943742a 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
31const char *progname = "check_time"; 31const char *progname = "check_time";
32const char *copyright = "1999-2007"; 32const char *copyright = "1999-2007";
33const char *email = "nagiosplug-devel@lists.sourceforge.net"; 33const 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 59dcc264..099881d0 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
35const char *progname = "check_ups"; 35const char *progname = "check_ups";
36const char *copyright = "2000-2007"; 36const char *copyright = "2000-2007";
37const char *email = "nagiosplug-devel@lists.sourceforge.net"; 37const 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
71enum { NOSUCHVAR = ERROR-1 }; 71enum { 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 ff2aedd2..a009f20b 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
33const char *progname = "check_users"; 33const char *progname = "check_users";
34const char *copyright = "2000-2007"; 34const char *copyright = "2000-2007";
35const char *email = "nagiosplug-devel@lists.sourceforge.net"; 35const 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 f1358380..01003b3b 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 ef7d4e03..beaed1ea 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
32const char *progname = "negate"; 32const char *progname = "negate";
33const char *copyright = "2002-2008"; 33const char *copyright = "2002-2008";
34const char *email = "nagiosplug-devel@lists.sourceforge.net"; 34const 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
46static const char **process_arguments (int, char **); 46static const char **process_arguments (int, char **);
47int validate_arguments (char **); 47void validate_arguments (char **);
48int translate_state (char *);
49void print_help (void); 48void print_help (void);
50void print_usage (void); 49void print_usage (void);
51int subst_text = FALSE; 50int 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
210int 208void
211validate_arguments (char **command_line) 209validate_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
221int
222translate_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
239void 219void
240print_help (void) 220print_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 9f18723a..00440465 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 347509e2..c5aa18fc 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 716bd524..592263fd 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 8aba1e33..1a7c904f 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 fe660673..2dcdadf0 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 2ec91904..687bffb7 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 00000000..c1007deb
--- /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 39b4ca9f..7e0f74b7 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
9use strict; 9use strict;
10use Test::More; 10use 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
41my @perf_data = sort(split(/ /, $result->perf_output)); 41my @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 64aaf0ce..4ff553f7 100644
--- a/plugins/t/check_dns.t
+++ b/plugins/t/check_dns.t
@@ -10,14 +10,14 @@ use NPTest;
10 10
11plan skip_all => "check_dns not compiled" unless (-x "check_dns"); 11plan skip_all => "check_dns not compiled" unless (-x "check_dns");
12 12
13plan tests => 13; 13plan tests => 14;
14 14
15my $successOutput = '/DNS OK: [\.0-9]+ seconds? response time/'; 15my $successOutput = '/DNS OK: [\.0-9]+ seconds? response time/';
16 16
17my $hostname_valid = getTestParameter( 17my $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
23my $hostname_valid_ip = getTestParameter( 23my $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");
56cmp_ok( $res->return_code, '==', 1, "Warning threshold passed"); 56cmp_ok( $res->return_code, '==', 1, "Warning threshold passed");
57like( $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");
59cmp_ok( $res->return_code, '==', 2, "Invalid $hostname_invalid"); 60cmp_ok( $res->return_code, '==', 2, "Invalid $hostname_invalid");
diff --git a/plugins/t/check_fping.t b/plugins/t/check_fping.t
index 45a9be8a..08692e46 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
28my $t; 28my $t;
29 29
30if ( -x "./check_fping" ) 30my $fping = qx(which fping 2> /dev/null);
31{ 31chomp($fping);
32if( ! -x "./check_fping") {
33 $t += skipMissingCmd( "./check_fping", $tests );
34}
35elsif ( $> != 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}
36else
37{
38 $t += skipMissingCmd( "./check_fping", $tests );
39}
40 42
41exit(0) if defined($Test::Harness::VERSION); 43exit(0) if defined($Test::Harness::VERSION);
42exit($tests - $t); 44exit($tests - $t);
diff --git a/plugins/t/check_http.t b/plugins/t/check_http.t
index 29086737..2539a289 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
33my $host_tcp_http2 = getTestParameter( "NP_HOST_TCP_HTTP2", 33my $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" );
62like( $res->output, "/Unable to open TCP socket|Socket timeout after/", "Output OK"); 62like( $res->output, "/Unable to open TCP socket|Socket timeout after/", "Output OK");
63 63
64SKIP: { 64SKIP: {
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}
84SKIP: { 84SKIP: {
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 d9716458..28cd4cd0 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");
21plan tests => 15; 21plan tests => 15;
22 22
23my $bad_login_output = '/Access denied for user /'; 23my $bad_login_output = '/Access denied for user /';
24my $mysqlserver = getTestParameter( 24my $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 );
28my $mysqlsocket = getTestParameter( 28my $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 );
32my $mysql_login_details = getTestParameter( 32my $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 );
37my $with_slave = getTestParameter( 38my $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 );
41my $with_slave_login = getTestParameter( 42my $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
47my $result; 49my $result;
diff --git a/plugins/t/check_ntp.t b/plugins/t/check_ntp.t
index 3eee6e17..74d890fa 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
26my $host_nonresponsive = getTestParameter( "NP_HOST_NONRESPONSIVE", 26my $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
30my $hostname_invalid = getTestParameter( "NP_HOSTNAME_INVALID", 30my $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
34my $ntp_okmatch1 = '/^NTP\sOK:\sOffset\s-?[0-9]+(\.[0-9]+)?(e-[0-9]{2})?\ssecs/'; 34my $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
44foreach my $plugin (@PLUGINS1) { 44foreach 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
89foreach my $plugin (@PLUGINS2) { 89foreach 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 1dea5643..ca4acdd7 100644
--- a/plugins/t/check_procs.t
+++ b/plugins/t/check_procs.t
@@ -13,7 +13,7 @@ my $t;
13if (`uname -s` eq "SunOS\n" && ! -x "/usr/local/nagios/libexec/pst3") { 13if (`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
19my $result; 19my $result;
@@ -26,6 +26,11 @@ $result = NPTest->testCmd( "./check_procs -w 100000 -c 100000 -s Z" );
26is( $result->return_code, 0, "Checking less than 100000 zombie processes" ); 26is( $result->return_code, 0, "Checking less than 100000 zombie processes" );
27like( $result->output, '/^PROCS OK: [0-9]+ process(es)? with /', "Output correct" ); 27like( $result->output, '/^PROCS OK: [0-9]+ process(es)? with /', "Output correct" );
28 28
29if(fork() == 0) { exec("sleep 7"); } # fork a test process
30$result = NPTest->testCmd( "./check_procs -a 'sleep 7'" );
31is( $result->return_code, 0, "Parent process is ignored" );
32like( $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" );
30is( $result->return_code, 1, "Checking warning if processes > 0" ); 35is( $result->return_code, 1, "Checking warning if processes > 0" );
31like( $result->output, '/^PROCS WARNING: [0-9]+ process(es)? | procs=[0-9]+;0;100000;0;$/', "Output correct" ); 36like( $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 6de5f299..2d6c44a7 100644
--- a/plugins/t/check_snmp.t
+++ b/plugins/t/check_snmp.t
@@ -10,7 +10,7 @@ use NPTest;
10 10
11BEGIN { 11BEGIN {
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
16my $res; 16my $res;
@@ -26,6 +26,7 @@ my $host_nonresponsive = getTestParameter( "host_nonresponsive", "NP_HOST_NONRES
26 26
27my $hostname_invalid = getTestParameter( "hostname_invalid", "NP_HOSTNAME_INVALID", "nosuchhost", 27my $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" );
29my $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" );
31is( $res->return_code, 3, "No host name" ); 32is( $res->return_code, 3, "No host name" );
@@ -35,7 +36,7 @@ $res = NPTest->testCmd( "./check_snmp -H fakehostname" );
35is( $res->return_code, 3, "No OIDs specified" ); 36is( $res->return_code, 3, "No OIDs specified" );
36is( $res->output, "No OIDs specified" ); 37is( $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" );
39is( $res->return_code, 3, "Invalid seclevel" ); 40is( $res->return_code, 3, "Invalid seclevel" );
40like( $res->output, "/check_snmp: Invalid seclevel - rubbish/" ); 41like( $res->output, "/check_snmp: Invalid seclevel - rubbish/" );
41 42
@@ -44,7 +45,7 @@ is( $res->return_code, 3, "Invalid protocol" );
44like( $res->output, "/check_snmp: Invalid SNMP version - 3c/" ); 45like( $res->output, "/check_snmp: Invalid SNMP version - 3c/" );
45 46
46SKIP: { 47SKIP: {
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
158SKIP: {
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
159SKIP: { 166SKIP: {
diff --git a/plugins/t/check_tcp.t b/plugins/t/check_tcp.t
index abb16aec..f996685d 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
25my $hostname_invalid = getTestParameter( "hostname_invalid", "NP_HOSTNAME_INVALID", "nosuchhost", 24my $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
27my $internet_access = getTestParameter( "NP_INTERNET_ACCESS",
28 "Is this system directly connected to the internet?",
29 "yes");
30
28my $successOutput = '/^TCP OK\s-\s+[0-9]?\.?[0-9]+ second response time on port [0-9]+/'; 31my $successOutput = '/^TCP OK\s-\s+[0-9]?\.?[0-9]+ second response time on port [0-9]+/';
29 32
30my $failedExpect = '/^TCP WARNING\s-\sUnexpected response from host/socket on port [0-9]+/'; 33my $failedExpect = '/^TCP WARNING\s-\sUnexpected response from host/socket on port [0-9]+/';
31 34
32my $t; 35my $t;
33 36
37$tests = $tests - 4 if $internet_access eq "no";
38plan 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 ); 44if($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 619cadfb..1f6fee70 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 0afe3ae6..f18acc39 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
82foreach my $current_state (keys(%state)) { 82foreach 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 c3085e13..225b449f 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);
20my $common_tests = 70; 20my $common_tests = 70;
21my $ssl_only_tests = 8; 21my $ssl_only_tests = 8;
22# Check that all dependent modules are available 22# Check that all dependent modules are available
23eval "use HTTP::Daemon 6.01;";
24plan skip_all => 'HTTP::Daemon >= 6.01 required' if $@;
23eval { 25eval {
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 d71c83a2..54d43d9b 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" );
20is( $result->return_code, 0, "Run with no options" ); 20is( $result->return_code, 0, "Run with no options" );
21like( $result->output, '/^PROCS OK: 95 processes$/', "Output correct" ); 21is( $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" );
24is( $result->return_code, 1, "Checking > 5 processes" ); 24is( $result->return_code, 1, "Checking > 5 processes" );
25like( $result->output, '/^PROCS WARNING: 95 processes$/', "Output correct" ); 25is( $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" );
28is( $result->return_code, 2, "Checking critical" ); 28is( $result->return_code, 2, "Checking critical" );
29like( $result->output, '/^PROCS CRITICAL: 95 processes$/', "Output correct" ); 29is( $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" );
32is( $result->return_code, 0, "Checking no threshold breeched" ); 32is( $result->return_code, 0, "Checking no threshold breeched" );
33like( $result->output, '/^PROCS OK: 95 processes$/', "Output correct" ); 33is( $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" );
36is( $result->return_code, 2, "Checking processes filtered by command name" ); 36is( $result->return_code, 2, "Checking processes filtered by command name" );
37like( $result->output, '/^PROCS CRITICAL: 6 processes with command name \'launchd\'$/', "Output correct" ); 37is( $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" ); 39SKIP: {
40is( $result->return_code, 1, "Checking processes filtered by userid" ); 40 skip 'user with uid 501 required', 4 unless getpwuid(501);
41like( $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" );
44is( $result->return_code, 0, "Checking processes filtered by command name and userid" ); 43 is( $result->return_code, 1, "Checking processes filtered by userid" );
45like( $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" );
48is( $result->return_code, 1, "Checking processes with userid=-2" ); 47 is( $result->return_code, 0, "Checking processes filtered by command name and userid" );
49like( $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
51SKIP: {
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" );
52is( $result->return_code, 0, "Checking processes with userid=-2 past threshold" ); 56 is( $result->return_code, 1, "Checking processes with userid=-2" );
53like( $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" );
56is( $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" );
57like( $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" );
60is( $result->return_code, 0, "Checking case sensitivity of args" ); 64 is( $result->return_code, 0, "Checking processes with userid=-2 and usb in arguments" );
61like( $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'" );
64is( $result->return_code, 0, "Checking regexp search of arguments" ); 73is( $result->return_code, 0, "Checking regexp search of arguments" );
65is( $result->output, "PROCS OK: 1 process with regex args 'mdworker.*501'", "Output correct" ); 74is( $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" );
68is( $result->return_code, 0, "Checking filter by VSZ" ); 77is( $result->return_code, 0, "Checking filter by VSZ" );
69like( $result->output, '/^PROCS OK: 24 processes with VSZ >= 1000000$/', "Output correct" ); 78is( $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" );
72is( $result->return_code, 0, "Checking filter by RSS" ); 81is( $result->return_code, 0, "Checking filter by RSS" );
73like( $result->output, '/^PROCS OK: 3 processes with RSS >= 100000$/', "Output correct" ); 82is( $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" );
76is( $result->return_code, 0, "Checking filter for sleeping processes" ); 85is( $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" );
88is( $result->return_code, 0, "Checking filter for percentage cpu > 0.71" ); 97is( $result->return_code, 0, "Checking filter for percentage cpu > 0.71" );
89is( $result->output, 'PROCS OK: 7 processes with PCPU >= 0.71', "Output correct" ); 98is( $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" );
92is( $result->return_code, 0, "Checking filter for percentage cpu > 0.70" ); 101is( $result->return_code, 0, "Checking filter for percentage cpu > 0.70" );
93is( $result->output, 'PROCS OK: 8 processes with PCPU >= 0.70', "Output correct" ); 102is( $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" );
96is( $result->return_code, 1, "Checking against metric of CPU > 8" ); 105is( $result->return_code, 1, "Checking against metric of CPU > 8" );
97is( $result->output, 'CPU WARNING: 1 warn out of 95 processes', "Output correct" ); 106is( $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" ); 109SKIP: {
101is( $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);
102is( $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" );
105is( $result->return_code, 1, "Checking against VSZ > 1.2GB" ); 118is( $result->return_code, 1, "Checking against VSZ > 1.2GB" );
106is( $result->output, 'VSZ WARNING: 4 warn out of 95 processes [WindowServer, Safari, Mail, Skype]', "Output correct" ); 119is( $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" );
109is( $result->return_code, 1, "Checking against VSZ > 1.2GB" ); 122is( $result->return_code, 1, "Checking against VSZ > 1.2GB" );
110is( $result->output, 'VSZ WARNING: 4 warn out of 95 processes [WindowServer, Safari, Mail, Skype]', "Output correct" ); 123is( $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" );
113is( $result->return_code, 2, "Checking against RSS > 70MB" ); 126is( $result->return_code, 2, "Checking against RSS > 70MB" );
114is( $result->output, 'RSS CRITICAL: 5 crit, 0 warn out of 95 processes [WindowServer, SystemUIServer, Safari, Mail, Safari]', "Output correct" ); 127is( $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)'" );
117is( $result->return_code, 0, "Checking no pipe symbol in output" ); 130is( $result->return_code, 0, "Checking no pipe symbol in output" );
118is( $result->output, "PROCS OK: 0 processes with regex args '(nosuchname,nosuch2name)'", "Output correct" ); 131is( $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 1ef0b209..aace9bcc 100755
--- a/plugins/tests/check_snmp.t
+++ b/plugins/tests/check_snmp.t
@@ -8,7 +8,7 @@ use Test::More;
8use NPTest; 8use NPTest;
9use FindBin qw($Bin); 9use FindBin qw($Bin);
10 10
11my $tests = 53; 11my $tests = 67;
12# Check that all dependent modules are available 12# Check that all dependent modules are available
13eval { 13eval {
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
64my $res; 64my $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");
80cmp_ok( $res->return_code, '==', 0, "Exit OK when querying multi-line OIDs" ); 80cmp_ok( $res->return_code, '==', 0, "Exit OK when querying multi-line OIDs" );
81like($res->output, '/^SNMP OK - /', "String contains SNMP OK"); 81like($res->output, '/^SNMP OK - /', "String contains SNMP OK");
82like($res->output, '/'.quotemeta('SNMP OK - Cisco Internetwork Operating System Software Alice Kisco Outernetwork Oserating Gystem Totware | 82like($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
85IOS (tm) Catalyst 4000 \"L3\" Switch Software (cat4000-I9K91S-M), Version 85IOS (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:\\\\\"
110because we\'re not done yet!"').'/m', "Attempt to confuse parser No.3"); 110because we\'re not done yet!"').'/m', "Attempt to confuse parser No.3");
111 111
112system("rm -f ".$ENV{'NAGIOS_PLUGIN_STATE_DIRECTORY'}."/check_snmp/*"); 112system("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" );
114is($res->return_code, 0, "Returns OK"); 114is($res->return_code, 0, "Returns OK");
115is($res->output, "No previous data to calculate rate - assume okay"); 115is($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
214is($res->return_code, 0, "String check should check whole string, not a parsed number" ); 214is($res->return_code, 0, "String check should check whole string, not a parsed number" );
215is($res->output, 'SNMP OK - "CUSTOM CHECK OK: foo is 12345" | ', "String check witn numbers returns whole string"); 215is($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:" );
218is($res->return_code, 0, "Negative integer check OK" );
219is($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:" );
222is($res->return_code, 1, "Negative integer check WARNING" );
223is($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:" );
226is($res->return_code, 2, "Negative integer check CRITICAL" );
227is($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:" );
230is($res->return_code, 1, "Negative integer as string, WARNING" );
231is($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:" );
234is($res->return_code, 2, "Negative integer as string, CRITICAL" );
235is($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" );
238is($res->return_code, 0, "Negative float OK" );
239is($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" );
242is($res->return_code, 1, "Negative float WARNING" );
243is($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 8cacd527..0e41d575 100644
--- a/plugins/tests/check_snmp_agent.pl
+++ b/plugins/tests/check_snmp_agent.pl
@@ -7,7 +7,7 @@
7use NetSNMP::OID qw(:all); 7use NetSNMP::OID qw(:all);
8use NetSNMP::agent; 8use NetSNMP::agent;
9use NetSNMP::ASN qw(ASN_OCTET_STR ASN_COUNTER ASN_COUNTER64 ASN_INTEGER ASN_INTEGER64 ASN_UNSIGNED ASN_UNSIGNED64); 9use 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
11sub uint64 { return $_ } 11sub uint64 { return $_ }
12 12
13if (!$agent) { 13if (!$agent) {
@@ -16,8 +16,6 @@ if (!$agent) {
16} 16}
17 17
18my $baseoid = '.1.3.6.1.4.1.8072.3.2.67'; 18my $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
21my $multiline = 'Cisco Internetwork Operating System Software 19my $multiline = 'Cisco Internetwork Operating System Software
22IOS (tm) Catalyst 4000 "L3" Switch Software (cat4000-I9K91S-M), Version 20IOS (tm) Catalyst 4000 "L3" Switch Software (cat4000-I9K91S-M), Version
2312.2(20)EWA, RELEASE SOFTWARE (fc1) 2112.2(20)EWA, RELEASE SOFTWARE (fc1)
@@ -33,10 +31,12 @@ ends with with this: C:\\';
33my $multilin5 = 'And now have fun with with this: "C:\\" 31my $multilin5 = 'And now have fun with with this: "C:\\"
34because we\'re not done yet!'; 32because 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)
37my @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
38my @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' ); 36my @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 );
39my @incrts = (undef, undef, undef, undef, undef, 1000, -500, 1000, 100000, undef, 666, undef, undef, undef, undef, undef ); 37my @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
39my @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
42my $oidelts; 42my $oidelts;
diff --git a/plugins/tests/var/ps_axwo.debian b/plugins/tests/var/ps_axwo.debian
index 0d7d7bce..37a2d35e 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_
31S 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 31S 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
32S 0 6945 6907 1488 420 0.0 logger logger -p daemon.err -t mysqld_safe -i -t mysqld 32S 0 6945 6907 1488 420 0.0 logger logger -p daemon.err -t mysqld_safe -i -t mysqld
33S 1001 17778 1 6436 1588 0.0 snmpd /usr/sbin/snmpd -u nagios -Lsd -Lf /dev/null -p/var/run/snmpd.pid 33S 1001 17778 1 6436 1588 0.0 snmpd /usr/sbin/snmpd -u nagios -Lsd -Lf /dev/null -p/var/run/snmpd.pid
34Ss 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 34Ss 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
35Ss 0 847 2319 14452 1752 0.0 sshd sshd: tonvoon [priv] 35Ss 0 847 2319 14452 1752 0.0 sshd sshd: tonvoon [priv]
36S 1000 857 847 14616 1832 0.0 sshd sshd: tonvoon@pts/3 36S 1000 857 847 14616 1832 0.0 sshd sshd: tonvoon@pts/3
37Ss 1000 860 857 2984 1620 0.0 bash -bash 37Ss 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
79Ss 1001 23784 1 6428 4948 0.0 import_ndologsd import_ndologsd 79Ss 1001 23784 1 6428 4948 0.0 import_ndologsd import_ndologsd
80S+ 1001 9803 18955 4132 1936 0.0 ssh ssh altinity@cube02.lei.altinity 80S+ 1001 9803 18955 4132 1936 0.0 ssh ssh altinity@cube02.lei.altinity
81S 1001 22505 22324 20256 1616 0.0 nagios ../../bin/nagios -d /usr/local/nagios/etc/nagios.cfg 81S 1001 22505 22324 20256 1616 0.0 nagios ../../bin/nagios -d /usr/local/nagios/etc/nagios.cfg
82S 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 82S 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
83S 1001 22507 22506 1660 492 0.0 ping /bin/ping -n -U -w 10 -c 1 192.168.10.23 83S 1001 22507 22506 1660 492 0.0 ping /bin/ping -n -U -w 10 -c 1 192.168.10.23
84R+ 1001 22508 23370 2308 680 0.0 ps ps axwo stat uid pid ppid vsz rss pcpu comm args 84R+ 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 30b2a353..6fda72d1 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
33const char *progname = "urlize"; 32const char *progname = "urlize";
34const char *copyright = "2000-2006"; 33const char *copyright = "2000-2006";
35const char *email = "nagiosplug-devel@lists.sourceforge.net"; 34const 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 b57d5e17..58b153d8 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 657d4bfa..4c4aaccc 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\
195Send email to nagios-users@lists.sourceforge.net if you have questions\n\ 201Send email to help@monitoring-plugins.org if you have questions regarding\n\
196regarding use of this software. To submit patches or suggest improvements,\n\ 202use of this software. To submit patches or suggest improvements, send email\n\
197send email to nagiosplug-devel@lists.sourceforge.net\n\n") 203to devel@monitoring-plugins.org\n\n")
198 204
199#define UT_NOWARRANTY _("\n\ 205#define UT_NOWARRANTY _("\n\
200The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\n\ 206The Monitoring Plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\n\
201copies of the plugins under the terms of the GNU General Public License.\n\ 207copies of the plugins under the terms of the GNU General Public License.\n\
202For more information about these matters, see the file named COPYING.\n") 208For more information about these matters, see the file named COPYING.\n")
203 209
diff --git a/po/Makevars b/po/Makevars
index 152edec2..1bf1e0db 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.
21COPYRIGHT_HOLDER = Nagios Plugin Development Group 21COPYRIGHT_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.
25EXTRA_LOCALE_CATEGORIES = 25EXTRA_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
28PACKAGE_BUGREPORT = nagiosplug-devel@lists.sourceforge.net 28PACKAGE_BUGREPORT = devel@monitoring-plugins.org
29 29
diff --git a/po/de.po b/po/de.po
index cb886f91..51551aef 100644
--- a/po/de.po
+++ b/po/de.po
@@ -8,35 +8,36 @@
8msgid "" 8msgid ""
9msgstr "" 9msgstr ""
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
34msgid "Could not parse arguments" 35msgid "Could not parse arguments"
35msgstr "Argumente konnten nicht ausgewertet werden" 36msgstr "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
40msgid "Cannot catch SIGALRM" 41msgid "Cannot catch SIGALRM"
41msgstr "Konnte SIGALRM nicht erhalten" 42msgstr "Konnte SIGALRM nicht erhalten"
42 43
@@ -60,198 +61,202 @@ msgstr "SSH WARNING: Konnte %s nicht öffnen\n"
60msgid "%s: Error parsing output\n" 61msgid "%s: Error parsing output\n"
61msgstr "" 62msgstr ""
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
69msgid "Timeout interval must be a positive integer" 70msgid "Timeout interval must be a positive integer"
70msgstr "Timeout interval muss ein positiver Integer sein" 71msgstr "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
76msgid "Port must be a positive integer" 77msgid "Port must be a positive integer"
77msgstr "Port muss ein positiver Integer sein" 78msgstr "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
81msgid "skip-stdout argument must be an integer" 82msgid "skip-stdout argument must be an integer"
82msgstr "skip-stdout argument muss ein Integer sein" 83msgstr "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
86msgid "skip-stderr argument must be an integer" 87msgid "skip-stderr argument must be an integer"
87msgstr "skip-stderr argument muss ein Integer sein" 88msgstr "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
91msgid "%s: You must provide a host name\n" 92msgid "%s: You must provide a host name\n"
92msgstr "%s: Hostname muss angegeben werden\n" 93msgstr "%s: Hostname muss angegeben werden\n"
93 94
94#: plugins/check_by_ssh.c:335 95#: plugins/check_by_ssh.c:340
95msgid "No remotecmd" 96msgid "No remotecmd"
96msgstr "Kein remotecm" 97msgstr "Kein remotecm"
97 98
98#: plugins/check_by_ssh.c:349 99#: plugins/check_by_ssh.c:354
99#, c-format 100#, c-format
100msgid "%s: Argument limit of %d exceeded\n" 101msgid "%s: Argument limit of %d exceeded\n"
101msgstr "" 102msgstr ""
102 103
103#: plugins/check_by_ssh.c:352 104#: plugins/check_by_ssh.c:357
104#, fuzzy 105#, fuzzy
105msgid "Can not (re)allocate 'commargv' buffer\n" 106msgid "Can not (re)allocate 'commargv' buffer\n"
106msgstr "Konnte·url·nicht·zuweisen\n" 107msgstr "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
110msgid "" 111msgid ""
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"
112msgstr "" 113msgstr ""
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
117msgid "" 118msgid ""
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"
120msgstr "" 121msgstr ""
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
126msgid "This plugin uses SSH to execute commands on a remote host" 127msgid "This plugin uses SSH to execute commands on a remote host"
127msgstr "" 128msgstr ""
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
132msgid "tell ssh to use Protocol 1 [optional]" 133msgid "tell ssh to use Protocol 1 [optional]"
133msgstr "" 134msgstr ""
134 135
135#: plugins/check_by_ssh.c:400 136#: plugins/check_by_ssh.c:405
136msgid "tell ssh to use Protocol 2 [optional]" 137msgid "tell ssh to use Protocol 2 [optional]"
137msgstr "" 138msgstr ""
138 139
139#: plugins/check_by_ssh.c:402 140#: plugins/check_by_ssh.c:407
140msgid "Ignore all or (if specified) first n lines on STDOUT [optional]" 141msgid "Ignore all or (if specified) first n lines on STDOUT [optional]"
141msgstr "" 142msgstr ""
142 143
143#: plugins/check_by_ssh.c:404 144#: plugins/check_by_ssh.c:409
144msgid "Ignore all or (if specified) first n lines on STDERR [optional]" 145msgid "Ignore all or (if specified) first n lines on STDERR [optional]"
145msgstr "" 146msgstr ""
146 147
147#: plugins/check_by_ssh.c:406 148#: plugins/check_by_ssh.c:411
148msgid "" 149msgid ""
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"
151msgstr "" 152msgstr ""
152 153
153#: plugins/check_by_ssh.c:408 154#: plugins/check_by_ssh.c:413
154msgid "command to execute on the remote machine" 155msgid "command to execute on the remote machine"
155msgstr "" 156msgstr ""
156 157
157#: plugins/check_by_ssh.c:410 158#: plugins/check_by_ssh.c:415
158msgid "SSH user name on remote host [optional]" 159msgid "SSH user name on remote host [optional]"
159msgstr "" 160msgstr ""
160 161
161#: plugins/check_by_ssh.c:412 162#: plugins/check_by_ssh.c:417
162msgid "identity of an authorized key [optional]" 163msgid "identity of an authorized key [optional]"
163msgstr "" 164msgstr ""
164 165
165#: plugins/check_by_ssh.c:414 166#: plugins/check_by_ssh.c:419
166msgid "external command file for nagios [optional]" 167msgid "external command file for monitoring [optional]"
167msgstr "" 168msgstr ""
168 169
169#: plugins/check_by_ssh.c:416 170#: plugins/check_by_ssh.c:421
170msgid "list of nagios service names, separated by ':' [optional]" 171msgid "list of monitoring service names, separated by ':' [optional]"
171msgstr "" 172msgstr ""
172 173
173#: plugins/check_by_ssh.c:418 174#: plugins/check_by_ssh.c:423
174msgid "short name of host in nagios configuration [optional]" 175msgid "short name of host in the monitoring configuration [optional]"
175msgstr "" 176msgstr ""
176 177
177#: plugins/check_by_ssh.c:420 178#: plugins/check_by_ssh.c:425
178msgid "Call ssh with '-o OPTION' (may be used multiple times) [optional]" 179msgid "Call ssh with '-o OPTION' (may be used multiple times) [optional]"
179msgstr "" 180msgstr ""
180 181
181#: plugins/check_by_ssh.c:422 182#: plugins/check_by_ssh.c:427
183msgid "Tell ssh to use this configfile [optional]"
184msgstr ""
185
186#: plugins/check_by_ssh.c:429
182msgid "Tell ssh to suppress warning and diagnostic messages [optional]" 187msgid "Tell ssh to suppress warning and diagnostic messages [optional]"
183msgstr "" 188msgstr ""
184 189
185#: plugins/check_by_ssh.c:427 190#: plugins/check_by_ssh.c:434
186msgid "The most common mode of use is to refer to a local identity file with" 191msgid "The most common mode of use is to refer to a local identity file with"
187msgstr "" 192msgstr ""
188 193
189#: plugins/check_by_ssh.c:428 194#: plugins/check_by_ssh.c:435
190msgid "the '-i' option. In this mode, the identity pair should have a null" 195msgid "the '-i' option. In this mode, the identity pair should have a null"
191msgstr "" 196msgstr ""
192 197
193#: plugins/check_by_ssh.c:429 198#: plugins/check_by_ssh.c:436
194msgid "passphrase and the public key should be listed in the authorized_keys" 199msgid "passphrase and the public key should be listed in the authorized_keys"
195msgstr "" 200msgstr ""
196 201
197#: plugins/check_by_ssh.c:430 202#: plugins/check_by_ssh.c:437
198msgid "file of the remote host. Usually the key will be restricted to running" 203msgid "file of the remote host. Usually the key will be restricted to running"
199msgstr "" 204msgstr ""
200 205
201#: plugins/check_by_ssh.c:431 206#: plugins/check_by_ssh.c:438
202msgid "only one command on the remote server. If the remote SSH server tracks" 207msgid "only one command on the remote server. If the remote SSH server tracks"
203msgstr "" 208msgstr ""
204 209
205#: plugins/check_by_ssh.c:432 210#: plugins/check_by_ssh.c:439
206msgid "invocation arguments, the one remote program may be an agent that can" 211msgid "invocation arguments, the one remote program may be an agent that can"
207msgstr "" 212msgstr ""
208 213
209#: plugins/check_by_ssh.c:433 214#: plugins/check_by_ssh.c:440
210msgid "execute additional commands as proxy" 215msgid "execute additional commands as proxy"
211msgstr "" 216msgstr ""
212 217
213#: plugins/check_by_ssh.c:435 218#: plugins/check_by_ssh.c:442
214msgid "To use passive mode, provide multiple '-C' options, and provide" 219msgid "To use passive mode, provide multiple '-C' options, and provide"
215msgstr "" 220msgstr ""
216 221
217#: plugins/check_by_ssh.c:436 222#: plugins/check_by_ssh.c:443
218msgid "" 223msgid ""
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)"
220msgstr "" 225msgstr ""
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
227msgid "Examples:" 232msgid "Examples:"
228msgstr "" 233msgstr ""
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
246msgid "Usage:" 251msgid "Usage:"
247msgstr "" 252msgstr ""
248 253
249#: plugins/check_cluster.c:230 254#: plugins/check_cluster.c:230
250#, c-format 255#, c-format
251msgid "Host/Service Cluster Plugin for Nagios 2" 256msgid "Host/Service Cluster Plugin for Monitoring"
252msgstr "" 257msgstr ""
253 258
254#: plugins/check_cluster.c:236 plugins/check_nt.c:661 259#: plugins/check_cluster.c:236 plugins/check_nt.c:676
255msgid "Options:" 260msgid "Options:"
256msgstr "" 261msgstr ""
257 262
@@ -288,13 +293,13 @@ msgid "commas"
288msgstr "" 293msgstr ""
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
298msgid "Notes:" 303msgid "Notes:"
299msgstr "" 304msgstr ""
300 305
@@ -307,64 +312,72 @@ msgstr ""
307msgid "state." 312msgid "state."
308msgstr "" 313msgstr ""
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
312msgid "Looking for: '%s'\n" 317msgid "Looking for: '%s'\n"
313msgstr "" 318msgstr ""
314 319
315#: plugins/check_dig.c:108 320#: plugins/check_dig.c:109
316msgid "dig returned an error status" 321msgid "dig returned an error status"
317msgstr "dig hat einen Fehler zurückgegeben" 322msgstr "dig hat einen Fehler zurückgegeben"
318 323
319#: plugins/check_dig.c:133 324#: plugins/check_dig.c:134
320msgid "Server not found in ANSWER SECTION" 325msgid "Server not found in ANSWER SECTION"
321msgstr "Server nicht gefunden in ANSWER SECTION" 326msgstr "Server nicht gefunden in ANSWER SECTION"
322 327
323#: plugins/check_dig.c:143 328#: plugins/check_dig.c:144
324msgid "No ANSWER SECTION found" 329msgid "No ANSWER SECTION found"
325msgstr "Keine ANSWER SECTION gefunden" 330msgstr "Keine ANSWER SECTION gefunden"
326 331
327#: plugins/check_dig.c:170 332#: plugins/check_dig.c:171
328#, fuzzy 333#, fuzzy
329msgid "Probably a non-existent host/domain" 334msgid "Probably a non-existent host/domain"
330msgstr "nicht existierender Host/Domain" 335msgstr "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
334msgid "Port must be a positive integer - %s" 339msgid "Port must be a positive integer - %s"
335msgstr "Port muss ein positiver Integer sein - %s" 340msgstr "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
339msgid "Warning interval must be a positive integer - %s" 344msgid "Warning interval must be a positive integer - %s"
340msgstr "Warning interval muss ein positiver Integer sein - %s" 345msgstr "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
344msgid "Critical interval must be a positive integer - %s" 349msgid "Critical interval must be a positive integer - %s"
345msgstr "Critical interval muss ein positiver Integer sein - %s" 350msgstr "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
349msgid "Timeout interval must be a positive integer - %s" 354msgid "Timeout interval must be a positive integer - %s"
350msgstr "Timeout interval muss ein positiver Integer sein - %s" 355msgstr "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
354msgid "This plugin test the DNS service on the specified host using dig" 359msgid "This plugin test the DNS service on the specified host using dig"
355msgstr "Testet den DNS Dienst auf dem angegebenen Host mit dig" 360msgstr "Testet den DNS Dienst auf dem angegebenen Host mit dig"
356 361
357#: plugins/check_dig.c:329 362#: plugins/check_dig.c:338
363msgid "Force dig to only use IPv4 query transport"
364msgstr ""
365
366#: plugins/check_dig.c:340
367msgid "Force dig to only use IPv6 query transport"
368msgstr ""
369
370#: plugins/check_dig.c:342
358#, fuzzy 371#, fuzzy
359msgid "Machine name to lookup" 372msgid "Machine name to lookup"
360msgstr "zu prüfender Hostname" 373msgstr "zu prüfender Hostname"
361 374
362#: plugins/check_dig.c:331 375#: plugins/check_dig.c:344
363#, fuzzy 376#, fuzzy
364msgid "Record type to lookup (default: A)" 377msgid "Record type to lookup (default: A)"
365msgstr "abzufragender Datensatztyp (Default: A)" 378msgstr "abzufragender Datensatztyp (Default: A)"
366 379
367#: plugins/check_dig.c:333 380#: plugins/check_dig.c:346
368#, fuzzy 381#, fuzzy
369msgid "" 382msgid ""
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
376msgid "was in -l" 389msgid "was in -l"
377msgstr "" 390msgstr ""
378 391
379#: plugins/check_dig.c:336 392#: plugins/check_dig.c:349
380msgid "Pass STRING as argument(s) to dig" 393msgid "Pass STRING as argument(s) to dig"
381msgstr "" 394msgstr ""
382 395
383#: plugins/check_disk.c:214 396#: plugins/check_disk.c:216
384#, fuzzy, c-format 397#, fuzzy, c-format
385msgid "DISK %s: %s not found\n" 398msgid "DISK %s: %s not found\n"
386msgstr "%s [%s nicht gefunden]" 399msgstr "%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
393msgid "CRITICAL" 408msgid "CRITICAL"
394msgstr "CRITICAL" 409msgstr "CRITICAL"
395 410
396#: plugins/check_disk.c:599 411#: plugins/check_disk.c:550
397#, c-format 412#, c-format
398msgid "unit type %s not known\n" 413msgid "unit type %s not known\n"
399msgstr "unbekannter unit type: %s\n" 414msgstr "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
403msgid "failed allocating storage for '%s'\n" 418msgid "failed allocating storage for '%s'\n"
404msgstr "konnte keinen Speicher für '%s' reservieren\n" 419msgstr "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
411msgid "UNKNOWN" 427msgid "UNKNOWN"
412msgstr "UNKNOWN" 428msgstr "UNKNOWN"
413 429
414#: plugins/check_disk.c:626 430#: plugins/check_disk.c:577
415msgid "Must set a threshold value before using -p\n" 431msgid "Must set a threshold value before using -p\n"
416msgstr "" 432msgstr ""
417 433
418#: plugins/check_disk.c:664 434#: plugins/check_disk.c:618
419msgid "Must set -E before selecting paths\n" 435msgid "Must set -E before selecting paths\n"
420msgstr "" 436msgstr ""
421 437
422#: plugins/check_disk.c:669 438#: plugins/check_disk.c:626
423msgid "Must set group value before selecting paths\n" 439msgid "Must set group value before selecting paths\n"
424msgstr "" 440msgstr ""
425 441
426#: plugins/check_disk.c:676 442#: plugins/check_disk.c:633
427msgid "" 443msgid ""
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"
430msgstr "" 446msgstr ""
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
433msgid "Could not compile regular expression" 449msgid "Could not compile regular expression"
434msgstr "" 450msgstr ""
435 451
436#: plugins/check_disk.c:720 452#: plugins/check_disk.c:677
437msgid "Must set a threshold value before using -r/-R\n" 453msgid "Must set a threshold value before using -r/-R\n"
438msgstr "" 454msgstr ""
439 455
440#: plugins/check_disk.c:746 456#: plugins/check_disk.c:703
441msgid "Regular expression did not match any path or disk" 457msgid "Regular expression did not match any path or disk"
442msgstr "" 458msgstr ""
443 459
444#: plugins/check_disk.c:792 460#: plugins/check_disk.c:749
445#, fuzzy 461#, fuzzy
446msgid "Unknown argument" 462msgid "Unknown argument"
447msgstr "Unbekanntes Argument" 463msgstr "Unbekanntes Argument"
448 464
449#: plugins/check_disk.c:826 465#: plugins/check_disk.c:783
450#, c-format 466#, c-format
451msgid " for %s\n" 467msgid " for %s\n"
452msgstr "" 468msgstr ""
453 469
454#: plugins/check_disk.c:900 470#: plugins/check_disk.c:857
455#, fuzzy 471#, fuzzy
456msgid "" 472msgid ""
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"
458msgstr "" 474msgstr ""
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
463msgid "" 479msgid ""
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
470msgid "Exit with WARNING status if less than INTEGER units of disk are free" 486msgid "Exit with WARNING status if less than INTEGER units of disk are free"
471msgstr "" 487msgstr ""
472 488
473#: plugins/check_disk.c:913 489#: plugins/check_disk.c:870
474msgid "Exit with WARNING status if less than PERCENT of disk space is free" 490msgid "Exit with WARNING status if less than PERCENT of disk space is free"
475msgstr "" 491msgstr ""
476 492
477#: plugins/check_disk.c:915 493#: plugins/check_disk.c:872
478msgid "Exit with CRITICAL status if less than INTEGER units of disk are free" 494msgid "Exit with CRITICAL status if less than INTEGER units of disk are free"
479msgstr "" 495msgstr ""
480 496
481#: plugins/check_disk.c:917 497#: plugins/check_disk.c:874
482msgid "Exit with CRITCAL status if less than PERCENT of disk space is free" 498msgid "Exit with CRITICAL status if less than PERCENT of disk space is free"
483msgstr "" 499msgstr ""
484 500
485#: plugins/check_disk.c:919 501#: plugins/check_disk.c:876
486msgid "Exit with WARNING status if less than PERCENT of inode space is free" 502msgid "Exit with WARNING status if less than PERCENT of inode space is free"
487msgstr "" 503msgstr ""
488 504
489#: plugins/check_disk.c:921 505#: plugins/check_disk.c:878
490msgid "Exit with CRITICAL status if less than PERCENT of inode space is free" 506msgid "Exit with CRITICAL status if less than PERCENT of inode space is free"
491msgstr "" 507msgstr ""
492 508
493#: plugins/check_disk.c:923 509#: plugins/check_disk.c:880
494msgid "Path or partition (may be repeated)" 510msgid "Path or partition (may be repeated)"
495msgstr "" 511msgstr ""
496 512
497#: plugins/check_disk.c:925 513#: plugins/check_disk.c:882
498msgid "Ignore device (only works if -p unspecified)" 514msgid "Ignore device (only works if -p unspecified)"
499msgstr "" 515msgstr ""
500 516
501#: plugins/check_disk.c:927 517#: plugins/check_disk.c:884
502msgid "Clear thresholds" 518msgid "Clear thresholds"
503msgstr "" 519msgstr ""
504 520
505#: plugins/check_disk.c:929 521#: plugins/check_disk.c:886
506msgid "For paths or partitions specified with -p, only check for exact paths" 522msgid "For paths or partitions specified with -p, only check for exact paths"
507msgstr "" 523msgstr ""
508 524
509#: plugins/check_disk.c:931 525#: plugins/check_disk.c:888
510msgid "Display only devices/mountpoints with errors" 526msgid "Display only devices/mountpoints with errors"
511msgstr "" 527msgstr ""
512 528
513#: plugins/check_disk.c:933 529#: plugins/check_disk.c:890
530msgid "Don't account root-reserved blocks into freespace in perfdata"
531msgstr ""
532
533#: plugins/check_disk.c:892
514msgid "" 534msgid ""
515"Group paths. Thresholds apply to (free-)space of all partitions together" 535"Group paths. Thresholds apply to (free-)space of all partitions together"
516msgstr "" 536msgstr ""
517 537
518#: plugins/check_disk.c:935 538#: plugins/check_disk.c:894
519msgid "Same as '--units kB'" 539msgid "Same as '--units kB'"
520msgstr "" 540msgstr ""
521 541
522#: plugins/check_disk.c:937 542#: plugins/check_disk.c:896
523msgid "Only check local filesystems" 543msgid "Only check local filesystems"
524msgstr "" 544msgstr ""
525 545
526#: plugins/check_disk.c:939 546#: plugins/check_disk.c:898
527msgid "" 547msgid ""
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"
530msgstr "" 550msgstr ""
531 551
532#: plugins/check_disk.c:940 552#: plugins/check_disk.c:899
533msgid "to test if they are accessible (e.g. to detect Stale NFS Handles)" 553msgid "to test if they are accessible (e.g. to detect Stale NFS Handles)"
534msgstr "" 554msgstr ""
535 555
536#: plugins/check_disk.c:942 556#: plugins/check_disk.c:901
537msgid "Display the mountpoint instead of the partition" 557msgid "Display the mountpoint instead of the partition"
538msgstr "" 558msgstr ""
539 559
540#: plugins/check_disk.c:944 560#: plugins/check_disk.c:903
541msgid "Same as '--units MB'" 561msgid "Same as '--units MB'"
542msgstr "" 562msgstr ""
543 563
544#: plugins/check_disk.c:946 564#: plugins/check_disk.c:905
545msgid "Explicitly select all paths. This is equivalent to -R '.*'" 565msgid "Explicitly select all paths. This is equivalent to -R '.*'"
546msgstr "" 566msgstr ""
547 567
548#: plugins/check_disk.c:948 568#: plugins/check_disk.c:907
549msgid "" 569msgid ""
550"Case insensitive regular expression for path/partition (may be repeated)" 570"Case insensitive regular expression for path/partition (may be repeated)"
551msgstr "" 571msgstr ""
552 572
553#: plugins/check_disk.c:950 573#: plugins/check_disk.c:909
554msgid "Regular expression for path or partition (may be repeated)" 574msgid "Regular expression for path or partition (may be repeated)"
555msgstr "" 575msgstr ""
556 576
557#: plugins/check_disk.c:952 577#: plugins/check_disk.c:911
558msgid "" 578msgid ""
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)"
561msgstr "" 581msgstr ""
562 582
563#: plugins/check_disk.c:954 583#: plugins/check_disk.c:913
564msgid "" 584msgid ""
565"Regular expression to ignore selected path or partition (may be repeated)" 585"Regular expression to ignore selected path or partition (may be repeated)"
566msgstr "" 586msgstr ""
567 587
568#: plugins/check_disk.c:957 588#: plugins/check_disk.c:916
569msgid "Choose bytes, kB, MB, GB, TB (default: MB)" 589msgid "Choose bytes, kB, MB, GB, TB (default: MB)"
570msgstr "" 590msgstr ""
571 591
572#: plugins/check_disk.c:960 592#: plugins/check_disk.c:919
573msgid "Ignore all filesystems of indicated type (may be repeated)" 593msgid "Ignore all filesystems of indicated type (may be repeated)"
574msgstr "" 594msgstr ""
575 595
576#: plugins/check_disk.c:965 596#: plugins/check_disk.c:921
597msgid "Check only filesystems of indicated type (may be repeated)"
598msgstr ""
599
600#: plugins/check_disk.c:926
577msgid "Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB" 601msgid "Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB"
578msgstr "" 602msgstr ""
579 603
580#: plugins/check_disk.c:967 604#: plugins/check_disk.c:928
581msgid "" 605msgid ""
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"
584msgstr "" 608msgstr ""
585 609
586#: plugins/check_disk.c:968 610#: plugins/check_disk.c:929
587msgid "" 611msgid ""
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"
590msgstr "" 614msgstr ""
591 615
592#: plugins/check_disk.c:970 616#: plugins/check_disk.c:931
593msgid "" 617msgid ""
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"
596msgstr "" 620msgstr ""
597 621
598#: plugins/check_disk.c:996 622#: plugins/check_disk.c:957
599#, c-format 623#, c-format
600msgid "%s %s: %s\n" 624msgid "%s %s: %s\n"
601msgstr "" 625msgstr ""
602 626
603#: plugins/check_disk.c:996 627#: plugins/check_disk.c:957
604msgid "is not accessible" 628msgid "is not accessible"
605msgstr "" 629msgstr ""
606 630
@@ -638,13 +662,15 @@ msgid "server %s is not authoritative for %s"
638msgstr "Server %s ist nicht autoritativ für %s" 662msgstr "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
643msgid "OK" 667msgid "OK"
644msgstr "OK" 668msgstr "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
649msgid "WARNING" 675msgid "WARNING"
650msgstr "WARNING" 676msgstr "WARNING"
@@ -811,146 +837,182 @@ msgstr ""
811msgid "of the <state> argument with optional text" 837msgid "of the <state> argument with optional text"
812msgstr "" 838msgstr ""
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
817msgid "Could not open pipe: %s\n" 843msgid "Could not open pipe: %s\n"
818msgstr "Pipe: %s konnte nicht geöffnet werden\n" 844msgstr "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
823msgid "Could not open stderr for %s\n" 849msgid "Could not open stderr for %s\n"
824msgstr "Konnte stderr nicht öffnen für: %s\n" 850msgstr "Konnte stderr nicht öffnen für: %s\n"
825 851
826#: plugins/check_fping.c:154 852#: plugins/check_fping.c:157
853#, fuzzy
854msgid "FPING UNKNOWN - IP address not found\n"
855msgstr "FPING UNKNOW - %s nicht gefunden\n"
856
857#: plugins/check_fping.c:160
858msgid "FPING UNKNOWN - invalid commandline argument\n"
859msgstr ""
860
861#: plugins/check_fping.c:163
862#, fuzzy
863msgid "FPING UNKNOWN - failed system call\n"
864msgstr "FPING UNKNOW - %s nicht gefunden\n"
865
866#: plugins/check_fping.c:187
827#, c-format 867#, c-format
828msgid "FPING UNKNOW - %s not found\n" 868msgid "FPING UNKNOW - %s not found\n"
829msgstr "FPING UNKNOW - %s nicht gefunden\n" 869msgstr "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
833msgid "FPING CRITICAL - %s is unreachable\n" 873msgid "FPING CRITICAL - %s is unreachable\n"
834msgstr "FPING CRITICAL - %s ist nicht erreichbar\n" 874msgstr "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
878msgid "FPING UNKNOWN - %s parameter error\n"
879msgstr "FPING UNKNOW - %s nicht gefunden\n"
880
881#: plugins/check_fping.c:200 plugins/check_fping.c:240
837#, c-format 882#, c-format
838msgid "FPING CRITICAL - %s is down\n" 883msgid "FPING CRITICAL - %s is down\n"
839msgstr "FPING CRITICAL - %s ist down\n" 884msgstr "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
843msgid "FPING %s - %s (loss=%.0f%%, rta=%f ms)|%s %s\n" 888msgid "FPING %s - %s (loss=%.0f%%, rta=%f ms)|%s %s\n"
844msgstr "FPING %s - %s (verloren=%.0f%%, rta=%f ms)|%s %s\n" 889msgstr "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
848msgid "FPING %s - %s (loss=%.0f%% )|%s\n" 893msgid "FPING %s - %s (loss=%.0f%% )|%s\n"
849msgstr "FPING %s - %s (verloren=%.0f%% )|%s\n" 894msgstr "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
859msgid "Invalid hostname/address" 905msgid "Invalid hostname/address"
860msgstr "Ungültige(r) Hostname/Adresse" 906msgstr "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
909msgid "IPv6 support not available\n"
910msgstr ""
911
912#: plugins/check_fping.c:378
863msgid "Packet size must be a positive integer" 913msgid "Packet size must be a positive integer"
864msgstr "Paketgröße muss ein positiver Integer sein" 914msgstr "Paketgröße muss ein positiver Integer sein"
865 915
866#: plugins/check_fping.c:320 916#: plugins/check_fping.c:384
867msgid "Packet count must be a positive integer" 917msgid "Packet count must be a positive integer"
868msgstr "Paketanzahl muss ein positiver Integer sein" 918msgstr "Paketanzahl muss ein positiver Integer sein"
869 919
870#: plugins/check_fping.c:326 920#: plugins/check_fping.c:390
871#, fuzzy 921#, fuzzy
872msgid "Target timeout must be a positive integer" 922msgid "Target timeout must be a positive integer"
873msgstr "Warnung time muss ein positiver Integer sein" 923msgstr "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
877msgid "Interval must be a positive integer" 927msgid "Interval must be a positive integer"
878msgstr "Timeout interval muss ein positiver Integer sein" 928msgstr "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
883msgid "Hostname was not supplied" 933msgid "Hostname was not supplied"
884msgstr "" 934msgstr ""
885 935
886#: plugins/check_fping.c:358 936#: plugins/check_fping.c:422
887#, c-format 937#, c-format
888msgid "%s: Only one threshold may be packet loss (%s)\n" 938msgid "%s: Only one threshold may be packet loss (%s)\n"
889msgstr "%s: Nur ein Wert darf für paket loss angegeben werden (%s)\n" 939msgstr "%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
893msgid "%s: Only one threshold must be packet loss (%s)\n" 943msgid "%s: Only one threshold must be packet loss (%s)\n"
894msgstr "%s: Nur ein Wert darf für paket loss angegeben werden (%s)\n" 944msgstr "%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
897msgid "" 947msgid ""
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"
900msgstr "" 950msgstr ""
901 951
902#: plugins/check_fping.c:396 952#: plugins/check_fping.c:460
903msgid "Note that it is necessary to set the suid flag on fping." 953msgid "Note that it is necessary to set the suid flag on fping."
904msgstr "" 954msgstr ""
905 955
906#: plugins/check_fping.c:406 956#: plugins/check_fping.c:472
907msgid "" 957msgid ""
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)"
910msgstr "" 960msgstr ""
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
914msgid "warning threshold pair" 964msgid "warning threshold pair"
915msgstr "Warning threshold Integer sein" 965msgstr "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
919msgid "critical threshold pair" 969msgid "critical threshold pair"
920msgstr "Critical threshold muss ein Integer sein" 970msgstr "Critical threshold muss ein Integer sein"
921 971
922#: plugins/check_fping.c:412 972#: plugins/check_fping.c:478
923msgid "size of ICMP packet" 973msgid "size of ICMP packet"
924msgstr "" 974msgstr ""
925 975
926#: plugins/check_fping.c:414 976#: plugins/check_fping.c:480
927msgid "number of ICMP packets to send" 977msgid "number of ICMP packets to send"
928msgstr "" 978msgstr ""
929 979
930#: plugins/check_fping.c:416 980#: plugins/check_fping.c:482
931msgid "Target timeout (ms)" 981msgid "Target timeout (ms)"
932msgstr "" 982msgstr ""
933 983
934#: plugins/check_fping.c:418 984#: plugins/check_fping.c:484
935msgid "Interval (ms) between sending packets" 985msgid "Interval (ms) between sending packets"
936msgstr "" 986msgstr ""
937 987
938#: plugins/check_fping.c:421 988#: plugins/check_fping.c:486
989msgid "name or IP Address of sourceip"
990msgstr ""
991
992#: plugins/check_fping.c:488
993msgid "source interface name"
994msgstr ""
995
996#: plugins/check_fping.c:491
939#, c-format 997#, c-format
940msgid "" 998msgid ""
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)"
943msgstr "" 1001msgstr ""
944 1002
945#: plugins/check_fping.c:422 1003#: plugins/check_fping.c:492
946msgid "" 1004msgid ""
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"
948msgstr "" 1006msgstr ""
949 1007
950#: plugins/check_fping.c:423 1008#: plugins/check_fping.c:493
951msgid "packet loss to trigger an alarm state." 1009msgid "packet loss to trigger an alarm state."
952msgstr "" 1010msgstr ""
953 1011
1012#: plugins/check_fping.c:496
1013msgid "IPv4 is used by default. Specify -6 to use IPv6."
1014msgstr ""
1015
954#: plugins/check_game.c:111 1016#: plugins/check_game.c:111
955#, c-format 1017#, c-format
956msgid "CRITICAL - Host type parameter incorrect!\n" 1018msgid "CRITICAL - Host type parameter incorrect!\n"
@@ -1086,457 +1148,535 @@ msgstr ""
1086msgid "(default=%s)" 1148msgid "(default=%s)"
1087msgstr "" 1149msgstr ""
1088 1150
1089#: plugins/check_http.c:262 1151#: plugins/check_http.c:189
1090msgid "Critical threshold must be integer" 1152msgid "file does not exist or is not readable"
1091msgstr "Critical threshold muss ein Integer sein" 1153msgstr ""
1092
1093#: plugins/check_http.c:270
1094msgid "Warning threshold must be integer"
1095msgstr "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
1098msgid "Invalid certificate expiration period" 1158msgid "Invalid certificate expiration period"
1099msgstr "Ungültiger Zertifikatsablauftermin" 1159msgstr "Ungültiger Zertifikatsablauftermin"
1100 1160
1101#: plugins/check_http.c:305 plugins/check_tcp.c:571 1161#: plugins/check_http.c:348
1162msgid ""
1163"Invalid option - Valid values for SSL Version are 1 (TLSv1), 2 (SSLv2) or 3 "
1164"(SSLv3)"
1165msgstr ""
1166
1167#: plugins/check_http.c:354 plugins/check_tcp.c:599
1102#, fuzzy 1168#, fuzzy
1103msgid "Invalid option - SSL is not available" 1169msgid "Invalid option - SSL is not available"
1104msgstr "Ungültige Option - SSL ist nicht verfügbar\n" 1170msgstr "Ungültige Option - SSL ist nicht verfügbar\n"
1105 1171
1106#: plugins/check_http.c:329 1172#: plugins/check_http.c:375
1107msgid "Invalid onredirect option" 1173msgid "Invalid onredirect option"
1108msgstr "" 1174msgstr ""
1109 1175
1110#: plugins/check_http.c:331 1176#: plugins/check_http.c:377
1111#, c-format 1177#, c-format
1112msgid "option f:%d \n" 1178msgid "option f:%d \n"
1113msgstr "Option f:%d \n" 1179msgstr "Option f:%d \n"
1114 1180
1115#: plugins/check_http.c:352 1181#: plugins/check_http.c:398
1116msgid "Invalid port number" 1182msgid "Invalid port number"
1117msgstr "Ungültige Portnummer" 1183msgstr "Ungültige Portnummer"
1118 1184
1119#: plugins/check_http.c:400 1185#: plugins/check_http.c:450
1120#, c-format 1186#, c-format
1121msgid "Could Not Compile Regular Expression: %s" 1187msgid "Could Not Compile Regular Expression: %s"
1122msgstr "" 1188msgstr ""
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
1127msgid "IPv6 support not available" 1193msgid "IPv6 support not available"
1128msgstr "IPv6 Unterstützung nicht vorhanden" 1194msgstr "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
1131msgid "You must specify a server address or host name" 1197msgid "You must specify a server address or host name"
1132msgstr "Hostname oder Serveradresse muss angegeben werden" 1198msgstr "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
1201msgid ""
1202"If you use a client certificate you must also specify a private key file"
1203msgstr ""
1204
1205#: plugins/check_http.c:667 plugins/check_http.c:835
1135#, fuzzy 1206#, fuzzy
1136msgid "HTTP UNKNOWN - Memory allocation error\n" 1207msgid "HTTP UNKNOWN - Memory allocation error\n"
1137msgstr "HTTP UNKNOWN - Konnte·url·nicht·zuweisen\n" 1208msgstr "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
1141msgid "%sServer date unknown, " 1212msgid "%sServer date unknown, "
1142msgstr "HTTP UNKNOWN - Serverdatum unbekannt\n" 1213msgstr "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
1146msgid "%sDocument modification date unknown, " 1217msgid "%sDocument modification date unknown, "
1147msgstr "HTTP CRITICAL - Datum der letzten Änderung unbekannt\n" 1218msgstr "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
1151msgid "%sServer date \"%100s\" unparsable, " 1222msgid "%sServer date \"%100s\" unparsable, "
1152msgstr "HTTP CRITICAL - Serverdatum \"%100s\" konnte nicht verarbeitet werden" 1223msgstr "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
1156msgid "%sDocument date \"%100s\" unparsable, " 1227msgid "%sDocument date \"%100s\" unparsable, "
1157msgstr "" 1228msgstr ""
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
1162msgid "%sDocument is %d seconds in the future, " 1233msgid "%sDocument is %d seconds in the future, "
1163msgstr "HTTP CRITICAL - Dokumentendatum ist %d Sekunden in der Zukunft\n" 1234msgstr "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
1167msgid "%sLast modified %.1f days ago, " 1238msgid "%sLast modified %.1f days ago, "
1168msgstr "HTTP CRITICAL - Letzte Änderung vor %.1f Tagen\n" 1239msgstr "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
1172msgid "%sLast modified %d:%02d:%02d ago, " 1243msgid "%sLast modified %d:%02d:%02d ago, "
1173msgstr "HTTP CRITICAL - Letzte Änderung vor %d:%02d:%02d \n" 1244msgstr "HTTP CRITICAL - Letzte Änderung vor %d:%02d:%02d \n"
1174 1245
1175#: plugins/check_http.c:807 1246#: plugins/check_http.c:876
1176msgid "HTTP CRITICAL - Unable to open TCP socket\n" 1247msgid "HTTP CRITICAL - Unable to open TCP socket\n"
1177msgstr "HTTP CRITICAL - Konnte TCP socket nicht öffnen\n" 1248msgstr "HTTP CRITICAL - Konnte TCP socket nicht öffnen\n"
1178 1249
1179#: plugins/check_http.c:910 1250#: plugins/check_http.c:995
1180msgid "HTTP CRITICAL - Error on receive\n" 1251msgid "HTTP CRITICAL - Error on receive\n"
1181msgstr "HTTP CRITICAL - Fehler beim Empfangen\n" 1252msgstr "HTTP CRITICAL - Fehler beim Empfangen\n"
1182 1253
1183#: plugins/check_http.c:920 1254#: plugins/check_http.c:1005
1184#, fuzzy 1255#, fuzzy
1185msgid "HTTP CRITICAL - No data received from host\n" 1256msgid "HTTP CRITICAL - No data received from host\n"
1186msgstr "HTTP CRITICAL - Keine Daten empfangen\n" 1257msgstr "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
1190msgid "Invalid HTTP response received from host: %s\n" 1261msgid "Invalid HTTP response received from host: %s\n"
1191msgstr "Ungültige HTTP Antwort von Host empfangen\n" 1262msgstr "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
1195msgid "Invalid HTTP response received from host on port %d: %s\n" 1266msgid "Invalid HTTP response received from host on port %d: %s\n"
1196msgstr "Ungültige HTTP Antwort von Host erhalten auf Port %d\n" 1267msgstr "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
1200msgid "Status line output matched \"%s\" - " 1271msgid "Status line output matched \"%s\" - "
1201msgstr "HTTP OK: Statusausgabe passt auf \"%s\"\n" 1272msgstr "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
1205msgid "HTTP CRITICAL: Invalid Status Line (%s)\n" 1276msgid "HTTP CRITICAL: Invalid Status Line (%s)\n"
1206msgstr "HTTP CRITICAL: Ungültige Statusmeldung (%s)\n" 1277msgstr "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
1210msgid "HTTP CRITICAL: Invalid Status (%s)\n" 1281msgid "HTTP CRITICAL: Invalid Status (%s)\n"
1211msgstr "HTTP CRITICAL: Ungültiger Status (%s)\n" 1282msgstr "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
1216msgid "%s - " 1287msgid "%s - "
1217msgstr "" 1288msgstr ""
1218 1289
1219#: plugins/check_http.c:1045 1290#: plugins/check_http.c:1129
1291#, fuzzy, c-format
1292msgid "%sheader '%s' not found on '%s://%s:%d%s', "
1293msgstr "CRITICAL - Muster nicht gefunden%s|%s %s\n"
1294
1295#: plugins/check_http.c:1141
1220#, fuzzy, c-format 1296#, fuzzy, c-format
1221msgid "%sstring '%s' not found on '%s://%s:%d%s', " 1297msgid "%sstring '%s' not found on '%s://%s:%d%s', "
1222msgstr "CRITICAL - Muster nicht gefunden%s|%s %s\n" 1298msgstr "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
1226msgid "%spattern not found, " 1302msgid "%spattern not found, "
1227msgstr "CRITICAL - Muster nicht gefunden%s|%s %s\n" 1303msgstr "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
1231msgid "%spattern found, " 1307msgid "%spattern found, "
1232msgstr "CRITICAL - Muster nicht gefunden%s|%s %s\n" 1308msgstr "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
1236msgid "%sExecute Error: %s, " 1312msgid "%sExecute Error: %s, "
1237msgstr "HTTP CRITICAL - Fehler: %s\n" 1313msgstr "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
1241msgid "%spage size %d too large, " 1317msgid "%spage size %d too large, "
1242msgstr "HTTP WARNING: Seitengröße %d zu klein%s|%s\n" 1318msgstr "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
1246msgid "%spage size %d too small, " 1322msgid "%spage size %d too small, "
1247msgstr "HTTP WARNING: Seitengröße %d zu klein%s|%s\n" 1323msgstr "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
1327msgid "%s - %d bytes in %.3f second response time %s|%s %s %s %s %s %s %s"
1328msgstr " - %s - %.3f Sekunden Antwortzeit %s%s|%s %s\n"
1329
1330#: plugins/check_http.c:1206
1250#, fuzzy, c-format 1331#, fuzzy, c-format
1251msgid "%s - %d bytes in %.3f second response time %s|%s %s" 1332msgid "%s - %d bytes in %.3f second response time %s|%s %s"
1252msgstr " - %s - %.3f Sekunden Antwortzeit %s%s|%s %s\n" 1333msgstr " - %s - %.3f Sekunden Antwortzeit %s%s|%s %s\n"
1253 1334
1254#: plugins/check_http.c:1137 1335#: plugins/check_http.c:1244
1255msgid "HTTP UNKNOWN - Could not allocate addr\n" 1336msgid "HTTP UNKNOWN - Could not allocate addr\n"
1256msgstr "HTTP UNKNOWN - Konnte addr nicht zuweisen\n" 1337msgstr "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
1260msgid "HTTP UNKNOWN - Could not allocate URL\n" 1341msgid "HTTP UNKNOWN - Could not allocate URL\n"
1261msgstr "HTTP UNKNOWN - Konnte·url·nicht·zuweisen\n" 1342msgstr "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
1265msgid "HTTP UNKNOWN - Could not find redirect location - %s%s\n" 1346msgid "HTTP UNKNOWN - Could not find redirect location - %s%s\n"
1266msgstr "" 1347msgstr ""
1267 1348
1268#: plugins/check_http.c:1165 1349#: plugins/check_http.c:1272
1269#, fuzzy, c-format 1350#, fuzzy, c-format
1270msgid "HTTP UNKNOWN - Empty redirect location%s\n" 1351msgid "HTTP UNKNOWN - Empty redirect location%s\n"
1271msgstr "HTTP UNKNOWN - Serverdatum unbekannt\n" 1352msgstr "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
1275msgid "HTTP UNKNOWN - Could not parse redirect location - %s%s\n" 1356msgid "HTTP UNKNOWN - Could not parse redirect location - %s%s\n"
1276msgstr "" 1357msgstr ""
1277 1358
1278#: plugins/check_http.c:1225 1359#: plugins/check_http.c:1332
1279#, fuzzy, c-format 1360#, fuzzy, c-format
1280msgid "HTTP WARNING - maximum redirection depth %d exceeded - %s://%s:%d%s%s\n" 1361msgid "HTTP WARNING - maximum redirection depth %d exceeded - %s://%s:%d%s%s\n"
1281msgstr "HTTP WARNING - Umleitung verursacht eine Schleife - %s://%s:%d%s%s\n" 1362msgstr "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
1285msgid "HTTP WARNING - redirection creates an infinite loop - %s://%s:%d%s%s\n" 1366msgid "HTTP WARNING - redirection creates an infinite loop - %s://%s:%d%s%s\n"
1286msgstr "HTTP WARNING - Umleitung verursacht eine Schleife - %s://%s:%d%s%s\n" 1367msgstr "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
1290msgid "HTTP UNKNOWN - Redirection to port above %d - %s://%s:%d%s%s\n" 1371msgid "HTTP UNKNOWN - Redirection to port above %d - %s://%s:%d%s%s\n"
1291msgstr "HTTP WARNING - Umleitung verursacht eine Schleife - %s://%s:%d%s%s\n" 1372msgstr "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
1295msgid "Redirection to %s://%s:%d%s\n" 1376msgid "Redirection to %s://%s:%d%s\n"
1296msgstr "" 1377msgstr ""
1297 1378
1298#: plugins/check_http.c:1310 1379#: plugins/check_http.c:1440
1299#, fuzzy 1380#, fuzzy
1300msgid "This plugin tests the HTTP service on the specified host. It can test" 1381msgid "This plugin tests the HTTP service on the specified host. It can test"
1301msgstr "" 1382msgstr ""
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
1306msgid "normal (http) and secure (https) servers, follow redirects, search for" 1387msgid "normal (http) and secure (https) servers, follow redirects, search for"
1307msgstr "" 1388msgstr ""
1308 1389
1309#: plugins/check_http.c:1312 1390#: plugins/check_http.c:1442
1310msgid "strings and regular expressions, check connection times, and report on" 1391msgid "strings and regular expressions, check connection times, and report on"
1311msgstr "" 1392msgstr ""
1312 1393
1313#: plugins/check_http.c:1313 1394#: plugins/check_http.c:1443
1314#, fuzzy 1395#, fuzzy
1315msgid "certificate expiration times." 1396msgid "certificate expiration times."
1316msgstr "Clientzertifikat benötigt\n" 1397msgstr "Clientzertifikat benötigt\n"
1317 1398
1318#: plugins/check_http.c:1319 1399#: plugins/check_http.c:1449
1319#, c-format 1400#, c-format
1320msgid "NOTE: One or both of -H and -I must be specified" 1401msgid "NOTE: One or both of -H and -I must be specified"
1321msgstr "" 1402msgstr ""
1322 1403
1323#: plugins/check_http.c:1327 1404#: plugins/check_http.c:1457
1324msgid "Host name argument for servers using host headers (virtual host)" 1405msgid "Host name argument for servers using host headers (virtual host)"
1325msgstr "" 1406msgstr ""
1326 1407
1327#: plugins/check_http.c:1328 1408#: plugins/check_http.c:1458
1328msgid "Append a port to include it in the header (eg: example.com:5000)" 1409msgid "Append a port to include it in the header (eg: example.com:5000)"
1329msgstr "" 1410msgstr ""
1330 1411
1331#: plugins/check_http.c:1330 1412#: plugins/check_http.c:1460
1332msgid "" 1413msgid ""
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)."
1334msgstr "" 1415msgstr ""
1335 1416
1336#: plugins/check_http.c:1332 1417#: plugins/check_http.c:1462
1337msgid "Port number (default: " 1418msgid "Port number (default: "
1338msgstr "" 1419msgstr ""
1339 1420
1340#: plugins/check_http.c:1339 1421#: plugins/check_http.c:1469
1341msgid "Connect via SSL. Port defaults to 443" 1422msgid ""
1423"Connect via SSL. Port defaults to 443. VERSION is optional, and prevents"
1342msgstr "" 1424msgstr ""
1343 1425
1344#: plugins/check_http.c:1341 1426#: plugins/check_http.c:1470
1427msgid "auto-negotiation (1 = TLSv1, 2 = SSLv2, 3 = SSLv3)."
1428msgstr ""
1429
1430#: plugins/check_http.c:1472
1345msgid "Enable SSL/TLS hostname extension support (SNI)" 1431msgid "Enable SSL/TLS hostname extension support (SNI)"
1346msgstr "" 1432msgstr ""
1347 1433
1348#: plugins/check_http.c:1343 1434#: plugins/check_http.c:1474
1349msgid "" 1435msgid ""
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"
1351msgstr "" 1437msgstr ""
1352 1438
1353#: plugins/check_http.c:1344 1439#: plugins/check_http.c:1475
1354msgid "(when this option is used the URL is not checked.)\n" 1440msgid "(when this option is used the URL is not checked.)"
1441msgstr ""
1442
1443#: plugins/check_http.c:1477
1444msgid "Name of file that contains the client certificate (PEM format)"
1355msgstr "" 1445msgstr ""
1356 1446
1357#: plugins/check_http.c:1348 1447#: plugins/check_http.c:1478
1448msgid "to be used in establishing the SSL session"
1449msgstr ""
1450
1451#: plugins/check_http.c:1480
1452msgid "Name of file containing the private key (PEM format)"
1453msgstr ""
1454
1455#: plugins/check_http.c:1481
1456msgid "matching the client certificate"
1457msgstr ""
1458
1459#: plugins/check_http.c:1485
1358msgid "Comma-delimited list of strings, at least one of them is expected in" 1460msgid "Comma-delimited list of strings, at least one of them is expected in"
1359msgstr "" 1461msgstr ""
1360 1462
1361#: plugins/check_http.c:1349 1463#: plugins/check_http.c:1486
1362msgid "the first (status) line of the server response (default: " 1464msgid "the first (status) line of the server response (default: "
1363msgstr "" 1465msgstr ""
1364 1466
1365#: plugins/check_http.c:1351 1467#: plugins/check_http.c:1488
1366msgid "" 1468msgid ""
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)"
1368msgstr "" 1470msgstr ""
1369 1471
1370#: plugins/check_http.c:1353 1472#: plugins/check_http.c:1490
1473msgid "String to expect in the response headers"
1474msgstr ""
1475
1476#: plugins/check_http.c:1492
1371msgid "String to expect in the content" 1477msgid "String to expect in the content"
1372msgstr "" 1478msgstr ""
1373 1479
1374#: plugins/check_http.c:1355 1480#: plugins/check_http.c:1494
1375msgid "URL to GET or POST (default: /)" 1481msgid "URL to GET or POST (default: /)"
1376msgstr "" 1482msgstr ""
1377 1483
1378#: plugins/check_http.c:1357 1484#: plugins/check_http.c:1496
1379msgid "URL encoded http POST data" 1485msgid "URL encoded http POST data"
1380msgstr "" 1486msgstr ""
1381 1487
1382#: plugins/check_http.c:1359 1488#: plugins/check_http.c:1498
1383msgid "Set HTTP method." 1489msgid "Set HTTP method."
1384msgstr "" 1490msgstr ""
1385 1491
1386#: plugins/check_http.c:1361 1492#: plugins/check_http.c:1500
1387msgid "Don't wait for document body: stop reading after headers." 1493msgid "Don't wait for document body: stop reading after headers."
1388msgstr "" 1494msgstr ""
1389 1495
1390#: plugins/check_http.c:1362 1496#: plugins/check_http.c:1501
1391msgid "(Note that this still does an HTTP GET or POST, not a HEAD.)" 1497msgid "(Note that this still does an HTTP GET or POST, not a HEAD.)"
1392msgstr "" 1498msgstr ""
1393 1499
1394#: plugins/check_http.c:1364 1500#: plugins/check_http.c:1503
1395msgid "Warn if document is more than SECONDS old. the number can also be of" 1501msgid "Warn if document is more than SECONDS old. the number can also be of"
1396msgstr "" 1502msgstr ""
1397 1503
1398#: plugins/check_http.c:1365 1504#: plugins/check_http.c:1504
1399msgid "the form \"10m\" for minutes, \"10h\" for hours, or \"10d\" for days." 1505msgid "the form \"10m\" for minutes, \"10h\" for hours, or \"10d\" for days."
1400msgstr "" 1506msgstr ""
1401 1507
1402#: plugins/check_http.c:1367 1508#: plugins/check_http.c:1506
1403msgid "specify Content-Type header media type when POSTing\n" 1509msgid "specify Content-Type header media type when POSTing\n"
1404msgstr "" 1510msgstr ""
1405 1511
1406#: plugins/check_http.c:1370 1512#: plugins/check_http.c:1509
1407msgid "Allow regex to span newlines (must precede -r or -R)" 1513msgid "Allow regex to span newlines (must precede -r or -R)"
1408msgstr "" 1514msgstr ""
1409 1515
1410#: plugins/check_http.c:1372 1516#: plugins/check_http.c:1511
1411msgid "Search page for regex STRING" 1517msgid "Search page for regex STRING"
1412msgstr "" 1518msgstr ""
1413 1519
1414#: plugins/check_http.c:1374 1520#: plugins/check_http.c:1513
1415msgid "Search page for case-insensitive regex STRING" 1521msgid "Search page for case-insensitive regex STRING"
1416msgstr "" 1522msgstr ""
1417 1523
1418#: plugins/check_http.c:1376 1524#: plugins/check_http.c:1515
1419msgid "Return CRITICAL if found, OK if not\n" 1525msgid "Return CRITICAL if found, OK if not\n"
1420msgstr "" 1526msgstr ""
1421 1527
1422#: plugins/check_http.c:1379 1528#: plugins/check_http.c:1518
1423msgid "Username:password on sites with basic authentication" 1529msgid "Username:password on sites with basic authentication"
1424msgstr "" 1530msgstr ""
1425 1531
1426#: plugins/check_http.c:1381 1532#: plugins/check_http.c:1520
1427msgid "Username:password on proxy-servers with basic authentication" 1533msgid "Username:password on proxy-servers with basic authentication"
1428msgstr "" 1534msgstr ""
1429 1535
1430#: plugins/check_http.c:1383 1536#: plugins/check_http.c:1522
1431msgid "String to be sent in http header as \"User Agent\"" 1537msgid "String to be sent in http header as \"User Agent\""
1432msgstr "" 1538msgstr ""
1433 1539
1434#: plugins/check_http.c:1385 1540#: plugins/check_http.c:1524
1435msgid "" 1541msgid ""
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"
1438msgstr "" 1544msgstr ""
1439 1545
1440#: plugins/check_http.c:1387 1546#: plugins/check_http.c:1526
1547msgid "Print additional performance data"
1548msgstr ""
1549
1550#: plugins/check_http.c:1528
1441msgid "Wrap output in HTML link (obsoleted by urlize)" 1551msgid "Wrap output in HTML link (obsoleted by urlize)"
1442msgstr "" 1552msgstr ""
1443 1553
1444#: plugins/check_http.c:1389 1554#: plugins/check_http.c:1530
1445msgid "How to handle redirected pages. sticky is like follow but stick to the" 1555msgid "How to handle redirected pages. sticky is like follow but stick to the"
1446msgstr "" 1556msgstr ""
1447 1557
1448#: plugins/check_http.c:1390 1558#: plugins/check_http.c:1531
1449msgid "specified IP address. stickyport also ensure post stays the same." 1559msgid "specified IP address. stickyport also ensures port stays the same."
1450msgstr "" 1560msgstr ""
1451 1561
1452#: plugins/check_http.c:1392 1562#: plugins/check_http.c:1533
1453msgid "Minimum page size required (bytes) : Maximum page size required (bytes)" 1563msgid "Minimum page size required (bytes) : Maximum page size required (bytes)"
1454msgstr "" 1564msgstr ""
1455 1565
1456#: plugins/check_http.c:1402 1566#: plugins/check_http.c:1543
1457#, fuzzy 1567#, fuzzy
1458msgid "This plugin will attempt to open an HTTP connection with the host." 1568msgid "This plugin will attempt to open an HTTP connection with the host."
1459msgstr "Dieses plugin testet Gameserververbindungen zum angegebenen Host." 1569msgstr "Dieses plugin testet Gameserververbindungen zum angegebenen Host."
1460 1570
1461#: plugins/check_http.c:1403 1571#: plugins/check_http.c:1544
1462msgid "" 1572msgid ""
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"
1465msgstr "" 1575msgstr ""
1466 1576
1467#: plugins/check_http.c:1404 1577#: plugins/check_http.c:1545
1468msgid "" 1578msgid ""
1469"other errors return STATE_UNKNOWN. Successful connects, but incorrect " 1579"other errors return STATE_UNKNOWN. Successful connects, but incorrect "
1470"reponse" 1580"reponse"
1471msgstr "" 1581msgstr ""
1472 1582
1473#: plugins/check_http.c:1405 1583#: plugins/check_http.c:1546
1474msgid "" 1584msgid ""
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"
1476msgstr "" 1586msgstr ""
1477 1587
1478#: plugins/check_http.c:1406 1588#: plugins/check_http.c:1547
1479msgid "" 1589msgid ""
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"
1481msgstr "" 1591msgstr ""
1482 1592
1483#: plugins/check_http.c:1407 1593#: plugins/check_http.c:1548
1484msgid "(fully qualified domain name) as the [host_name] argument." 1594msgid "(fully qualified domain name) as the [host_name] argument."
1485msgstr "" 1595msgstr ""
1486 1596
1487#: plugins/check_http.c:1411 1597#: plugins/check_http.c:1552
1488msgid "This plugin can also check whether an SSL enabled web server is able to" 1598msgid "This plugin can also check whether an SSL enabled web server is able to"
1489msgstr "" 1599msgstr ""
1490 1600
1491#: plugins/check_http.c:1412 1601#: plugins/check_http.c:1553
1492msgid "serve content (optionally within a specified time) or whether the X509 " 1602msgid "serve content (optionally within a specified time) or whether the X509 "
1493msgstr "" 1603msgstr ""
1494 1604
1495#: plugins/check_http.c:1413 1605#: plugins/check_http.c:1554
1496msgid "certificate is still valid for the specified number of days." 1606msgid "certificate is still valid for the specified number of days."
1497msgstr "" 1607msgstr ""
1498 1608
1499#: plugins/check_http.c:1417 1609#: plugins/check_http.c:1556
1610#, fuzzy
1611msgid "Please note that this plugin does not check if the presented server"
1612msgstr ""
1613"Testet den DNS Dienst auf dem angegebenen Host mit dig\n"
1614"\n"
1615
1616#: plugins/check_http.c:1557
1617msgid "certificate matches the hostname of the server, or if the certificate"
1618msgstr ""
1619
1620#: plugins/check_http.c:1558
1621msgid "has a valid chain of trust to one of the locally installed CAs."
1622msgstr ""
1623
1624#: plugins/check_http.c:1562
1500msgid "" 1625msgid ""
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,"
1502msgstr "" 1627msgstr ""
1503 1628
1504#: plugins/check_http.c:1418 1629#: plugins/check_http.c:1563
1505msgid "" 1630msgid ""
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"
1507msgstr "" 1632msgstr ""
1508 1633
1509#: plugins/check_http.c:1419 1634#: plugins/check_http.c:1564
1510msgid "" 1635msgid ""
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,"
1513msgstr "" 1638msgstr ""
1514 1639
1515#: plugins/check_http.c:1420 1640#: plugins/check_http.c:1565
1516msgid "a STATE_CRITICAL will be returned." 1641msgid "a STATE_CRITICAL will be returned."
1517msgstr "" 1642msgstr ""
1518 1643
1519#: plugins/check_http.c:1423 1644#: plugins/check_http.c:1568
1520msgid "" 1645msgid ""
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,"
1522msgstr "" 1647msgstr ""
1523 1648
1524#: plugins/check_http.c:1424 1649#: plugins/check_http.c:1569 plugins/check_http.c:1575
1525msgid "" 1650msgid ""
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"
1528msgstr "" 1653msgstr ""
1529 1654
1530#: plugins/check_http.c:1425 1655#: plugins/check_http.c:1570
1531msgid "" 1656msgid ""
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"
1533msgstr "" 1658msgstr ""
1534 1659
1535#: plugins/check_http.c:1426 1660#: plugins/check_http.c:1571
1536#, fuzzy 1661#, fuzzy
1537msgid "the certificate is expired." 1662msgid "the certificate is expired."
1538msgstr "Clientzertifikat benötigt\n" 1663msgstr "Clientzertifikat benötigt\n"
1539 1664
1665#: plugins/check_http.c:1574
1666msgid ""
1667"When the certificate of 'www.verisign.com' is valid for more than 30 days,"
1668msgstr ""
1669
1670#: plugins/check_http.c:1576
1671msgid "30 days, but more than 14 days, a STATE_WARNING is returned."
1672msgstr ""
1673
1674#: plugins/check_http.c:1577
1675msgid ""
1676"A STATE_CRITICAL will be returned when certificate expires in less than 14 "
1677"days"
1678msgstr ""
1679
1540#: plugins/check_ldap.c:133 1680#: plugins/check_ldap.c:133
1541#, c-format 1681#, c-format
1542msgid "Could not connect to the server at port %i\n" 1682msgid "Could not connect to the server at port %i\n"
@@ -1582,81 +1722,77 @@ msgstr ""
1582msgid "LDAP %s - %.3f seconds response time|%s\n" 1722msgid "LDAP %s - %.3f seconds response time|%s\n"
1583msgstr "" 1723msgstr ""
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
1587msgid "%s cannot be combined with %s" 1727msgid "%s cannot be combined with %s"
1588msgstr "" 1728msgstr ""
1589 1729
1590#: plugins/check_ldap.c:352 plugins/check_ping.c:246 1730#: plugins/check_ldap.c:379
1591msgid "IPv6 support not available\n"
1592msgstr ""
1593
1594#: plugins/check_ldap.c:375
1595msgid "Please specify the host name\n" 1731msgid "Please specify the host name\n"
1596msgstr "" 1732msgstr ""
1597 1733
1598#: plugins/check_ldap.c:378 1734#: plugins/check_ldap.c:382
1599msgid "Please specify the LDAP base\n" 1735msgid "Please specify the LDAP base\n"
1600msgstr "" 1736msgstr ""
1601 1737
1602#: plugins/check_ldap.c:407 1738#: plugins/check_ldap.c:411
1603msgid "ldap attribute to search (default: \"(objectclass=*)\"" 1739msgid "ldap attribute to search (default: \"(objectclass=*)\""
1604msgstr "" 1740msgstr ""
1605 1741
1606#: plugins/check_ldap.c:409 1742#: plugins/check_ldap.c:413
1607msgid "ldap base (eg. ou=my unit, o=my org, c=at" 1743msgid "ldap base (eg. ou=my unit, o=my org, c=at"
1608msgstr "" 1744msgstr ""
1609 1745
1610#: plugins/check_ldap.c:411 1746#: plugins/check_ldap.c:415
1611msgid "ldap bind DN (if required)" 1747msgid "ldap bind DN (if required)"
1612msgstr "" 1748msgstr ""
1613 1749
1614#: plugins/check_ldap.c:413 1750#: plugins/check_ldap.c:417
1615msgid "ldap password (if required)" 1751msgid "ldap password (if required)"
1616msgstr "" 1752msgstr ""
1617 1753
1618#: plugins/check_ldap.c:415 1754#: plugins/check_ldap.c:419
1619msgid "use starttls mechanism introduced in protocol version 3" 1755msgid "use starttls mechanism introduced in protocol version 3"
1620msgstr "" 1756msgstr ""
1621 1757
1622#: plugins/check_ldap.c:417 1758#: plugins/check_ldap.c:421
1623msgid "use ldaps (ldap v2 ssl method). this also sets the default port to" 1759msgid "use ldaps (ldap v2 ssl method). this also sets the default port to"
1624msgstr "" 1760msgstr ""
1625 1761
1626#: plugins/check_ldap.c:421 1762#: plugins/check_ldap.c:425
1627msgid "use ldap protocol version 2" 1763msgid "use ldap protocol version 2"
1628msgstr "" 1764msgstr ""
1629 1765
1630#: plugins/check_ldap.c:423 1766#: plugins/check_ldap.c:427
1631msgid "use ldap protocol version 3" 1767msgid "use ldap protocol version 3"
1632msgstr "" 1768msgstr ""
1633 1769
1634#: plugins/check_ldap.c:424 1770#: plugins/check_ldap.c:428
1635msgid "default protocol version:" 1771msgid "default protocol version:"
1636msgstr "" 1772msgstr ""
1637 1773
1638#: plugins/check_ldap.c:435 1774#: plugins/check_ldap.c:439
1639msgid "If this plugin is called via 'check_ldaps', method 'STARTTLS' will be" 1775msgid "If this plugin is called via 'check_ldaps', method 'STARTTLS' will be"
1640msgstr "" 1776msgstr ""
1641 1777
1642#: plugins/check_ldap.c:436 1778#: plugins/check_ldap.c:440
1643#, c-format 1779#, c-format
1644msgid "" 1780msgid ""
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"
1647msgstr "" 1783msgstr ""
1648 1784
1649#: plugins/check_ldap.c:437 1785#: plugins/check_ldap.c:441
1650msgid "'SSL on connect' will be used no matter how the plugin was called." 1786msgid "'SSL on connect' will be used no matter how the plugin was called."
1651msgstr "" 1787msgstr ""
1652 1788
1653#: plugins/check_ldap.c:438 1789#: plugins/check_ldap.c:442
1654msgid "" 1790msgid ""
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"
1657msgstr "" 1793msgstr ""
1658 1794
1659#: plugins/check_ldap.c:439 1795#: plugins/check_ldap.c:443
1660msgid "to define the behaviour explicitly instead." 1796msgid "to define the behaviour explicitly instead."
1661msgstr "" 1797msgstr ""
1662 1798
@@ -1669,61 +1805,66 @@ msgstr ""
1669msgid "Error opening %s\n" 1805msgid "Error opening %s\n"
1670msgstr "" 1806msgstr ""
1671 1807
1672#: plugins/check_load.c:160 1808#: plugins/check_load.c:163
1809#, fuzzy, c-format
1810msgid "could not parse load from uptime: %s\n"
1811msgstr "Argumente konnten nicht ausgewertet werden"
1812
1813#: plugins/check_load.c:169
1673#, c-format 1814#, c-format
1674msgid "Error code %d returned in %s\n" 1815msgid "Error code %d returned in %s\n"
1675msgstr "" 1816msgstr ""
1676 1817
1677#: plugins/check_load.c:175 1818#: plugins/check_load.c:184
1678#, c-format 1819#, c-format
1679msgid "Error in getloadavg()\n" 1820msgid "Error in getloadavg()\n"
1680msgstr "" 1821msgstr ""
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
1684msgid "Error processing %s\n" 1825msgid "Error processing %s\n"
1685msgstr "" 1826msgstr ""
1686 1827
1687#: plugins/check_load.c:189 1828#: plugins/check_load.c:198
1688#, c-format 1829#, c-format
1689msgid "load average: %.2f, %.2f, %.2f" 1830msgid "load average: %.2f, %.2f, %.2f"
1690msgstr "" 1831msgstr ""
1691 1832
1692#: plugins/check_load.c:282 1833#: plugins/check_load.c:291
1693#, fuzzy, c-format 1834#, fuzzy, c-format
1694msgid "Critical threshold for %d-minute load average is not specified\n" 1835msgid "Critical threshold for %d-minute load average is not specified\n"
1695msgstr "Critical threshold muss ein positiver Integer sein\n" 1836msgstr "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
1699msgid "Warning threshold for %d-minute load average is not specified\n" 1840msgid "Warning threshold for %d-minute load average is not specified\n"
1700msgstr "Warning threshold muss ein positiver Integer sein\n" 1841msgstr "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
1704msgid "" 1845msgid ""
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"
1707msgstr "" 1848msgstr ""
1708 1849
1709#: plugins/check_load.c:302 1850#: plugins/check_load.c:311
1710#, c-format 1851#, c-format
1711msgid "This plugin tests the current system load average." 1852msgid "This plugin tests the current system load average."
1712msgstr "" 1853msgstr ""
1713 1854
1714#: plugins/check_load.c:312 1855#: plugins/check_load.c:321
1715msgid "Exit with WARNING status if load average exceeds WLOADn" 1856msgid "Exit with WARNING status if load average exceeds WLOADn"
1716msgstr "" 1857msgstr ""
1717 1858
1718#: plugins/check_load.c:314 1859#: plugins/check_load.c:323
1719msgid "Exit with CRITICAL status if load average exceed CLOADn" 1860msgid "Exit with CRITICAL status if load average exceed CLOADn"
1720msgstr "" 1861msgstr ""
1721 1862
1722#: plugins/check_load.c:315 1863#: plugins/check_load.c:324
1723msgid "the load average format is the same used by \"uptime\" and \"w\"" 1864msgid "the load average format is the same used by \"uptime\" and \"w\""
1724msgstr "" 1865msgstr ""
1725 1866
1726#: plugins/check_load.c:317 1867#: plugins/check_load.c:326
1727msgid "Divide the load averages by the number of CPUs (when possible)" 1868msgid "Divide the load averages by the number of CPUs (when possible)"
1728msgstr "" 1869msgstr ""
1729 1870
@@ -1857,7 +1998,7 @@ msgstr ""
1857 1998
1858#: plugins/check_mrtg.c:359 1999#: plugins/check_mrtg.c:359
1859msgid "" 2000msgid ""
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"
1861msgstr "" 2002msgstr ""
1862 2003
1863#: plugins/check_mrtg.c:360 2004#: plugins/check_mrtg.c:360
@@ -1987,93 +2128,130 @@ msgstr ""
1987msgid "Usage" 2128msgid "Usage"
1988msgstr "" 2129msgstr ""
1989 2130
1990#: plugins/check_mysql.c:126 2131#: plugins/check_mysql.c:171
2132#, c-format
2133msgid "status store_result error: %s\n"
2134msgstr ""
2135
2136#: plugins/check_mysql.c:202
1991#, c-format 2137#, c-format
1992msgid "slave query error: %s\n" 2138msgid "slave query error: %s\n"
1993msgstr "" 2139msgstr ""
1994 2140
1995#: plugins/check_mysql.c:133 2141#: plugins/check_mysql.c:209
1996#, c-format 2142#, c-format
1997msgid "slave store_result error: %s\n" 2143msgid "slave store_result error: %s\n"
1998msgstr "" 2144msgstr ""
1999 2145
2000#: plugins/check_mysql.c:139 2146#: plugins/check_mysql.c:215
2001msgid "No slaves defined" 2147msgid "No slaves defined"
2002msgstr "" 2148msgstr ""
2003 2149
2004#: plugins/check_mysql.c:147 2150#: plugins/check_mysql.c:223
2005#, c-format 2151#, c-format
2006msgid "slave fetch row error: %s\n" 2152msgid "slave fetch row error: %s\n"
2007msgstr "" 2153msgstr ""
2008 2154
2009#: plugins/check_mysql.c:152 2155#: plugins/check_mysql.c:228
2010#, c-format 2156#, c-format
2011msgid "Slave running: %s" 2157msgid "Slave running: %s"
2012msgstr "" 2158msgstr ""
2013 2159
2014#: plugins/check_mysql.c:378 2160#: plugins/check_mysql.c:505
2015msgid "This program tests connections to a MySQL server" 2161msgid "This program tests connections to a MySQL server"
2016msgstr "" 2162msgstr ""
2017 2163
2018#: plugins/check_mysql.c:389 2164#: plugins/check_mysql.c:516
2019msgid "Use the specified socket (has no effect if -H is used)" 2165msgid "Use the specified socket (has no effect if -H is used)"
2020msgstr "" 2166msgstr ""
2021 2167
2022#: plugins/check_mysql.c:392 2168#: plugins/check_mysql.c:519
2023msgid "Check database with indicated name" 2169msgid "Check database with indicated name"
2024msgstr "" 2170msgstr ""
2025 2171
2026#: plugins/check_mysql.c:394 2172#: plugins/check_mysql.c:521
2173msgid "Read from the specified client options file"
2174msgstr ""
2175
2176#: plugins/check_mysql.c:523
2177msgid "Use a client options group"
2178msgstr ""
2179
2180#: plugins/check_mysql.c:525
2027msgid "Connect using the indicated username" 2181msgid "Connect using the indicated username"
2028msgstr "" 2182msgstr ""
2029 2183
2030#: plugins/check_mysql.c:396 2184#: plugins/check_mysql.c:527
2031msgid "Use the indicated password to authenticate the connection" 2185msgid "Use the indicated password to authenticate the connection"
2032msgstr "" 2186msgstr ""
2033 2187
2034#: plugins/check_mysql.c:397 2188#: plugins/check_mysql.c:528
2035msgid "IMPORTANT: THIS FORM OF AUTHENTICATION IS NOT SECURE!!!" 2189msgid "IMPORTANT: THIS FORM OF AUTHENTICATION IS NOT SECURE!!!"
2036msgstr "" 2190msgstr ""
2037 2191
2038#: plugins/check_mysql.c:398 2192#: plugins/check_mysql.c:529
2039msgid "Your clear-text password could be visible as a process table entry" 2193msgid "Your clear-text password could be visible as a process table entry"
2040msgstr "" 2194msgstr ""
2041 2195
2042#: plugins/check_mysql.c:400 2196#: plugins/check_mysql.c:531
2043msgid "Check if the slave thread is running properly." 2197msgid "Check if the slave thread is running properly."
2044msgstr "" 2198msgstr ""
2045 2199
2046#: plugins/check_mysql.c:402 2200#: plugins/check_mysql.c:533
2047msgid "Exit with WARNING status if slave server is more than INTEGER seconds" 2201msgid "Exit with WARNING status if slave server is more than INTEGER seconds"
2048msgstr "" 2202msgstr ""
2049 2203
2050#: plugins/check_mysql.c:403 plugins/check_mysql.c:406 2204#: plugins/check_mysql.c:534 plugins/check_mysql.c:537
2051msgid "behind master" 2205msgid "behind master"
2052msgstr "" 2206msgstr ""
2053 2207
2054#: plugins/check_mysql.c:405 2208#: plugins/check_mysql.c:536
2055msgid "Exit with CRITICAL status if slave server is more then INTEGER seconds" 2209msgid "Exit with CRITICAL status if slave server is more then INTEGER seconds"
2056msgstr "" 2210msgstr ""
2057 2211
2058#: plugins/check_mysql.c:409 2212#: plugins/check_mysql.c:539
2213msgid "Use ssl encryptation"
2214msgstr ""
2215
2216#: plugins/check_mysql.c:541
2217msgid "Path to CA signing the cert"
2218msgstr ""
2219
2220#: plugins/check_mysql.c:543
2221msgid "Path to SSL certificate"
2222msgstr ""
2223
2224#: plugins/check_mysql.c:545
2225msgid "Path to private SSL key"
2226msgstr ""
2227
2228#: plugins/check_mysql.c:547
2229msgid "Path to CA directory"
2230msgstr ""
2231
2232#: plugins/check_mysql.c:549
2233msgid "List of valid SSL ciphers"
2234msgstr ""
2235
2236#: plugins/check_mysql.c:553
2059msgid "" 2237msgid ""
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"
2061msgstr "" 2239msgstr ""
2062 2240
2063#: plugins/check_mysql.c:410 2241#: plugins/check_mysql.c:554
2064msgid "" 2242msgid ""
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"
2066msgstr "" 2244msgstr ""
2067 2245
2068#: plugins/check_mysql.c:411 2246#: plugins/check_mysql.c:555
2069msgid "IP address or FQDN ('localhost' will use the socket as well)." 2247msgid "IP address or FQDN ('localhost' will use the socket as well)."
2070msgstr "" 2248msgstr ""
2071 2249
2072#: plugins/check_mysql.c:415 2250#: plugins/check_mysql.c:559
2073msgid "You must specify -p with an empty string to force an empty password," 2251msgid "You must specify -p with an empty string to force an empty password,"
2074msgstr "" 2252msgstr ""
2075 2253
2076#: plugins/check_mysql.c:416 2254#: plugins/check_mysql.c:560
2077msgid "overriding any my.cnf settings." 2255msgid "overriding any my.cnf settings."
2078msgstr "" 2256msgstr ""
2079 2257
@@ -2094,7 +2272,7 @@ msgstr ""
2094msgid "Cannot parse Nagios log file for valid time" 2272msgid "Cannot parse Nagios log file for valid time"
2095msgstr "" 2273msgstr ""
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
2099msgid "%d process" 2277msgid "%d process"
2100msgid_plural "%d processes" 2278msgid_plural "%d processes"
@@ -2108,22 +2286,27 @@ msgid_plural "status log updated %d seconds ago"
2108msgstr[0] "" 2286msgstr[0] ""
2109msgstr[1] "" 2287msgstr[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
2113msgid "Expiration time must be an integer (seconds)\n" 2291msgid "Expiration time must be an integer (seconds)\n"
2114msgstr "skip lines muss ein Integer sein" 2292msgstr "skip lines muss ein Integer sein"
2115 2293
2116#: plugins/check_nagios.c:264 2294#: plugins/check_nagios.c:260
2295#, fuzzy
2296msgid "Timeout must be an integer (seconds)\n"
2297msgstr "skip lines muss ein Integer sein"
2298
2299#: plugins/check_nagios.c:272
2117#, fuzzy 2300#, fuzzy
2118msgid "You must provide the status_log\n" 2301msgid "You must provide the status_log\n"
2119msgstr "%s: Hostname muss angegeben werden\n" 2302msgstr "%s: Hostname muss angegeben werden\n"
2120 2303
2121#: plugins/check_nagios.c:267 2304#: plugins/check_nagios.c:275
2122#, fuzzy 2305#, fuzzy
2123msgid "You must provide a process string\n" 2306msgid "You must provide a process string\n"
2124msgstr "%s: Hostname muss angegeben werden\n" 2307msgstr "%s: Hostname muss angegeben werden\n"
2125 2308
2126#: plugins/check_nagios.c:281 2309#: plugins/check_nagios.c:289
2127#, fuzzy 2310#, fuzzy
2128msgid "" 2311msgid ""
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
2137msgid "" 2320msgid ""
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"
2139msgstr "" 2322msgstr ""
2140 2323
2141#: plugins/check_nagios.c:283 2324#: plugins/check_nagios.c:291
2142msgid "the number of minutes specified by the expires option." 2325msgid "the number of minutes specified by the expires option."
2143msgstr "" 2326msgstr ""
2144 2327
2145#: plugins/check_nagios.c:284 2328#: plugins/check_nagios.c:292
2146msgid "" 2329msgid ""
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."
2148msgstr "" 2331msgstr ""
2149 2332
2150#: plugins/check_nagios.c:294 2333#: plugins/check_nagios.c:302
2151msgid "Name of the log file to check" 2334msgid "Name of the log file to check"
2152msgstr "" 2335msgstr ""
2153 2336
2154#: plugins/check_nagios.c:296 2337#: plugins/check_nagios.c:304
2155msgid "Minutes aging after which logfile is considered stale" 2338msgid "Minutes aging after which logfile is considered stale"
2156msgstr "" 2339msgstr ""
2157 2340
2158#: plugins/check_nagios.c:298 2341#: plugins/check_nagios.c:306
2159msgid "Substring to search for in process arguments" 2342msgid "Substring to search for in process arguments"
2160msgstr "" 2343msgstr ""
2161 2344
2162#: plugins/check_nt.c:141 2345#: plugins/check_nagios.c:308
2346msgid "Timeout for the plugin in seconds"
2347msgstr ""
2348
2349#: plugins/check_nt.c:142
2163#, c-format 2350#, c-format
2164msgid "Wrong client version - running: %s, required: %s" 2351msgid "Wrong client version - running: %s, required: %s"
2165msgstr "" 2352msgstr ""
2166 2353
2167#: plugins/check_nt.c:152 plugins/check_nt.c:212 2354#: plugins/check_nt.c:153 plugins/check_nt.c:218
2168msgid "missing -l parameters" 2355msgid "missing -l parameters"
2169msgstr "" 2356msgstr ""
2170 2357
2171#: plugins/check_nt.c:154 2358#: plugins/check_nt.c:155
2172msgid "wrong -l parameter." 2359msgid "wrong -l parameter."
2173msgstr "" 2360msgstr ""
2174 2361
2175#: plugins/check_nt.c:158 2362#: plugins/check_nt.c:159
2176msgid "CPU Load" 2363msgid "CPU Load"
2177msgstr "" 2364msgstr ""
2178 2365
2179#: plugins/check_nt.c:181 2366#: plugins/check_nt.c:182
2180#, c-format 2367#, c-format
2181msgid " %lu%% (%lu min average)" 2368msgid " %lu%% (%lu min average)"
2182msgstr "" 2369msgstr ""
2183 2370
2184#: plugins/check_nt.c:183 2371#: plugins/check_nt.c:184
2185#, c-format 2372#, c-format
2186msgid " '%lu min avg Load'=%lu%%;%lu;%lu;0;100" 2373msgid " '%lu min avg Load'=%lu%%;%lu;%lu;0;100"
2187msgstr "" 2374msgstr ""
2188 2375
2189#: plugins/check_nt.c:193 2376#: plugins/check_nt.c:194
2190msgid "not enough values for -l parameters" 2377msgid "not enough values for -l parameters"
2191msgstr "" 2378msgstr ""
2192 2379
2193#: plugins/check_nt.c:205 2380#: plugins/check_nt.c:206
2194#, c-format 2381#, c-format
2195msgid "System Uptime - %u day(s) %u hour(s) %u minute(s)" 2382msgid "System Uptime - %u day(s) %u hour(s) %u minute(s)"
2196msgstr "" 2383msgstr ""
2197 2384
2198#: plugins/check_nt.c:214 2385#: plugins/check_nt.c:220
2199msgid "wrong -l argument" 2386msgid "wrong -l argument"
2200msgstr "" 2387msgstr ""
2201 2388
2202#: plugins/check_nt.c:230 2389#: plugins/check_nt.c:236
2203#, c-format 2390#, c-format
2204msgid "%s:\\ - total: %.2f Gb - used: %.2f Gb (%.0f%%) - free %.2f Gb (%.0f%%)" 2391msgid "%s:\\ - total: %.2f Gb - used: %.2f Gb (%.0f%%) - free %.2f Gb (%.0f%%)"
2205msgstr "" 2392msgstr ""
2206 2393
2207#: plugins/check_nt.c:233 2394#: plugins/check_nt.c:239
2208#, c-format 2395#, c-format
2209msgid "'%s:\\ Used Space'=%.2fGb;%.2f;%.2f;0.00;%.2f" 2396msgid "'%s:\\ Used Space'=%.2fGb;%.2f;%.2f;0.00;%.2f"
2210msgstr "" 2397msgstr ""
2211 2398
2212#: plugins/check_nt.c:247 2399#: plugins/check_nt.c:253
2213msgid "Free disk space : Invalid drive" 2400msgid "Free disk space : Invalid drive"
2214msgstr "" 2401msgstr ""
2215 2402
2216#: plugins/check_nt.c:257 2403#: plugins/check_nt.c:263
2217msgid "No service/process specified" 2404msgid "No service/process specified"
2218msgstr "" 2405msgstr ""
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
2409msgid "could not fetch information from server\n"
2410msgstr ""
2411
2412#: plugins/check_nt.c:296
2221#, c-format 2413#, c-format
2222msgid "" 2414msgid ""
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%%)"
2224msgstr "" 2416msgstr ""
2225 2417
2226#: plugins/check_nt.c:284 2418#: plugins/check_nt.c:299
2227#, c-format 2419#, c-format
2228msgid "'Memory usage'=%.2fMb;%.2f;%.2f;0.00;%.2f" 2420msgid "'Memory usage'=%.2fMb;%.2f;%.2f;0.00;%.2f"
2229msgstr "" 2421msgstr ""
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
2232msgid "No counter specified" 2424msgid "No counter specified"
2233msgstr "" 2425msgstr ""
2234 2426
2235#: plugins/check_nt.c:352 2427#: plugins/check_nt.c:367
2236msgid "Minimum value contains non-numbers" 2428msgid "Minimum value contains non-numbers"
2237msgstr "" 2429msgstr ""
2238 2430
2239#: plugins/check_nt.c:356 2431#: plugins/check_nt.c:371
2240msgid "Maximum value contains non-numbers" 2432msgid "Maximum value contains non-numbers"
2241msgstr "" 2433msgstr ""
2242 2434
2243#: plugins/check_nt.c:363 2435#: plugins/check_nt.c:378
2244msgid "No unit counter specified" 2436msgid "No unit counter specified"
2245msgstr "" 2437msgstr ""
2246 2438
2247#: plugins/check_nt.c:450 2439#: plugins/check_nt.c:465
2248msgid "Please specify a variable to check" 2440msgid "Please specify a variable to check"
2249msgstr "" 2441msgstr ""
2250 2442
2251#: plugins/check_nt.c:534 2443#: plugins/check_nt.c:549
2252#, fuzzy 2444#, fuzzy
2253msgid "Server port must be an integer\n" 2445msgid "Server port must be an integer\n"
2254msgstr "skip lines muss ein Integer sein" 2446msgstr "skip lines muss ein Integer sein"
2255 2447
2256#: plugins/check_nt.c:588 2448#: plugins/check_nt.c:603
2257#, fuzzy 2449#, fuzzy
2258msgid "You must provide a server address or host name" 2450msgid "You must provide a server address or host name"
2259msgstr "Hostname oder Serveradresse muss angegeben werden" 2451msgstr "Hostname oder Serveradresse muss angegeben werden"
2260 2452
2261#: plugins/check_nt.c:594 2453#: plugins/check_nt.c:609
2262msgid "None" 2454msgid "None"
2263msgstr "" 2455msgstr ""
2264 2456
2265#: plugins/check_nt.c:607 2457#: plugins/check_nt.c:666
2266msgid "could not fetch information from server\n"
2267msgstr ""
2268
2269#: plugins/check_nt.c:651
2270msgid "This plugin collects data from the NSClient service running on a" 2458msgid "This plugin collects data from the NSClient service running on a"
2271msgstr "" 2459msgstr ""
2272 2460
2273#: plugins/check_nt.c:652 2461#: plugins/check_nt.c:667
2274msgid "Windows NT/2000/XP/2003 server." 2462msgid "Windows NT/2000/XP/2003 server."
2275msgstr "" 2463msgstr ""
2276 2464
2277#: plugins/check_nt.c:663 2465#: plugins/check_nt.c:678
2278msgid "Name of the host to check" 2466msgid "Name of the host to check"
2279msgstr "" 2467msgstr ""
2280 2468
2281#: plugins/check_nt.c:665 2469#: plugins/check_nt.c:680
2282#, fuzzy 2470#, fuzzy
2283msgid "Optional port number (default: " 2471msgid "Optional port number (default: "
2284msgstr "Ungültige Portnummer" 2472msgstr "Ungültige Portnummer"
2285 2473
2286#: plugins/check_nt.c:668 2474#: plugins/check_nt.c:683
2287msgid "Password needed for the request" 2475msgid "Password needed for the request"
2288msgstr "" 2476msgstr ""
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
2292msgid "Threshold which will result in a warning status" 2480msgid "Threshold which will result in a warning status"
2293msgstr "" 2481msgstr ""
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
2297msgid "Threshold which will result in a critical status" 2485msgid "Threshold which will result in a critical status"
2298msgstr "" 2486msgstr ""
2299 2487
2300#: plugins/check_nt.c:674 2488#: plugins/check_nt.c:689
2301msgid "Seconds before connection attempt times out (default: " 2489msgid "Seconds before connection attempt times out (default: "
2302msgstr "" 2490msgstr ""
2303 2491
2304#: plugins/check_nt.c:676 2492#: plugins/check_nt.c:691
2305msgid "Parameters passed to specified check (see below)" 2493msgid "Parameters passed to specified check (see below)"
2306msgstr "" 2494msgstr ""
2307 2495
2308#: plugins/check_nt.c:678 2496#: plugins/check_nt.c:693
2309msgid "Display options (currently only SHOWALL works)" 2497msgid "Display options (currently only SHOWALL works)"
2310msgstr "" 2498msgstr ""
2311 2499
2312#: plugins/check_nt.c:680 2500#: plugins/check_nt.c:695
2313msgid "Return UNKNOWN on timeouts" 2501msgid "Return UNKNOWN on timeouts"
2314msgstr "" 2502msgstr ""
2315 2503
2316#: plugins/check_nt.c:683 2504#: plugins/check_nt.c:698
2317msgid "Print this help screen" 2505msgid "Print this help screen"
2318msgstr "" 2506msgstr ""
2319 2507
2320#: plugins/check_nt.c:685 2508#: plugins/check_nt.c:700
2321msgid "Print version information" 2509msgid "Print version information"
2322msgstr "" 2510msgstr ""
2323 2511
2324#: plugins/check_nt.c:687 2512#: plugins/check_nt.c:702
2325msgid "Variable to check" 2513msgid "Variable to check"
2326msgstr "" 2514msgstr ""
2327 2515
2328#: plugins/check_nt.c:688 2516#: plugins/check_nt.c:703
2329msgid "Valid variables are:" 2517msgid "Valid variables are:"
2330msgstr "" 2518msgstr ""
2331 2519
2332#: plugins/check_nt.c:690 2520#: plugins/check_nt.c:705
2333msgid "Get the NSClient version" 2521msgid "Get the NSClient version"
2334msgstr "" 2522msgstr ""
2335 2523
2336#: plugins/check_nt.c:691 2524#: plugins/check_nt.c:706
2337msgid "If -l <version> is specified, will return warning if versions differ." 2525msgid "If -l <version> is specified, will return warning if versions differ."
2338msgstr "" 2526msgstr ""
2339 2527
2340#: plugins/check_nt.c:693 2528#: plugins/check_nt.c:708
2341msgid "Average CPU load on last x minutes." 2529msgid "Average CPU load on last x minutes."
2342msgstr "" 2530msgstr ""
2343 2531
2344#: plugins/check_nt.c:694 2532#: plugins/check_nt.c:709
2345msgid "Request a -l parameter with the following syntax:" 2533msgid "Request a -l parameter with the following syntax:"
2346msgstr "" 2534msgstr ""
2347 2535
2348#: plugins/check_nt.c:695 2536#: plugins/check_nt.c:710
2349msgid "-l <minutes range>,<warning threshold>,<critical threshold>." 2537msgid "-l <minutes range>,<warning threshold>,<critical threshold>."
2350msgstr "" 2538msgstr ""
2351 2539
2352#: plugins/check_nt.c:696 2540#: plugins/check_nt.c:711
2353msgid "<minute range> should be less than 24*60." 2541msgid "<minute range> should be less than 24*60."
2354msgstr "" 2542msgstr ""
2355 2543
2356#: plugins/check_nt.c:697 2544#: plugins/check_nt.c:712
2357msgid "" 2545msgid ""
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."
2359msgstr "" 2547msgstr ""
2360 2548
2361#: plugins/check_nt.c:700 2549#: plugins/check_nt.c:715
2362msgid "Get the uptime of the machine." 2550msgid "Get the uptime of the machine."
2363msgstr "" 2551msgstr ""
2364 2552
2365#: plugins/check_nt.c:701 2553#: plugins/check_nt.c:716
2366msgid "No specific parameters. No warning or critical threshold" 2554msgid "No specific parameters. No warning or critical threshold"
2367msgstr "" 2555msgstr ""
2368 2556
2369#: plugins/check_nt.c:703 2557#: plugins/check_nt.c:718
2370msgid "Size and percentage of disk use." 2558msgid "Size and percentage of disk use."
2371msgstr "" 2559msgstr ""
2372 2560
2373#: plugins/check_nt.c:704 2561#: plugins/check_nt.c:719
2374msgid "Request a -l parameter containing the drive letter only." 2562msgid "Request a -l parameter containing the drive letter only."
2375msgstr "" 2563msgstr ""
2376 2564
2377#: plugins/check_nt.c:705 plugins/check_nt.c:708 2565#: plugins/check_nt.c:720 plugins/check_nt.c:723
2378msgid "Warning and critical thresholds can be specified with -w and -c." 2566msgid "Warning and critical thresholds can be specified with -w and -c."
2379msgstr "" 2567msgstr ""
2380 2568
2381#: plugins/check_nt.c:707 2569#: plugins/check_nt.c:722
2382msgid "Memory use." 2570msgid "Memory use."
2383msgstr "" 2571msgstr ""
2384 2572
2385#: plugins/check_nt.c:710 2573#: plugins/check_nt.c:725
2386msgid "Check the state of one or several services." 2574msgid "Check the state of one or several services."
2387msgstr "" 2575msgstr ""
2388 2576
2389#: plugins/check_nt.c:711 plugins/check_nt.c:720 2577#: plugins/check_nt.c:726 plugins/check_nt.c:735
2390msgid "Request a -l parameters with the following syntax:" 2578msgid "Request a -l parameters with the following syntax:"
2391msgstr "" 2579msgstr ""
2392 2580
2393#: plugins/check_nt.c:712 2581#: plugins/check_nt.c:727
2394msgid "-l <service1>,<service2>,<service3>,..." 2582msgid "-l <service1>,<service2>,<service3>,..."
2395msgstr "" 2583msgstr ""
2396 2584
2397#: plugins/check_nt.c:713 2585#: plugins/check_nt.c:728
2398msgid "You can specify -d SHOWALL in case you want to see working services" 2586msgid "You can specify -d SHOWALL in case you want to see working services"
2399msgstr "" 2587msgstr ""
2400 2588
2401#: plugins/check_nt.c:714 2589#: plugins/check_nt.c:729
2402msgid "in the returned string." 2590msgid "in the returned string."
2403msgstr "" 2591msgstr ""
2404 2592
2405#: plugins/check_nt.c:716 2593#: plugins/check_nt.c:731
2406msgid "Check if one or several process are running." 2594msgid "Check if one or several process are running."
2407msgstr "" 2595msgstr ""
2408 2596
2409#: plugins/check_nt.c:717 2597#: plugins/check_nt.c:732
2410msgid "Same syntax as SERVICESTATE." 2598msgid "Same syntax as SERVICESTATE."
2411msgstr "" 2599msgstr ""
2412 2600
2413#: plugins/check_nt.c:719 2601#: plugins/check_nt.c:734
2414msgid "Check any performance counter of Windows NT/2000." 2602msgid "Check any performance counter of Windows NT/2000."
2415msgstr "" 2603msgstr ""
2416 2604
2417#: plugins/check_nt.c:721 2605#: plugins/check_nt.c:736
2418msgid "-l \"\\\\<performance object>\\\\counter\",\"<description>" 2606msgid "-l \"\\\\<performance object>\\\\counter\",\"<description>"
2419msgstr "" 2607msgstr ""
2420 2608
2421#: plugins/check_nt.c:722 2609#: plugins/check_nt.c:737
2422msgid "The <description> parameter is optional and is given to a printf " 2610msgid "The <description> parameter is optional and is given to a printf "
2423msgstr "" 2611msgstr ""
2424 2612
2425#: plugins/check_nt.c:723 2613#: plugins/check_nt.c:738
2426msgid "output command which requires a float parameter." 2614msgid "output command which requires a float parameter."
2427msgstr "" 2615msgstr ""
2428 2616
2429#: plugins/check_nt.c:724 2617#: plugins/check_nt.c:739
2430#, c-format 2618#, c-format
2431msgid "If <description> does not include \"%%\", it is used as a label." 2619msgid "If <description> does not include \"%%\", it is used as a label."
2432msgstr "" 2620msgstr ""
2433 2621
2434#: plugins/check_nt.c:725 plugins/check_nt.c:740 2622#: plugins/check_nt.c:740 plugins/check_nt.c:755
2435msgid "Some examples:" 2623msgid "Some examples:"
2436msgstr "" 2624msgstr ""
2437 2625
2438#: plugins/check_nt.c:729 2626#: plugins/check_nt.c:744
2439msgid "Check any performance counter object of Windows NT/2000." 2627msgid "Check any performance counter object of Windows NT/2000."
2440msgstr "" 2628msgstr ""
2441 2629
2442#: plugins/check_nt.c:730 2630#: plugins/check_nt.c:745
2443msgid "" 2631msgid ""
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>"
2445msgstr "" 2633msgstr ""
2446 2634
2447#: plugins/check_nt.c:731 2635#: plugins/check_nt.c:746
2448msgid "<counter object> is a Windows Perfmon Counter object (eg. Process)," 2636msgid "<counter object> is a Windows Perfmon Counter object (eg. Process),"
2449msgstr "" 2637msgstr ""
2450 2638
2451#: plugins/check_nt.c:732 2639#: plugins/check_nt.c:747
2452msgid "if it is two words, it should be enclosed in quotes" 2640msgid "if it is two words, it should be enclosed in quotes"
2453msgstr "" 2641msgstr ""
2454 2642
2455#: plugins/check_nt.c:733 2643#: plugins/check_nt.c:748
2456msgid "The returned results will be a comma-separated list of instances on " 2644msgid "The returned results will be a comma-separated list of instances on "
2457msgstr "" 2645msgstr ""
2458 2646
2459#: plugins/check_nt.c:734 2647#: plugins/check_nt.c:749
2460msgid " the selected computer for that object." 2648msgid " the selected computer for that object."
2461msgstr "" 2649msgstr ""
2462 2650
2463#: plugins/check_nt.c:735 2651#: plugins/check_nt.c:750
2464msgid "" 2652msgid ""
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"
2467msgstr "" 2655msgstr ""
2468 2656
2469#: plugins/check_nt.c:736 2657#: plugins/check_nt.c:751
2470msgid "" 2658msgid ""
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"
2472msgstr "" 2660msgstr ""
2473 2661
2474#: plugins/check_nt.c:737 2662#: plugins/check_nt.c:752
2475msgid " to run Perfmon directly." 2663msgid " to run Perfmon directly."
2476msgstr "" 2664msgstr ""
2477 2665
2478#: plugins/check_nt.c:738 2666#: plugins/check_nt.c:753
2479msgid "It can also be used in scripts that automatically create Nagios service" 2667msgid ""
2668"It can also be used in scripts that automatically create the monitoring "
2669"service"
2480msgstr "" 2670msgstr ""
2481 2671
2482#: plugins/check_nt.c:739 2672#: plugins/check_nt.c:754
2483msgid " configuration files." 2673msgid " configuration files."
2484msgstr "" 2674msgstr ""
2485 2675
2486#: plugins/check_nt.c:741 2676#: plugins/check_nt.c:756
2487msgid "check_nt -H 192.168.1.1 -p 1248 -v INSTANCES -l Process" 2677msgid "check_nt -H 192.168.1.1 -p 1248 -v INSTANCES -l Process"
2488msgstr "" 2678msgstr ""
2489 2679
2490#: plugins/check_nt.c:744 2680#: plugins/check_nt.c:759
2491msgid "" 2681msgid ""
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"
2493msgstr "" 2683msgstr ""
2494 2684
2495#: plugins/check_nt.c:746 2685#: plugins/check_nt.c:761
2496msgid "- Critical thresholds should be lower than warning thresholds" 2686msgid "- Critical thresholds should be lower than warning thresholds"
2497msgstr "" 2687msgstr ""
2498 2688
2499#: plugins/check_nt.c:747 2689#: plugins/check_nt.c:762
2500msgid "- Default port 1248 is sometimes in use by other services. The error" 2690msgid "- Default port 1248 is sometimes in use by other services. The error"
2501msgstr "" 2691msgstr ""
2502 2692
2503#: plugins/check_nt.c:748 2693#: plugins/check_nt.c:763
2504msgid "" 2694msgid ""
2505"output when this happens contains \"Cannot map xxxxx to protocol number\"." 2695"output when this happens contains \"Cannot map xxxxx to protocol number\"."
2506msgstr "" 2696msgstr ""
2507 2697
2508#: plugins/check_nt.c:749 2698#: plugins/check_nt.c:764
2509msgid "One fix for this is to change the port to something else on check_nt " 2699msgid "One fix for this is to change the port to something else on check_nt "
2510msgstr "" 2700msgstr ""
2511 2701
2512#: plugins/check_nt.c:750 2702#: plugins/check_nt.c:765
2513msgid "and on the client service it's connecting to." 2703msgid "and on the client service it's connecting to."
2514msgstr "" 2704msgstr ""
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
2519msgid "NTP CRITICAL:" 2708msgid "NTP CRITICAL:"
2520msgstr "NTP CRITICAL:" 2709msgstr "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
2525msgid "NTP WARNING:" 2713msgid "NTP WARNING:"
2526msgstr "NTP WARNING:" 2714msgstr "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
2531msgid "NTP OK:" 2718msgid "NTP OK:"
2532msgstr "NTP OK:" 2719msgstr "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
2537msgid "NTP UNKNOWN:" 2723msgid "NTP UNKNOWN:"
2538msgstr "NTP UNKNOWN:" 2724msgstr "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
2542msgid "Offset unknown" 2728msgid "Offset unknown"
2543msgstr "" 2729msgstr ""
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
2547msgid "Offset" 2733msgid "Offset"
2548msgstr "" 2734msgstr ""
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
2552msgid "This plugin checks the selected ntp server" 2738msgid "This plugin checks the selected ntp server"
2553msgstr "" 2739msgstr ""
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
2559msgid "Offset to result in warning status (seconds)" 2745msgid "Offset to result in warning status (seconds)"
2560msgstr "" 2746msgstr ""
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
2564msgid "Offset to result in critical status (seconds)" 2750msgid "Offset to result in critical status (seconds)"
2565msgstr "" 2751msgstr ""
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
2569msgid "Warning threshold for jitter" 2755msgid "Warning threshold for jitter"
2570msgstr "Warning threshold Integer sein" 2756msgstr "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
2574msgid "Critical threshold for jitter" 2760msgid "Critical threshold for jitter"
2575msgstr "Critical threshold muss ein Integer sein" 2761msgstr "Critical threshold muss ein Integer sein"
2576 2762
2577#: plugins/check_ntp.c:865 2763#: plugins/check_ntp.c:870
2578msgid "Normal offset check:" 2764msgid "Normal offset check:"
2579msgstr "" 2765msgstr ""
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
2582msgid "" 2768msgid ""
2583"Check jitter too, avoiding critical notifications if jitter isn't available" 2769"Check jitter too, avoiding critical notifications if jitter isn't available"
2584msgstr "" 2770msgstr ""
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
2587msgid "(See Notes above for more details on thresholds formats):" 2773msgid "(See Notes above for more details on thresholds formats):"
2588msgstr "" 2774msgstr ""
2589 2775
2590#: plugins/check_ntp.c:874 plugins/check_ntp.c:881 2776#: plugins/check_ntp.c:879 plugins/check_ntp.c:886
2591msgid "WARNING: check_ntp is deprecated. Please use check_ntp_peer or" 2777msgid "WARNING: check_ntp is deprecated. Please use check_ntp_peer or"
2592msgstr "" 2778msgstr ""
2593 2779
2594#: plugins/check_ntp.c:875 plugins/check_ntp.c:882 2780#: plugins/check_ntp.c:880 plugins/check_ntp.c:887
2595msgid "check_ntp_time instead." 2781msgid "check_ntp_time instead."
2596msgstr "" 2782msgstr ""
2597 2783
2598#: plugins/check_ntp_peer.c:619 2784#: plugins/check_ntp_peer.c:625
2599msgid "Server not synchronized" 2785msgid "Server not synchronized"
2600msgstr "" 2786msgstr ""
2601 2787
2602#: plugins/check_ntp_peer.c:621 2788#: plugins/check_ntp_peer.c:627
2603msgid "Server has the LI_ALARM bit set" 2789msgid "Server has the LI_ALARM bit set"
2604msgstr "" 2790msgstr ""
2605 2791
2606#: plugins/check_ntp_peer.c:665 2792#: plugins/check_ntp_peer.c:672
2607msgid "" 2793msgid ""
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"
2609msgstr "" 2795msgstr ""
2610 2796
2611#: plugins/check_ntp_peer.c:671 2797#: plugins/check_ntp_peer.c:678
2612#, fuzzy 2798#, fuzzy
2613msgid "Warning threshold for stratum" 2799msgid "Warning threshold for stratum of server's synchronization peer"
2614msgstr "Warning threshold Integer sein" 2800msgstr "Warning threshold Integer sein"
2615 2801
2616#: plugins/check_ntp_peer.c:673 2802#: plugins/check_ntp_peer.c:680
2617#, fuzzy 2803#, fuzzy
2618msgid "Critical threshold for stratum" 2804msgid "Critical threshold for stratum of server's synchronization peer"
2619msgstr "Critical threshold muss ein Integer sein" 2805msgstr "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
2623msgid "Warning threshold for number of usable time sources (\"truechimers\")" 2809msgid "Warning threshold for number of usable time sources (\"truechimers\")"
2624msgstr "Warning threshold muss ein positiver Integer sein\n" 2810msgstr "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
2628msgid "Critical threshold for number of usable time sources (\"truechimers\")" 2814msgid "Critical threshold for number of usable time sources (\"truechimers\")"
2629msgstr "Critical threshold muss ein positiver Integer sein\n" 2815msgstr "Critical threshold muss ein positiver Integer sein\n"
2630 2816
2631#: plugins/check_ntp_peer.c:686 2817#: plugins/check_ntp_peer.c:693
2632msgid "This plugin checks an NTP server independent of any commandline" 2818msgid "This plugin checks an NTP server independent of any commandline"
2633msgstr "" 2819msgstr ""
2634 2820
2635#: plugins/check_ntp_peer.c:687 2821#: plugins/check_ntp_peer.c:694
2636msgid "programs or external libraries." 2822msgid "programs or external libraries."
2637msgstr "" 2823msgstr ""
2638 2824
2639#: plugins/check_ntp_peer.c:690 2825#: plugins/check_ntp_peer.c:697
2640#, fuzzy 2826#, fuzzy
2641msgid "Use this plugin to check the health of an NTP server. It supports" 2827msgid "Use this plugin to check the health of an NTP server. It supports"
2642msgstr "" 2828msgstr ""
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
2647msgid "checking the offset with the sync peer, the jitter and stratum. This" 2833msgid "checking the offset with the sync peer, the jitter and stratum. This"
2648msgstr "" 2834msgstr ""
2649 2835
2650#: plugins/check_ntp_peer.c:692 2836#: plugins/check_ntp_peer.c:699
2651msgid "plugin will not check the clock offset between the local host and NTP" 2837msgid "plugin will not check the clock offset between the local host and NTP"
2652msgstr "" 2838msgstr ""
2653 2839
2654#: plugins/check_ntp_peer.c:693 2840#: plugins/check_ntp_peer.c:700
2655msgid "server; please use check_ntp_time for that purpose." 2841msgid "server; please use check_ntp_time for that purpose."
2656msgstr "" 2842msgstr ""
2657 2843
2658#: plugins/check_ntp_peer.c:699 2844#: plugins/check_ntp_peer.c:706
2659msgid "Simple NTP server check:" 2845msgid "Simple NTP server check:"
2660msgstr "" 2846msgstr ""
2661 2847
2662#: plugins/check_ntp_peer.c:706 2848#: plugins/check_ntp_peer.c:713
2663msgid "Only check the number of usable time sources (\"truechimers\"):" 2849msgid "Only check the number of usable time sources (\"truechimers\"):"
2664msgstr "" 2850msgstr ""
2665 2851
2666#: plugins/check_ntp_peer.c:709 2852#: plugins/check_ntp_peer.c:716
2667msgid "Check only stratum:" 2853msgid "Check only stratum:"
2668msgstr "" 2854msgstr ""
2669 2855
2670#: plugins/check_ntp_time.c:598 2856#: plugins/check_ntp_time.c:602
2671#, fuzzy 2857#, fuzzy
2672msgid "This plugin checks the clock offset with the ntp server" 2858msgid "This plugin checks the clock offset with the ntp server"
2673msgstr "" 2859msgstr ""
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
2678msgid "Returns UNKNOWN instead of CRITICAL if offset cannot be found" 2864msgid "Returns UNKNOWN instead of CRITICAL if offset cannot be found"
2679msgstr "" 2865msgstr ""
2680 2866
2681#: plugins/check_ntp_time.c:616 2867#: plugins/check_ntp_time.c:621
2682#, fuzzy 2868#, fuzzy
2683msgid "This plugin checks the clock offset between the local host and a" 2869msgid "This plugin checks the clock offset between the local host and a"
2684msgstr "" 2870msgstr ""
@@ -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
2691msgid "remote NTP server. It is independent of any commandline programs or" 2877msgid "remote NTP server. It is independent of any commandline programs or"
2692msgstr "" 2878msgstr ""
2693 2879
2694#: plugins/check_ntp_time.c:618 2880#: plugins/check_ntp_time.c:623
2695msgid "external libraries." 2881msgid "external libraries."
2696msgstr "" 2882msgstr ""
2697 2883
2698#: plugins/check_ntp_time.c:622 2884#: plugins/check_ntp_time.c:627
2699msgid "If you'd rather want to monitor an NTP server, please use" 2885msgid "If you'd rather want to monitor an NTP server, please use"
2700msgstr "" 2886msgstr ""
2701 2887
2702#: plugins/check_ntp_time.c:623 2888#: plugins/check_ntp_time.c:628
2703msgid "check_ntp_peer." 2889msgid "check_ntp_peer."
2704msgstr "" 2890msgstr ""
2705 2891
@@ -2798,17 +2984,15 @@ msgid "disabled"
2798msgstr "" 2984msgstr ""
2799 2985
2800#: plugins/check_nwstat.c:560 2986#: plugins/check_nwstat.c:560
2801#, fuzzy, c-format 2987#, fuzzy
2802msgid "CRITICAL - NRM Status is bad!" 2988msgid "CRITICAL - NRM Status is bad!"
2803msgstr "CRITICAL - Serverdatum \"%100s\" konnte nicht verarbeitet werden" 2989msgstr "CRITICAL - Serverdatum \"%100s\" konnte nicht verarbeitet werden"
2804 2990
2805#: plugins/check_nwstat.c:565 2991#: plugins/check_nwstat.c:565
2806#, c-format
2807msgid "Warning - NRM Status is suspect!" 2992msgid "Warning - NRM Status is suspect!"
2808msgstr "" 2993msgstr ""
2809 2994
2810#: plugins/check_nwstat.c:568 2995#: plugins/check_nwstat.c:568
2811#, c-format
2812msgid "OK - NRM Status is good!" 2996msgid "OK - NRM Status is good!"
2813msgstr "" 2997msgstr ""
2814 2998
@@ -2868,12 +3052,10 @@ msgid "%lu current service processes (%lu max)|Processes=%lu;%lu;%lu;0;%lu"
2868msgstr "" 3052msgstr ""
2869 3053
2870#: plugins/check_nwstat.c:904 3054#: plugins/check_nwstat.c:904
2871#, c-format
2872msgid "CRITICAL - Time not in sync with network!" 3055msgid "CRITICAL - Time not in sync with network!"
2873msgstr "" 3056msgstr ""
2874 3057
2875#: plugins/check_nwstat.c:907 3058#: plugins/check_nwstat.c:907
2876#, c-format
2877msgid "OK - Time in sync with network!" 3059msgid "OK - Time in sync with network!"
2878msgstr "" 3060msgstr ""
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"
3276msgstr "" 3458msgstr ""
3277 3459
3278#: plugins/check_pgsql.c:183 3460#: plugins/check_pgsql.c:222
3279#, c-format 3461#, c-format
3280msgid "CRITICAL - no connection to '%s' (%s).\n" 3462msgid "CRITICAL - no connection to '%s' (%s).\n"
3281msgstr "" 3463msgstr ""
3282 3464
3283#: plugins/check_pgsql.c:200 3465#: plugins/check_pgsql.c:250
3284#, c-format 3466#, c-format
3285msgid " %s - database %s (%d sec.)|%s\n" 3467msgid " %s - database %s (%f sec.)|%s\n"
3286msgstr "" 3468msgstr ""
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
3290msgid "Critical threshold must be a positive integer" 3472msgid "Critical threshold must be a positive integer"
3291msgstr "Critical threshold muss ein positiver Integer sein" 3473msgstr "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
3296msgid "Warning threshold must be a positive integer" 3478msgid "Warning threshold must be a positive integer"
3297msgstr "Warning threshold muss ein positiver Integer sein" 3479msgstr "Warning threshold muss ein positiver Integer sein"
3298 3480
3299#: plugins/check_pgsql.c:280 3481#: plugins/check_pgsql.c:347
3300msgid "Database name is not valid" 3482msgid "Database name is not valid"
3301msgstr "" 3483msgstr ""
3302 3484
3303#: plugins/check_pgsql.c:286 3485#: plugins/check_pgsql.c:353
3304msgid "User name is not valid" 3486msgid "User name is not valid"
3305msgstr "" 3487msgstr ""
3306 3488
3307#: plugins/check_pgsql.c:426 3489#: plugins/check_pgsql.c:504
3308#, c-format 3490#, c-format
3309msgid "Test whether a PostgreSQL Database is accepting connections." 3491msgid "Test whether a PostgreSQL Database is accepting connections."
3310msgstr "" 3492msgstr ""
3311 3493
3312#: plugins/check_pgsql.c:440 3494#: plugins/check_pgsql.c:516
3313msgid "Database to check " 3495msgid "Database to check "
3314msgstr "" 3496msgstr ""
3315 3497
3316#: plugins/check_pgsql.c:441 3498#: plugins/check_pgsql.c:517
3317#, c-format 3499#, c-format
3318msgid "(default: %s)" 3500msgid "(default: %s)"
3319msgstr "" 3501msgstr ""
3320 3502
3321#: plugins/check_pgsql.c:443 3503#: plugins/check_pgsql.c:519
3322msgid "Login name of user" 3504msgid "Login name of user"
3323msgstr "" 3505msgstr ""
3324 3506
3325#: plugins/check_pgsql.c:445 3507#: plugins/check_pgsql.c:521
3326msgid "Password (BIG SECURITY ISSUE)" 3508msgid "Password (BIG SECURITY ISSUE)"
3327msgstr "" 3509msgstr ""
3328 3510
3329#: plugins/check_pgsql.c:454 3511#: plugins/check_pgsql.c:523
3512msgid "Connection parameters (keyword = value), see below"
3513msgstr ""
3514
3515#: plugins/check_pgsql.c:530
3516msgid "SQL query to run. Only first column in first row will be read"
3517msgstr ""
3518
3519#: plugins/check_pgsql.c:532
3520msgid "SQL query value to result in warning status (double)"
3521msgstr ""
3522
3523#: plugins/check_pgsql.c:534
3524msgid "SQL query value to result in critical status (double)"
3525msgstr ""
3526
3527#: plugins/check_pgsql.c:539
3330msgid "All parameters are optional." 3528msgid "All parameters are optional."
3331msgstr "" 3529msgstr ""
3332 3530
3333#: plugins/check_pgsql.c:455 3531#: plugins/check_pgsql.c:540
3334msgid "" 3532msgid ""
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"
3336msgstr "" 3534msgstr ""
3337 3535
3338#: plugins/check_pgsql.c:456 3536#: plugins/check_pgsql.c:541
3339msgid "accepting queries. In its current operation, it simply connects to the" 3537msgid "accepting queries. In its current operation, it simply connects to the"
3340msgstr "" 3538msgstr ""
3341 3539
3342#: plugins/check_pgsql.c:457 3540#: plugins/check_pgsql.c:542
3343msgid "" 3541msgid ""
3344"specified database, and then disconnects. If no database is specified, it" 3542"specified database, and then disconnects. If no database is specified, it"
3345msgstr "" 3543msgstr ""
3346 3544
3347#: plugins/check_pgsql.c:458 3545#: plugins/check_pgsql.c:543
3348msgid "" 3546msgid ""
3349"connects to the template1 database, which is present in every functioning" 3547"connects to the template1 database, which is present in every functioning"
3350msgstr "" 3548msgstr ""
3351 3549
3352#: plugins/check_pgsql.c:459 3550#: plugins/check_pgsql.c:544
3353msgid "PostgreSQL DBMS." 3551msgid "PostgreSQL DBMS."
3354msgstr "" 3552msgstr ""
3355 3553
3356#: plugins/check_pgsql.c:461 3554#: plugins/check_pgsql.c:546
3555msgid "If a query is specified using the -q option, it will be executed after"
3556msgstr ""
3557
3558#: plugins/check_pgsql.c:547
3559msgid "connecting to the server. The result from the query has to be numeric."
3560msgstr ""
3561
3562#: plugins/check_pgsql.c:548
3563msgid ""
3564"Multiple SQL commands, separated by semicolon, are allowed but the result "
3565msgstr ""
3566
3567#: plugins/check_pgsql.c:549
3568msgid "of the last command is taken into account only. The value of the first"
3569msgstr ""
3570
3571#: plugins/check_pgsql.c:550
3572msgid "column in the first row is used as the check result."
3573msgstr ""
3574
3575#: plugins/check_pgsql.c:552
3576msgid ""
3577"See the chapter \"Monitoring Database Activity\" of the PostgreSQL manual"
3578msgstr ""
3579
3580#: plugins/check_pgsql.c:553
3581msgid ""
3582"for details about how to access internal statistics of the database server."
3583msgstr ""
3584
3585#: plugins/check_pgsql.c:555
3586msgid ""
3587"For a list of available connection parameters which may be used with the -o"
3588msgstr ""
3589
3590#: plugins/check_pgsql.c:556
3591msgid ""
3592"command line option, see the documentation for PQconnectdb() in the chapter"
3593msgstr ""
3594
3595#: plugins/check_pgsql.c:557
3596msgid ""
3597"\"libpq - C Library\" of the PostgreSQL manual. For example, this may be"
3598msgstr ""
3599
3600#: plugins/check_pgsql.c:558
3601msgid ""
3602"used to specify a service name in pg_service.conf to be used for additional"
3603msgstr ""
3604
3605#: plugins/check_pgsql.c:559
3606msgid "connection parameters: -o 'service=<name>' or to specify the SSL mode:"
3607msgstr ""
3608
3609#: plugins/check_pgsql.c:560
3610msgid "-o 'sslmode=require'."
3611msgstr ""
3612
3613#: plugins/check_pgsql.c:562
3357msgid "" 3614msgid ""
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"
3359msgstr "" 3616msgstr ""
3360 3617
3361#: plugins/check_pgsql.c:462 3618#: plugins/check_pgsql.c:563
3362msgid "" 3619msgid ""
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"
3364msgstr "" 3621msgstr ""
3365 3622
3366#: plugins/check_pgsql.c:463 3623#: plugins/check_pgsql.c:564
3367msgid "connections (start the postmaster with the -i option)." 3624msgid "connections (start the postmaster with the -i option)."
3368msgstr "" 3625msgstr ""
3369 3626
3370#: plugins/check_pgsql.c:465 3627#: plugins/check_pgsql.c:566
3371msgid "" 3628msgid ""
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"
3373msgstr "" 3631msgstr ""
3374 3632
3375#: plugins/check_pgsql.c:466 3633#: plugins/check_pgsql.c:567
3376msgid "" 3634msgid ""
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"
3378msgstr "" 3636msgstr ""
3379 3637
3380#: plugins/check_pgsql.c:467 3638#: plugins/check_pgsql.c:568
3381msgid "a password, but no effort is made to obsure or encrypt the password." 3639msgid "a password, but no effort is made to obsure or encrypt the password."
3382msgstr "" 3640msgstr ""
3383 3641
3642#: plugins/check_pgsql.c:601
3643#, c-format
3644msgid "QUERY %s - %s: %s.\n"
3645msgstr ""
3646
3647#: plugins/check_pgsql.c:601
3648msgid "Error with query"
3649msgstr ""
3650
3651#: plugins/check_pgsql.c:607
3652msgid "No rows returned"
3653msgstr ""
3654
3655#: plugins/check_pgsql.c:612
3656msgid "No columns returned"
3657msgstr ""
3658
3659#: plugins/check_pgsql.c:618
3660#, fuzzy
3661msgid "No data returned"
3662msgstr "Keine Daten empfangen %s\n"
3663
3664#: plugins/check_pgsql.c:627
3665msgid "Is not a numeric"
3666msgstr ""
3667
3668#: plugins/check_pgsql.c:644
3669#, fuzzy, c-format
3670msgid "'%s' returned %f"
3671msgstr "%s hat %s zurückgegeben"
3672
3384#: plugins/check_ping.c:141 3673#: plugins/check_ping.c:141
3385msgid "CRITICAL - Could not interpret output from ping command\n" 3674msgid "CRITICAL - Could not interpret output from ping command\n"
3386msgstr "" 3675msgstr ""
@@ -3461,314 +3750,307 @@ msgstr ""
3461msgid "<wpl> (%d) cannot be larger than <cpl> (%d)\n" 3750msgid "<wpl> (%d) cannot be larger than <cpl> (%d)\n"
3462msgstr "" 3751msgstr ""
3463 3752
3464#: plugins/check_ping.c:441 3753#: plugins/check_ping.c:442
3465#, c-format 3754#, c-format
3466msgid "Cannot open stderr for %s\n" 3755msgid "Cannot open stderr for %s\n"
3467msgstr "" 3756msgstr ""
3468 3757
3469#: plugins/check_ping.c:490 plugins/check_ping.c:492 3758#: plugins/check_ping.c:492 plugins/check_ping.c:494
3470msgid "System call sent warnings to stderr " 3759msgid "System call sent warnings to stderr "
3471msgstr "" 3760msgstr ""
3472 3761
3473#: plugins/check_ping.c:519 3762#: plugins/check_ping.c:519
3474#, fuzzy, c-format 3763#, fuzzy, c-format
3475msgid "CRITICAL - Network Unreachable (%s)" 3764msgid "CRITICAL - Network Unreachable (%s)\n"
3476msgstr "CRITICAL - Netzwerk nicht erreichbar (%s)" 3765msgstr "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
3480msgid "CRITICAL - Host Unreachable (%s)" 3769msgid "CRITICAL - Host Unreachable (%s)\n"
3481msgstr "" 3770msgstr "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
3485msgid "CRITICAL - Bogus ICMP: Port Unreachable (%s)" 3774msgid "CRITICAL - Bogus ICMP: Port Unreachable (%s)\n"
3486msgstr "CRITICAL - Netzwerk nicht erreichbar (%s)" 3775msgstr "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
3490msgid "CRITICAL - Bogus ICMP: Protocol Unreachable (%s)" 3779msgid "CRITICAL - Bogus ICMP: Protocol Unreachable (%s)\n"
3491msgstr "CRITICAL - Netzwerk nicht erreichbar (%s)" 3780msgstr "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
3495msgid "CRITICAL - Network Prohibited (%s)" 3784msgid "CRITICAL - Network Prohibited (%s)\n"
3496msgstr "CRITICAL - Netzwerk nicht erreichbar (%s)" 3785msgstr "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
3500msgid "CRITICAL - Host Prohibited (%s)" 3789msgid "CRITICAL - Host Prohibited (%s)\n"
3501msgstr "CRITICAL - Netzwerk nicht erreichbar (%s)" 3790msgstr "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
3505msgid "CRITICAL - Packet Filtered (%s)" 3794msgid "CRITICAL - Packet Filtered (%s)\n"
3506msgstr "CRITICAL - Netzwerk nicht erreichbar (%s)" 3795msgstr "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
3510msgid "CRITICAL - Host not found (%s)" 3799msgid "CRITICAL - Host not found (%s)\n"
3511msgstr "" 3800msgstr "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
3515msgid "CRITICAL - Time to live exceeded (%s)" 3804msgid "CRITICAL - Time to live exceeded (%s)\n"
3516msgstr "" 3805msgstr "CRITICAL - Netzwerk nicht erreichbar (%s)"
3806
3807#: plugins/check_ping.c:537
3808#, fuzzy, c-format
3809msgid "CRITICAL - Destination Unreachable (%s)\n"
3810msgstr "CRITICAL - Netzwerk nicht erreichbar (%s)"
3517 3811
3518#: plugins/check_ping.c:542 3812#: plugins/check_ping.c:544
3519msgid "Unable to realloc warn_text" 3813msgid "Unable to realloc warn_text\n"
3520msgstr "" 3814msgstr ""
3521 3815
3522#: plugins/check_ping.c:559 3816#: plugins/check_ping.c:561
3523#, c-format 3817#, c-format
3524msgid "Use ping to check connection statistics for a remote host." 3818msgid "Use ping to check connection statistics for a remote host."
3525msgstr "" 3819msgstr ""
3526 3820
3527#: plugins/check_ping.c:571 3821#: plugins/check_ping.c:573
3528msgid "host to ping" 3822msgid "host to ping"
3529msgstr "" 3823msgstr ""
3530 3824
3531#: plugins/check_ping.c:577 3825#: plugins/check_ping.c:579
3532msgid "number of ICMP ECHO packets to send" 3826msgid "number of ICMP ECHO packets to send"
3533msgstr "" 3827msgstr ""
3534 3828
3535#: plugins/check_ping.c:578 3829#: plugins/check_ping.c:580
3536#, c-format 3830#, c-format
3537msgid "(Default: %d)\n" 3831msgid "(Default: %d)\n"
3538msgstr "" 3832msgstr ""
3539 3833
3540#: plugins/check_ping.c:580 3834#: plugins/check_ping.c:582
3541msgid "show HTML in the plugin output (obsoleted by urlize)" 3835msgid "show HTML in the plugin output (obsoleted by urlize)"
3542msgstr "" 3836msgstr ""
3543 3837
3544#: plugins/check_ping.c:585 3838#: plugins/check_ping.c:587
3545msgid "THRESHOLD is <rta>,<pl>% where <rta> is the round trip average travel" 3839msgid "THRESHOLD is <rta>,<pl>% where <rta> is the round trip average travel"
3546msgstr "" 3840msgstr ""
3547 3841
3548#: plugins/check_ping.c:586 3842#: plugins/check_ping.c:588
3549msgid "time (ms) which triggers a WARNING or CRITICAL state, and <pl> is the" 3843msgid "time (ms) which triggers a WARNING or CRITICAL state, and <pl> is the"
3550msgstr "" 3844msgstr ""
3551 3845
3552#: plugins/check_ping.c:587 3846#: plugins/check_ping.c:589
3553msgid "percentage of packet loss to trigger an alarm state." 3847msgid "percentage of packet loss to trigger an alarm state."
3554msgstr "" 3848msgstr ""
3555 3849
3556#: plugins/check_ping.c:590 3850#: plugins/check_ping.c:592
3557#, fuzzy 3851#, fuzzy
3558msgid "" 3852msgid ""
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"
3560msgstr "Dieses plugin testet Gameserververbindungen zum angegebenen Host." 3854msgstr "Dieses plugin testet Gameserververbindungen zum angegebenen Host."
3561 3855
3562#: plugins/check_ping.c:591 3856#: plugins/check_ping.c:593
3563msgid "" 3857msgid ""
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"
3566msgstr "" 3860msgstr ""
3567 3861
3568#: plugins/check_ping.c:592 3862#: plugins/check_ping.c:594
3569msgid "" 3863msgid ""
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"
3571msgstr "" 3865msgstr ""
3572 3866
3573#: plugins/check_ping.c:593 3867#: plugins/check_ping.c:595
3574msgid "the contrib area of the downloads section at http://www.nagios.org/" 3868msgid "the contrib area of the downloads section at http://www.nagios.org/"
3575msgstr "" 3869msgstr ""
3576 3870
3577#: plugins/check_procs.c:159 3871#: plugins/check_procs.c:193
3578#, c-format 3872#, c-format
3579msgid "CMD: %s\n" 3873msgid "CMD: %s\n"
3580msgstr "" 3874msgstr ""
3581 3875
3582#: plugins/check_procs.c:164 3876#: plugins/check_procs.c:198
3583msgid "System call sent warnings to stderr" 3877msgid "System call sent warnings to stderr"
3584msgstr "" 3878msgstr ""
3585 3879
3586#: plugins/check_procs.c:265 3880#: plugins/check_procs.c:326
3587#, c-format 3881#, c-format
3588msgid "Not parseable: %s" 3882msgid "Not parseable: %s"
3589msgstr "" 3883msgstr ""
3590 3884
3591#: plugins/check_procs.c:270 3885#: plugins/check_procs.c:331
3592#, c-format 3886#, c-format
3593msgid "Unable to read output\n" 3887msgid "Unable to read output\n"
3594msgstr "" 3888msgstr ""
3595 3889
3596#: plugins/check_procs.c:287 3890#: plugins/check_procs.c:348
3597#, c-format 3891#, c-format
3598msgid "%d warn out of " 3892msgid "%d warn out of "
3599msgstr "" 3893msgstr ""
3600 3894
3601#: plugins/check_procs.c:292 3895#: plugins/check_procs.c:353
3602#, c-format 3896#, c-format
3603msgid "%d crit, %d warn out of " 3897msgid "%d crit, %d warn out of "
3604msgstr "" 3898msgstr ""
3605 3899
3606#: plugins/check_procs.c:298 3900#: plugins/check_procs.c:359
3607#, c-format 3901#, c-format
3608msgid " with %s" 3902msgid " with %s"
3609msgstr "" 3903msgstr ""
3610 3904
3611#: plugins/check_procs.c:378 3905#: plugins/check_procs.c:453
3612#, fuzzy
3613msgid "Critical Process Count must be an integer!"
3614msgstr "Critical threshold muss ein Integer sein"
3615
3616#: plugins/check_procs.c:390
3617#, fuzzy
3618msgid "Warning Process Count must be an integer!"
3619msgstr "Warning threshold Integer sein"
3620
3621#: plugins/check_procs.c:398
3622#, fuzzy 3906#, fuzzy
3623msgid "Parent Process ID must be an integer!" 3907msgid "Parent Process ID must be an integer!"
3624msgstr "Argument für check_dummy muss ein Integer sein" 3908msgstr "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
3628msgid "%s%sSTATE = %s" 3912msgid "%s%sSTATE = %s"
3629msgstr "" 3913msgstr ""
3630 3914
3631#: plugins/check_procs.c:413 3915#: plugins/check_procs.c:468
3632#, fuzzy 3916#, fuzzy
3633msgid "UID was not found" 3917msgid "UID was not found"
3634msgstr "%s [%s nicht gefunden]" 3918msgstr "%s [%s nicht gefunden]"
3635 3919
3636#: plugins/check_procs.c:419 3920#: plugins/check_procs.c:474
3637#, fuzzy 3921#, fuzzy
3638msgid "User name was not found" 3922msgid "User name was not found"
3639msgstr "%s [%s nicht gefunden]" 3923msgstr "%s [%s nicht gefunden]"
3640 3924
3641#: plugins/check_procs.c:434 3925#: plugins/check_procs.c:489
3642#, c-format 3926#, c-format
3643msgid "%s%scommand name '%s'" 3927msgid "%s%scommand name '%s'"
3644msgstr "" 3928msgstr ""
3645 3929
3646#: plugins/check_procs.c:462 3930#: plugins/check_procs.c:524
3647#, fuzzy 3931#, fuzzy
3648msgid "RSS must be an integer!" 3932msgid "RSS must be an integer!"
3649msgstr "skip lines muss ein Integer sein" 3933msgstr "skip lines muss ein Integer sein"
3650 3934
3651#: plugins/check_procs.c:469 3935#: plugins/check_procs.c:531
3652#, fuzzy 3936#, fuzzy
3653msgid "VSZ must be an integer!" 3937msgid "VSZ must be an integer!"
3654msgstr "skip lines muss ein Integer sein" 3938msgstr "skip lines muss ein Integer sein"
3655 3939
3656#: plugins/check_procs.c:477 3940#: plugins/check_procs.c:539
3657msgid "PCPU must be a float!" 3941msgid "PCPU must be a float!"
3658msgstr "" 3942msgstr ""
3659 3943
3660#: plugins/check_procs.c:501 3944#: plugins/check_procs.c:563
3661msgid "Metric must be one of PROCS, VSZ, RSS, CPU, ELAPSED!" 3945msgid "Metric must be one of PROCS, VSZ, RSS, CPU, ELAPSED!"
3662msgstr "" 3946msgstr ""
3663 3947
3664#: plugins/check_procs.c:537 3948#: plugins/check_procs.c:694
3665#, c-format
3666msgid "wmax (%d) cannot be greater than cmax (%d)\n"
3667msgstr ""
3668
3669#: plugins/check_procs.c:541
3670#, c-format
3671msgid "wmin (%d) cannot be less than cmin (%d)\n"
3672msgstr ""
3673
3674#: plugins/check_procs.c:678
3675msgid "" 3949msgid ""
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"
3678msgstr "" 3952msgstr ""
3679 3953
3680#: plugins/check_procs.c:679 3954#: plugins/check_procs.c:695
3681msgid "" 3955msgid ""
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"
3684msgstr "" 3958msgstr ""
3685 3959
3686#: plugins/check_procs.c:680 3960#: plugins/check_procs.c:696
3687msgid "" 3961msgid ""
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."
3689msgstr "" 3963msgstr ""
3690 3964
3691#: plugins/check_procs.c:689 3965#: plugins/check_procs.c:705
3692msgid "Generate warning state if metric is outside this range" 3966msgid "Generate warning state if metric is outside this range"
3693msgstr "" 3967msgstr ""
3694 3968
3695#: plugins/check_procs.c:691 3969#: plugins/check_procs.c:707
3696msgid "Generate critical state if metric is outside this range" 3970msgid "Generate critical state if metric is outside this range"
3697msgstr "" 3971msgstr ""
3698 3972
3699#: plugins/check_procs.c:693 3973#: plugins/check_procs.c:709
3700msgid "Check thresholds against metric. Valid types:" 3974msgid "Check thresholds against metric. Valid types:"
3701msgstr "" 3975msgstr ""
3702 3976
3703#: plugins/check_procs.c:694 3977#: plugins/check_procs.c:710
3704msgid "PROCS - number of processes (default)" 3978msgid "PROCS - number of processes (default)"
3705msgstr "" 3979msgstr ""
3706 3980
3707#: plugins/check_procs.c:695 3981#: plugins/check_procs.c:711
3708msgid "VSZ - virtual memory size" 3982msgid "VSZ - virtual memory size"
3709msgstr "" 3983msgstr ""
3710 3984
3711#: plugins/check_procs.c:696 3985#: plugins/check_procs.c:712
3712msgid "RSS - resident set memory size" 3986msgid "RSS - resident set memory size"
3713msgstr "" 3987msgstr ""
3714 3988
3715#: plugins/check_procs.c:697 3989#: plugins/check_procs.c:713
3716msgid "CPU - percentage CPU" 3990msgid "CPU - percentage CPU"
3717msgstr "" 3991msgstr ""
3718 3992
3719#: plugins/check_procs.c:700 3993#: plugins/check_procs.c:716
3720msgid "ELAPSED - time elapsed in seconds" 3994msgid "ELAPSED - time elapsed in seconds"
3721msgstr "" 3995msgstr ""
3722 3996
3723#: plugins/check_procs.c:705 3997#: plugins/check_procs.c:721
3724msgid "Extra information. Up to 3 verbosity levels" 3998msgid "Extra information. Up to 3 verbosity levels"
3725msgstr "" 3999msgstr ""
3726 4000
3727#: plugins/check_procs.c:710 4001#: plugins/check_procs.c:724
4002msgid "Filter own process the traditional way by PID instead of /proc/pid/exe"
4003msgstr ""
4004
4005#: plugins/check_procs.c:729
3728msgid "Only scan for processes that have, in the output of `ps`, one or" 4006msgid "Only scan for processes that have, in the output of `ps`, one or"
3729msgstr "" 4007msgstr ""
3730 4008
3731#: plugins/check_procs.c:711 4009#: plugins/check_procs.c:730
3732msgid "more of the status flags you specify (for example R, Z, S, RS," 4010msgid "more of the status flags you specify (for example R, Z, S, RS,"
3733msgstr "" 4011msgstr ""
3734 4012
3735#: plugins/check_procs.c:712 4013#: plugins/check_procs.c:731
3736msgid "RSZDT, plus others based on the output of your 'ps' command)." 4014msgid "RSZDT, plus others based on the output of your 'ps' command)."
3737msgstr "" 4015msgstr ""
3738 4016
3739#: plugins/check_procs.c:714 4017#: plugins/check_procs.c:733
3740msgid "Only scan for children of the parent process ID indicated." 4018msgid "Only scan for children of the parent process ID indicated."
3741msgstr "" 4019msgstr ""
3742 4020
3743#: plugins/check_procs.c:716 4021#: plugins/check_procs.c:735
3744msgid "Only scan for processes with VSZ higher than indicated." 4022msgid "Only scan for processes with VSZ higher than indicated."
3745msgstr "" 4023msgstr ""
3746 4024
3747#: plugins/check_procs.c:718 4025#: plugins/check_procs.c:737
3748msgid "Only scan for processes with RSS higher than indicated." 4026msgid "Only scan for processes with RSS higher than indicated."
3749msgstr "" 4027msgstr ""
3750 4028
3751#: plugins/check_procs.c:720 4029#: plugins/check_procs.c:739
3752msgid "Only scan for processes with PCPU higher than indicated." 4030msgid "Only scan for processes with PCPU higher than indicated."
3753msgstr "" 4031msgstr ""
3754 4032
3755#: plugins/check_procs.c:722 4033#: plugins/check_procs.c:741
3756msgid "Only scan for processes with user name or ID indicated." 4034msgid "Only scan for processes with user name or ID indicated."
3757msgstr "" 4035msgstr ""
3758 4036
3759#: plugins/check_procs.c:724 4037#: plugins/check_procs.c:743
3760msgid "Only scan for processes with args that contain STRING." 4038msgid "Only scan for processes with args that contain STRING."
3761msgstr "" 4039msgstr ""
3762 4040
3763#: plugins/check_procs.c:726 4041#: plugins/check_procs.c:745
3764msgid "Only scan for processes with args that contain the regex STRING." 4042msgid "Only scan for processes with args that contain the regex STRING."
3765msgstr "" 4043msgstr ""
3766 4044
3767#: plugins/check_procs.c:728 4045#: plugins/check_procs.c:747
3768msgid "Only scan for exact matches of COMMAND (without path)." 4046msgid "Only scan for exact matches of COMMAND (without path)."
3769msgstr "" 4047msgstr ""
3770 4048
3771#: plugins/check_procs.c:730 4049#: plugins/check_procs.c:749
4050msgid "Only scan for non kernel threads (works on Linux only)."
4051msgstr ""
4052
4053#: plugins/check_procs.c:751
3772#, c-format 4054#, c-format
3773msgid "" 4055msgid ""
3774"\n" 4056"\n"
@@ -3778,7 +4060,7 @@ msgid ""
3778"\n" 4060"\n"
3779msgstr "" 4061msgstr ""
3780 4062
3781#: plugins/check_procs.c:735 4063#: plugins/check_procs.c:756
3782#, c-format 4064#, c-format
3783msgid "" 4065msgid ""
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"
3790msgstr "" 4072msgstr ""
3791 4073
3792#: plugins/check_procs.c:744 4074#: plugins/check_procs.c:765
3793msgid "Warning if not two processes with command name portsentry." 4075msgid "Warning if not two processes with command name portsentry."
3794msgstr "" 4076msgstr ""
3795 4077
3796#: plugins/check_procs.c:745 4078#: plugins/check_procs.c:766
3797msgid "Critical if < 2 or > 1024 processes" 4079msgid "Critical if < 2 or > 1024 processes"
3798msgstr "" 4080msgstr ""
3799 4081
3800#: plugins/check_procs.c:747 4082#: plugins/check_procs.c:768
3801msgid "Warning alert if > 10 processes with command arguments containing" 4083msgid "Warning alert if > 10 processes with command arguments containing"
3802msgstr "" 4084msgstr ""
3803 4085
3804#: plugins/check_procs.c:748 4086#: plugins/check_procs.c:769
3805msgid "'/usr/local/bin/perl' and owned by root" 4087msgid "'/usr/local/bin/perl' and owned by root"
3806msgstr "" 4088msgstr ""
3807 4089
3808#: plugins/check_procs.c:750 4090#: plugins/check_procs.c:771
3809msgid "Alert if VSZ of any processes over 50K or 100K" 4091msgid "Alert if VSZ of any processes over 50K or 100K"
3810msgstr "" 4092msgstr ""
3811 4093
3812#: plugins/check_procs.c:752 4094#: plugins/check_procs.c:773
3813#, c-format 4095#, c-format
3814msgid "Alert if CPU of any processes over 10%% or 20%%" 4096msgid "Alert if CPU of any processes over 10%% or 20%%"
3815msgstr "" 4097msgstr ""
@@ -3941,7 +4223,7 @@ msgid ""
3941msgstr "" 4223msgstr ""
3942 4224
3943#: plugins/check_radius.c:373 4225#: plugins/check_radius.c:373
3944msgid "in a process listing. This risk is exacerbated because nagios will" 4226msgid "in a process listing. This risk is exacerbated because the monitor will"
3945msgstr "" 4227msgstr ""
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"
3972msgid "Invalid REAL response received from host on port %d\n" 4254msgid "Invalid REAL response received from host on port %d\n"
3973msgstr "" 4255msgstr ""
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
3977msgid "No data received from host\n" 4259msgid "No data received from host\n"
3978msgstr "" 4260msgstr ""
@@ -3982,11 +4264,11 @@ msgstr ""
3982msgid "REAL %s - %d second response time\n" 4264msgid "REAL %s - %d second response time\n"
3983msgstr "" 4265msgstr ""
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
3986msgid "Warning time must be a positive integer" 4268msgid "Warning time must be a positive integer"
3987msgstr "Warnung time muss ein positiver Integer sein" 4269msgstr "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
3990msgid "Critical time must be a positive integer" 4272msgid "Critical time must be a positive integer"
3991msgstr "Critical time muss ein positiver Integer sein" 4273msgstr "Critical time muss ein positiver Integer sein"
3992 4274
@@ -4016,7 +4298,7 @@ msgstr ""
4016msgid "This plugin will attempt to open an RTSP connection with the host." 4298msgid "This plugin will attempt to open an RTSP connection with the host."
4017msgstr "Dieses plugin testet Gameserververbindungen zum angegebenen Host." 4299msgstr "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
4020msgid "Successul connects return STATE_OK, refusals and timeouts return" 4302msgid "Successul connects return STATE_OK, refusals and timeouts return"
4021msgstr "" 4303msgstr ""
4022 4304
@@ -4034,511 +4316,524 @@ msgstr ""
4034msgid "values." 4316msgid "values."
4035msgstr "" 4317msgstr ""
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
4039msgid "malloc() failed!\n" 4321msgid "malloc() failed!\n"
4040msgstr "" 4322msgstr ""
4041 4323
4042#: plugins/check_smtp.c:150 4324#: plugins/check_smtp.c:154
4043#, c-format 4325#, c-format
4044msgid "gethostname() failed!\n" 4326msgid "gethostname() failed!\n"
4045msgstr "" 4327msgstr ""
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
4049msgid "recv() failed\n" 4331msgid "recv() failed\n"
4050msgstr "" 4332msgstr ""
4051 4333
4052#: plugins/check_smtp.c:196 4334#: plugins/check_smtp.c:200
4053#, fuzzy, c-format 4335#, fuzzy, c-format
4054msgid "Invalid SMTP response received from host: %s\n" 4336msgid "Invalid SMTP response received from host: %s\n"
4055msgstr "Ungültige HTTP Antwort von Host empfangen\n" 4337msgstr "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
4059msgid "Invalid SMTP response received from host on port %d: %s\n" 4341msgid "Invalid SMTP response received from host on port %d: %s\n"
4060msgstr "Ungültige HTTP Antwort von Host erhalten auf Port %d\n" 4342msgstr "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
4064msgid "WARNING - TLS not supported by server\n" 4346msgid "WARNING - TLS not supported by server\n"
4065msgstr "" 4347msgstr ""
4066 4348
4067#: plugins/check_smtp.c:231 4349#: plugins/check_smtp.c:235
4068#, c-format 4350#, c-format
4069msgid "Server does not support STARTTLS\n" 4351msgid "Server does not support STARTTLS\n"
4070msgstr "" 4352msgstr ""
4071 4353
4072#: plugins/check_smtp.c:237 4354#: plugins/check_smtp.c:241
4073#, c-format 4355#, c-format
4074msgid "CRITICAL - Cannot create SSL context.\n" 4356msgid "CRITICAL - Cannot create SSL context.\n"
4075msgstr "" 4357msgstr ""
4076 4358
4077#: plugins/check_smtp.c:257 4359#: plugins/check_smtp.c:261
4078msgid "SMTP UNKNOWN - Cannot send EHLO command via TLS." 4360msgid "SMTP UNKNOWN - Cannot send EHLO command via TLS."
4079msgstr "" 4361msgstr ""
4080 4362
4081#: plugins/check_smtp.c:262 4363#: plugins/check_smtp.c:266
4082#, c-format 4364#, c-format
4083msgid "sent %s" 4365msgid "sent %s"
4084msgstr "" 4366msgstr ""
4085 4367
4086#: plugins/check_smtp.c:264 4368#: plugins/check_smtp.c:268
4087msgid "SMTP UNKNOWN - Cannot read EHLO response via TLS." 4369msgid "SMTP UNKNOWN - Cannot read EHLO response via TLS."
4088msgstr "" 4370msgstr ""
4089 4371
4090#: plugins/check_smtp.c:276 4372#: plugins/check_smtp.c:303 plugins/check_snmp.c:806
4091#, fuzzy
4092msgid "CRITICAL - Cannot retrieve server certificate."
4093msgstr "CRITICAL - Konnte kein Serverzertifikat erhalten\n"
4094
4095#: plugins/check_smtp.c:311 plugins/check_snmp.c:722
4096#, c-format 4373#, c-format
4097msgid "Could Not Compile Regular Expression" 4374msgid "Could Not Compile Regular Expression"
4098msgstr "" 4375msgstr ""
4099 4376
4100#: plugins/check_smtp.c:320 4377#: plugins/check_smtp.c:312
4101#, c-format 4378#, c-format
4102msgid "SMTP %s - Invalid response '%s' to command '%s'\n" 4379msgid "SMTP %s - Invalid response '%s' to command '%s'\n"
4103msgstr "" 4380msgstr ""
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
4107msgid "Execute Error: %s\n" 4384msgid "Execute Error: %s\n"
4108msgstr "" 4385msgstr ""
4109 4386
4110#: plugins/check_smtp.c:338 4387#: plugins/check_smtp.c:330
4111#, c-format
4112msgid "no authuser specified, " 4388msgid "no authuser specified, "
4113msgstr "" 4389msgstr ""
4114 4390
4115#: plugins/check_smtp.c:343 4391#: plugins/check_smtp.c:335
4116#, c-format
4117msgid "no authpass specified, " 4392msgid "no authpass specified, "
4118msgstr "" 4393msgstr ""
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
4123msgid "sent %s\n" 4398msgid "sent %s\n"
4124msgstr "" 4399msgstr ""
4125 4400
4126#: plugins/check_smtp.c:353 4401#: plugins/check_smtp.c:345
4127#, fuzzy, c-format 4402#, fuzzy
4128msgid "recv() failed after AUTH LOGIN, " 4403msgid "recv() failed after AUTH LOGIN, "
4129msgstr "Ungültige HTTP Antwort von Host empfangen\n" 4404msgstr "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
4134msgid "received %s\n" 4409msgid "received %s\n"
4135msgstr "Keine Daten empfangen %s\n" 4410msgstr "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
4139msgid "invalid response received after AUTH LOGIN, " 4414msgid "invalid response received after AUTH LOGIN, "
4140msgstr "Ungültige HTTP Antwort von Host empfangen\n" 4415msgstr "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
4144msgid "recv() failed after sending authuser, " 4418msgid "recv() failed after sending authuser, "
4145msgstr "" 4419msgstr ""
4146 4420
4147#: plugins/check_smtp.c:384 4421#: plugins/check_smtp.c:375
4148#, fuzzy, c-format 4422#, fuzzy
4149msgid "invalid response received after authuser, " 4423msgid "invalid response received after authuser, "
4150msgstr "Ungültige HTTP Antwort von Host empfangen\n" 4424msgstr "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
4154msgid "recv() failed after sending authpass, " 4427msgid "recv() failed after sending authpass, "
4155msgstr "" 4428msgstr ""
4156 4429
4157#: plugins/check_smtp.c:405 4430#: plugins/check_smtp.c:395
4158#, fuzzy, c-format 4431#, fuzzy
4159msgid "invalid response received after authpass, " 4432msgid "invalid response received after authpass, "
4160msgstr "Ungültige HTTP Antwort von Host empfangen\n" 4433msgstr "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
4164msgid "only authtype LOGIN is supported, " 4436msgid "only authtype LOGIN is supported, "
4165msgstr "" 4437msgstr ""
4166 4438
4167#: plugins/check_smtp.c:436 4439#: plugins/check_smtp.c:426
4168#, fuzzy, c-format 4440#, fuzzy, c-format
4169msgid "SMTP %s - %s%.3f sec. response time%s%s|%s\n" 4441msgid "SMTP %s - %s%.3f sec. response time%s%s|%s\n"
4170msgstr " - %s - %.3f Sekunden Antwortzeit %s%s|%s %s\n" 4442msgstr " - %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
4174msgid "Could not realloc() units [%d]\n" 4446msgid "Could not realloc() units [%d]\n"
4175msgstr "" 4447msgstr ""
4176 4448
4177#: plugins/check_smtp.c:603 4449#: plugins/check_smtp.c:556
4450#, fuzzy
4451msgid "Critical time must be a positive"
4452msgstr "Critical time muss ein positiver Integer sein"
4453
4454#: plugins/check_smtp.c:564
4455#, fuzzy
4456msgid "Warning time must be a positive"
4457msgstr "Warnung time muss ein positiver Integer sein"
4458
4459#: plugins/check_smtp.c:611
4178msgid "SSL support not available - install OpenSSL and recompile" 4460msgid "SSL support not available - install OpenSSL and recompile"
4179msgstr "" 4461msgstr ""
4180 4462
4181#: plugins/check_smtp.c:674 4463#: plugins/check_smtp.c:679 plugins/check_smtp.c:684
4464#, c-format
4465msgid "Connection closed by server before sending QUIT command\n"
4466msgstr ""
4467
4468#: plugins/check_smtp.c:694
4182#, fuzzy, c-format 4469#, fuzzy, c-format
4183msgid "recv() failed after QUIT." 4470msgid "recv() failed after QUIT."
4184msgstr "Ungültige HTTP Antwort von Host empfangen\n" 4471msgstr "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
4188msgid "Connection reset by peer." 4475msgid "Connection reset by peer."
4189msgstr "" 4476msgstr ""
4190 4477
4191#: plugins/check_smtp.c:764 4478#: plugins/check_smtp.c:784
4192#, fuzzy 4479#, fuzzy
4193msgid "This plugin will attempt to open an SMTP connection with the host." 4480msgid "This plugin will attempt to open an SMTP connection with the host."
4194msgstr "Dieses plugin testet Gameserververbindungen zum angegebenen Host." 4481msgstr "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
4198msgid " String to expect in first line of server response (default: '%s')\n" 4485msgid " String to expect in first line of server response (default: '%s')\n"
4199msgstr "" 4486msgstr ""
4200 4487
4201#: plugins/check_smtp.c:780 4488#: plugins/check_smtp.c:800
4202msgid "SMTP command (may be used repeatedly)" 4489msgid "SMTP command (may be used repeatedly)"
4203msgstr "" 4490msgstr ""
4204 4491
4205#: plugins/check_smtp.c:782 4492#: plugins/check_smtp.c:802
4206msgid "Expected response to command (may be used repeatedly)" 4493msgid "Expected response to command (may be used repeatedly)"
4207msgstr "" 4494msgstr ""
4208 4495
4209#: plugins/check_smtp.c:784 4496#: plugins/check_smtp.c:804
4210msgid "FROM-address to include in MAIL command, required by Exchange 2000" 4497msgid "FROM-address to include in MAIL command, required by Exchange 2000"
4211msgstr "" 4498msgstr ""
4212 4499
4213#: plugins/check_smtp.c:786 4500#: plugins/check_smtp.c:806
4214msgid "FQDN used for HELO" 4501msgid "FQDN used for HELO"
4215msgstr "" 4502msgstr ""
4216 4503
4217#: plugins/check_smtp.c:789 plugins/check_tcp.c:633 4504#: plugins/check_smtp.c:809 plugins/check_tcp.c:665
4218msgid "Minimum number of days a certificate has to be valid." 4505msgid "Minimum number of days a certificate has to be valid."
4219msgstr "" 4506msgstr ""
4220 4507
4221#: plugins/check_smtp.c:791 4508#: plugins/check_smtp.c:811
4222msgid "Use STARTTLS for the connection." 4509msgid "Use STARTTLS for the connection."
4223msgstr "" 4510msgstr ""
4224 4511
4225#: plugins/check_smtp.c:795 4512#: plugins/check_smtp.c:815
4226msgid "SMTP AUTH type to check (default none, only LOGIN supported)" 4513msgid "SMTP AUTH type to check (default none, only LOGIN supported)"
4227msgstr "" 4514msgstr ""
4228 4515
4229#: plugins/check_smtp.c:797 4516#: plugins/check_smtp.c:817
4230msgid "SMTP AUTH username" 4517msgid "SMTP AUTH username"
4231msgstr "" 4518msgstr ""
4232 4519
4233#: plugins/check_smtp.c:799 4520#: plugins/check_smtp.c:819
4234msgid "SMTP AUTH password" 4521msgid "SMTP AUTH password"
4235msgstr "" 4522msgstr ""
4236 4523
4237#: plugins/check_smtp.c:809 4524#: plugins/check_smtp.c:821
4525msgid "Ignore failure when sending QUIT command to server"
4526msgstr ""
4527
4528#: plugins/check_smtp.c:831
4238msgid "STATE_CRITICAL, other errors return STATE_UNKNOWN. Successful" 4529msgid "STATE_CRITICAL, other errors return STATE_UNKNOWN. Successful"
4239msgstr "" 4530msgstr ""
4240 4531
4241#: plugins/check_smtp.c:810 4532#: plugins/check_smtp.c:832
4242msgid "connects, but incorrect reponse messages from the host result in" 4533msgid "connects, but incorrect reponse messages from the host result in"
4243msgstr "" 4534msgstr ""
4244 4535
4245#: plugins/check_smtp.c:811 4536#: plugins/check_smtp.c:833
4246msgid "STATE_WARNING return values." 4537msgid "STATE_WARNING return values."
4247msgstr "" 4538msgstr ""
4248 4539
4249#: plugins/check_snmp.c:299 4540#: plugins/check_snmp.c:169 plugins/check_snmp.c:582
4541msgid "Cannot malloc"
4542msgstr ""
4543
4544#: plugins/check_snmp.c:356
4250#, fuzzy, c-format 4545#, fuzzy, c-format
4251msgid "External command error: %s\n" 4546msgid "External command error: %s\n"
4252msgstr "Papierfehler" 4547msgstr "Papierfehler"
4253 4548
4254#: plugins/check_snmp.c:304 4549#: plugins/check_snmp.c:361
4255#, c-format 4550#, c-format
4256msgid "External command error with no output (return code: %d)\n" 4551msgid "External command error with no output (return code: %d)\n"
4257msgstr "" 4552msgstr ""
4258 4553
4259#: plugins/check_snmp.c:410 4554#: plugins/check_snmp.c:464
4260msgid "No valid data returned" 4555#, fuzzy, c-format
4261msgstr "" 4556msgid "No valid data returned (%s)\n"
4557msgstr "Keine Daten empfangen %s\n"
4262 4558
4263#: plugins/check_snmp.c:417 4559#: plugins/check_snmp.c:475
4264msgid "Time duration between plugin calls is invalid" 4560msgid "Time duration between plugin calls is invalid"
4265msgstr "" 4561msgstr ""
4266 4562
4267#: plugins/check_snmp.c:513 4563#: plugins/check_snmp.c:588
4268msgid "Cannot malloc"
4269msgstr ""
4270
4271#: plugins/check_snmp.c:519
4272msgid "Cannot asprintf()" 4564msgid "Cannot asprintf()"
4273msgstr "" 4565msgstr ""
4274 4566
4275#: plugins/check_snmp.c:525 4567#: plugins/check_snmp.c:594
4276msgid "Cannot realloc()" 4568msgid "Cannot realloc()"
4277msgstr "" 4569msgstr ""
4278 4570
4279#: plugins/check_snmp.c:541 4571#: plugins/check_snmp.c:610
4280msgid "No previous data to calculate rate - assume okay" 4572msgid "No previous data to calculate rate - assume okay"
4281msgstr "" 4573msgstr ""
4282 4574
4283#: plugins/check_snmp.c:680 4575#: plugins/check_snmp.c:751
4284#, fuzzy 4576#, fuzzy
4285msgid "Retries interval must be a positive integer" 4577msgid "Retries interval must be a positive integer"
4286msgstr "Time interval muss ein positiver Integer sein" 4578msgstr "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
4290msgid "Could not reallocate labels[%d]" 4582msgid "Could not reallocate labels[%d]"
4291msgstr "Konnte addr nicht zuweisen\n" 4583msgstr "Konnte addr nicht zuweisen\n"
4292 4584
4293#: plugins/check_snmp.c:754 4585#: plugins/check_snmp.c:844
4294#, fuzzy 4586#, fuzzy
4295msgid "Could not reallocate labels\n" 4587msgid "Could not reallocate labels\n"
4296msgstr "Konnte·url·nicht·zuweisen\n" 4588msgstr "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
4300msgid "Could not reallocate units [%d]\n" 4592msgid "Could not reallocate units [%d]\n"
4301msgstr "Konnte·url·nicht·zuweisen\n" 4593msgstr "Konnte·url·nicht·zuweisen\n"
4302 4594
4303#: plugins/check_snmp.c:783 4595#: plugins/check_snmp.c:872
4304msgid "Could not realloc() units\n" 4596msgid "Could not realloc() units\n"
4305msgstr "" 4597msgstr ""
4306 4598
4307#: plugins/check_snmp.c:800 4599#: plugins/check_snmp.c:889
4308#, fuzzy 4600#, fuzzy
4309msgid "Rate multiplier must be a positive integer" 4601msgid "Rate multiplier must be a positive integer"
4310msgstr "Paketgröße muss ein positiver Integer sein" 4602msgstr "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
4314msgid "No host specified\n" 4606msgid "No host specified\n"
4315msgstr "" 4607msgstr ""
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
4321msgid "No OIDs specified\n" 4613msgid "No OIDs specified\n"
4322msgstr "" 4614msgstr ""
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
4327msgid "Invalid seclevel" 4619msgid "Invalid seclevel"
4328msgstr "" 4620msgstr ""
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
4332msgid "Required parameter: %s\n" 4624msgid "Required parameter: %s\n"
4333msgstr "" 4625msgstr ""
4334 4626
4335#: plugins/check_snmp.c:927 4627#: plugins/check_snmp.c:1022
4336msgid "Invalid SNMP version" 4628msgid "Invalid SNMP version"
4337msgstr "" 4629msgstr ""
4338 4630
4339#: plugins/check_snmp.c:944 4631#: plugins/check_snmp.c:1039
4340msgid "Unbalanced quotes\n" 4632msgid "Unbalanced quotes\n"
4341msgstr "" 4633msgstr ""
4342 4634
4343#: plugins/check_snmp.c:993 4635#: plugins/check_snmp.c:1088
4344msgid "Check status of remote machines and obtain system information via SNMP" 4636msgid "Check status of remote machines and obtain system information via SNMP"
4345msgstr "" 4637msgstr ""
4346 4638
4347#: plugins/check_snmp.c:1006 4639#: plugins/check_snmp.c:1101
4348msgid "Use SNMP GETNEXT instead of SNMP GET" 4640msgid "Use SNMP GETNEXT instead of SNMP GET"
4349msgstr "" 4641msgstr ""
4350 4642
4351#: plugins/check_snmp.c:1008 4643#: plugins/check_snmp.c:1103
4352msgid "SNMP protocol version" 4644msgid "SNMP protocol version"
4353msgstr "" 4645msgstr ""
4354 4646
4355#: plugins/check_snmp.c:1010 4647#: plugins/check_snmp.c:1105
4356msgid "SNMPv3 securityLevel" 4648msgid "SNMPv3 securityLevel"
4357msgstr "" 4649msgstr ""
4358 4650
4359#: plugins/check_snmp.c:1012 4651#: plugins/check_snmp.c:1107
4360msgid "SNMPv3 auth proto" 4652msgid "SNMPv3 auth proto"
4361msgstr "" 4653msgstr ""
4362 4654
4363#: plugins/check_snmp.c:1014 4655#: plugins/check_snmp.c:1109
4364msgid "SNMPv3 priv proto (default DES)" 4656msgid "SNMPv3 priv proto (default DES)"
4365msgstr "" 4657msgstr ""
4366 4658
4367#: plugins/check_snmp.c:1018 4659#: plugins/check_snmp.c:1113
4368msgid "Optional community string for SNMP communication" 4660msgid "Optional community string for SNMP communication"
4369msgstr "" 4661msgstr ""
4370 4662
4371#: plugins/check_snmp.c:1019 4663#: plugins/check_snmp.c:1114
4372msgid "default is" 4664msgid "default is"
4373msgstr "" 4665msgstr ""
4374 4666
4375#: plugins/check_snmp.c:1021 4667#: plugins/check_snmp.c:1116
4376msgid "SNMPv3 username" 4668msgid "SNMPv3 username"
4377msgstr "" 4669msgstr ""
4378 4670
4379#: plugins/check_snmp.c:1023 4671#: plugins/check_snmp.c:1118
4380msgid "SNMPv3 authentication password" 4672msgid "SNMPv3 authentication password"
4381msgstr "" 4673msgstr ""
4382 4674
4383#: plugins/check_snmp.c:1025 4675#: plugins/check_snmp.c:1120
4384msgid "SNMPv3 privacy password" 4676msgid "SNMPv3 privacy password"
4385msgstr "" 4677msgstr ""
4386 4678
4387#: plugins/check_snmp.c:1029 4679#: plugins/check_snmp.c:1124
4388msgid "Object identifier(s) or SNMP variables whose value you wish to query" 4680msgid "Object identifier(s) or SNMP variables whose value you wish to query"
4389msgstr "" 4681msgstr ""
4390 4682
4391#: plugins/check_snmp.c:1031 4683#: plugins/check_snmp.c:1126
4392msgid "" 4684msgid ""
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'"
4394msgstr "" 4686msgstr ""
4395 4687
4396#: plugins/check_snmp.c:1032 4688#: plugins/check_snmp.c:1127
4397msgid "for symbolic OIDs.)" 4689msgid "for symbolic OIDs.)"
4398msgstr "" 4690msgstr ""
4399 4691
4400#: plugins/check_snmp.c:1034 4692#: plugins/check_snmp.c:1129
4401msgid "Delimiter to use when parsing returned data. Default is" 4693msgid "Delimiter to use when parsing returned data. Default is"
4402msgstr "" 4694msgstr ""
4403 4695
4404#: plugins/check_snmp.c:1035 4696#: plugins/check_snmp.c:1130
4405msgid "Any data on the right hand side of the delimiter is considered" 4697msgid "Any data on the right hand side of the delimiter is considered"
4406msgstr "" 4698msgstr ""
4407 4699
4408#: plugins/check_snmp.c:1036 4700#: plugins/check_snmp.c:1131
4409msgid "to be the data that should be used in the evaluation." 4701msgid "to be the data that should be used in the evaluation."
4410msgstr "" 4702msgstr ""
4411 4703
4412#: plugins/check_snmp.c:1040 4704#: plugins/check_snmp.c:1135
4413#, fuzzy 4705#, fuzzy
4414msgid "Warning threshold range(s)" 4706msgid "Warning threshold range(s)"
4415msgstr "Warning threshold Integer sein" 4707msgstr "Warning threshold Integer sein"
4416 4708
4417#: plugins/check_snmp.c:1042 4709#: plugins/check_snmp.c:1137
4418#, fuzzy 4710#, fuzzy
4419msgid "Critical threshold range(s)" 4711msgid "Critical threshold range(s)"
4420msgstr "Critical threshold muss ein Integer sein" 4712msgstr "Critical threshold muss ein Integer sein"
4421 4713
4422#: plugins/check_snmp.c:1044 4714#: plugins/check_snmp.c:1139
4423msgid "Enable rate calculation. See 'Rate Calculation' below" 4715msgid "Enable rate calculation. See 'Rate Calculation' below"
4424msgstr "" 4716msgstr ""
4425 4717
4426#: plugins/check_snmp.c:1046 4718#: plugins/check_snmp.c:1141
4427msgid "" 4719msgid ""
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"
4429msgstr "" 4721msgstr ""
4430 4722
4431#: plugins/check_snmp.c:1050 4723#: plugins/check_snmp.c:1143
4724msgid "Add/substract the specified OFFSET to numeric sensor data"
4725msgstr ""
4726
4727#: plugins/check_snmp.c:1147
4432msgid "Return OK state (for that OID) if STRING is an exact match" 4728msgid "Return OK state (for that OID) if STRING is an exact match"
4433msgstr "" 4729msgstr ""
4434 4730
4435#: plugins/check_snmp.c:1052 4731#: plugins/check_snmp.c:1149
4436msgid "" 4732msgid ""
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"
4438msgstr "" 4734msgstr ""
4439 4735
4440#: plugins/check_snmp.c:1054 4736#: plugins/check_snmp.c:1151
4441msgid "" 4737msgid ""
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"
4443msgstr "" 4739msgstr ""
4444 4740
4445#: plugins/check_snmp.c:1056 4741#: plugins/check_snmp.c:1153
4446msgid "Invert search result (CRITICAL if found)" 4742msgid "Invert search result (CRITICAL if found)"
4447msgstr "" 4743msgstr ""
4448 4744
4449#: plugins/check_snmp.c:1060 4745#: plugins/check_snmp.c:1157
4450msgid "Prefix label for output from plugin" 4746msgid "Prefix label for output from plugin"
4451msgstr "" 4747msgstr ""
4452 4748
4453#: plugins/check_snmp.c:1062 4749#: plugins/check_snmp.c:1159
4454msgid "Units label(s) for output data (e.g., 'sec.')." 4750msgid "Units label(s) for output data (e.g., 'sec.')."
4455msgstr "" 4751msgstr ""
4456 4752
4457#: plugins/check_snmp.c:1064 4753#: plugins/check_snmp.c:1161
4458msgid "Separates output on multiple OID requests" 4754msgid "Separates output on multiple OID requests"
4459msgstr "" 4755msgstr ""
4460 4756
4461#: plugins/check_snmp.c:1068 4757#: plugins/check_snmp.c:1165
4462msgid "Number of retries to be used in the requests" 4758msgid "Number of retries to be used in the requests"
4463msgstr "" 4759msgstr ""
4464 4760
4465#: plugins/check_snmp.c:1073 4761#: plugins/check_snmp.c:1168
4762msgid "Label performance data with OIDs instead of --label's"
4763msgstr ""
4764
4765#: plugins/check_snmp.c:1173
4466msgid "" 4766msgid ""
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."
4468msgstr "" 4768msgstr ""
4469 4769
4470#: plugins/check_snmp.c:1074 4770#: plugins/check_snmp.c:1174
4471msgid "" 4771msgid ""
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"
4473msgstr "" 4773msgstr ""
4474 4774
4475#: plugins/check_snmp.c:1075 4775#: plugins/check_snmp.c:1175
4476msgid "http://net-snmp.sourceforge.net before you can use this plugin." 4776msgid "http://net-snmp.sourceforge.net before you can use this plugin."
4477msgstr "" 4777msgstr ""
4478 4778
4479#: plugins/check_snmp.c:1079 4779#: plugins/check_snmp.c:1179
4480msgid "" 4780msgid ""
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"
4483msgstr ""
4484
4485#: plugins/check_snmp.c:1080
4486msgid "internal spaces must be quoted). Maximum:"
4487msgstr "" 4782msgstr ""
4488 4783
4489#: plugins/check_snmp.c:1080 4784#: plugins/check_snmp.c:1180
4490msgid "OIDs." 4785msgid "list (lists with internal spaces must be quoted)."
4491msgstr "" 4786msgstr ""
4492 4787
4493#: plugins/check_snmp.c:1084 4788#: plugins/check_snmp.c:1184
4494msgid "" 4789msgid ""
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'"
4497msgstr "" 4792msgstr ""
4498 4793
4499#: plugins/check_snmp.c:1085 4794#: plugins/check_snmp.c:1185
4500msgid "- Note that only one string and one regex may be checked at present" 4795msgid "- Note that only one string and one regex may be checked at present"
4501msgstr "" 4796msgstr ""
4502 4797
4503#: plugins/check_snmp.c:1086 4798#: plugins/check_snmp.c:1186
4504msgid "" 4799msgid ""
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"
4506msgstr "" 4801msgstr ""
4507 4802
4508#: plugins/check_snmp.c:1087 4803#: plugins/check_snmp.c:1187
4509msgid "returned from the SNMP query is an unsigned integer." 4804msgid "returned from the SNMP query is an unsigned integer."
4510msgstr "" 4805msgstr ""
4511 4806
4512#: plugins/check_snmp.c:1090 4807#: plugins/check_snmp.c:1190
4513msgid "Rate Calculation:" 4808msgid "Rate Calculation:"
4514msgstr "" 4809msgstr ""
4515 4810
4516#: plugins/check_snmp.c:1091 4811#: plugins/check_snmp.c:1191
4517msgid "In many places, SNMP returns counters that are only meaningful when" 4812msgid "In many places, SNMP returns counters that are only meaningful when"
4518msgstr "" 4813msgstr ""
4519 4814
4520#: plugins/check_snmp.c:1092 4815#: plugins/check_snmp.c:1192
4521msgid "calculating the counter difference since the last check. check_snmp" 4816msgid "calculating the counter difference since the last check. check_snmp"
4522msgstr "" 4817msgstr ""
4523 4818
4524#: plugins/check_snmp.c:1093 4819#: plugins/check_snmp.c:1193
4525msgid "saves the last state information in a file so that the rate per second" 4820msgid "saves the last state information in a file so that the rate per second"
4526msgstr "" 4821msgstr ""
4527 4822
4528#: plugins/check_snmp.c:1094 4823#: plugins/check_snmp.c:1194
4529msgid "can be calculated. Use the --rate option to save state information." 4824msgid "can be calculated. Use the --rate option to save state information."
4530msgstr "" 4825msgstr ""
4531 4826
4532#: plugins/check_snmp.c:1095 4827#: plugins/check_snmp.c:1195
4533msgid "" 4828msgid ""
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."
4535msgstr "" 4830msgstr ""
4536 4831
4537#: plugins/check_snmp.c:1096 4832#: plugins/check_snmp.c:1196
4538msgid "The state is uniquely determined by the arguments to the plugin, so" 4833msgid "The state is uniquely determined by the arguments to the plugin, so"
4539msgstr "" 4834msgstr ""
4540 4835
4541#: plugins/check_snmp.c:1097 4836#: plugins/check_snmp.c:1197
4542msgid "changing the arguments will create a new state file." 4837msgid "changing the arguments will create a new state file."
4543msgstr "" 4838msgstr ""
4544 4839
@@ -4547,26 +4842,26 @@ msgstr ""
4547msgid "Port number must be a positive integer" 4842msgid "Port number must be a positive integer"
4548msgstr "Port muss ein positiver Integer sein" 4843msgstr "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
4552msgid "Server answer: %s" 4847msgid "Server answer: %s"
4553msgstr "" 4848msgstr ""
4554 4849
4555#: plugins/check_ssh.c:247 4850#: plugins/check_ssh.c:251
4556#, c-format 4851#, c-format
4557msgid "SSH WARNING - %s (protocol %s) version mismatch, expected '%s'\n" 4852msgid "SSH WARNING - %s (protocol %s) version mismatch, expected '%s'\n"
4558msgstr "" 4853msgstr ""
4559 4854
4560#: plugins/check_ssh.c:254 4855#: plugins/check_ssh.c:260
4561#, c-format 4856#, c-format
4562msgid "SSH OK - %s (protocol %s)\n" 4857msgid "SSH OK - %s (protocol %s) | %s\n"
4563msgstr "" 4858msgstr ""
4564 4859
4565#: plugins/check_ssh.c:274 4860#: plugins/check_ssh.c:281
4566msgid "Try to connect to an SSH server at specified server and port" 4861msgid "Try to connect to an SSH server at specified server and port"
4567msgstr "" 4862msgstr ""
4568 4863
4569#: plugins/check_ssh.c:290 4864#: plugins/check_ssh.c:297
4570msgid "" 4865msgid ""
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)"
4572msgstr "" 4867msgstr ""
@@ -4659,109 +4954,108 @@ msgstr ""
4659msgid "On AIX, if -a is specified, uses lsps -a, otherwise uses lsps -s." 4954msgid "On AIX, if -a is specified, uses lsps -a, otherwise uses lsps -s."
4660msgstr "" 4955msgstr ""
4661 4956
4662#: plugins/check_tcp.c:197 4957#: plugins/check_tcp.c:206
4663msgid "CRITICAL - Generic check_tcp called with unknown service\n" 4958msgid "CRITICAL - Generic check_tcp called with unknown service\n"
4664msgstr "" 4959msgstr ""
4665 4960
4666#: plugins/check_tcp.c:221 4961#: plugins/check_tcp.c:230
4667msgid "With UDP checks, a send/expect string must be specified." 4962msgid "With UDP checks, a send/expect string must be specified."
4668msgstr "" 4963msgstr ""
4669 4964
4670#: plugins/check_tcp.c:240 4965#: plugins/check_tcp.c:431
4671#, c-format
4672msgid "CRITICAL - Cannot retrieve server certificate.\n"
4673msgstr "CRITICAL - Konnte kein Serverzertifikat erhalten\n"
4674
4675#: plugins/check_tcp.c:418
4676msgid "No arguments found" 4966msgid "No arguments found"
4677msgstr "" 4967msgstr ""
4678 4968
4679#: plugins/check_tcp.c:519 4969#: plugins/check_tcp.c:534
4680msgid "Maxbytes must be a positive integer" 4970msgid "Maxbytes must be a positive integer"
4681msgstr "Maxbytes muss ein positiver Integer sein" 4971msgstr "Maxbytes muss ein positiver Integer sein"
4682 4972
4683#: plugins/check_tcp.c:537 4973#: plugins/check_tcp.c:552
4684msgid "Refuse must be one of ok, warn, crit" 4974msgid "Refuse must be one of ok, warn, crit"
4685msgstr "" 4975msgstr ""
4686 4976
4687#: plugins/check_tcp.c:547 4977#: plugins/check_tcp.c:562
4688msgid "Mismatch must be one of ok, warn, crit" 4978msgid "Mismatch must be one of ok, warn, crit"
4689msgstr "" 4979msgstr ""
4690 4980
4691#: plugins/check_tcp.c:553 4981#: plugins/check_tcp.c:568
4692msgid "Delay must be a positive integer" 4982msgid "Delay must be a positive integer"
4693msgstr "Delay muss ein positiver Integer sein" 4983msgstr "Delay muss ein positiver Integer sein"
4694 4984
4695#: plugins/check_tcp.c:581 4985#: plugins/check_tcp.c:613
4696#, fuzzy 4986#, fuzzy
4697msgid "You must provide a server address" 4987msgid "You must provide a server address"
4698msgstr "%s: Hostname muss angegeben werden\n" 4988msgstr "%s: Hostname muss angegeben werden\n"
4699 4989
4700#: plugins/check_tcp.c:583 4990#: plugins/check_tcp.c:615
4701#, fuzzy 4991#, fuzzy
4702msgid "Invalid hostname, address or socket" 4992msgid "Invalid hostname, address or socket"
4703msgstr "Ungültige(r) Hostname/Adresse" 4993msgstr "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
4707msgid "" 4997msgid ""
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"
4710msgstr "Dieses plugin testet Gameserververbindungen zum angegebenen Host." 5000msgstr "Dieses plugin testet Gameserververbindungen zum angegebenen Host."
4711 5001
4712#: plugins/check_tcp.c:610 5002#: plugins/check_tcp.c:642
4713msgid "" 5003msgid ""
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"
4716msgstr "" 5006msgstr ""
4717 5007
4718#: plugins/check_tcp.c:611 5008#: plugins/check_tcp.c:643
4719msgid "Default: nothing added to send, \\r\\n added to end of quit" 5009msgid "Default: nothing added to send, \\r\\n added to end of quit"
4720msgstr "" 5010msgstr ""
4721 5011
4722#: plugins/check_tcp.c:613 5012#: plugins/check_tcp.c:645
4723msgid "String to send to the server" 5013msgid "String to send to the server"
4724msgstr "" 5014msgstr ""
4725 5015
4726#: plugins/check_tcp.c:615 5016#: plugins/check_tcp.c:647
4727msgid "String to expect in server response" 5017msgid "String to expect in server response"
4728msgstr "" 5018msgstr ""
4729 5019
4730#: plugins/check_tcp.c:615 5020#: plugins/check_tcp.c:647
4731msgid "(may be repeated)" 5021msgid "(may be repeated)"
4732msgstr "" 5022msgstr ""
4733 5023
4734#: plugins/check_tcp.c:617 5024#: plugins/check_tcp.c:649
4735msgid "All expect strings need to occur in server response. Default is any" 5025msgid "All expect strings need to occur in server response. Default is any"
4736msgstr "" 5026msgstr ""
4737 5027
4738#: plugins/check_tcp.c:619 5028#: plugins/check_tcp.c:651
4739msgid "String to send server to initiate a clean close of the connection" 5029msgid "String to send server to initiate a clean close of the connection"
4740msgstr "" 5030msgstr ""
4741 5031
4742#: plugins/check_tcp.c:621 5032#: plugins/check_tcp.c:653
4743msgid "Accept TCP refusals with states ok, warn, crit (default: crit)" 5033msgid "Accept TCP refusals with states ok, warn, crit (default: crit)"
4744msgstr "" 5034msgstr ""
4745 5035
4746#: plugins/check_tcp.c:623 5036#: plugins/check_tcp.c:655
4747msgid "" 5037msgid ""
4748"Accept expected string mismatches with states ok, warn, crit (default: warn)" 5038"Accept expected string mismatches with states ok, warn, crit (default: warn)"
4749msgstr "" 5039msgstr ""
4750 5040
4751#: plugins/check_tcp.c:625 5041#: plugins/check_tcp.c:657
4752#, fuzzy 5042#, fuzzy
4753msgid "Hide output from TCP socket" 5043msgid "Hide output from TCP socket"
4754msgstr "Konnte TCP socket nicht öffnen\n" 5044msgstr "Konnte TCP socket nicht öffnen\n"
4755 5045
4756#: plugins/check_tcp.c:627 5046#: plugins/check_tcp.c:659
4757msgid "Close connection once more than this number of bytes are received" 5047msgid "Close connection once more than this number of bytes are received"
4758msgstr "" 5048msgstr ""
4759 5049
4760#: plugins/check_tcp.c:629 5050#: plugins/check_tcp.c:661
4761msgid "Seconds to wait between sending string and polling for response" 5051msgid "Seconds to wait between sending string and polling for response"
4762msgstr "" 5052msgstr ""
4763 5053
4764#: plugins/check_tcp.c:635 5054#: plugins/check_tcp.c:666
5055msgid "1st is #days for warning, 2nd is critical (if not specified - 0)."
5056msgstr ""
5057
5058#: plugins/check_tcp.c:668
4765msgid "Use SSL for the connection." 5059msgid "Use SSL for the connection."
4766msgstr "" 5060msgstr ""
4767 5061
@@ -4826,7 +5120,6 @@ msgid "Response time (sec.) necessary to result in critical status"
4826msgstr "" 5120msgstr ""
4827 5121
4828#: plugins/check_ups.c:144 5122#: plugins/check_ups.c:144
4829#, c-format
4830msgid "On Battery, Low Battery" 5123msgid "On Battery, Low Battery"
4831msgstr "" 5124msgstr ""
4832 5125
@@ -4879,7 +5172,7 @@ msgid ", Unknown"
4879msgstr "" 5172msgstr ""
4880 5173
4881#: plugins/check_ups.c:324 5174#: plugins/check_ups.c:324
4882#, fuzzy, c-format 5175#, fuzzy
4883msgid "UPS does not support any available options\n" 5176msgid "UPS does not support any available options\n"
4884msgstr "IPv6 Unterstützung nicht vorhanden" 5177msgstr "IPv6 Unterstützung nicht vorhanden"
4885 5178
@@ -4999,21 +5292,21 @@ msgstr ""
4999msgid "http://www.networkupstools.org" 5292msgid "http://www.networkupstools.org"
5000msgstr "" 5293msgstr ""
5001 5294
5002#: plugins/check_users.c:92 5295#: plugins/check_users.c:110
5003#, c-format 5296#, c-format
5004msgid "# users=%d" 5297msgid "# users=%d"
5005msgstr "" 5298msgstr ""
5006 5299
5007#: plugins/check_users.c:115 5300#: plugins/check_users.c:133
5008msgid "Unable to read output" 5301msgid "Unable to read output"
5009msgstr "" 5302msgstr ""
5010 5303
5011#: plugins/check_users.c:122 5304#: plugins/check_users.c:140
5012#, c-format 5305#, c-format
5013msgid "USERS %s - %d users currently logged in |%s\n" 5306msgid "USERS %s - %d users currently logged in |%s\n"
5014msgstr "" 5307msgstr ""
5015 5308
5016#: plugins/check_users.c:207 5309#: plugins/check_users.c:219
5017#, fuzzy 5310#, fuzzy
5018msgid "This plugin checks the number of users currently logged in on the local" 5311msgid "This plugin checks the number of users currently logged in on the local"
5019msgstr "" 5312msgstr ""
@@ -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
5026msgid "" 5319msgid ""
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."
5028msgstr "" 5321msgstr ""
5029 5322
5030#: plugins/check_users.c:218 5323#: plugins/check_users.c:230
5031msgid "Set WARNING status if more than INTEGER users are logged in" 5324msgid "Set WARNING status if more than INTEGER users are logged in"
5032msgstr "" 5325msgstr ""
5033 5326
5034#: plugins/check_users.c:220 5327#: plugins/check_users.c:232
5035msgid "Set CRITICAL status if more than INTEGER users are logged in" 5328msgid "Set CRITICAL status if more than INTEGER users are logged in"
5036msgstr "" 5329msgstr ""
5037 5330
5038#: plugins/check_ide_smart.c:229 5331#: plugins/check_ide_smart.c:256
5039#, fuzzy, c-format 5332#, fuzzy, c-format
5040msgid "CRITICAL - Couldn't open device %s: %s\n" 5333msgid "CRITICAL - Couldn't open device %s: %s\n"
5041msgstr "CRITICAL - Device konnte nicht geöffnet werden: %s\n" 5334msgstr "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
5045msgid "CRITICAL - SMART_CMD_ENABLE\n" 5338msgid "CRITICAL - SMART_CMD_ENABLE\n"
5046msgstr "" 5339msgstr ""
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
5050msgid "CRITICAL - SMART_READ_VALUES: %s\n" 5343msgid "CRITICAL - SMART_READ_VALUES: %s\n"
5051msgstr "" 5344msgstr ""
5052 5345
5053#: plugins/check_ide_smart.c:364 5346#: plugins/check_ide_smart.c:421
5054#, c-format 5347#, c-format
5055msgid "CRITICAL - %d Harddrive PreFailure%cDetected! %d/%d tests failed.\n" 5348msgid "CRITICAL - %d Harddrive PreFailure%cDetected! %d/%d tests failed.\n"
5056msgstr "" 5349msgstr ""
5057 5350
5058#: plugins/check_ide_smart.c:372 5351#: plugins/check_ide_smart.c:429
5059#, c-format 5352#, c-format
5060msgid "WARNING - %d Harddrive Advisor%s Detected. %d/%d tests failed.\n" 5353msgid "WARNING - %d Harddrive Advisor%s Detected. %d/%d tests failed.\n"
5061msgstr "" 5354msgstr ""
5062 5355
5063#: plugins/check_ide_smart.c:380 5356#: plugins/check_ide_smart.c:437
5064#, c-format 5357#, c-format
5065msgid "OK - Operational (%d/%d tests passed)\n" 5358msgid "OK - Operational (%d/%d tests passed)\n"
5066msgstr "" 5359msgstr ""
5067 5360
5068#: plugins/check_ide_smart.c:384 5361#: plugins/check_ide_smart.c:441
5069#, c-format 5362#, c-format
5070msgid "ERROR - Status '%d' unkown. %d/%d tests passed\n" 5363msgid "ERROR - Status '%d' unknown. %d/%d tests passed\n"
5071msgstr "" 5364msgstr ""
5072 5365
5073#: plugins/check_ide_smart.c:417 5366#: plugins/check_ide_smart.c:474
5074#, c-format 5367#, c-format
5075msgid "OffLineStatus=%d {%s}, AutoOffLine=%s, OffLineTimeout=%d minutes\n" 5368msgid "OffLineStatus=%d {%s}, AutoOffLine=%s, OffLineTimeout=%d minutes\n"
5076msgstr "" 5369msgstr ""
5077 5370
5078#: plugins/check_ide_smart.c:423 5371#: plugins/check_ide_smart.c:480
5079#, c-format 5372#, c-format
5080msgid "OffLineCapability=%d {%s %s %s}\n" 5373msgid "OffLineCapability=%d {%s %s %s}\n"
5081msgstr "" 5374msgstr ""
5082 5375
5083#: plugins/check_ide_smart.c:429 5376#: plugins/check_ide_smart.c:486
5084#, c-format 5377#, c-format
5085msgid "SmartRevision=%d, CheckSum=%d, SmartCapability=%d {%s %s}\n" 5378msgid "SmartRevision=%d, CheckSum=%d, SmartCapability=%d {%s %s}\n"
5086msgstr "" 5379msgstr ""
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
5090msgid "CRITICAL - %s: %s\n" 5383msgid "CRITICAL - %s: %s\n"
5091msgstr "" 5384msgstr ""
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
5095msgid "CRITICAL - SMART_READ_THRESHOLDS: %s\n" 5388msgid "CRITICAL - SMART_READ_THRESHOLDS: %s\n"
5096msgstr "" 5389msgstr ""
5097 5390
5098#: plugins/check_ide_smart.c:486 5391#: plugins/check_ide_smart.c:599
5099#, c-format 5392#, c-format
5100msgid "" 5393msgid ""
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]."
5103msgstr "" 5396msgstr ""
5104 5397
5105#: plugins/check_ide_smart.c:496 5398#: plugins/check_ide_smart.c:609
5106msgid "Select device DEVICE" 5399msgid "Select device DEVICE"
5107msgstr "" 5400msgstr ""
5108 5401
5109#: plugins/check_ide_smart.c:497 5402#: plugins/check_ide_smart.c:610
5110msgid "" 5403msgid ""
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"
5113msgstr "" 5406msgstr ""
5114 5407
5115#: plugins/check_ide_smart.c:499 5408#: plugins/check_ide_smart.c:612
5116msgid "Perform immediately offline tests" 5409msgid "Perform immediately offline tests"
5117msgstr "" 5410msgstr ""
5118 5411
5119#: plugins/check_ide_smart.c:501 5412#: plugins/check_ide_smart.c:614
5120msgid "Returns the number of failed tests" 5413msgid "Returns the number of failed tests"
5121msgstr "" 5414msgstr ""
5122 5415
5123#: plugins/check_ide_smart.c:503 5416#: plugins/check_ide_smart.c:616
5124msgid "Turn on automatic offline tests" 5417msgid "Turn on automatic offline tests"
5125msgstr "" 5418msgstr ""
5126 5419
5127#: plugins/check_ide_smart.c:505 5420#: plugins/check_ide_smart.c:618
5128msgid "Turn off automatic offline tests" 5421msgid "Turn off automatic offline tests"
5129msgstr "" 5422msgstr ""
5130 5423
5131#: plugins/check_ide_smart.c:507 5424#: plugins/check_ide_smart.c:620
5132msgid "Output suitable for Nagios" 5425msgid "Output suitable for the monitoring system"
5133msgstr "" 5426msgstr ""
5134 5427
5135#: plugins/negate.c:96 5428#: plugins/negate.c:99
5136#, fuzzy 5429#, fuzzy
5137msgid "No data returned from command\n" 5430msgid "No data returned from command\n"
5138msgstr "Keine Daten empfangen %s\n" 5431msgstr "Keine Daten empfangen %s\n"
5139 5432
5140#: plugins/negate.c:167 5433#: plugins/negate.c:170
5141msgid "" 5434msgid ""
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)."
5144msgstr "" 5437msgstr ""
5145 5438
5146#: plugins/negate.c:171 5439#: plugins/negate.c:174
5147msgid "" 5440msgid ""
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)."
5150msgstr "" 5443msgstr ""
5151 5444
5152#: plugins/negate.c:177 5445#: plugins/negate.c:180
5153msgid "" 5446msgid ""
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)."
5156msgstr "" 5449msgstr ""
5157 5450
5158#: plugins/negate.c:182 5451#: plugins/negate.c:185
5159msgid "" 5452msgid ""
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)."
5162msgstr "" 5455msgstr ""
5163 5456
5164#: plugins/negate.c:187 5457#: plugins/negate.c:190
5165msgid "" 5458msgid ""
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)."
5168msgstr "" 5461msgstr ""
5169 5462
5170#: plugins/negate.c:214 5463#: plugins/negate.c:217
5171msgid "Require path to command" 5464msgid "Require path to command"
5172msgstr "" 5465msgstr ""
5173 5466
5174#: plugins/negate.c:243 5467#: plugins/negate.c:246
5175msgid "" 5468msgid ""
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)."
5177msgstr "" 5470msgstr ""
5178 5471
5179#: plugins/negate.c:244 5472#: plugins/negate.c:247
5180msgid "Additional switches can be used to control which state becomes what." 5473msgid "Additional switches can be used to control which state becomes what."
5181msgstr "" 5474msgstr ""
5182 5475
5183#: plugins/negate.c:253 5476#: plugins/negate.c:256
5184msgid "Keep timeout longer than the plugin timeout to retain CRITICAL status." 5477msgid "Keep timeout longer than the plugin timeout to retain CRITICAL status."
5185msgstr "" 5478msgstr ""
5186 5479
5187#: plugins/negate.c:255 5480#: plugins/negate.c:258
5188msgid "Custom result on Negate timeouts; see below for STATUS definition\n" 5481msgid "Custom result on Negate timeouts; see below for STATUS definition\n"
5189msgstr "" 5482msgstr ""
5190 5483
5191#: plugins/negate.c:261 5484#: plugins/negate.c:264
5192#, c-format 5485#, c-format
5193msgid "" 5486msgid ""
5194" STATUS can be 'OK', 'WARNING', 'CRITICAL' or 'UNKNOWN' without single\n" 5487" STATUS can be 'OK', 'WARNING', 'CRITICAL' or 'UNKNOWN' without single\n"
5195msgstr "" 5488msgstr ""
5196 5489
5197#: plugins/negate.c:262 5490#: plugins/negate.c:265
5198#, c-format 5491#, c-format
5199msgid "" 5492msgid ""
5200" quotes. Numeric values are accepted. If nothing is specified, permutes\n" 5493" quotes. Numeric values are accepted. If nothing is specified, permutes\n"
5201msgstr "" 5494msgstr ""
5202 5495
5203#: plugins/negate.c:263 5496#: plugins/negate.c:266
5204#, c-format 5497#, c-format
5205msgid " OK and CRITICAL.\n" 5498msgid " OK and CRITICAL.\n"
5206msgstr "" 5499msgstr ""
5207 5500
5208#: plugins/negate.c:265 5501#: plugins/negate.c:268
5209#, c-format 5502#, c-format
5210msgid "" 5503msgid ""
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"
5212msgstr "" 5505msgstr ""
5213 5506
5214#: plugins/negate.c:270 5507#: plugins/negate.c:273
5215msgid "Run check_ping and invert result. Must use full path to plugin" 5508msgid "Run check_ping and invert result. Must use full path to plugin"
5216msgstr "" 5509msgstr ""
5217 5510
5218#: plugins/negate.c:272 5511#: plugins/negate.c:275
5219msgid "This will return OK instead of WARNING and UNKNOWN instead of CRITICAL" 5512msgid "This will return OK instead of WARNING and UNKNOWN instead of CRITICAL"
5220msgstr "" 5513msgstr ""
5221 5514
5222#: plugins/negate.c:275 5515#: plugins/negate.c:278
5223msgid "" 5516msgid ""
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."
5225msgstr "" 5518msgstr ""
5226 5519
5227#: plugins/negate.c:276 5520#: plugins/negate.c:279
5228msgid "The full path of the plugin must be provided." 5521msgid "The full path of the plugin must be provided."
5229msgstr "" 5522msgstr ""
5230 5523
5231#: plugins/negate.c:277 5524#: plugins/negate.c:280
5232msgid "If the wrapped plugin returns OK, the wrapper will return CRITICAL." 5525msgid "If the wrapped plugin returns OK, the wrapper will return CRITICAL."
5233msgstr "" 5526msgstr ""
5234 5527
5235#: plugins/negate.c:278 5528#: plugins/negate.c:281
5236msgid "If the wrapped plugin returns CRITICAL, the wrapper will return OK." 5529msgid "If the wrapped plugin returns CRITICAL, the wrapper will return OK."
5237msgstr "" 5530msgstr ""
5238 5531
5239#: plugins/negate.c:279 5532#: plugins/negate.c:282
5240msgid "Otherwise, the output state of the wrapped plugin is unchanged." 5533msgid "Otherwise, the output state of the wrapped plugin is unchanged."
5241msgstr "" 5534msgstr ""
5242 5535
5243#: plugins/negate.c:281 5536#: plugins/negate.c:284
5244msgid "" 5537msgid ""
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"
5246msgstr "" 5539msgstr ""
5247 5540
5248#: plugins/negate.c:282 5541#: plugins/negate.c:285
5249msgid "plugin by setting the negate timeout a bit lower." 5542msgid "plugin by setting the negate timeout a bit lower."
5250msgstr "" 5543msgstr ""
5251 5544
5252#: plugins/netutils.c:48 5545#: plugins/netutils.c:49
5253#, fuzzy, c-format 5546#, fuzzy, c-format
5254msgid "%s - Socket timeout after %d seconds\n" 5547msgid "%s - Socket timeout after %d seconds\n"
5255msgstr "CRITICAL - Dokumentendatum ist %d Sekunden in der Zukunft\n" 5548msgstr "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
5259msgid "%s - Abnormal timeout after %d seconds\n" 5552msgid "%s - Abnormal timeout after %d seconds\n"
5260msgstr "CRITICAL - Dokumentendatum ist %d Sekunden in der Zukunft\n" 5553msgstr "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
5263msgid "Send failed" 5556msgid "Send failed"
5264msgstr "" 5557msgstr ""
5265 5558
5266#: plugins/netutils.c:95 plugins/netutils.c:295 5559#: plugins/netutils.c:96 plugins/netutils.c:296
5267#, fuzzy 5560#, fuzzy
5268msgid "No data was received from host!" 5561msgid "No data was received from host!"
5269msgstr "Keine Daten empfangen %s\n" 5562msgstr "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
5272msgid "Socket creation failed" 5565msgid "Socket creation failed"
5273msgstr "" 5566msgstr ""
5274 5567
5275#: plugins/netutils.c:232 5568#: plugins/netutils.c:233
5276msgid "Supplied path too long unix domain socket" 5569msgid "Supplied path too long unix domain socket"
5277msgstr "" 5570msgstr ""
5278 5571
5279#: plugins/netutils.c:304 5572#: plugins/netutils.c:305
5280msgid "Receive failed" 5573msgid "Receive failed"
5281msgstr "" 5574msgstr ""
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
5285msgid "Invalid hostname/address - %s" 5578msgid "Invalid hostname/address - %s"
5286msgstr "" 5579msgstr ""
@@ -5323,18 +5616,19 @@ msgid ""
5323msgstr "" 5616msgstr ""
5324 5617
5325#: plugins/urlize.c:169 5618#: plugins/urlize.c:169
5326msgid "This plugin wraps the text output of another command (plugin)" 5619msgid ""
5620"This plugin wraps the text output of another command (plugin) in HTML <A>"
5327msgstr "" 5621msgstr ""
5328 5622
5329#: plugins/urlize.c:170 5623#: plugins/urlize.c:170
5330msgid "" 5624msgid ""
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"
5333msgstr "" 5627msgstr ""
5334 5628
5335#: plugins/urlize.c:171 5629#: plugins/urlize.c:171
5336msgid "" 5630msgid ""
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."
5339msgstr "" 5633msgstr ""
5340 5634
@@ -5367,29 +5661,34 @@ msgstr ""
5367msgid "urlize http://example.com/ \"check_http -H example.com -r 'two words'\"" 5661msgid "urlize http://example.com/ \"check_http -H example.com -r 'two words'\""
5368msgstr "" 5662msgstr ""
5369 5663
5370#: plugins/utils.c:171 5664#: plugins/utils.c:174
5371#, fuzzy, c-format 5665#, fuzzy, c-format
5372msgid "%s - Plugin timed out after %d seconds\n" 5666msgid "%s - Plugin timed out after %d seconds\n"
5373msgstr "CRITICAL - Dokumentendatum ist %d Sekunden in der Zukunft\n" 5667msgstr "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
5377msgid "failed realloc in strpcpy\n" 5671msgid "failed realloc in strpcpy\n"
5378msgstr "konnte keinen Speicher für '%s' reservieren\n" 5672msgstr "konnte keinen Speicher für '%s' reservieren\n"
5379 5673
5380#: plugins/utils.c:508 5674#: plugins/utils.c:511
5381#, fuzzy 5675#, fuzzy
5382msgid "failed malloc in strscat\n" 5676msgid "failed malloc in strscat\n"
5383msgstr "konnte keinen Speicher für '%s' reservieren\n" 5677msgstr "konnte keinen Speicher für '%s' reservieren\n"
5384 5678
5385#: plugins/utils.h:140 5679#: plugins/utils.c:531
5680#, fuzzy
5681msgid "failed malloc in xvasprintf\n"
5682msgstr "konnte keinen Speicher für '%s' reservieren\n"
5683
5684#: plugins/utils.h:137
5386#, c-format 5685#, c-format
5387msgid "" 5686msgid ""
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"
5390msgstr "" 5689msgstr ""
5391 5690
5392#: plugins/utils.h:144 5691#: plugins/utils.h:141
5393msgid "" 5692msgid ""
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"
5400msgstr "" 5699msgstr ""
5401 5700
5402#: plugins/utils.h:151 5701#: plugins/utils.h:148
5403#, c-format 5702#, c-format
5404msgid "" 5703msgid ""
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"
5409msgstr "" 5708msgstr ""
5410 5709
5411#: plugins/utils.h:157 5710#: plugins/utils.h:154
5412msgid "" 5711msgid ""
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"
5417msgstr "" 5716msgstr ""
5418 5717
5419#: plugins/utils.h:163 5718#: plugins/utils.h:160
5420msgid "" 5719msgid ""
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"
5423msgstr "" 5723msgstr ""
5424 5724
5425#: plugins/utils.h:167 5725#: plugins/utils.h:165
5426msgid "" 5726msgid ""
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"
5431msgstr "" 5731msgstr ""
5432 5732
5433#: plugins/utils.h:173 5733#: plugins/utils.h:171
5434msgid "" 5734msgid ""
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"
5439msgstr "" 5739msgstr ""
5440 5740
5441#: plugins/utils.h:179 5741#: plugins/utils.h:177
5442#, c-format 5742#, c-format
5443msgid "" 5743msgid ""
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"
5446msgstr "" 5746msgstr ""
5447 5747
5448#: plugins/utils.h:184 5748#: plugins/utils.h:182
5449msgid "" 5749msgid ""
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"
5453msgstr "" 5754msgstr ""
5454 5755
5455#: plugins/utils.h:192 5756#: plugins/utils.h:190
5456msgid "" 5757msgid ""
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"
5461msgstr "" 5761msgstr ""
5462 5762
5463#: plugins/utils.h:197 5763#: plugins/utils.h:195
5464msgid "" 5764msgid ""
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"
5470msgstr "" 5770msgstr ""
5471 5771
5472#: plugins/utils.h:202 5772#: plugins/utils.h:200
5473msgid "" 5773msgid ""
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"
5478msgstr "" 5779msgstr ""
@@ -5503,52 +5804,52 @@ msgstr ""
5503msgid "Error: Couldn't get hardware address from %s. sysctl 2 error - %s.\n" 5804msgid "Error: Couldn't get hardware address from %s. sysctl 2 error - %s.\n"
5504msgstr "" 5805msgstr ""
5505 5806
5506#: plugins-root/check_dhcp.c:383 5807#: plugins-root/check_dhcp.c:388
5507#, c-format 5808#, c-format
5508msgid "" 5809msgid ""
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"
5511msgstr "" 5812msgstr ""
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
5515msgid "" 5816msgid ""
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"
5518msgstr "" 5819msgstr ""
5519 5820
5520#: plugins-root/check_dhcp.c:406 5821#: plugins-root/check_dhcp.c:411
5521#, c-format 5822#, c-format
5522msgid "" 5823msgid ""
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"
5524msgstr "" 5825msgstr ""
5525 5826
5526#: plugins-root/check_dhcp.c:425 5827#: plugins-root/check_dhcp.c:430
5527#, c-format 5828#, c-format
5528msgid "Error: Cannot determine IP address of interface %s\n" 5829msgid "Error: Cannot determine IP address of interface %s\n"
5529msgstr "" 5830msgstr ""
5530 5831
5531#: plugins-root/check_dhcp.c:433 5832#: plugins-root/check_dhcp.c:438
5532#, c-format 5833#, c-format
5533msgid "Error: Cannot get interface IP address on this platform.\n" 5834msgid "Error: Cannot get interface IP address on this platform.\n"
5534msgstr "" 5835msgstr ""
5535 5836
5536#: plugins-root/check_dhcp.c:438 5837#: plugins-root/check_dhcp.c:443
5537#, c-format 5838#, c-format
5538msgid "Pretending to be relay client %s\n" 5839msgid "Pretending to be relay client %s\n"
5539msgstr "" 5840msgstr ""
5540 5841
5541#: plugins-root/check_dhcp.c:523 5842#: plugins-root/check_dhcp.c:528
5542#, c-format 5843#, c-format
5543msgid "DHCPDISCOVER to %s port %d\n" 5844msgid "DHCPDISCOVER to %s port %d\n"
5544msgstr "" 5845msgstr ""
5545 5846
5546#: plugins-root/check_dhcp.c:575 5847#: plugins-root/check_dhcp.c:580
5547#, c-format 5848#, c-format
5548msgid "Result=ERROR\n" 5849msgid "Result=ERROR\n"
5549msgstr "" 5850msgstr ""
5550 5851
5551#: plugins-root/check_dhcp.c:581 5852#: plugins-root/check_dhcp.c:586
5552#, c-format 5853#, c-format
5553msgid "Result=OK\n" 5854msgid "Result=OK\n"
5554msgstr "" 5855msgstr ""
@@ -5641,241 +5942,262 @@ msgstr ""
5641msgid "Requested server address: %s\n" 5942msgid "Requested server address: %s\n"
5642msgstr "" 5943msgstr ""
5643 5944
5644#: plugins-root/check_dhcp.c:881 5945#: plugins-root/check_dhcp.c:882
5645#, c-format 5946#, c-format
5646msgid "Lease Time: Infinite\n" 5947msgid "Lease Time: Infinite\n"
5647msgstr "" 5948msgstr ""
5648 5949
5649#: plugins-root/check_dhcp.c:883 5950#: plugins-root/check_dhcp.c:884
5650#, c-format 5951#, c-format
5651msgid "Lease Time: %lu seconds\n" 5952msgid "Lease Time: %lu seconds\n"
5652msgstr "" 5953msgstr ""
5653 5954
5654#: plugins-root/check_dhcp.c:885 5955#: plugins-root/check_dhcp.c:886
5655#, c-format 5956#, c-format
5656msgid "Renewal Time: Infinite\n" 5957msgid "Renewal Time: Infinite\n"
5657msgstr "" 5958msgstr ""
5658 5959
5659#: plugins-root/check_dhcp.c:887 5960#: plugins-root/check_dhcp.c:888
5660#, c-format 5961#, c-format
5661msgid "Renewal Time: %lu seconds\n" 5962msgid "Renewal Time: %lu seconds\n"
5662msgstr "" 5963msgstr ""
5663 5964
5664#: plugins-root/check_dhcp.c:889 5965#: plugins-root/check_dhcp.c:890
5665#, c-format 5966#, c-format
5666msgid "Rebinding Time: Infinite\n" 5967msgid "Rebinding Time: Infinite\n"
5667msgstr "" 5968msgstr ""
5668 5969
5669#: plugins-root/check_dhcp.c:890 5970#: plugins-root/check_dhcp.c:891
5670#, c-format 5971#, c-format
5671msgid "Rebinding Time: %lu seconds\n" 5972msgid "Rebinding Time: %lu seconds\n"
5672msgstr "" 5973msgstr ""
5673 5974
5674#: plugins-root/check_dhcp.c:918 5975#: plugins-root/check_dhcp.c:919
5675#, c-format 5976#, c-format
5676msgid "Added offer from server @ %s" 5977msgid "Added offer from server @ %s"
5677msgstr "" 5978msgstr ""
5678 5979
5679#: plugins-root/check_dhcp.c:919 5980#: plugins-root/check_dhcp.c:920
5680#, c-format 5981#, c-format
5681msgid " of IP address %s\n" 5982msgid " of IP address %s\n"
5682msgstr "" 5983msgstr ""
5683 5984
5684#: plugins-root/check_dhcp.c:986 5985#: plugins-root/check_dhcp.c:987
5685#, c-format 5986#, c-format
5686msgid "DHCP Server Match: Offerer=%s" 5987msgid "DHCP Server Match: Offerer=%s"
5687msgstr "" 5988msgstr ""
5688 5989
5689#: plugins-root/check_dhcp.c:987 5990#: plugins-root/check_dhcp.c:988
5690#, c-format 5991#, c-format
5691msgid " Requested=%s" 5992msgid " Requested=%s"
5692msgstr "" 5993msgstr ""
5693 5994
5694#: plugins-root/check_dhcp.c:989 5995#: plugins-root/check_dhcp.c:990
5695#, c-format 5996#, c-format
5696msgid " (duplicate)" 5997msgid " (duplicate)"
5697msgstr "" 5998msgstr ""
5698 5999
5699#: plugins-root/check_dhcp.c:990 6000#: plugins-root/check_dhcp.c:991
5700#, c-format 6001#, c-format
5701msgid "\n" 6002msgid "\n"
5702msgstr "" 6003msgstr ""
5703 6004
5704#: plugins-root/check_dhcp.c:1038 6005#: plugins-root/check_dhcp.c:1039
5705#, c-format 6006#, c-format
5706msgid "No DHCPOFFERs were received.\n" 6007msgid "No DHCPOFFERs were received.\n"
5707msgstr "" 6008msgstr ""
5708 6009
5709#: plugins-root/check_dhcp.c:1042 6010#: plugins-root/check_dhcp.c:1043
5710#, c-format 6011#, c-format
5711msgid "Received %d DHCPOFFER(s)" 6012msgid "Received %d DHCPOFFER(s)"
5712msgstr "" 6013msgstr ""
5713 6014
5714#: plugins-root/check_dhcp.c:1045 6015#: plugins-root/check_dhcp.c:1046
5715#, c-format 6016#, c-format
5716msgid ", %s%d of %d requested servers responded" 6017msgid ", %s%d of %d requested servers responded"
5717msgstr "" 6018msgstr ""
5718 6019
5719#: plugins-root/check_dhcp.c:1048 6020#: plugins-root/check_dhcp.c:1049
5720#, c-format 6021#, c-format
5721msgid ", requested address (%s) was %soffered" 6022msgid ", requested address (%s) was %soffered"
5722msgstr "" 6023msgstr ""
5723 6024
5724#: plugins-root/check_dhcp.c:1048 6025#: plugins-root/check_dhcp.c:1049
5725msgid "not " 6026msgid "not "
5726msgstr "" 6027msgstr ""
5727 6028
5728#: plugins-root/check_dhcp.c:1050 6029#: plugins-root/check_dhcp.c:1051
5729#, c-format 6030#, c-format
5730msgid ", max lease time = " 6031msgid ", max lease time = "
5731msgstr "" 6032msgstr ""
5732 6033
5733#: plugins-root/check_dhcp.c:1052 6034#: plugins-root/check_dhcp.c:1053
5734#, c-format 6035#, c-format
5735msgid "Infinity" 6036msgid "Infinity"
5736msgstr "" 6037msgstr ""
5737 6038
5738#: plugins-root/check_dhcp.c:1233 6039#: plugins-root/check_dhcp.c:1234
5739#, c-format 6040#, c-format
5740msgid "Error: DLPI stream API failed to get MAC in check_ctrl: %s.\n" 6041msgid "Error: DLPI stream API failed to get MAC in check_ctrl: %s.\n"
5741msgstr "" 6042msgstr ""
5742 6043
5743#: plugins-root/check_dhcp.c:1245 6044#: plugins-root/check_dhcp.c:1246
5744#, c-format 6045#, c-format
5745msgid "Error: DLPI stream API failed to get MAC in put_ctrl/putmsg(): %s.\n" 6046msgid "Error: DLPI stream API failed to get MAC in put_ctrl/putmsg(): %s.\n"
5746msgstr "" 6047msgstr ""
5747 6048
5748#: plugins-root/check_dhcp.c:1258 6049#: plugins-root/check_dhcp.c:1259
5749#, c-format 6050#, c-format
5750msgid "Error: DLPI stream API failed to get MAC in put_both/putmsg().\n" 6051msgid "Error: DLPI stream API failed to get MAC in put_both/putmsg().\n"
5751msgstr "" 6052msgstr ""
5752 6053
5753#: plugins-root/check_dhcp.c:1270 6054#: plugins-root/check_dhcp.c:1271
5754#, c-format 6055#, c-format
5755msgid "" 6056msgid ""
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"
5757msgstr "" 6058msgstr ""
5758 6059
5759#: plugins-root/check_dhcp.c:1294 6060#: plugins-root/check_dhcp.c:1295
5760#, c-format 6061#, c-format
5761msgid "Error: DLPI stream API failed to get MAC in dl_bind/check_ctrl(): %s.\n" 6062msgid "Error: DLPI stream API failed to get MAC in dl_bind/check_ctrl(): %s.\n"
5762msgstr "" 6063msgstr ""
5763 6064
5764#: plugins-root/check_dhcp.c:1373 6065#: plugins-root/check_dhcp.c:1374
5765#, c-format 6066#, c-format
5766msgid "Hardware address: " 6067msgid "Hardware address: "
5767msgstr "" 6068msgstr ""
5768 6069
5769#: plugins-root/check_dhcp.c:1389 6070#: plugins-root/check_dhcp.c:1390
5770msgid "This plugin tests the availability of DHCP servers on a network." 6071msgid "This plugin tests the availability of DHCP servers on a network."
5771msgstr "" 6072msgstr ""
5772 6073
5773#: plugins-root/check_dhcp.c:1401 6074#: plugins-root/check_dhcp.c:1402
5774msgid "IP address of DHCP server that we must hear from" 6075msgid "IP address of DHCP server that we must hear from"
5775msgstr "" 6076msgstr ""
5776 6077
5777#: plugins-root/check_dhcp.c:1403 6078#: plugins-root/check_dhcp.c:1404
5778msgid "IP address that should be offered by at least one DHCP server" 6079msgid "IP address that should be offered by at least one DHCP server"
5779msgstr "" 6080msgstr ""
5780 6081
5781#: plugins-root/check_dhcp.c:1405 6082#: plugins-root/check_dhcp.c:1406
5782msgid "Seconds to wait for DHCPOFFER before timeout occurs" 6083msgid "Seconds to wait for DHCPOFFER before timeout occurs"
5783msgstr "" 6084msgstr ""
5784 6085
5785#: plugins-root/check_dhcp.c:1407 6086#: plugins-root/check_dhcp.c:1408
5786msgid "Interface to to use for listening (i.e. eth0)" 6087msgid "Interface to to use for listening (i.e. eth0)"
5787msgstr "" 6088msgstr ""
5788 6089
5789#: plugins-root/check_dhcp.c:1409 6090#: plugins-root/check_dhcp.c:1410
5790msgid "MAC address to use in the DHCP request" 6091msgid "MAC address to use in the DHCP request"
5791msgstr "" 6092msgstr ""
5792 6093
5793#: plugins-root/check_dhcp.c:1411 6094#: plugins-root/check_dhcp.c:1412
5794msgid "Unicast testing: mimic a DHCP relay, requires -s" 6095msgid "Unicast testing: mimic a DHCP relay, requires -s"
5795msgstr "" 6096msgstr ""
5796 6097
5797#: plugins-root/check_icmp.c:1288 6098#: plugins-root/check_icmp.c:1295
5798msgid "specify a target" 6099msgid "specify a target"
5799msgstr "" 6100msgstr ""
5800 6101
5801#: plugins-root/check_icmp.c:1290 6102#: plugins-root/check_icmp.c:1297
5802#, fuzzy 6103#, fuzzy
5803msgid "warning threshold (currently " 6104msgid "warning threshold (currently "
5804msgstr "Warning threshold Integer sein" 6105msgstr "Warning threshold Integer sein"
5805 6106
5806#: plugins-root/check_icmp.c:1293 6107#: plugins-root/check_icmp.c:1300
5807#, fuzzy 6108#, fuzzy
5808msgid "critical threshold (currently " 6109msgid "critical threshold (currently "
5809msgstr "Critical threshold muss ein Integer sein" 6110msgstr "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
5813msgid "specify a source IP address or device name" 6114msgid "specify a source IP address or device name"
5814msgstr "Hostname oder Serveradresse muss angegeben werden" 6115msgstr "Hostname oder Serveradresse muss angegeben werden"
5815 6116
5816#: plugins-root/check_icmp.c:1298 6117#: plugins-root/check_icmp.c:1305
5817msgid "number of packets to send (currently " 6118msgid "number of packets to send (currently "
5818msgstr "" 6119msgstr ""
5819 6120
5820#: plugins-root/check_icmp.c:1301 6121#: plugins-root/check_icmp.c:1308
5821msgid "max packet interval (currently " 6122msgid "max packet interval (currently "
5822msgstr "" 6123msgstr ""
5823 6124
5824#: plugins-root/check_icmp.c:1304 6125#: plugins-root/check_icmp.c:1311
5825msgid "max target interval (currently " 6126msgid "max target interval (currently "
5826msgstr "" 6127msgstr ""
5827 6128
5828#: plugins-root/check_icmp.c:1307 6129#: plugins-root/check_icmp.c:1314
5829msgid "number of alive hosts required for success" 6130msgid "number of alive hosts required for success"
5830msgstr "" 6131msgstr ""
5831 6132
5832#: plugins-root/check_icmp.c:1310 6133#: plugins-root/check_icmp.c:1317
5833msgid "TTL on outgoing packets (currently " 6134msgid "TTL on outgoing packets (currently "
5834msgstr "" 6135msgstr ""
5835 6136
5836#: plugins-root/check_icmp.c:1313 6137#: plugins-root/check_icmp.c:1320
5837msgid "timeout value (seconds, currently " 6138msgid "timeout value (seconds, currently "
5838msgstr "" 6139msgstr ""
5839 6140
5840#: plugins-root/check_icmp.c:1316 6141#: plugins-root/check_icmp.c:1323
5841msgid "Number of icmp data bytes to send" 6142msgid "Number of icmp data bytes to send"
5842msgstr "" 6143msgstr ""
5843 6144
5844#: plugins-root/check_icmp.c:1317 6145#: plugins-root/check_icmp.c:1324
5845msgid "Packet size will be data bytes + icmp header (currently" 6146msgid "Packet size will be data bytes + icmp header (currently"
5846msgstr "" 6147msgstr ""
5847 6148
5848#: plugins-root/check_icmp.c:1319 6149#: plugins-root/check_icmp.c:1326
5849msgid "verbose" 6150msgid "verbose"
5850msgstr "" 6151msgstr ""
5851 6152
5852#: plugins-root/check_icmp.c:1323 6153#: plugins-root/check_icmp.c:1330
5853msgid "The -H switch is optional. Naming a host (or several) to check is not." 6154msgid "The -H switch is optional. Naming a host (or several) to check is not."
5854msgstr "" 6155msgstr ""
5855 6156
5856#: plugins-root/check_icmp.c:1325 6157#: plugins-root/check_icmp.c:1332
5857msgid "" 6158msgid ""
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%"
5859msgstr "" 6160msgstr ""
5860 6161
5861#: plugins-root/check_icmp.c:1326 6162#: plugins-root/check_icmp.c:1333
5862msgid "packet loss. The default values should work well for most users." 6163msgid "packet loss. The default values should work well for most users."
5863msgstr "" 6164msgstr ""
5864 6165
5865#: plugins-root/check_icmp.c:1327 6166#: plugins-root/check_icmp.c:1334
5866msgid "" 6167msgid ""
5867"You can specify different RTA factors using the standardized abbreviations" 6168"You can specify different RTA factors using the standardized abbreviations"
5868msgstr "" 6169msgstr ""
5869 6170
5870#: plugins-root/check_icmp.c:1328 6171#: plugins-root/check_icmp.c:1335
5871msgid "" 6172msgid ""
5872"us (microseconds), ms (milliseconds, default) or just plain s for seconds." 6173"us (microseconds), ms (milliseconds, default) or just plain s for seconds."
5873msgstr "" 6174msgstr ""
5874 6175
5875#: plugins-root/check_icmp.c:1334 6176#: plugins-root/check_icmp.c:1341
5876msgid "The -v switch can be specified several times for increased verbosity." 6177msgid "The -v switch can be specified several times for increased verbosity."
5877msgstr "" 6178msgstr ""
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"
diff --git a/po/fr.po b/po/fr.po
index 125b51e7..d88dfe2e 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -9,37 +9,38 @@
9msgid "" 9msgid ""
10msgstr "" 10msgstr ""
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
37msgid "Could not parse arguments" 38msgid "Could not parse arguments"
38msgstr "Impossible de décomposer les arguments" 39msgstr "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
43msgid "Cannot catch SIGALRM" 44msgid "Cannot catch SIGALRM"
44msgstr "Impossible d'obtenir le signal SIGALRM" 45msgstr "Impossible d'obtenir le signal SIGALRM"
45 46
@@ -63,197 +64,205 @@ msgstr "SSH AVERTISSEMENT: impossible d'ouvrir %s\n"
63msgid "%s: Error parsing output\n" 64msgid "%s: Error parsing output\n"
64msgstr "%s: Erreur d'analyse du résultat\n" 65msgstr "%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
72msgid "Timeout interval must be a positive integer" 73msgid "Timeout interval must be a positive integer"
73msgstr "Le délai d'attente doit être un entier positif" 74msgstr "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
79msgid "Port must be a positive integer" 80msgid "Port must be a positive integer"
80msgstr "Le numéro du port doit être un entier positif" 81msgstr "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
83msgid "skip-stdout argument must be an integer" 84msgid "skip-stdout argument must be an integer"
84msgstr "Le nombres de lignes à sauter (skip-stdout) doit être un entier" 85msgstr "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
87msgid "skip-stderr argument must be an integer" 88msgid "skip-stderr argument must be an integer"
88msgstr "Le nombres de lignes à sauter (skip-stderr) doit être un entier" 89msgstr "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
92msgid "%s: You must provide a host name\n" 93msgid "%s: You must provide a host name\n"
93msgstr "%s: Vous devez fournir un nom d'hôte\n" 94msgstr "%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
96msgid "No remotecmd" 97msgid "No remotecmd"
97msgstr "Pas de commande distante" 98msgstr "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
101msgid "%s: Argument limit of %d exceeded\n" 102msgid "%s: Argument limit of %d exceeded\n"
102msgstr "" 103msgstr ""
103 104
104#: plugins/check_by_ssh.c:352 105#: plugins/check_by_ssh.c:357
105msgid "Can not (re)allocate 'commargv' buffer\n" 106msgid "Can not (re)allocate 'commargv' buffer\n"
106msgstr "Impossible de réallouer le tampon 'commargv'\n" 107msgstr "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
110msgid "" 111msgid ""
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"
112msgstr "" 113msgstr ""
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
117msgid "" 118msgid ""
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"
120msgstr "" 121msgstr ""
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
126msgid "This plugin uses SSH to execute commands on a remote host" 127msgid "This plugin uses SSH to execute commands on a remote host"
127msgstr "Ce plugin utilise SSH pour exécuter des commandes sur un hôte distant" 128msgstr "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
130msgid "tell ssh to use Protocol 1 [optional]" 131msgid "tell ssh to use Protocol 1 [optional]"
131msgstr "dire à ssh d'utiliser le protocole version 1 [optionnel]" 132msgstr "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
134msgid "tell ssh to use Protocol 2 [optional]" 135msgid "tell ssh to use Protocol 2 [optional]"
135msgstr "dire à ssh d'utiliser le protocole 2 [optionnel]" 136msgstr "dire à ssh d'utiliser le protocole 2 [optionnel]"
136 137
137#: plugins/check_by_ssh.c:402 138#: plugins/check_by_ssh.c:407
138msgid "Ignore all or (if specified) first n lines on STDOUT [optional]" 139msgid "Ignore all or (if specified) first n lines on STDOUT [optional]"
139msgstr "" 140msgstr ""
140 141
141#: plugins/check_by_ssh.c:404 142#: plugins/check_by_ssh.c:409
142msgid "Ignore all or (if specified) first n lines on STDERR [optional]" 143msgid "Ignore all or (if specified) first n lines on STDERR [optional]"
143msgstr "" 144msgstr ""
144 145
145#: plugins/check_by_ssh.c:406 146#: plugins/check_by_ssh.c:411
146msgid "" 147msgid ""
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"
149msgstr "" 150msgstr ""
150 151
151#: plugins/check_by_ssh.c:408 152#: plugins/check_by_ssh.c:413
152msgid "command to execute on the remote machine" 153msgid "command to execute on the remote machine"
153msgstr "commande à exécuter sur la machine distante" 154msgstr "commande à exécuter sur la machine distante"
154 155
155#: plugins/check_by_ssh.c:410 156#: plugins/check_by_ssh.c:415
156msgid "SSH user name on remote host [optional]" 157msgid "SSH user name on remote host [optional]"
157msgstr "Nom d'utilisateur ssh sur la machine distante [optionnel]" 158msgstr "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
160msgid "identity of an authorized key [optional]" 161msgid "identity of an authorized key [optional]"
161msgstr "Identité de la clé autorisée [optionnel]" 162msgstr "Identité de la clé autorisée [optionnel]"
162 163
163#: plugins/check_by_ssh.c:414 164#: plugins/check_by_ssh.c:419
164msgid "external command file for nagios [optional]" 165#, fuzzy
166msgid "external command file for monitoring [optional]"
165msgstr "commande externe pour nagios [optionnel]" 167msgstr "commande externe pour nagios [optionnel]"
166 168
167#: plugins/check_by_ssh.c:416 169#: plugins/check_by_ssh.c:421
168msgid "list of nagios service names, separated by ':' [optional]" 170#, fuzzy
171msgid "list of monitoring service names, separated by ':' [optional]"
169msgstr "liste des services nagios, séparés par ':' [optionnel] " 172msgstr "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
172msgid "short name of host in nagios configuration [optional]" 175#, fuzzy
176msgid "short name of host in the monitoring configuration [optional]"
173msgstr "nom court de l'hôte dans la configuration nagios [optionnel]" 177msgstr "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
176msgid "Call ssh with '-o OPTION' (may be used multiple times) [optional]" 180msgid "Call ssh with '-o OPTION' (may be used multiple times) [optional]"
177msgstr "" 181msgstr ""
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
186msgid "Tell ssh to use this configfile [optional]"
187msgstr "dire à ssh d'utiliser le protocole version 1 [optionnel]"
188
189#: plugins/check_by_ssh.c:429
181msgid "Tell ssh to suppress warning and diagnostic messages [optional]" 190msgid "Tell ssh to suppress warning and diagnostic messages [optional]"
182msgstr "" 191msgstr ""
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
186msgid "The most common mode of use is to refer to a local identity file with" 195msgid "The most common mode of use is to refer to a local identity file with"
187msgstr "" 196msgstr ""
188 197
189#: plugins/check_by_ssh.c:428 198#: plugins/check_by_ssh.c:435
190msgid "the '-i' option. In this mode, the identity pair should have a null" 199msgid "the '-i' option. In this mode, the identity pair should have a null"
191msgstr "" 200msgstr ""
192 201
193#: plugins/check_by_ssh.c:429 202#: plugins/check_by_ssh.c:436
194msgid "passphrase and the public key should be listed in the authorized_keys" 203msgid "passphrase and the public key should be listed in the authorized_keys"
195msgstr "" 204msgstr ""
196 205
197#: plugins/check_by_ssh.c:430 206#: plugins/check_by_ssh.c:437
198msgid "file of the remote host. Usually the key will be restricted to running" 207msgid "file of the remote host. Usually the key will be restricted to running"
199msgstr "" 208msgstr ""
200 209
201#: plugins/check_by_ssh.c:431 210#: plugins/check_by_ssh.c:438
202msgid "only one command on the remote server. If the remote SSH server tracks" 211msgid "only one command on the remote server. If the remote SSH server tracks"
203msgstr "" 212msgstr ""
204 213
205#: plugins/check_by_ssh.c:432 214#: plugins/check_by_ssh.c:439
206msgid "invocation arguments, the one remote program may be an agent that can" 215msgid "invocation arguments, the one remote program may be an agent that can"
207msgstr "" 216msgstr ""
208 217
209#: plugins/check_by_ssh.c:433 218#: plugins/check_by_ssh.c:440
210msgid "execute additional commands as proxy" 219msgid "execute additional commands as proxy"
211msgstr "" 220msgstr ""
212 221
213#: plugins/check_by_ssh.c:435 222#: plugins/check_by_ssh.c:442
214msgid "To use passive mode, provide multiple '-C' options, and provide" 223msgid "To use passive mode, provide multiple '-C' options, and provide"
215msgstr "Pour utiliser le mode passif, utilisez plusieurs fois l'option '-C',et" 224msgstr "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
218msgid "" 227msgid ""
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)"
220msgstr "" 229msgstr ""
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
229msgid "Examples:" 238msgid "Examples:"
230msgstr "Exemples:" 239msgstr "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
248msgid "Usage:" 257msgid "Usage:"
249msgstr "Utilisation:" 258msgstr "Utilisation:"
250 259
251#: plugins/check_cluster.c:230 260#: plugins/check_cluster.c:230
252#, c-format 261#, fuzzy, c-format
253msgid "Host/Service Cluster Plugin for Nagios 2" 262msgid "Host/Service Cluster Plugin for Monitoring"
254msgstr "Plugin de Cluster d'Hôte/Service pour Nagios 2" 263msgstr "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
257msgid "Options:" 266msgid "Options:"
258msgstr "Options:" 267msgstr "Options:"
259 268
@@ -290,13 +299,13 @@ msgid "commas"
290msgstr "virgules" 299msgstr "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
300msgid "Notes:" 309msgid "Notes:"
301msgstr "Notes:" 310msgstr "Notes:"
302 311
@@ -309,259 +318,275 @@ msgstr ""
309msgid "state." 318msgid "state."
310msgstr "" 319msgstr ""
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
314msgid "Looking for: '%s'\n" 323msgid "Looking for: '%s'\n"
315msgstr "Recherche de: '%s'\n" 324msgstr "Recherche de: '%s'\n"
316 325
317#: plugins/check_dig.c:108 326#: plugins/check_dig.c:109
318msgid "dig returned an error status" 327msgid "dig returned an error status"
319msgstr "dig à renvoyé un état d'erreur" 328msgstr "dig à renvoyé un état d'erreur"
320 329
321#: plugins/check_dig.c:133 330#: plugins/check_dig.c:134
322msgid "Server not found in ANSWER SECTION" 331msgid "Server not found in ANSWER SECTION"
323msgstr "Le serveur n'a pas été trouvé dans l'ANSWER SECTION" 332msgstr "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
326msgid "No ANSWER SECTION found" 335msgid "No ANSWER SECTION found"
327msgstr "Pas d' ANSWER SECTION trouvé" 336msgstr "Pas d' ANSWER SECTION trouvé"
328 337
329#: plugins/check_dig.c:170 338#: plugins/check_dig.c:171
330msgid "Probably a non-existent host/domain" 339msgid "Probably a non-existent host/domain"
331msgstr "Probablement un hôte/domaine inexistant" 340msgstr "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
335msgid "Port must be a positive integer - %s" 344msgid "Port must be a positive integer - %s"
336msgstr "Le numéro du port doit être un entier positif - %s" 345msgstr "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
340msgid "Warning interval must be a positive integer - %s" 349msgid "Warning interval must be a positive integer - %s"
341msgstr "Le seuil d'avertissement doit être un entier positif - %s" 350msgstr "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
345msgid "Critical interval must be a positive integer - %s" 354msgid "Critical interval must be a positive integer - %s"
346msgstr "Le seuil critique doit être un entier positif - %s" 355msgstr "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
350msgid "Timeout interval must be a positive integer - %s" 359msgid "Timeout interval must be a positive integer - %s"
351msgstr "Le délai d'attente doit être un entier positif - %s" 360msgstr "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
355msgid "This plugin test the DNS service on the specified host using dig" 364msgid "This plugin test the DNS service on the specified host using dig"
356msgstr "Ce plugin teste le service DNS sur l'hôte spécifié en utilisant dig" 365msgstr "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
368msgid "Force dig to only use IPv4 query transport"
369msgstr ""
370
371#: plugins/check_dig.c:340
372msgid "Force dig to only use IPv6 query transport"
373msgstr ""
374
375#: plugins/check_dig.c:342
359msgid "Machine name to lookup" 376msgid "Machine name to lookup"
360msgstr "Nom de machine à rechercher" 377msgstr "Nom de machine à rechercher"
361 378
362#: plugins/check_dig.c:331 379#: plugins/check_dig.c:344
363msgid "Record type to lookup (default: A)" 380msgid "Record type to lookup (default: A)"
364msgstr "Type d'enregistrement à rechercher (par défaut: A)" 381msgstr "Type d'enregistrement à rechercher (par défaut: A)"
365 382
366#: plugins/check_dig.c:333 383#: plugins/check_dig.c:346
367msgid "" 384msgid ""
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"
369msgstr "" 386msgstr ""
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
373msgid "was in -l" 390msgid "was in -l"
374msgstr "ce qui est passé au paramètre -l" 391msgstr "ce qui est passé au paramètre -l"
375 392
376#: plugins/check_dig.c:336 393#: plugins/check_dig.c:349
377msgid "Pass STRING as argument(s) to dig" 394msgid "Pass STRING as argument(s) to dig"
378msgstr "" 395msgstr ""
379 396
380#: plugins/check_disk.c:214 397#: plugins/check_disk.c:216
381#, c-format 398#, c-format
382msgid "DISK %s: %s not found\n" 399msgid "DISK %s: %s not found\n"
383msgstr "DISK %s: %s non trouvé\n" 400msgstr "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
390msgid "CRITICAL" 409msgid "CRITICAL"
391msgstr "CRITIQUE" 410msgstr "CRITIQUE"
392 411
393#: plugins/check_disk.c:599 412#: plugins/check_disk.c:550
394#, c-format 413#, c-format
395msgid "unit type %s not known\n" 414msgid "unit type %s not known\n"
396msgstr "unité de type %s inconnue\n" 415msgstr "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
400msgid "failed allocating storage for '%s'\n" 419msgid "failed allocating storage for '%s'\n"
401msgstr "Impossible d'allouer de l'espace pour '%s'\n" 420msgstr "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
408msgid "UNKNOWN" 428msgid "UNKNOWN"
409msgstr "INCONNU" 429msgstr "INCONNU"
410 430
411#: plugins/check_disk.c:626 431#: plugins/check_disk.c:577
412msgid "Must set a threshold value before using -p\n" 432msgid "Must set a threshold value before using -p\n"
413msgstr "" 433msgstr ""
414 434
415#: plugins/check_disk.c:664 435#: plugins/check_disk.c:618
416msgid "Must set -E before selecting paths\n" 436msgid "Must set -E before selecting paths\n"
417msgstr "" 437msgstr ""
418 438
419#: plugins/check_disk.c:669 439#: plugins/check_disk.c:626
420msgid "Must set group value before selecting paths\n" 440msgid "Must set group value before selecting paths\n"
421msgstr "" 441msgstr ""
422 442
423#: plugins/check_disk.c:676 443#: plugins/check_disk.c:633
424msgid "" 444msgid ""
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"
427msgstr "" 447msgstr ""
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
430msgid "Could not compile regular expression" 450msgid "Could not compile regular expression"
431msgstr "Impossible de compiler l'expression rationnelle" 451msgstr "Impossible de compiler l'expression rationnelle"
432 452
433#: plugins/check_disk.c:720 453#: plugins/check_disk.c:677
434msgid "Must set a threshold value before using -r/-R\n" 454msgid "Must set a threshold value before using -r/-R\n"
435msgstr "" 455msgstr ""
436 456
437#: plugins/check_disk.c:746 457#: plugins/check_disk.c:703
438msgid "Regular expression did not match any path or disk" 458msgid "Regular expression did not match any path or disk"
439msgstr "" 459msgstr ""
440 460
441#: plugins/check_disk.c:792 461#: plugins/check_disk.c:749
442msgid "Unknown argument" 462msgid "Unknown argument"
443msgstr "Argument inconnu" 463msgstr "Argument inconnu"
444 464
445#: plugins/check_disk.c:826 465#: plugins/check_disk.c:783
446#, c-format 466#, c-format
447msgid " for %s\n" 467msgid " for %s\n"
448msgstr " pour %s\n" 468msgstr " pour %s\n"
449 469
450#: plugins/check_disk.c:900 470#: plugins/check_disk.c:857
451msgid "" 471msgid ""
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"
453msgstr "Ce plugin vérifie la place utilisé sur un système de fichier monté" 473msgstr "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
456msgid "" 476msgid ""
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"
458msgstr "" 478msgstr ""
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
463msgid "Exit with WARNING status if less than INTEGER units of disk are free" 483msgid "Exit with WARNING status if less than INTEGER units of disk are free"
464msgstr "" 484msgstr ""
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
469msgid "Exit with WARNING status if less than PERCENT of disk space is free" 489msgid "Exit with WARNING status if less than PERCENT of disk space is free"
470msgstr "" 490msgstr ""
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
475msgid "Exit with CRITICAL status if less than INTEGER units of disk are free" 495msgid "Exit with CRITICAL status if less than INTEGER units of disk are free"
476msgstr "" 496msgstr ""
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
480msgid "Exit with CRITCAL status if less than PERCENT of disk space is free" 500#, fuzzy
501msgid "Exit with CRITICAL status if less than PERCENT of disk space is free"
481msgstr "" 502msgstr ""
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
485msgid "Exit with WARNING status if less than PERCENT of inode space is free" 506msgid "Exit with WARNING status if less than PERCENT of inode space is free"
486msgstr "" 507msgstr ""
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
491msgid "Exit with CRITICAL status if less than PERCENT of inode space is free" 512msgid "Exit with CRITICAL status if less than PERCENT of inode space is free"
492msgstr "" 513msgstr ""
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
497msgid "Path or partition (may be repeated)" 518msgid "Path or partition (may be repeated)"
498msgstr "Répertoire ou partition (peut être utilisé plusieurs fois)" 519msgstr "Répertoire ou partition (peut être utilisé plusieurs fois)"
499 520
500#: plugins/check_disk.c:925 521#: plugins/check_disk.c:882
501msgid "Ignore device (only works if -p unspecified)" 522msgid "Ignore device (only works if -p unspecified)"
502msgstr "Ignorer le périphérique (marche seulement lorsque -p est utilisé)" 523msgstr "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
505msgid "Clear thresholds" 526msgid "Clear thresholds"
506msgstr "Effacer les seuils" 527msgstr "Effacer les seuils"
507 528
508#: plugins/check_disk.c:929 529#: plugins/check_disk.c:886
509msgid "For paths or partitions specified with -p, only check for exact paths" 530msgid "For paths or partitions specified with -p, only check for exact paths"
510msgstr "" 531msgstr ""
511 532
512#: plugins/check_disk.c:931 533#: plugins/check_disk.c:888
513msgid "Display only devices/mountpoints with errors" 534msgid "Display only devices/mountpoints with errors"
514msgstr "Afficher seulement les périphériques/point de montage avec des erreurs" 535msgstr "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
538msgid "Don't account root-reserved blocks into freespace in perfdata"
539msgstr ""
540
541#: plugins/check_disk.c:892
517msgid "" 542msgid ""
518"Group paths. Thresholds apply to (free-)space of all partitions together" 543"Group paths. Thresholds apply to (free-)space of all partitions together"
519msgstr "" 544msgstr ""
520 545
521#: plugins/check_disk.c:935 546#: plugins/check_disk.c:894
522msgid "Same as '--units kB'" 547msgid "Same as '--units kB'"
523msgstr "Pareil à '--units kB'" 548msgstr "Pareil à '--units kB'"
524 549
525#: plugins/check_disk.c:937 550#: plugins/check_disk.c:896
526msgid "Only check local filesystems" 551msgid "Only check local filesystems"
527msgstr "Vérifier seulement les systèmes de fichiers locaux" 552msgstr "Vérifier seulement les systèmes de fichiers locaux"
528 553
529#: plugins/check_disk.c:939 554#: plugins/check_disk.c:898
530msgid "" 555msgid ""
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"
533msgstr "" 558msgstr ""
534 559
535#: plugins/check_disk.c:940 560#: plugins/check_disk.c:899
536msgid "to test if they are accessible (e.g. to detect Stale NFS Handles)" 561msgid "to test if they are accessible (e.g. to detect Stale NFS Handles)"
537msgstr "" 562msgstr ""
538 563
539#: plugins/check_disk.c:942 564#: plugins/check_disk.c:901
540msgid "Display the mountpoint instead of the partition" 565msgid "Display the mountpoint instead of the partition"
541msgstr "Afficher le point de montage au lieu de la partition" 566msgstr "Afficher le point de montage au lieu de la partition"
542 567
543#: plugins/check_disk.c:944 568#: plugins/check_disk.c:903
544msgid "Same as '--units MB'" 569msgid "Same as '--units MB'"
545msgstr "Pareil à '--units MB'" 570msgstr "Pareil à '--units MB'"
546 571
547#: plugins/check_disk.c:946 572#: plugins/check_disk.c:905
548msgid "Explicitly select all paths. This is equivalent to -R '.*'" 573msgid "Explicitly select all paths. This is equivalent to -R '.*'"
549msgstr "" 574msgstr ""
550 575
551#: plugins/check_disk.c:948 576#: plugins/check_disk.c:907
552msgid "" 577msgid ""
553"Case insensitive regular expression for path/partition (may be repeated)" 578"Case insensitive regular expression for path/partition (may be repeated)"
554msgstr "" 579msgstr ""
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
559msgid "Regular expression for path or partition (may be repeated)" 584msgid "Regular expression for path or partition (may be repeated)"
560msgstr "" 585msgstr ""
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
565msgid "" 590msgid ""
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
573msgid "" 598msgid ""
574"Regular expression to ignore selected path or partition (may be repeated)" 599"Regular expression to ignore selected path or partition (may be repeated)"
575msgstr "" 600msgstr ""
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
580msgid "Choose bytes, kB, MB, GB, TB (default: MB)" 605msgid "Choose bytes, kB, MB, GB, TB (default: MB)"
581msgstr "Choisissez octets, kb, MB, GB, TB (par défaut: MB)" 606msgstr "Choisissez octets, kb, MB, GB, TB (par défaut: MB)"
582 607
583#: plugins/check_disk.c:960 608#: plugins/check_disk.c:919
584msgid "Ignore all filesystems of indicated type (may be repeated)" 609msgid "Ignore all filesystems of indicated type (may be repeated)"
585msgstr "" 610msgstr ""
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
616msgid "Check only filesystems of indicated type (may be repeated)"
617msgstr ""
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
590msgid "Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB" 622msgid "Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB"
591msgstr "Vérifie /tmp à 10% et /var à 5% et / à 100MB et 50MB" 623msgstr "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
594msgid "" 626msgid ""
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"
597msgstr "" 629msgstr ""
598 630
599#: plugins/check_disk.c:968 631#: plugins/check_disk.c:929
600msgid "" 632msgid ""
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"
603msgstr "" 635msgstr ""
604 636
605#: plugins/check_disk.c:970 637#: plugins/check_disk.c:931
606msgid "" 638msgid ""
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"
609msgstr "" 641msgstr ""
610 642
611#: plugins/check_disk.c:996 643#: plugins/check_disk.c:957
612#, c-format 644#, c-format
613msgid "%s %s: %s\n" 645msgid "%s %s: %s\n"
614msgstr "" 646msgstr ""
615 647
616#: plugins/check_disk.c:996 648#: plugins/check_disk.c:957
617msgid "is not accessible" 649msgid "is not accessible"
618msgstr "" 650msgstr ""
619 651
@@ -650,13 +682,15 @@ msgid "server %s is not authoritative for %s"
650msgstr "serveur %s n'est pas autoritaire pour %s" 682msgstr "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
655msgid "OK" 687msgid "OK"
656msgstr "OK" 688msgstr "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
661msgid "WARNING" 695msgid "WARNING"
662msgstr "AVERTISSEMENT" 696msgstr "AVERTISSEMENT"
@@ -840,102 +874,126 @@ msgstr ""
840msgid "of the <state> argument with optional text" 874msgid "of the <state> argument with optional text"
841msgstr "du paramètre <state> avec un texte optionnel" 875msgstr "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
846msgid "Could not open pipe: %s\n" 880msgid "Could not open pipe: %s\n"
847msgstr "Impossible d'ouvrir le pipe: %s\n" 881msgstr "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
852msgid "Could not open stderr for %s\n" 886msgid "Could not open stderr for %s\n"
853msgstr "Impossible d'ouvrir la sortie d'erreur standard pour %s\n" 887msgstr "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
891msgid "FPING UNKNOWN - IP address not found\n"
892msgstr "PING INCONNU - Hôte non trouvé (%s)\n"
893
894#: plugins/check_fping.c:160
895msgid "FPING UNKNOWN - invalid commandline argument\n"
896msgstr ""
897
898#: plugins/check_fping.c:163
899#, fuzzy
900msgid "FPING UNKNOWN - failed system call\n"
901msgstr "PING INCONNU - Hôte non trouvé (%s)\n"
902
903#: plugins/check_fping.c:187
856#, c-format 904#, c-format
857msgid "FPING UNKNOW - %s not found\n" 905msgid "FPING UNKNOW - %s not found\n"
858msgstr "PING INCONNU - Hôte non trouvé (%s)\n" 906msgstr "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
862msgid "FPING CRITICAL - %s is unreachable\n" 910msgid "FPING CRITICAL - %s is unreachable\n"
863msgstr "PING CRITIQUE - Hôte inaccessible (%s)\n" 911msgstr "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
915msgid "FPING UNKNOWN - %s parameter error\n"
916msgstr "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
867msgid "FPING CRITICAL - %s is down\n" 920msgid "FPING CRITICAL - %s is down\n"
868msgstr "FPING CRITIQUE - %s est en panne\n" 921msgstr "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
872msgid "FPING %s - %s (loss=%.0f%%, rta=%f ms)|%s %s\n" 925msgid "FPING %s - %s (loss=%.0f%%, rta=%f ms)|%s %s\n"
873msgstr "FPING %s - %s (perte=%.0f%%, rta=%f ms)|%s %s\n" 926msgstr "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
877msgid "FPING %s - %s (loss=%.0f%% )|%s\n" 930msgid "FPING %s - %s (loss=%.0f%% )|%s\n"
878msgstr "FPING %s - %s (perte=%.0f%% )|%s\n" 931msgstr "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
888msgid "Invalid hostname/address" 942msgid "Invalid hostname/address"
889msgstr "Adresse/Nom d'hôte invalide" 943msgstr "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
946msgid "IPv6 support not available\n"
947msgstr "Support IPv6 non disponible\n"
948
949#: plugins/check_fping.c:378
892msgid "Packet size must be a positive integer" 950msgid "Packet size must be a positive integer"
893msgstr "La taille du paquet doit être un entier positif" 951msgstr "La taille du paquet doit être un entier positif"
894 952
895#: plugins/check_fping.c:320 953#: plugins/check_fping.c:384
896msgid "Packet count must be a positive integer" 954msgid "Packet count must be a positive integer"
897msgstr "Le nombre de paquets doit être un entier positif" 955msgstr "Le nombre de paquets doit être un entier positif"
898 956
899#: plugins/check_fping.c:326 957#: plugins/check_fping.c:390
900msgid "Target timeout must be a positive integer" 958msgid "Target timeout must be a positive integer"
901msgstr "Le seuil d'avertissement doit être un entier positif" 959msgstr "Le seuil d'avertissement doit être un entier positif"
902 960
903#: plugins/check_fping.c:332 961#: plugins/check_fping.c:396
904msgid "Interval must be a positive integer" 962msgid "Interval must be a positive integer"
905msgstr "Le délai d'attente doit être un entier positif" 963msgstr "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
910msgid "Hostname was not supplied" 968msgid "Hostname was not supplied"
911msgstr "Le nom de l'hôte n'a pas été spécifié" 969msgstr "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
915msgid "%s: Only one threshold may be packet loss (%s)\n" 973msgid "%s: Only one threshold may be packet loss (%s)\n"
916msgstr "" 974msgstr ""
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
921msgid "%s: Only one threshold must be packet loss (%s)\n" 979msgid "%s: Only one threshold must be packet loss (%s)\n"
922msgstr "" 980msgstr ""
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
926msgid "" 984msgid ""
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"
929msgstr "" 987msgstr ""
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
933msgid "Note that it is necessary to set the suid flag on fping." 991msgid "Note that it is necessary to set the suid flag on fping."
934msgstr "" 992msgstr ""
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
939msgid "" 997msgid ""
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
947msgid "warning threshold pair" 1005msgid "warning threshold pair"
948msgstr "Valeurs pour le seuil d'avertissement" 1006msgstr "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
951msgid "critical threshold pair" 1009msgid "critical threshold pair"
952msgstr "Valeurs pour le seuil critique" 1010msgstr "Valeurs pour le seuil critique"
953 1011
954#: plugins/check_fping.c:412 1012#: plugins/check_fping.c:478
955msgid "size of ICMP packet" 1013msgid "size of ICMP packet"
956msgstr "taille du paquet ICMP" 1014msgstr "taille du paquet ICMP"
957 1015
958#: plugins/check_fping.c:414 1016#: plugins/check_fping.c:480
959msgid "number of ICMP packets to send" 1017msgid "number of ICMP packets to send"
960msgstr "nombre de paquets ICMP à envoyer" 1018msgstr "nombre de paquets ICMP à envoyer"
961 1019
962#: plugins/check_fping.c:416 1020#: plugins/check_fping.c:482
963msgid "Target timeout (ms)" 1021msgid "Target timeout (ms)"
964msgstr "" 1022msgstr ""
965 1023
966#: plugins/check_fping.c:418 1024#: plugins/check_fping.c:484
967msgid "Interval (ms) between sending packets" 1025msgid "Interval (ms) between sending packets"
968msgstr "" 1026msgstr ""
969 1027
970#: plugins/check_fping.c:421 1028#: plugins/check_fping.c:486
1029msgid "name or IP Address of sourceip"
1030msgstr ""
1031
1032#: plugins/check_fping.c:488
1033msgid "source interface name"
1034msgstr ""
1035
1036#: plugins/check_fping.c:491
971#, c-format 1037#, c-format
972msgid "" 1038msgid ""
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
980msgid "" 1046msgid ""
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"
982msgstr "" 1048msgstr ""
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
987msgid "packet loss to trigger an alarm state." 1053msgid "packet loss to trigger an alarm state."
988msgstr "paquets perdu pour déclencher une alarme." 1054msgstr "paquets perdu pour déclencher une alarme."
989 1055
1056#: plugins/check_fping.c:496
1057msgid "IPv4 is used by default. Specify -6 to use IPv6."
1058msgstr ""
1059
990#: plugins/check_game.c:111 1060#: plugins/check_game.c:111
991#, c-format 1061#, c-format
992msgid "CRITICAL - Host type parameter incorrect!\n" 1062msgid "CRITICAL - Host type parameter incorrect!\n"
@@ -1116,463 +1186,540 @@ msgstr "Le nom de la communauté SNMP "
1116msgid "(default=%s)" 1186msgid "(default=%s)"
1117msgstr "(défaut=%s)" 1187msgstr "(défaut=%s)"
1118 1188
1119#: plugins/check_http.c:262 1189#: plugins/check_http.c:189
1120msgid "Critical threshold must be integer" 1190msgid "file does not exist or is not readable"
1121msgstr "le seuil critique doit être un entier positif" 1191msgstr ""
1122
1123#: plugins/check_http.c:270
1124msgid "Warning threshold must be integer"
1125msgstr "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
1128msgid "Invalid certificate expiration period" 1196msgid "Invalid certificate expiration period"
1129msgstr "Période d'expiration du certificat invalide" 1197msgstr "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
1200msgid ""
1201"Invalid option - Valid values for SSL Version are 1 (TLSv1), 2 (SSLv2) or 3 "
1202"(SSLv3)"
1203msgstr ""
1204
1205#: plugins/check_http.c:354 plugins/check_tcp.c:599
1132msgid "Invalid option - SSL is not available" 1206msgid "Invalid option - SSL is not available"
1133msgstr "Option invalide - SSL n'est pas disponible" 1207msgstr "Option invalide - SSL n'est pas disponible"
1134 1208
1135#: plugins/check_http.c:329 1209#: plugins/check_http.c:375
1136msgid "Invalid onredirect option" 1210msgid "Invalid onredirect option"
1137msgstr "" 1211msgstr ""
1138 1212
1139#: plugins/check_http.c:331 1213#: plugins/check_http.c:377
1140#, c-format 1214#, c-format
1141msgid "option f:%d \n" 1215msgid "option f:%d \n"
1142msgstr "option f:%d \n" 1216msgstr "option f:%d \n"
1143 1217
1144#: plugins/check_http.c:352 1218#: plugins/check_http.c:398
1145msgid "Invalid port number" 1219msgid "Invalid port number"
1146msgstr "Numéro de port invalide" 1220msgstr "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
1150msgid "Could Not Compile Regular Expression: %s" 1224msgid "Could Not Compile Regular Expression: %s"
1151msgstr "Impossible de compiler l'expression rationnelle: %s" 1225msgstr "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
1156msgid "IPv6 support not available" 1230msgid "IPv6 support not available"
1157msgstr "Support IPv6 non disponible" 1231msgstr "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
1160msgid "You must specify a server address or host name" 1234msgid "You must specify a server address or host name"
1161msgstr "Vous devez spécifier une adresse ou un nom d'hôte" 1235msgstr "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
1238msgid ""
1239"If you use a client certificate you must also specify a private key file"
1240msgstr ""
1241
1242#: plugins/check_http.c:667 plugins/check_http.c:835
1164msgid "HTTP UNKNOWN - Memory allocation error\n" 1243msgid "HTTP UNKNOWN - Memory allocation error\n"
1165msgstr "HTTP INCONNU - Impossible d'allouer la mémoire\n" 1244msgstr "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
1169msgid "%sServer date unknown, " 1248msgid "%sServer date unknown, "
1170msgstr "%sDate du serveur inconnue, " 1249msgstr "%sDate du serveur inconnue, "
1171 1250
1172#: plugins/check_http.c:684 1251#: plugins/check_http.c:742
1173#, c-format 1252#, c-format
1174msgid "%sDocument modification date unknown, " 1253msgid "%sDocument modification date unknown, "
1175msgstr "%sDate de modification du document inconnue, " 1254msgstr "%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
1179msgid "%sServer date \"%100s\" unparsable, " 1258msgid "%sServer date \"%100s\" unparsable, "
1180msgstr "%sDate du serveur \"%100s\" illisible, " 1259msgstr "%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
1184msgid "%sDocument date \"%100s\" unparsable, " 1263msgid "%sDocument date \"%100s\" unparsable, "
1185msgstr "%sDate du document \"%100s\" illisible, " 1264msgstr "%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
1189msgid "%sDocument is %d seconds in the future, " 1268msgid "%sDocument is %d seconds in the future, "
1190msgstr "%sLa date du document est %d secondes dans le futur, " 1269msgstr "%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
1194msgid "%sLast modified %.1f days ago, " 1273msgid "%sLast modified %.1f days ago, "
1195msgstr "%sDernière modification %.1f jours auparavant, " 1274msgstr "%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
1199msgid "%sLast modified %d:%02d:%02d ago, " 1278msgid "%sLast modified %d:%02d:%02d ago, "
1200msgstr "%sDernière modification %d:%02d:%02d auparavant, " 1279msgstr "%sDernière modification %d:%02d:%02d auparavant, "
1201 1280
1202#: plugins/check_http.c:807 1281#: plugins/check_http.c:876
1203msgid "HTTP CRITICAL - Unable to open TCP socket\n" 1282msgid "HTTP CRITICAL - Unable to open TCP socket\n"
1204msgstr "HTTP CRITIQUE - Impossible d'ouvrir un socket TCP\n" 1283msgstr "HTTP CRITIQUE - Impossible d'ouvrir un socket TCP\n"
1205 1284
1206#: plugins/check_http.c:910 1285#: plugins/check_http.c:995
1207msgid "HTTP CRITICAL - Error on receive\n" 1286msgid "HTTP CRITICAL - Error on receive\n"
1208msgstr "HTTP CRITIQUE - Erreur dans la réception\n" 1287msgstr "HTTP CRITIQUE - Erreur dans la réception\n"
1209 1288
1210#: plugins/check_http.c:920 1289#: plugins/check_http.c:1005
1211msgid "HTTP CRITICAL - No data received from host\n" 1290msgid "HTTP CRITICAL - No data received from host\n"
1212msgstr "HTTP CRITIQUE - Pas de données reçues de l'hôte\n" 1291msgstr "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
1216msgid "Invalid HTTP response received from host: %s\n" 1295msgid "Invalid HTTP response received from host: %s\n"
1217msgstr "Réponse HTTP reçue de l'hôte invalide: %s\n" 1296msgstr "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
1221msgid "Invalid HTTP response received from host on port %d: %s\n" 1300msgid "Invalid HTTP response received from host on port %d: %s\n"
1222msgstr "Réponse HTTP reçue de l'hôte sur le port %d invalide: %s\n" 1301msgstr "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
1226msgid "Status line output matched \"%s\" - " 1305msgid "Status line output matched \"%s\" - "
1227msgstr "La ligne d'état correspond à \"%s\" - " 1306msgstr "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
1231msgid "HTTP CRITICAL: Invalid Status Line (%s)\n" 1310msgid "HTTP CRITICAL: Invalid Status Line (%s)\n"
1232msgstr "HTTP CRITIQUE: Ligne d'état non valide (%s)\n" 1311msgstr "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
1236msgid "HTTP CRITICAL: Invalid Status (%s)\n" 1315msgid "HTTP CRITICAL: Invalid Status (%s)\n"
1237msgstr "HTTP CRITIQUE: Etat Invalide (%s)\n" 1316msgstr "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
1242msgid "%s - " 1321msgid "%s - "
1243msgstr "" 1322msgstr ""
1244 1323
1245#: plugins/check_http.c:1045 1324#: plugins/check_http.c:1129
1325#, fuzzy, c-format
1326msgid "%sheader '%s' not found on '%s://%s:%d%s', "
1327msgstr "%schaîne non trouvée, "
1328
1329#: plugins/check_http.c:1141
1246#, fuzzy, c-format 1330#, fuzzy, c-format
1247msgid "%sstring '%s' not found on '%s://%s:%d%s', " 1331msgid "%sstring '%s' not found on '%s://%s:%d%s', "
1248msgstr "%schaîne non trouvée, " 1332msgstr "%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
1252msgid "%spattern not found, " 1336msgid "%spattern not found, "
1253msgstr "%sexpression non trouvée, " 1337msgstr "%sexpression non trouvée, "
1254 1338
1255#: plugins/check_http.c:1060 1339#: plugins/check_http.c:1156
1256#, c-format 1340#, c-format
1257msgid "%spattern found, " 1341msgid "%spattern found, "
1258msgstr "%sexpression trouvée, " 1342msgstr "%sexpression trouvée, "
1259 1343
1260#: plugins/check_http.c:1066 1344#: plugins/check_http.c:1162
1261#, c-format 1345#, c-format
1262msgid "%sExecute Error: %s, " 1346msgid "%sExecute Error: %s, "
1263msgstr "%sErreur d'exécution: %s, " 1347msgstr "%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
1267msgid "%spage size %d too large, " 1351msgid "%spage size %d too large, "
1268msgstr "%sla taille de la page est trop grande (%d), " 1352msgstr "%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
1272msgid "%spage size %d too small, " 1356msgid "%spage size %d too small, "
1273msgstr "%sla taille de la page est trop petite (%d), " 1357msgstr "%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
1361msgid "%s - %d bytes in %.3f second response time %s|%s %s %s %s %s %s %s"
1362msgstr "%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
1277msgid "%s - %d bytes in %.3f second response time %s|%s %s" 1366msgid "%s - %d bytes in %.3f second response time %s|%s %s"
1278msgstr "%s - %d octets en %.3f secondes de temps de réponse %s|%s %s" 1367msgstr "%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
1281msgid "HTTP UNKNOWN - Could not allocate addr\n" 1370msgid "HTTP UNKNOWN - Could not allocate addr\n"
1282msgstr "HTTP INCONNU - Impossible d'allouer une adresse\n" 1371msgstr "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
1285msgid "HTTP UNKNOWN - Could not allocate URL\n" 1374msgid "HTTP UNKNOWN - Could not allocate URL\n"
1286msgstr "HTTP INCONNU - Impossible d'allouer l'URL\n" 1375msgstr "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
1290msgid "HTTP UNKNOWN - Could not find redirect location - %s%s\n" 1379msgid "HTTP UNKNOWN - Could not find redirect location - %s%s\n"
1291msgstr "" 1380msgstr ""
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
1296msgid "HTTP UNKNOWN - Empty redirect location%s\n" 1385msgid "HTTP UNKNOWN - Empty redirect location%s\n"
1297msgstr "HTTP INCONNU - endroit de redirection vide%s\n" 1386msgstr "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
1301msgid "HTTP UNKNOWN - Could not parse redirect location - %s%s\n" 1390msgid "HTTP UNKNOWN - Could not parse redirect location - %s%s\n"
1302msgstr "" 1391msgstr ""
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
1307msgid "HTTP WARNING - maximum redirection depth %d exceeded - %s://%s:%d%s%s\n" 1396msgid "HTTP WARNING - maximum redirection depth %d exceeded - %s://%s:%d%s%s\n"
1308msgstr "" 1397msgstr ""
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
1314msgid "HTTP WARNING - redirection creates an infinite loop - %s://%s:%d%s%s\n" 1403msgid "HTTP WARNING - redirection creates an infinite loop - %s://%s:%d%s%s\n"
1315msgstr "" 1404msgstr ""
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
1321msgid "HTTP UNKNOWN - Redirection to port above %d - %s://%s:%d%s%s\n" 1410msgid "HTTP UNKNOWN - Redirection to port above %d - %s://%s:%d%s%s\n"
1322msgstr "HTTP INCONNU - Redirection à un port supérieur à %d - %s://%s:%d%s%s\n" 1411msgstr "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
1326msgid "Redirection to %s://%s:%d%s\n" 1415msgid "Redirection to %s://%s:%d%s\n"
1327msgstr "Redirection vers %s://%s:%d%s\n" 1416msgstr "Redirection vers %s://%s:%d%s\n"
1328 1417
1329#: plugins/check_http.c:1310 1418#: plugins/check_http.c:1440
1330msgid "This plugin tests the HTTP service on the specified host. It can test" 1419msgid "This plugin tests the HTTP service on the specified host. It can test"
1331msgstr "" 1420msgstr ""
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
1335msgid "normal (http) and secure (https) servers, follow redirects, search for" 1424msgid "normal (http) and secure (https) servers, follow redirects, search for"
1336msgstr "" 1425msgstr ""
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
1341msgid "strings and regular expressions, check connection times, and report on" 1430msgid "strings and regular expressions, check connection times, and report on"
1342msgstr "" 1431msgstr ""
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
1347msgid "certificate expiration times." 1436msgid "certificate expiration times."
1348msgstr "et rapporter la date d'expiration du certificat." 1437msgstr "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
1352msgid "NOTE: One or both of -H and -I must be specified" 1441msgid "NOTE: One or both of -H and -I must be specified"
1353msgstr "NOTE: les paramètres -H et -I peuvent être spécifiés" 1442msgstr "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
1356msgid "Host name argument for servers using host headers (virtual host)" 1445msgid "Host name argument for servers using host headers (virtual host)"
1357msgstr "" 1446msgstr ""
1358 1447
1359#: plugins/check_http.c:1328 1448#: plugins/check_http.c:1458
1360msgid "Append a port to include it in the header (eg: example.com:5000)" 1449msgid "Append a port to include it in the header (eg: example.com:5000)"
1361msgstr "" 1450msgstr ""
1362 1451
1363#: plugins/check_http.c:1330 1452#: plugins/check_http.c:1460
1364msgid "" 1453msgid ""
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)."
1366msgstr "" 1455msgstr ""
1367 1456
1368#: plugins/check_http.c:1332 1457#: plugins/check_http.c:1462
1369msgid "Port number (default: " 1458msgid "Port number (default: "
1370msgstr "Numéro du port (défaut: " 1459msgstr "Numéro du port (défaut: "
1371 1460
1372#: plugins/check_http.c:1339 1461#: plugins/check_http.c:1469
1373msgid "Connect via SSL. Port defaults to 443" 1462msgid ""
1463"Connect via SSL. Port defaults to 443. VERSION is optional, and prevents"
1464msgstr ""
1465
1466#: plugins/check_http.c:1470
1467msgid "auto-negotiation (1 = TLSv1, 2 = SSLv2, 3 = SSLv3)."
1374msgstr "" 1468msgstr ""
1375 1469
1376#: plugins/check_http.c:1341 1470#: plugins/check_http.c:1472
1377msgid "Enable SSL/TLS hostname extension support (SNI)" 1471msgid "Enable SSL/TLS hostname extension support (SNI)"
1378msgstr "" 1472msgstr ""
1379 1473
1380#: plugins/check_http.c:1343 1474#: plugins/check_http.c:1474
1381msgid "" 1475msgid ""
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"
1383msgstr "" 1477msgstr ""
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
1388msgid "(when this option is used the URL is not checked.)\n" 1482msgid "(when this option is used the URL is not checked.)"
1483msgstr ""
1484
1485#: plugins/check_http.c:1477
1486msgid "Name of file that contains the client certificate (PEM format)"
1487msgstr ""
1488
1489#: plugins/check_http.c:1478
1490msgid "to be used in establishing the SSL session"
1491msgstr ""
1492
1493#: plugins/check_http.c:1480
1494msgid "Name of file containing the private key (PEM format)"
1495msgstr ""
1496
1497#: plugins/check_http.c:1481
1498msgid "matching the client certificate"
1389msgstr "" 1499msgstr ""
1390 1500
1391#: plugins/check_http.c:1348 1501#: plugins/check_http.c:1485
1392msgid "Comma-delimited list of strings, at least one of them is expected in" 1502msgid "Comma-delimited list of strings, at least one of them is expected in"
1393msgstr "" 1503msgstr ""
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
1398msgid "the first (status) line of the server response (default: " 1508msgid "the first (status) line of the server response (default: "
1399msgstr "est attendue dans la première ligne de réponse du serveur (défaut: " 1509msgstr "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
1402msgid "" 1512msgid ""
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)"
1404msgstr "" 1514msgstr ""
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
1519msgid "String to expect in the response headers"
1520msgstr "Chaîne de caractères à attendre en réponse"
1521
1522#: plugins/check_http.c:1492
1408msgid "String to expect in the content" 1523msgid "String to expect in the content"
1409msgstr "Chaîne de caractère attendue dans le contenu" 1524msgstr "Chaîne de caractère attendue dans le contenu"
1410 1525
1411#: plugins/check_http.c:1355 1526#: plugins/check_http.c:1494
1412msgid "URL to GET or POST (default: /)" 1527msgid "URL to GET or POST (default: /)"
1413msgstr "URL pour le GET ou le POST (défaut: /)" 1528msgstr "URL pour le GET ou le POST (défaut: /)"
1414 1529
1415#: plugins/check_http.c:1357 1530#: plugins/check_http.c:1496
1416msgid "URL encoded http POST data" 1531msgid "URL encoded http POST data"
1417msgstr "" 1532msgstr ""
1418 1533
1419#: plugins/check_http.c:1359 1534#: plugins/check_http.c:1498
1420msgid "Set HTTP method." 1535msgid "Set HTTP method."
1421msgstr "" 1536msgstr ""
1422 1537
1423#: plugins/check_http.c:1361 1538#: plugins/check_http.c:1500
1424msgid "Don't wait for document body: stop reading after headers." 1539msgid "Don't wait for document body: stop reading after headers."
1425msgstr "" 1540msgstr ""
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
1429msgid "(Note that this still does an HTTP GET or POST, not a HEAD.)" 1544msgid "(Note that this still does an HTTP GET or POST, not a HEAD.)"
1430msgstr "(Veuillez noter qu'un HTTP GET ou POST est effectué, pas un HEAD.)" 1545msgstr "(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
1433msgid "Warn if document is more than SECONDS old. the number can also be of" 1548msgid "Warn if document is more than SECONDS old. the number can also be of"
1434msgstr "" 1549msgstr ""
1435 1550
1436#: plugins/check_http.c:1365 1551#: plugins/check_http.c:1504
1437msgid "the form \"10m\" for minutes, \"10h\" for hours, or \"10d\" for days." 1552msgid "the form \"10m\" for minutes, \"10h\" for hours, or \"10d\" for days."
1438msgstr "" 1553msgstr ""
1439 1554
1440#: plugins/check_http.c:1367 1555#: plugins/check_http.c:1506
1441msgid "specify Content-Type header media type when POSTing\n" 1556msgid "specify Content-Type header media type when POSTing\n"
1442msgstr "" 1557msgstr ""
1443 1558
1444#: plugins/check_http.c:1370 1559#: plugins/check_http.c:1509
1445msgid "Allow regex to span newlines (must precede -r or -R)" 1560msgid "Allow regex to span newlines (must precede -r or -R)"
1446msgstr "" 1561msgstr ""
1447 1562
1448#: plugins/check_http.c:1372 1563#: plugins/check_http.c:1511
1449msgid "Search page for regex STRING" 1564msgid "Search page for regex STRING"
1450msgstr "" 1565msgstr ""
1451 1566
1452#: plugins/check_http.c:1374 1567#: plugins/check_http.c:1513
1453msgid "Search page for case-insensitive regex STRING" 1568msgid "Search page for case-insensitive regex STRING"
1454msgstr "" 1569msgstr ""
1455 1570
1456#: plugins/check_http.c:1376 1571#: plugins/check_http.c:1515
1457msgid "Return CRITICAL if found, OK if not\n" 1572msgid "Return CRITICAL if found, OK if not\n"
1458msgstr "" 1573msgstr ""
1459 1574
1460#: plugins/check_http.c:1379 1575#: plugins/check_http.c:1518
1461msgid "Username:password on sites with basic authentication" 1576msgid "Username:password on sites with basic authentication"
1462msgstr "" 1577msgstr ""
1463 1578
1464#: plugins/check_http.c:1381 1579#: plugins/check_http.c:1520
1465msgid "Username:password on proxy-servers with basic authentication" 1580msgid "Username:password on proxy-servers with basic authentication"
1466msgstr "" 1581msgstr ""
1467 1582
1468#: plugins/check_http.c:1383 1583#: plugins/check_http.c:1522
1469msgid "String to be sent in http header as \"User Agent\"" 1584msgid "String to be sent in http header as \"User Agent\""
1470msgstr "" 1585msgstr ""
1471 1586
1472#: plugins/check_http.c:1385 1587#: plugins/check_http.c:1524
1473msgid "" 1588msgid ""
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"
1476msgstr "" 1591msgstr ""
1477 1592
1478#: plugins/check_http.c:1387 1593#: plugins/check_http.c:1526
1594msgid "Print additional performance data"
1595msgstr ""
1596
1597#: plugins/check_http.c:1528
1479msgid "Wrap output in HTML link (obsoleted by urlize)" 1598msgid "Wrap output in HTML link (obsoleted by urlize)"
1480msgstr "" 1599msgstr ""
1481 1600
1482#: plugins/check_http.c:1389 1601#: plugins/check_http.c:1530
1483msgid "How to handle redirected pages. sticky is like follow but stick to the" 1602msgid "How to handle redirected pages. sticky is like follow but stick to the"
1484msgstr "" 1603msgstr ""
1485 1604
1486#: plugins/check_http.c:1390 1605#: plugins/check_http.c:1531
1487msgid "specified IP address. stickyport also ensure post stays the same." 1606msgid "specified IP address. stickyport also ensures port stays the same."
1488msgstr "" 1607msgstr ""
1489 1608
1490#: plugins/check_http.c:1392 1609#: plugins/check_http.c:1533
1491msgid "Minimum page size required (bytes) : Maximum page size required (bytes)" 1610msgid "Minimum page size required (bytes) : Maximum page size required (bytes)"
1492msgstr "" 1611msgstr ""
1493 1612
1494#: plugins/check_http.c:1402 1613#: plugins/check_http.c:1543
1495msgid "This plugin will attempt to open an HTTP connection with the host." 1614msgid "This plugin will attempt to open an HTTP connection with the host."
1496msgstr "Ce plugin va essayer d'ouvrir un connexion SMTP avec l'hôte." 1615msgstr "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
1499msgid "" 1618msgid ""
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"
1502msgstr "" 1621msgstr ""
1503 1622
1504#: plugins/check_http.c:1404 1623#: plugins/check_http.c:1545
1505msgid "" 1624msgid ""
1506"other errors return STATE_UNKNOWN. Successful connects, but incorrect " 1625"other errors return STATE_UNKNOWN. Successful connects, but incorrect "
1507"reponse" 1626"reponse"
1508msgstr "" 1627msgstr ""
1509 1628
1510#: plugins/check_http.c:1405 1629#: plugins/check_http.c:1546
1511msgid "" 1630msgid ""
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"
1513msgstr "" 1632msgstr ""
1514 1633
1515#: plugins/check_http.c:1406 1634#: plugins/check_http.c:1547
1516msgid "" 1635msgid ""
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"
1518msgstr "" 1637msgstr ""
1519 1638
1520#: plugins/check_http.c:1407 1639#: plugins/check_http.c:1548
1521msgid "(fully qualified domain name) as the [host_name] argument." 1640msgid "(fully qualified domain name) as the [host_name] argument."
1522msgstr "" 1641msgstr ""
1523 1642
1524#: plugins/check_http.c:1411 1643#: plugins/check_http.c:1552
1525msgid "This plugin can also check whether an SSL enabled web server is able to" 1644msgid "This plugin can also check whether an SSL enabled web server is able to"
1526msgstr "" 1645msgstr ""
1527 1646
1528#: plugins/check_http.c:1412 1647#: plugins/check_http.c:1553
1529msgid "serve content (optionally within a specified time) or whether the X509 " 1648msgid "serve content (optionally within a specified time) or whether the X509 "
1530msgstr "" 1649msgstr ""
1531 1650
1532#: plugins/check_http.c:1413 1651#: plugins/check_http.c:1554
1533msgid "certificate is still valid for the specified number of days." 1652msgid "certificate is still valid for the specified number of days."
1534msgstr "" 1653msgstr ""
1535 1654
1536#: plugins/check_http.c:1417 1655#: plugins/check_http.c:1556
1656#, fuzzy
1657msgid "Please note that this plugin does not check if the presented server"
1658msgstr "Ce plugin vérifie le service ntp sur l'hôte"
1659
1660#: plugins/check_http.c:1557
1661msgid "certificate matches the hostname of the server, or if the certificate"
1662msgstr ""
1663
1664#: plugins/check_http.c:1558
1665msgid "has a valid chain of trust to one of the locally installed CAs."
1666msgstr ""
1667
1668#: plugins/check_http.c:1562
1537msgid "" 1669msgid ""
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,"
1539msgstr "" 1671msgstr ""
1540 1672
1541#: plugins/check_http.c:1418 1673#: plugins/check_http.c:1563
1542msgid "" 1674msgid ""
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"
1544msgstr "" 1676msgstr ""
1545 1677
1546#: plugins/check_http.c:1419 1678#: plugins/check_http.c:1564
1547msgid "" 1679msgid ""
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,"
1550msgstr "" 1682msgstr ""
1551 1683
1552#: plugins/check_http.c:1420 1684#: plugins/check_http.c:1565
1553msgid "a STATE_CRITICAL will be returned." 1685msgid "a STATE_CRITICAL will be returned."
1554msgstr "" 1686msgstr ""
1555 1687
1556#: plugins/check_http.c:1423 1688#: plugins/check_http.c:1568
1557msgid "" 1689msgid ""
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,"
1559msgstr "" 1691msgstr ""
1560 1692
1561#: plugins/check_http.c:1424 1693#: plugins/check_http.c:1569 plugins/check_http.c:1575
1562msgid "" 1694msgid ""
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"
1565msgstr "" 1697msgstr ""
1566 1698
1567#: plugins/check_http.c:1425 1699#: plugins/check_http.c:1570
1568msgid "" 1700msgid ""
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"
1570msgstr "" 1702msgstr ""
1571 1703
1572#: plugins/check_http.c:1426 1704#: plugins/check_http.c:1571
1573msgid "the certificate is expired." 1705msgid "the certificate is expired."
1574msgstr "le certificat est expiré." 1706msgstr "le certificat est expiré."
1575 1707
1708#: plugins/check_http.c:1574
1709msgid ""
1710"When the certificate of 'www.verisign.com' is valid for more than 30 days,"
1711msgstr ""
1712
1713#: plugins/check_http.c:1576
1714msgid "30 days, but more than 14 days, a STATE_WARNING is returned."
1715msgstr ""
1716
1717#: plugins/check_http.c:1577
1718msgid ""
1719"A STATE_CRITICAL will be returned when certificate expires in less than 14 "
1720"days"
1721msgstr ""
1722
1576#: plugins/check_ldap.c:133 1723#: plugins/check_ldap.c:133
1577#, c-format 1724#, c-format
1578msgid "Could not connect to the server at port %i\n" 1725msgid "Could not connect to the server at port %i\n"
@@ -1619,81 +1766,77 @@ msgstr "Impossible de chercher/trouver les objectclasses dans %s\n"
1619msgid "LDAP %s - %.3f seconds response time|%s\n" 1766msgid "LDAP %s - %.3f seconds response time|%s\n"
1620msgstr "LDAP %s - %.3f secondes de temps de réponse|%s\n" 1767msgstr "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
1624msgid "%s cannot be combined with %s" 1771msgid "%s cannot be combined with %s"
1625msgstr "" 1772msgstr ""
1626 1773
1627#: plugins/check_ldap.c:352 plugins/check_ping.c:246 1774#: plugins/check_ldap.c:379
1628msgid "IPv6 support not available\n"
1629msgstr "Support IPv6 non disponible\n"
1630
1631#: plugins/check_ldap.c:375
1632msgid "Please specify the host name\n" 1775msgid "Please specify the host name\n"
1633msgstr "Veuillez spécifier le nom de l'hôte\n" 1776msgstr "Veuillez spécifier le nom de l'hôte\n"
1634 1777
1635#: plugins/check_ldap.c:378 1778#: plugins/check_ldap.c:382
1636msgid "Please specify the LDAP base\n" 1779msgid "Please specify the LDAP base\n"
1637msgstr "Veuillez spécifier la base LDAP\n" 1780msgstr "Veuillez spécifier la base LDAP\n"
1638 1781
1639#: plugins/check_ldap.c:407 1782#: plugins/check_ldap.c:411
1640msgid "ldap attribute to search (default: \"(objectclass=*)\"" 1783msgid "ldap attribute to search (default: \"(objectclass=*)\""
1641msgstr "" 1784msgstr ""
1642 1785
1643#: plugins/check_ldap.c:409 1786#: plugins/check_ldap.c:413
1644msgid "ldap base (eg. ou=my unit, o=my org, c=at" 1787msgid "ldap base (eg. ou=my unit, o=my org, c=at"
1645msgstr "" 1788msgstr ""
1646 1789
1647#: plugins/check_ldap.c:411 1790#: plugins/check_ldap.c:415
1648msgid "ldap bind DN (if required)" 1791msgid "ldap bind DN (if required)"
1649msgstr "" 1792msgstr ""
1650 1793
1651#: plugins/check_ldap.c:413 1794#: plugins/check_ldap.c:417
1652msgid "ldap password (if required)" 1795msgid "ldap password (if required)"
1653msgstr "" 1796msgstr ""
1654 1797
1655#: plugins/check_ldap.c:415 1798#: plugins/check_ldap.c:419
1656msgid "use starttls mechanism introduced in protocol version 3" 1799msgid "use starttls mechanism introduced in protocol version 3"
1657msgstr "utiliser le fonctionnement starttls du protocole version 3" 1800msgstr "utiliser le fonctionnement starttls du protocole version 3"
1658 1801
1659#: plugins/check_ldap.c:417 1802#: plugins/check_ldap.c:421
1660msgid "use ldaps (ldap v2 ssl method). this also sets the default port to" 1803msgid "use ldaps (ldap v2 ssl method). this also sets the default port to"
1661msgstr "" 1804msgstr ""
1662 1805
1663#: plugins/check_ldap.c:421 1806#: plugins/check_ldap.c:425
1664msgid "use ldap protocol version 2" 1807msgid "use ldap protocol version 2"
1665msgstr "utiliser le protocole ldap version 2" 1808msgstr "utiliser le protocole ldap version 2"
1666 1809
1667#: plugins/check_ldap.c:423 1810#: plugins/check_ldap.c:427
1668msgid "use ldap protocol version 3" 1811msgid "use ldap protocol version 3"
1669msgstr "utiliser le protocole ldap version 3" 1812msgstr "utiliser le protocole ldap version 3"
1670 1813
1671#: plugins/check_ldap.c:424 1814#: plugins/check_ldap.c:428
1672msgid "default protocol version:" 1815msgid "default protocol version:"
1673msgstr "version du protocole par défaut:" 1816msgstr "version du protocole par défaut:"
1674 1817
1675#: plugins/check_ldap.c:435 1818#: plugins/check_ldap.c:439
1676msgid "If this plugin is called via 'check_ldaps', method 'STARTTLS' will be" 1819msgid "If this plugin is called via 'check_ldaps', method 'STARTTLS' will be"
1677msgstr "" 1820msgstr ""
1678 1821
1679#: plugins/check_ldap.c:436 1822#: plugins/check_ldap.c:440
1680#, c-format 1823#, c-format
1681msgid "" 1824msgid ""
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"
1684msgstr "" 1827msgstr ""
1685 1828
1686#: plugins/check_ldap.c:437 1829#: plugins/check_ldap.c:441
1687msgid "'SSL on connect' will be used no matter how the plugin was called." 1830msgid "'SSL on connect' will be used no matter how the plugin was called."
1688msgstr "" 1831msgstr ""
1689 1832
1690#: plugins/check_ldap.c:438 1833#: plugins/check_ldap.c:442
1691msgid "" 1834msgid ""
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"
1694msgstr "" 1837msgstr ""
1695 1838
1696#: plugins/check_ldap.c:439 1839#: plugins/check_ldap.c:443
1697msgid "to define the behaviour explicitly instead." 1840msgid "to define the behaviour explicitly instead."
1698msgstr "" 1841msgstr ""
1699 1842
@@ -1706,41 +1849,46 @@ msgstr "Le seuil d'alerte doit être un nombre à virgule flottante!\n"
1706msgid "Error opening %s\n" 1849msgid "Error opening %s\n"
1707msgstr "Erreur à l'ouverture de %s\n" 1850msgstr "Erreur à l'ouverture de %s\n"
1708 1851
1709#: plugins/check_load.c:160 1852#: plugins/check_load.c:163
1853#, fuzzy, c-format
1854msgid "could not parse load from uptime: %s\n"
1855msgstr "Lecture des arguments impossible\n"
1856
1857#: plugins/check_load.c:169
1710#, c-format 1858#, c-format
1711msgid "Error code %d returned in %s\n" 1859msgid "Error code %d returned in %s\n"
1712msgstr "Le code erreur %d à été retourné par %s\n" 1860msgstr "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
1716msgid "Error in getloadavg()\n" 1864msgid "Error in getloadavg()\n"
1717msgstr "Erreur dans la fonction getloadavg()\n" 1865msgstr "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
1721msgid "Error processing %s\n" 1869msgid "Error processing %s\n"
1722msgstr "Erreur lors de l'utilisation de %s\n" 1870msgstr "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
1726msgid "load average: %.2f, %.2f, %.2f" 1874msgid "load average: %.2f, %.2f, %.2f"
1727msgstr "Charge moyenne: %.2f, %.2f, %.2f" 1875msgstr "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
1731msgid "Critical threshold for %d-minute load average is not specified\n" 1879msgid "Critical threshold for %d-minute load average is not specified\n"
1732msgstr "" 1880msgstr ""
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
1738msgid "Warning threshold for %d-minute load average is not specified\n" 1886msgid "Warning threshold for %d-minute load average is not specified\n"
1739msgstr "" 1887msgstr ""
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
1745msgid "" 1893msgid ""
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
1754msgid "This plugin tests the current system load average." 1902msgid "This plugin tests the current system load average."
1755msgstr "Ce plugin teste la charge système actuelle." 1903msgstr "Ce plugin teste la charge système actuelle."
1756 1904
1757#: plugins/check_load.c:312 1905#: plugins/check_load.c:321
1758msgid "Exit with WARNING status if load average exceeds WLOADn" 1906msgid "Exit with WARNING status if load average exceeds WLOADn"
1759msgstr "" 1907msgstr ""
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
1763msgid "Exit with CRITICAL status if load average exceed CLOADn" 1911msgid "Exit with CRITICAL status if load average exceed CLOADn"
1764msgstr "Sortir avec un résultat CRITIQUE si la charge moyenne excède CLOAD" 1912msgstr "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
1767msgid "the load average format is the same used by \"uptime\" and \"w\"" 1915msgid "the load average format is the same used by \"uptime\" and \"w\""
1768msgstr "" 1916msgstr ""
1769 1917
1770#: plugins/check_load.c:317 1918#: plugins/check_load.c:326
1771msgid "Divide the load averages by the number of CPUs (when possible)" 1919msgid "Divide the load averages by the number of CPUs (when possible)"
1772msgstr "" 1920msgstr ""
1773 1921
@@ -1902,7 +2050,7 @@ msgstr ""
1902 2050
1903#: plugins/check_mrtg.c:359 2051#: plugins/check_mrtg.c:359
1904msgid "" 2052msgid ""
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"
1906msgstr "" 2054msgstr ""
1907 2055
1908#: plugins/check_mrtg.c:360 2056#: plugins/check_mrtg.c:360
@@ -2033,96 +2181,133 @@ msgstr ""
2033msgid "Usage" 2181msgid "Usage"
2034msgstr "Utilisation" 2182msgstr "Utilisation"
2035 2183
2036#: plugins/check_mysql.c:126 2184#: plugins/check_mysql.c:171
2185#, fuzzy, c-format
2186msgid "status store_result error: %s\n"
2187msgstr "erreur slave store_result: %s\n"
2188
2189#: plugins/check_mysql.c:202
2037#, c-format 2190#, c-format
2038msgid "slave query error: %s\n" 2191msgid "slave query error: %s\n"
2039msgstr "erreur de requête de l'esclave: %s\n" 2192msgstr "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
2043msgid "slave store_result error: %s\n" 2196msgid "slave store_result error: %s\n"
2044msgstr "erreur slave store_result: %s\n" 2197msgstr "erreur slave store_result: %s\n"
2045 2198
2046#: plugins/check_mysql.c:139 2199#: plugins/check_mysql.c:215
2047msgid "No slaves defined" 2200msgid "No slaves defined"
2048msgstr "Pas d'esclave spécifié" 2201msgstr "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
2052msgid "slave fetch row error: %s\n" 2205msgid "slave fetch row error: %s\n"
2053msgstr "erreur esclave lecture d'une ligne: %s\n" 2206msgstr "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
2057msgid "Slave running: %s" 2210msgid "Slave running: %s"
2058msgstr "L'esclave fonctionne: %s" 2211msgstr "L'esclave fonctionne: %s"
2059 2212
2060#: plugins/check_mysql.c:378 2213#: plugins/check_mysql.c:505
2061msgid "This program tests connections to a MySQL server" 2214msgid "This program tests connections to a MySQL server"
2062msgstr "Ce plugin teste une connexion vers un serveur MySQL" 2215msgstr "Ce plugin teste une connexion vers un serveur MySQL"
2063 2216
2064#: plugins/check_mysql.c:389 2217#: plugins/check_mysql.c:516
2065msgid "Use the specified socket (has no effect if -H is used)" 2218msgid "Use the specified socket (has no effect if -H is used)"
2066msgstr "" 2219msgstr ""
2067 2220
2068#: plugins/check_mysql.c:392 2221#: plugins/check_mysql.c:519
2069msgid "Check database with indicated name" 2222msgid "Check database with indicated name"
2070msgstr "" 2223msgstr ""
2071 2224
2072#: plugins/check_mysql.c:394 2225#: plugins/check_mysql.c:521
2226msgid "Read from the specified client options file"
2227msgstr ""
2228
2229#: plugins/check_mysql.c:523
2230msgid "Use a client options group"
2231msgstr ""
2232
2233#: plugins/check_mysql.c:525
2073msgid "Connect using the indicated username" 2234msgid "Connect using the indicated username"
2074msgstr "" 2235msgstr ""
2075 2236
2076#: plugins/check_mysql.c:396 2237#: plugins/check_mysql.c:527
2077msgid "Use the indicated password to authenticate the connection" 2238msgid "Use the indicated password to authenticate the connection"
2078msgstr "" 2239msgstr ""
2079 2240
2080#: plugins/check_mysql.c:397 2241#: plugins/check_mysql.c:528
2081msgid "IMPORTANT: THIS FORM OF AUTHENTICATION IS NOT SECURE!!!" 2242msgid "IMPORTANT: THIS FORM OF AUTHENTICATION IS NOT SECURE!!!"
2082msgstr "" 2243msgstr ""
2083 2244
2084#: plugins/check_mysql.c:398 2245#: plugins/check_mysql.c:529
2085msgid "Your clear-text password could be visible as a process table entry" 2246msgid "Your clear-text password could be visible as a process table entry"
2086msgstr "" 2247msgstr ""
2087 2248
2088#: plugins/check_mysql.c:400 2249#: plugins/check_mysql.c:531
2089msgid "Check if the slave thread is running properly." 2250msgid "Check if the slave thread is running properly."
2090msgstr "" 2251msgstr ""
2091 2252
2092#: plugins/check_mysql.c:402 2253#: plugins/check_mysql.c:533
2093msgid "Exit with WARNING status if slave server is more than INTEGER seconds" 2254msgid "Exit with WARNING status if slave server is more than INTEGER seconds"
2094msgstr "" 2255msgstr ""
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
2098msgid "behind master" 2259msgid "behind master"
2099msgstr "secondes en retard sur le maître" 2260msgstr "secondes en retard sur le maître"
2100 2261
2101#: plugins/check_mysql.c:405 2262#: plugins/check_mysql.c:536
2102msgid "Exit with CRITICAL status if slave server is more then INTEGER seconds" 2263msgid "Exit with CRITICAL status if slave server is more then INTEGER seconds"
2103msgstr "Sortir avec un résultat CRITIQUE si le serveur esclave est plus de X " 2264msgstr "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
2267msgid "Use ssl encryptation"
2268msgstr ""
2269
2270#: plugins/check_mysql.c:541
2271msgid "Path to CA signing the cert"
2272msgstr ""
2273
2274#: plugins/check_mysql.c:543
2275msgid "Path to SSL certificate"
2276msgstr ""
2277
2278#: plugins/check_mysql.c:545
2279msgid "Path to private SSL key"
2280msgstr ""
2281
2282#: plugins/check_mysql.c:547
2283msgid "Path to CA directory"
2284msgstr ""
2285
2286#: plugins/check_mysql.c:549
2287msgid "List of valid SSL ciphers"
2288msgstr ""
2289
2290#: plugins/check_mysql.c:553
2106msgid "" 2291msgid ""
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"
2108msgstr "" 2293msgstr ""
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
2113msgid "" 2298msgid ""
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"
2115msgstr "" 2300msgstr ""
2116 2301
2117#: plugins/check_mysql.c:411 2302#: plugins/check_mysql.c:555
2118msgid "IP address or FQDN ('localhost' will use the socket as well)." 2303msgid "IP address or FQDN ('localhost' will use the socket as well)."
2119msgstr "" 2304msgstr ""
2120 2305
2121#: plugins/check_mysql.c:415 2306#: plugins/check_mysql.c:559
2122msgid "You must specify -p with an empty string to force an empty password," 2307msgid "You must specify -p with an empty string to force an empty password,"
2123msgstr "" 2308msgstr ""
2124 2309
2125#: plugins/check_mysql.c:416 2310#: plugins/check_mysql.c:560
2126msgid "overriding any my.cnf settings." 2311msgid "overriding any my.cnf settings."
2127msgstr "" 2312msgstr ""
2128 2313
@@ -2144,7 +2329,7 @@ msgid "Cannot parse Nagios log file for valid time"
2144msgstr "" 2329msgstr ""
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
2149msgid "%d process" 2334msgid "%d process"
2150msgid_plural "%d processes" 2335msgid_plural "%d processes"
@@ -2158,109 +2343,123 @@ msgid_plural "status log updated %d seconds ago"
2158msgstr[0] "status log mis à jour %d secondes auparavant" 2343msgstr[0] "status log mis à jour %d secondes auparavant"
2159msgstr[1] "status log mis à jour %d secondes auparavant" 2344msgstr[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
2162msgid "Expiration time must be an integer (seconds)\n" 2347msgid "Expiration time must be an integer (seconds)\n"
2163msgstr "Le délai d'expiration doit être un entier (en secondes)\n" 2348msgstr "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
2352msgid "Timeout must be an integer (seconds)\n"
2353msgstr "Le délai d'expiration doit être un entier (en secondes)\n"
2354
2355#: plugins/check_nagios.c:272
2166msgid "You must provide the status_log\n" 2356msgid "You must provide the status_log\n"
2167msgstr "Vous devez fournir le status_log\n" 2357msgstr "Vous devez fournir le status_log\n"
2168 2358
2169#: plugins/check_nagios.c:267 2359#: plugins/check_nagios.c:275
2170msgid "You must provide a process string\n" 2360msgid "You must provide a process string\n"
2171msgstr "Vous devez fournir un nom de processus\n" 2361msgstr "Vous devez fournir un nom de processus\n"
2172 2362
2173#: plugins/check_nagios.c:281 2363#: plugins/check_nagios.c:289
2174msgid "" 2364msgid ""
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"
2176msgstr "Ce plugin vérifie l'état du processus Nagios sur la machine locale." 2366msgstr "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
2179msgid "" 2369msgid ""
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"
2181msgstr "Ce plugin vérifie que le status log de Nagios n'est pas plus vieux que" 2371msgstr "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
2184msgid "the number of minutes specified by the expires option." 2374msgid "the number of minutes specified by the expires option."
2185msgstr "le nombre de minutes spécifies par l'option expire." 2375msgstr "le nombre de minutes spécifies par l'option expire."
2186 2376
2187#: plugins/check_nagios.c:284 2377#: plugins/check_nagios.c:292
2188msgid "" 2378msgid ""
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."
2190msgstr "" 2380msgstr ""
2191 2381
2192#: plugins/check_nagios.c:294 2382#: plugins/check_nagios.c:302
2193msgid "Name of the log file to check" 2383msgid "Name of the log file to check"
2194msgstr "Nom du fichier log à vérifier" 2384msgstr "Nom du fichier log à vérifier"
2195 2385
2196#: plugins/check_nagios.c:296 2386#: plugins/check_nagios.c:304
2197msgid "Minutes aging after which logfile is considered stale" 2387msgid "Minutes aging after which logfile is considered stale"
2198msgstr "" 2388msgstr ""
2199 2389
2200#: plugins/check_nagios.c:298 2390#: plugins/check_nagios.c:306
2201msgid "Substring to search for in process arguments" 2391msgid "Substring to search for in process arguments"
2202msgstr "" 2392msgstr ""
2203 2393
2204#: plugins/check_nt.c:141 2394#: plugins/check_nagios.c:308
2395msgid "Timeout for the plugin in seconds"
2396msgstr ""
2397
2398#: plugins/check_nt.c:142
2205#, c-format 2399#, c-format
2206msgid "Wrong client version - running: %s, required: %s" 2400msgid "Wrong client version - running: %s, required: %s"
2207msgstr "Mauvaise version du client utilisée: %s, nécessaire: %s" 2401msgstr "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
2210msgid "missing -l parameters" 2404msgid "missing -l parameters"
2211msgstr "Arguments -l manquants" 2405msgstr "Arguments -l manquants"
2212 2406
2213#: plugins/check_nt.c:154 2407#: plugins/check_nt.c:155
2214msgid "wrong -l parameter." 2408msgid "wrong -l parameter."
2215msgstr "Arguments -l erronés." 2409msgstr "Arguments -l erronés."
2216 2410
2217#: plugins/check_nt.c:158 2411#: plugins/check_nt.c:159
2218msgid "CPU Load" 2412msgid "CPU Load"
2219msgstr "Charge CPU" 2413msgstr "Charge CPU"
2220 2414
2221#: plugins/check_nt.c:181 2415#: plugins/check_nt.c:182
2222#, c-format 2416#, c-format
2223msgid " %lu%% (%lu min average)" 2417msgid " %lu%% (%lu min average)"
2224msgstr " %lu%% (%lu moyenne minimale)" 2418msgstr " %lu%% (%lu moyenne minimale)"
2225 2419
2226#: plugins/check_nt.c:183 2420#: plugins/check_nt.c:184
2227#, c-format 2421#, c-format
2228msgid " '%lu min avg Load'=%lu%%;%lu;%lu;0;100" 2422msgid " '%lu min avg Load'=%lu%%;%lu;%lu;0;100"
2229msgstr " '%lu Charge moyenne minimale'=%lu%%;%lu;%lu;0;100" 2423msgstr " '%lu Charge moyenne minimale'=%lu%%;%lu;%lu;0;100"
2230 2424
2231#: plugins/check_nt.c:193 2425#: plugins/check_nt.c:194
2232msgid "not enough values for -l parameters" 2426msgid "not enough values for -l parameters"
2233msgstr "pas assez de valeur pour l'argument -l" 2427msgstr "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
2237msgid "System Uptime - %u day(s) %u hour(s) %u minute(s)" 2431msgid "System Uptime - %u day(s) %u hour(s) %u minute(s)"
2238msgstr "Système démarré - %u jour(s) %u heure(s) %u minute(s)" 2432msgstr "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
2241msgid "wrong -l argument" 2435msgid "wrong -l argument"
2242msgstr "Argument -l erroné" 2436msgstr "Argument -l erroné"
2243 2437
2244#: plugins/check_nt.c:230 2438#: plugins/check_nt.c:236
2245#, c-format 2439#, c-format
2246msgid "%s:\\ - total: %.2f Gb - used: %.2f Gb (%.0f%%) - free %.2f Gb (%.0f%%)" 2440msgid "%s:\\ - total: %.2f Gb - used: %.2f Gb (%.0f%%) - free %.2f Gb (%.0f%%)"
2247msgstr "" 2441msgstr ""
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
2252msgid "'%s:\\ Used Space'=%.2fGb;%.2f;%.2f;0.00;%.2f" 2446msgid "'%s:\\ Used Space'=%.2fGb;%.2f;%.2f;0.00;%.2f"
2253msgstr "'%s:\\ Espace Utilisé'=%.2fGb;%.2f;%.2f;0.00;%.2f" 2447msgstr "'%s:\\ Espace Utilisé'=%.2fGb;%.2f;%.2f;0.00;%.2f"
2254 2448
2255#: plugins/check_nt.c:247 2449#: plugins/check_nt.c:253
2256msgid "Free disk space : Invalid drive" 2450msgid "Free disk space : Invalid drive"
2257msgstr "Espace disque libre : Lecteur invalide" 2451msgstr "Espace disque libre : Lecteur invalide"
2258 2452
2259#: plugins/check_nt.c:257 2453#: plugins/check_nt.c:263
2260msgid "No service/process specified" 2454msgid "No service/process specified"
2261msgstr "Pas de service/processus spécifié" 2455msgstr "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
2459msgid "could not fetch information from server\n"
2460msgstr "Impossible d'obtenir l'information depuis le serveur\n"
2461
2462#: plugins/check_nt.c:296
2264#, c-format 2463#, c-format
2265msgid "" 2464msgid ""
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
2273msgid "'Memory usage'=%.2fMb;%.2f;%.2f;0.00;%.2f" 2472msgid "'Memory usage'=%.2fMb;%.2f;%.2f;0.00;%.2f"
2274msgstr "'Mémoire utilisée'=%.2fMb;%.2f;%.2f;0.00;%.2f" 2473msgstr "'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
2277msgid "No counter specified" 2476msgid "No counter specified"
2278msgstr "Pas de compteur spécifié" 2477msgstr "Pas de compteur spécifié"
2279 2478
2280#: plugins/check_nt.c:352 2479#: plugins/check_nt.c:367
2281msgid "Minimum value contains non-numbers" 2480msgid "Minimum value contains non-numbers"
2282msgstr "La valeur minimum contient des caractères non numériques" 2481msgstr "La valeur minimum contient des caractères non numériques"
2283 2482
2284#: plugins/check_nt.c:356 2483#: plugins/check_nt.c:371
2285msgid "Maximum value contains non-numbers" 2484msgid "Maximum value contains non-numbers"
2286msgstr "La valeur maximum contient des caractères non numériques" 2485msgstr "La valeur maximum contient des caractères non numériques"
2287 2486
2288#: plugins/check_nt.c:363 2487#: plugins/check_nt.c:378
2289msgid "No unit counter specified" 2488msgid "No unit counter specified"
2290msgstr "Pas de compteur spécifié" 2489msgstr "Pas de compteur spécifié"
2291 2490
2292#: plugins/check_nt.c:450 2491#: plugins/check_nt.c:465
2293msgid "Please specify a variable to check" 2492msgid "Please specify a variable to check"
2294msgstr "Veuillez préciser une variable a vérifier" 2493msgstr "Veuillez préciser une variable a vérifier"
2295 2494
2296#: plugins/check_nt.c:534 2495#: plugins/check_nt.c:549
2297msgid "Server port must be an integer\n" 2496msgid "Server port must be an integer\n"
2298msgstr "Le port du serveur doit être un nombre entier\n" 2497msgstr "Le port du serveur doit être un nombre entier\n"
2299 2498
2300#: plugins/check_nt.c:588 2499#: plugins/check_nt.c:603
2301msgid "You must provide a server address or host name" 2500msgid "You must provide a server address or host name"
2302msgstr "Vous devez spécifier une adresse ou un nom d'hôte" 2501msgstr "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
2305msgid "None" 2504msgid "None"
2306msgstr "Aucun" 2505msgstr "Aucun"
2307 2506
2308#: plugins/check_nt.c:607 2507#: plugins/check_nt.c:666
2309msgid "could not fetch information from server\n"
2310msgstr "Impossible d'obtenir l'information depuis le serveur\n"
2311
2312#: plugins/check_nt.c:651
2313msgid "This plugin collects data from the NSClient service running on a" 2508msgid "This plugin collects data from the NSClient service running on a"
2314msgstr "" 2509msgstr ""
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
2318msgid "Windows NT/2000/XP/2003 server." 2513msgid "Windows NT/2000/XP/2003 server."
2319msgstr "Serveur Windows NT/2000/XP/2003." 2514msgstr "Serveur Windows NT/2000/XP/2003."
2320 2515
2321#: plugins/check_nt.c:663 2516#: plugins/check_nt.c:678
2322msgid "Name of the host to check" 2517msgid "Name of the host to check"
2323msgstr "Nom de l'hôte à vérifier" 2518msgstr "Nom de l'hôte à vérifier"
2324 2519
2325#: plugins/check_nt.c:665 2520#: plugins/check_nt.c:680
2326msgid "Optional port number (default: " 2521msgid "Optional port number (default: "
2327msgstr "Numéro de port optionnel (défaut: " 2522msgstr "Numéro de port optionnel (défaut: "
2328 2523
2329#: plugins/check_nt.c:668 2524#: plugins/check_nt.c:683
2330msgid "Password needed for the request" 2525msgid "Password needed for the request"
2331msgstr "Mot de passe nécessaire pour la requête" 2526msgstr "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
2335msgid "Threshold which will result in a warning status" 2530msgid "Threshold which will result in a warning status"
2336msgstr "" 2531msgstr ""
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
2340msgid "Threshold which will result in a critical status" 2535msgid "Threshold which will result in a critical status"
2341msgstr "" 2536msgstr ""
2342 2537
2343#: plugins/check_nt.c:674 2538#: plugins/check_nt.c:689
2344msgid "Seconds before connection attempt times out (default: " 2539msgid "Seconds before connection attempt times out (default: "
2345msgstr "" 2540msgstr ""
2346 2541
2347#: plugins/check_nt.c:676 2542#: plugins/check_nt.c:691
2348msgid "Parameters passed to specified check (see below)" 2543msgid "Parameters passed to specified check (see below)"
2349msgstr "" 2544msgstr ""
2350 2545
2351#: plugins/check_nt.c:678 2546#: plugins/check_nt.c:693
2352msgid "Display options (currently only SHOWALL works)" 2547msgid "Display options (currently only SHOWALL works)"
2353msgstr "" 2548msgstr ""
2354 2549
2355#: plugins/check_nt.c:680 2550#: plugins/check_nt.c:695
2356msgid "Return UNKNOWN on timeouts" 2551msgid "Return UNKNOWN on timeouts"
2357msgstr "" 2552msgstr ""
2358 2553
2359#: plugins/check_nt.c:683 2554#: plugins/check_nt.c:698
2360msgid "Print this help screen" 2555msgid "Print this help screen"
2361msgstr "Afficher l'écran d'aide" 2556msgstr "Afficher l'écran d'aide"
2362 2557
2363#: plugins/check_nt.c:685 2558#: plugins/check_nt.c:700
2364msgid "Print version information" 2559msgid "Print version information"
2365msgstr "Afficher la version" 2560msgstr "Afficher la version"
2366 2561
2367#: plugins/check_nt.c:687 2562#: plugins/check_nt.c:702
2368msgid "Variable to check" 2563msgid "Variable to check"
2369msgstr "Variable a vérifier" 2564msgstr "Variable a vérifier"
2370 2565
2371#: plugins/check_nt.c:688 2566#: plugins/check_nt.c:703
2372msgid "Valid variables are:" 2567msgid "Valid variables are:"
2373msgstr "Les variables valides sont" 2568msgstr "Les variables valides sont"
2374 2569
2375#: plugins/check_nt.c:690 2570#: plugins/check_nt.c:705
2376msgid "Get the NSClient version" 2571msgid "Get the NSClient version"
2377msgstr "Obtenir la version de NSClient" 2572msgstr "Obtenir la version de NSClient"
2378 2573
2379#: plugins/check_nt.c:691 2574#: plugins/check_nt.c:706
2380msgid "If -l <version> is specified, will return warning if versions differ." 2575msgid "If -l <version> is specified, will return warning if versions differ."
2381msgstr "" 2576msgstr ""
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
2386msgid "Average CPU load on last x minutes." 2581msgid "Average CPU load on last x minutes."
2387msgstr "Moyenne de la charge CPU sur les dernières x minutes." 2582msgstr "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
2390msgid "Request a -l parameter with the following syntax:" 2585msgid "Request a -l parameter with the following syntax:"
2391msgstr "Demande un paramètre -l avec la syntaxe suivante:" 2586msgstr "Demande un paramètre -l avec la syntaxe suivante:"
2392 2587
2393#: plugins/check_nt.c:695 2588#: plugins/check_nt.c:710
2394msgid "-l <minutes range>,<warning threshold>,<critical threshold>." 2589msgid "-l <minutes range>,<warning threshold>,<critical threshold>."
2395msgstr "-l <plage de minutes>,<seuil d'avertissement>,<seuil critique>." 2590msgstr "-l <plage de minutes>,<seuil d'avertissement>,<seuil critique>."
2396 2591
2397#: plugins/check_nt.c:696 2592#: plugins/check_nt.c:711
2398msgid "<minute range> should be less than 24*60." 2593msgid "<minute range> should be less than 24*60."
2399msgstr "<plage de minutes> devrait être inférieur à 24*60." 2594msgstr "<plage de minutes> devrait être inférieur à 24*60."
2400 2595
2401#: plugins/check_nt.c:697 2596#: plugins/check_nt.c:712
2402msgid "" 2597msgid ""
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."
2404msgstr "" 2599msgstr ""
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
2409msgid "Get the uptime of the machine." 2604msgid "Get the uptime of the machine."
2410msgstr "Obtenir le temps de service de la machine." 2605msgstr "Obtenir le temps de service de la machine."
2411 2606
2412#: plugins/check_nt.c:701 2607#: plugins/check_nt.c:716
2413msgid "No specific parameters. No warning or critical threshold" 2608msgid "No specific parameters. No warning or critical threshold"
2414msgstr "Pas d'argument spécifique. Pas de seuil d'avertissement ou critique" 2609msgstr "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
2417msgid "Size and percentage of disk use." 2612msgid "Size and percentage of disk use."
2418msgstr "Taille et pourcentage de l'utilisation disque." 2613msgstr "Taille et pourcentage de l'utilisation disque."
2419 2614
2420#: plugins/check_nt.c:704 2615#: plugins/check_nt.c:719
2421msgid "Request a -l parameter containing the drive letter only." 2616msgid "Request a -l parameter containing the drive letter only."
2422msgstr "Demande un paramètre -l contennant uniquement la lettre du lecteur." 2617msgstr "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
2425msgid "Warning and critical thresholds can be specified with -w and -c." 2620msgid "Warning and critical thresholds can be specified with -w and -c."
2426msgstr "Les seuils d'alerte et critiques peuvent être spécifiés avec -w et -c." 2621msgstr "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
2429msgid "Memory use." 2624msgid "Memory use."
2430msgstr "Mémoire utilisée." 2625msgstr "Mémoire utilisée."
2431 2626
2432#: plugins/check_nt.c:710 2627#: plugins/check_nt.c:725
2433msgid "Check the state of one or several services." 2628msgid "Check the state of one or several services."
2434msgstr "Vérifier l'état d'un ou plusieurs services." 2629msgstr "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
2437msgid "Request a -l parameters with the following syntax:" 2632msgid "Request a -l parameters with the following syntax:"
2438msgstr "Demande un paramètre -l avec la syntaxe suivante:" 2633msgstr "Demande un paramètre -l avec la syntaxe suivante:"
2439 2634
2440#: plugins/check_nt.c:712 2635#: plugins/check_nt.c:727
2441msgid "-l <service1>,<service2>,<service3>,..." 2636msgid "-l <service1>,<service2>,<service3>,..."
2442msgstr "-l <service1>,<service2>,<service3>,..." 2637msgstr "-l <service1>,<service2>,<service3>,..."
2443 2638
2444#: plugins/check_nt.c:713 2639#: plugins/check_nt.c:728
2445msgid "You can specify -d SHOWALL in case you want to see working services" 2640msgid "You can specify -d SHOWALL in case you want to see working services"
2446msgstr "Vous pouvez spécifier -d SHOWALL pour voir les services fonctionnant" 2641msgstr "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
2449msgid "in the returned string." 2644msgid "in the returned string."
2450msgstr "dans la chaîne de caractère renvoyée." 2645msgstr "dans la chaîne de caractère renvoyée."
2451 2646
2452#: plugins/check_nt.c:716 2647#: plugins/check_nt.c:731
2453msgid "Check if one or several process are running." 2648msgid "Check if one or several process are running."
2454msgstr "Vérifie si un ou plusieurs processus sont démarrés." 2649msgstr "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
2457msgid "Same syntax as SERVICESTATE." 2652msgid "Same syntax as SERVICESTATE."
2458msgstr "Même syntaxe que SERVICESTATE." 2653msgstr "Même syntaxe que SERVICESTATE."
2459 2654
2460#: plugins/check_nt.c:719 2655#: plugins/check_nt.c:734
2461msgid "Check any performance counter of Windows NT/2000." 2656msgid "Check any performance counter of Windows NT/2000."
2462msgstr "Vérifier n'importe quel compteur de performance sur Windows NT/2000." 2657msgstr "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
2465msgid "-l \"\\\\<performance object>\\\\counter\",\"<description>" 2660msgid "-l \"\\\\<performance object>\\\\counter\",\"<description>"
2466msgstr "-l \"\\\\<catégorie>\\\\compteur\",\"<description>" 2661msgstr "-l \"\\\\<catégorie>\\\\compteur\",\"<description>"
2467 2662
2468#: plugins/check_nt.c:722 2663#: plugins/check_nt.c:737
2469msgid "The <description> parameter is optional and is given to a printf " 2664msgid "The <description> parameter is optional and is given to a printf "
2470msgstr "Le paramètre <description> est optionnel et est passé à la fonction " 2665msgstr "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
2473msgid "output command which requires a float parameter." 2668msgid "output command which requires a float parameter."
2474msgstr "de sortie printf qui demande un paramètre de type float." 2669msgstr "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
2478msgid "If <description> does not include \"%%\", it is used as a label." 2673msgid "If <description> does not include \"%%\", it is used as a label."
2479msgstr "Si <description> n'inclus pas \"%%\", il est utilisé comme étiquette." 2674msgstr "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
2482msgid "Some examples:" 2677msgid "Some examples:"
2483msgstr "Exemples:" 2678msgstr "Exemples:"
2484 2679
2485#: plugins/check_nt.c:729 2680#: plugins/check_nt.c:744
2486msgid "Check any performance counter object of Windows NT/2000." 2681msgid "Check any performance counter object of Windows NT/2000."
2487msgstr "Vérifie n'importe quel compteur de performance de Windows NT/2000." 2682msgstr "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
2490msgid "" 2685msgid ""
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>"
2492msgstr "" 2687msgstr ""
2493 2688
2494#: plugins/check_nt.c:731 2689#: plugins/check_nt.c:746
2495msgid "<counter object> is a Windows Perfmon Counter object (eg. Process)," 2690msgid "<counter object> is a Windows Perfmon Counter object (eg. Process),"
2496msgstr "" 2691msgstr ""
2497 2692
2498#: plugins/check_nt.c:732 2693#: plugins/check_nt.c:747
2499msgid "if it is two words, it should be enclosed in quotes" 2694msgid "if it is two words, it should be enclosed in quotes"
2500msgstr "" 2695msgstr ""
2501 2696
2502#: plugins/check_nt.c:733 2697#: plugins/check_nt.c:748
2503msgid "The returned results will be a comma-separated list of instances on " 2698msgid "The returned results will be a comma-separated list of instances on "
2504msgstr "" 2699msgstr ""
2505 2700
2506#: plugins/check_nt.c:734 2701#: plugins/check_nt.c:749
2507msgid " the selected computer for that object." 2702msgid " the selected computer for that object."
2508msgstr "" 2703msgstr ""
2509 2704
2510#: plugins/check_nt.c:735 2705#: plugins/check_nt.c:750
2511msgid "" 2706msgid ""
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"
2514msgstr "" 2709msgstr ""
2515 2710
2516#: plugins/check_nt.c:736 2711#: plugins/check_nt.c:751
2517msgid "" 2712msgid ""
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"
2519msgstr "" 2714msgstr ""
2520 2715
2521#: plugins/check_nt.c:737 2716#: plugins/check_nt.c:752
2522msgid " to run Perfmon directly." 2717msgid " to run Perfmon directly."
2523msgstr "" 2718msgstr ""
2524 2719
2525#: plugins/check_nt.c:738 2720#: plugins/check_nt.c:753
2526msgid "It can also be used in scripts that automatically create Nagios service" 2721msgid ""
2722"It can also be used in scripts that automatically create the monitoring "
2723"service"
2527msgstr "" 2724msgstr ""
2528 2725
2529#: plugins/check_nt.c:739 2726#: plugins/check_nt.c:754
2530msgid " configuration files." 2727msgid " configuration files."
2531msgstr "" 2728msgstr ""
2532 2729
2533#: plugins/check_nt.c:741 2730#: plugins/check_nt.c:756
2534msgid "check_nt -H 192.168.1.1 -p 1248 -v INSTANCES -l Process" 2731msgid "check_nt -H 192.168.1.1 -p 1248 -v INSTANCES -l Process"
2535msgstr "" 2732msgstr ""
2536 2733
2537#: plugins/check_nt.c:744 2734#: plugins/check_nt.c:759
2538msgid "" 2735msgid ""
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"
2540msgstr "" 2737msgstr ""
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
2545msgid "- Critical thresholds should be lower than warning thresholds" 2742msgid "- Critical thresholds should be lower than warning thresholds"
2546msgstr "" 2743msgstr ""
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
2550msgid "- Default port 1248 is sometimes in use by other services. The error" 2747msgid "- Default port 1248 is sometimes in use by other services. The error"
2551msgstr "" 2748msgstr ""
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
2555msgid "" 2752msgid ""
2556"output when this happens contains \"Cannot map xxxxx to protocol number\"." 2753"output when this happens contains \"Cannot map xxxxx to protocol number\"."
2557msgstr "qui en résulte contiens \"Cannot map xxxxx to protocol number\"." 2754msgstr "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
2560msgid "One fix for this is to change the port to something else on check_nt " 2757msgid "One fix for this is to change the port to something else on check_nt "
2561msgstr "" 2758msgstr ""
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
2566msgid "and on the client service it's connecting to." 2763msgid "and on the client service it's connecting to."
2567msgstr "et dans le service auquel il se connecte." 2764msgstr "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
2572msgid "NTP CRITICAL:" 2768msgid "NTP CRITICAL:"
2573msgstr "NTP CRITIQUE:" 2769msgstr "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
2578msgid "NTP WARNING:" 2773msgid "NTP WARNING:"
2579msgstr "NTP AVERTISSEMENT:" 2774msgstr "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
2584msgid "NTP OK:" 2778msgid "NTP OK:"
2585msgstr "NTP OK:" 2779msgstr "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
2590msgid "NTP UNKNOWN:" 2783msgid "NTP UNKNOWN:"
2591msgstr "NTP INCONNU:" 2784msgstr "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
2595msgid "Offset unknown" 2788msgid "Offset unknown"
2596msgstr "Décalage inconnu" 2789msgstr "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
2600msgid "Offset" 2793msgid "Offset"
2601msgstr "Décalage" 2794msgstr "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
2604msgid "This plugin checks the selected ntp server" 2797msgid "This plugin checks the selected ntp server"
2605msgstr "Ce plugin vérifie le service ntp sur l'hôte" 2798msgstr "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
2609msgid "Offset to result in warning status (seconds)" 2802msgid "Offset to result in warning status (seconds)"
2610msgstr "Décalage résultant en un avertissement (secondes)" 2803msgstr "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
2614msgid "Offset to result in critical status (seconds)" 2807msgid "Offset to result in critical status (seconds)"
2615msgstr "Décalage résultant en un état critique (secondes)" 2808msgstr "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
2618msgid "Warning threshold for jitter" 2811msgid "Warning threshold for jitter"
2619msgstr "Seuil d'avertissement pour la variation (jitter)" 2812msgstr "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
2622msgid "Critical threshold for jitter" 2815msgid "Critical threshold for jitter"
2623msgstr "Seuil critique pour la variation (jitter)" 2816msgstr "Seuil critique pour la variation (jitter)"
2624 2817
2625#: plugins/check_ntp.c:865 2818#: plugins/check_ntp.c:870
2626msgid "Normal offset check:" 2819msgid "Normal offset check:"
2627msgstr "Vérification normale du décalage:" 2820msgstr "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
2630msgid "" 2823msgid ""
2631"Check jitter too, avoiding critical notifications if jitter isn't available" 2824"Check jitter too, avoiding critical notifications if jitter isn't available"
2632msgstr "" 2825msgstr ""
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
2637msgid "(See Notes above for more details on thresholds formats):" 2830msgid "(See Notes above for more details on thresholds formats):"
2638msgstr "" 2831msgstr ""
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
2642msgid "WARNING: check_ntp is deprecated. Please use check_ntp_peer or" 2835msgid "WARNING: check_ntp is deprecated. Please use check_ntp_peer or"
2643msgstr "ATTENTION: check_ntp est périmé, utilisez plutôt check_ntp_peer" 2836msgstr "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
2646msgid "check_ntp_time instead." 2839msgid "check_ntp_time instead."
2647msgstr "ou check_ntp_time." 2840msgstr "ou check_ntp_time."
2648 2841
2649#: plugins/check_ntp_peer.c:619 2842#: plugins/check_ntp_peer.c:625
2650msgid "Server not synchronized" 2843msgid "Server not synchronized"
2651msgstr "Le serveur n'est pas synchronisé" 2844msgstr "Le serveur n'est pas synchronisé"
2652 2845
2653#: plugins/check_ntp_peer.c:621 2846#: plugins/check_ntp_peer.c:627
2654msgid "Server has the LI_ALARM bit set" 2847msgid "Server has the LI_ALARM bit set"
2655msgstr "" 2848msgstr ""
2656 2849
2657#: plugins/check_ntp_peer.c:665 2850#: plugins/check_ntp_peer.c:672
2658msgid "" 2851msgid ""
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"
2660msgstr "" 2853msgstr ""
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
2665msgid "Warning threshold for stratum" 2858#, fuzzy
2859msgid "Warning threshold for stratum of server's synchronization peer"
2666msgstr "Seuil d'avertissement pour le stratum" 2860msgstr "Seuil d'avertissement pour le stratum"
2667 2861
2668#: plugins/check_ntp_peer.c:673 2862#: plugins/check_ntp_peer.c:680
2669msgid "Critical threshold for stratum" 2863#, fuzzy
2864msgid "Critical threshold for stratum of server's synchronization peer"
2670msgstr "Seuil critique pour le stratum" 2865msgstr "Seuil critique pour le stratum"
2671 2866
2672#: plugins/check_ntp_peer.c:679 2867#: plugins/check_ntp_peer.c:686
2673msgid "Warning threshold for number of usable time sources (\"truechimers\")" 2868msgid "Warning threshold for number of usable time sources (\"truechimers\")"
2674msgstr "" 2869msgstr ""
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
2679msgid "Critical threshold for number of usable time sources (\"truechimers\")" 2874msgid "Critical threshold for number of usable time sources (\"truechimers\")"
2680msgstr "" 2875msgstr ""
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
2685msgid "This plugin checks an NTP server independent of any commandline" 2880msgid "This plugin checks an NTP server independent of any commandline"
2686msgstr "Ce plugin vérifie un serveur NTP sans recours aux programmes de" 2881msgstr "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
2689msgid "programs or external libraries." 2884msgid "programs or external libraries."
2690msgstr "la ligne de commande ou libraries externes" 2885msgstr "la ligne de commande ou libraries externes"
2691 2886
2692#: plugins/check_ntp_peer.c:690 2887#: plugins/check_ntp_peer.c:697
2693msgid "Use this plugin to check the health of an NTP server. It supports" 2888msgid "Use this plugin to check the health of an NTP server. It supports"
2694msgstr "" 2889msgstr ""
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
2698msgid "checking the offset with the sync peer, the jitter and stratum. This" 2893msgid "checking the offset with the sync peer, the jitter and stratum. This"
2699msgstr "" 2894msgstr ""
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
2704msgid "plugin will not check the clock offset between the local host and NTP" 2899msgid "plugin will not check the clock offset between the local host and NTP"
2705msgstr "" 2900msgstr ""
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
2709msgid "server; please use check_ntp_time for that purpose." 2904msgid "server; please use check_ntp_time for that purpose."
2710msgstr "NTP; utilisez plutôt check_ntp_time à cette fin." 2905msgstr "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
2713msgid "Simple NTP server check:" 2908msgid "Simple NTP server check:"
2714msgstr "Vérification simple du serveur NTP:" 2909msgstr "Vérification simple du serveur NTP:"
2715 2910
2716#: plugins/check_ntp_peer.c:706 2911#: plugins/check_ntp_peer.c:713
2717msgid "Only check the number of usable time sources (\"truechimers\"):" 2912msgid "Only check the number of usable time sources (\"truechimers\"):"
2718msgstr "" 2913msgstr ""
2719 2914
2720#: plugins/check_ntp_peer.c:709 2915#: plugins/check_ntp_peer.c:716
2721msgid "Check only stratum:" 2916msgid "Check only stratum:"
2722msgstr "Vérification du stratum seulement:" 2917msgstr "Vérification du stratum seulement:"
2723 2918
2724#: plugins/check_ntp_time.c:598 2919#: plugins/check_ntp_time.c:602
2725msgid "This plugin checks the clock offset with the ntp server" 2920msgid "This plugin checks the clock offset with the ntp server"
2726msgstr "Ce plugin vérifie le décalage de l'horloge avec le serveur ntp" 2921msgstr "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
2729msgid "Returns UNKNOWN instead of CRITICAL if offset cannot be found" 2924msgid "Returns UNKNOWN instead of CRITICAL if offset cannot be found"
2730msgstr "Retourne INCONNU au lieu de CRITIQUE si le décalage est inconnu" 2925msgstr "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
2733msgid "This plugin checks the clock offset between the local host and a" 2928msgid "This plugin checks the clock offset between the local host and a"
2734msgstr "Ce plugin vérifie le décalage de l'horloge entre se serveur local et" 2929msgstr "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
2737msgid "remote NTP server. It is independent of any commandline programs or" 2932msgid "remote NTP server. It is independent of any commandline programs or"
2738msgstr "le serveur NTP distant. Il ne fait aucun recours aux programmes de" 2933msgstr "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
2741msgid "external libraries." 2936msgid "external libraries."
2742msgstr "la ligne de commande ou libraries externes." 2937msgstr "la ligne de commande ou libraries externes."
2743 2938
2744#: plugins/check_ntp_time.c:622 2939#: plugins/check_ntp_time.c:627
2745msgid "If you'd rather want to monitor an NTP server, please use" 2940msgid "If you'd rather want to monitor an NTP server, please use"
2746msgstr "Si vous voulez plutôt surveiller un serveur NTP, veuillez" 2941msgstr "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
2749msgid "check_ntp_peer." 2944msgid "check_ntp_peer."
2750msgstr "utiliser check_ntp_peer." 2945msgstr "utiliser check_ntp_peer."
2751 2946
@@ -2825,8 +3020,8 @@ msgstr ""
2825msgid "" 3020msgid ""
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"
2827msgstr "" 3022msgstr ""
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"
2847msgstr "désactivé" 3042msgstr "désactivé"
2848 3043
2849#: plugins/check_nwstat.c:560 3044#: plugins/check_nwstat.c:560
2850#, c-format
2851msgid "CRITICAL - NRM Status is bad!" 3045msgid "CRITICAL - NRM Status is bad!"
2852msgstr "CRITIQUE - le statut NRM est mauvais!" 3046msgstr "CRITIQUE - le statut NRM est mauvais!"
2853 3047
2854#: plugins/check_nwstat.c:565 3048#: plugins/check_nwstat.c:565
2855#, c-format
2856msgid "Warning - NRM Status is suspect!" 3049msgid "Warning - NRM Status is suspect!"
2857msgstr "" 3050msgstr ""
2858 3051
2859#: plugins/check_nwstat.c:568 3052#: plugins/check_nwstat.c:568
2860#, c-format
2861msgid "OK - NRM Status is good!" 3053msgid "OK - NRM Status is good!"
2862msgstr "OK - Le status du NRM est bon!" 3054msgstr "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"
2918msgstr "%lu processus services actuels (%lu max)|Processus=%lu;%lu;%lu;0;%lu" 3110msgstr "%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
2922msgid "CRITICAL - Time not in sync with network!" 3113msgid "CRITICAL - Time not in sync with network!"
2923msgstr "CRITIQUE - Le temps n'est pas synchronisé avec le réseau!" 3114msgstr "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
2927msgid "OK - Time in sync with network!" 3117msgid "OK - Time in sync with network!"
2928msgstr "OK - Le temps est synchronisé avec le réseau!" 3118msgstr "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"
3328msgstr "plus grand que le seuil d'alerte SAUF pour l'option uptime" 3518msgstr "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
3332msgid "CRITICAL - no connection to '%s' (%s).\n" 3522msgid "CRITICAL - no connection to '%s' (%s).\n"
3333msgstr "CRITIQUE - pas de connexion à '%s' (%s).\n" 3523msgstr "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
3337msgid " %s - database %s (%d sec.)|%s\n" 3527msgid " %s - database %s (%f sec.)|%s\n"
3338msgstr " %s - base de données %s (%d sec.)|%s\n" 3528msgstr " %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
3342msgid "Critical threshold must be a positive integer" 3532msgid "Critical threshold must be a positive integer"
3343msgstr "Le seuil critique doit être un entier positif" 3533msgstr "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
3348msgid "Warning threshold must be a positive integer" 3538msgid "Warning threshold must be a positive integer"
3349msgstr "Le seuil d'avertissement doit être un entier positif" 3539msgstr "Le seuil d'avertissement doit être un entier positif"
3350 3540
3351#: plugins/check_pgsql.c:280 3541#: plugins/check_pgsql.c:347
3352msgid "Database name is not valid" 3542msgid "Database name is not valid"
3353msgstr "Le nom de la base de données est invalide" 3543msgstr "Le nom de la base de données est invalide"
3354 3544
3355#: plugins/check_pgsql.c:286 3545#: plugins/check_pgsql.c:353
3356msgid "User name is not valid" 3546msgid "User name is not valid"
3357msgstr "Le nom de l'utilisateur est invalide" 3547msgstr "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
3361msgid "Test whether a PostgreSQL Database is accepting connections." 3551msgid "Test whether a PostgreSQL Database is accepting connections."
3362msgstr "Teste si une base de données Postgresql accepte les connections." 3552msgstr "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
3365msgid "Database to check " 3555msgid "Database to check "
3366msgstr "" 3556msgstr ""
3367 3557
3368#: plugins/check_pgsql.c:441 3558#: plugins/check_pgsql.c:517
3369#, c-format 3559#, c-format
3370msgid "(default: %s)" 3560msgid "(default: %s)"
3371msgstr "" 3561msgstr ""
3372 3562
3373#: plugins/check_pgsql.c:443 3563#: plugins/check_pgsql.c:519
3374msgid "Login name of user" 3564msgid "Login name of user"
3375msgstr "Le nom d'un utilisateur" 3565msgstr "Le nom d'un utilisateur"
3376 3566
3377#: plugins/check_pgsql.c:445 3567#: plugins/check_pgsql.c:521
3378msgid "Password (BIG SECURITY ISSUE)" 3568msgid "Password (BIG SECURITY ISSUE)"
3379msgstr "" 3569msgstr ""
3380 3570
3381#: plugins/check_pgsql.c:454 3571#: plugins/check_pgsql.c:523
3572msgid "Connection parameters (keyword = value), see below"
3573msgstr ""
3574
3575#: plugins/check_pgsql.c:530
3576msgid "SQL query to run. Only first column in first row will be read"
3577msgstr ""
3578
3579#: plugins/check_pgsql.c:532
3580#, fuzzy
3581msgid "SQL query value to result in warning status (double)"
3582msgstr "Décalage résultant en un avertissement (secondes)"
3583
3584#: plugins/check_pgsql.c:534
3585#, fuzzy
3586msgid "SQL query value to result in critical status (double)"
3587msgstr "Décalage résultant en un état critique (secondes)"
3588
3589#: plugins/check_pgsql.c:539
3382msgid "All parameters are optional." 3590msgid "All parameters are optional."
3383msgstr "" 3591msgstr ""
3384 3592
3385#: plugins/check_pgsql.c:455 3593#: plugins/check_pgsql.c:540
3386msgid "" 3594msgid ""
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"
3388msgstr "" 3596msgstr ""
3389 3597
3390#: plugins/check_pgsql.c:456 3598#: plugins/check_pgsql.c:541
3391msgid "accepting queries. In its current operation, it simply connects to the" 3599msgid "accepting queries. In its current operation, it simply connects to the"
3392msgstr "" 3600msgstr ""
3393 3601
3394#: plugins/check_pgsql.c:457 3602#: plugins/check_pgsql.c:542
3395msgid "" 3603msgid ""
3396"specified database, and then disconnects. If no database is specified, it" 3604"specified database, and then disconnects. If no database is specified, it"
3397msgstr "" 3605msgstr ""
3398 3606
3399#: plugins/check_pgsql.c:458 3607#: plugins/check_pgsql.c:543
3400msgid "" 3608msgid ""
3401"connects to the template1 database, which is present in every functioning" 3609"connects to the template1 database, which is present in every functioning"
3402msgstr "" 3610msgstr ""
3403 3611
3404#: plugins/check_pgsql.c:459 3612#: plugins/check_pgsql.c:544
3405msgid "PostgreSQL DBMS." 3613msgid "PostgreSQL DBMS."
3406msgstr "" 3614msgstr ""
3407 3615
3408#: plugins/check_pgsql.c:461 3616#: plugins/check_pgsql.c:546
3617msgid "If a query is specified using the -q option, it will be executed after"
3618msgstr ""
3619
3620#: plugins/check_pgsql.c:547
3621msgid "connecting to the server. The result from the query has to be numeric."
3622msgstr ""
3623
3624#: plugins/check_pgsql.c:548
3625msgid ""
3626"Multiple SQL commands, separated by semicolon, are allowed but the result "
3627msgstr ""
3628
3629#: plugins/check_pgsql.c:549
3630msgid "of the last command is taken into account only. The value of the first"
3631msgstr ""
3632
3633#: plugins/check_pgsql.c:550
3634msgid "column in the first row is used as the check result."
3635msgstr ""
3636
3637#: plugins/check_pgsql.c:552
3638msgid ""
3639"See the chapter \"Monitoring Database Activity\" of the PostgreSQL manual"
3640msgstr ""
3641
3642#: plugins/check_pgsql.c:553
3643msgid ""
3644"for details about how to access internal statistics of the database server."
3645msgstr ""
3646
3647#: plugins/check_pgsql.c:555
3648msgid ""
3649"For a list of available connection parameters which may be used with the -o"
3650msgstr ""
3651
3652#: plugins/check_pgsql.c:556
3653msgid ""
3654"command line option, see the documentation for PQconnectdb() in the chapter"
3655msgstr ""
3656
3657#: plugins/check_pgsql.c:557
3658msgid ""
3659"\"libpq - C Library\" of the PostgreSQL manual. For example, this may be"
3660msgstr ""
3661
3662#: plugins/check_pgsql.c:558
3663msgid ""
3664"used to specify a service name in pg_service.conf to be used for additional"
3665msgstr ""
3666
3667#: plugins/check_pgsql.c:559
3668msgid "connection parameters: -o 'service=<name>' or to specify the SSL mode:"
3669msgstr ""
3670
3671#: plugins/check_pgsql.c:560
3672msgid "-o 'sslmode=require'."
3673msgstr ""
3674
3675#: plugins/check_pgsql.c:562
3409msgid "" 3676msgid ""
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"
3411msgstr "" 3678msgstr ""
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
3416msgid "" 3683msgid ""
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"
3418msgstr "" 3685msgstr ""
3419 3686
3420#: plugins/check_pgsql.c:463 3687#: plugins/check_pgsql.c:564
3421msgid "connections (start the postmaster with the -i option)." 3688msgid "connections (start the postmaster with the -i option)."
3422msgstr "" 3689msgstr ""
3423 3690
3424#: plugins/check_pgsql.c:465 3691#: plugins/check_pgsql.c:566
3425msgid "" 3692msgid ""
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"
3427msgstr "" 3695msgstr ""
3428 3696
3429#: plugins/check_pgsql.c:466 3697#: plugins/check_pgsql.c:567
3430msgid "" 3698msgid ""
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"
3432msgstr "" 3700msgstr ""
3433 3701
3434#: plugins/check_pgsql.c:467 3702#: plugins/check_pgsql.c:568
3435msgid "a password, but no effort is made to obsure or encrypt the password." 3703msgid "a password, but no effort is made to obsure or encrypt the password."
3436msgstr "" 3704msgstr ""
3437 3705
3706#: plugins/check_pgsql.c:601
3707#, c-format
3708msgid "QUERY %s - %s: %s.\n"
3709msgstr ""
3710
3711#: plugins/check_pgsql.c:601
3712msgid "Error with query"
3713msgstr ""
3714
3715#: plugins/check_pgsql.c:607
3716#, fuzzy
3717msgid "No rows returned"
3718msgstr "Pas de données valides reçues"
3719
3720#: plugins/check_pgsql.c:612
3721#, fuzzy
3722msgid "No columns returned"
3723msgstr "Pas de données valides reçues"
3724
3725#: plugins/check_pgsql.c:618
3726#, fuzzy
3727msgid "No data returned"
3728msgstr "Pas de données valides reçues"
3729
3730#: plugins/check_pgsql.c:627
3731msgid "Is not a numeric"
3732msgstr ""
3733
3734#: plugins/check_pgsql.c:644
3735#, fuzzy, c-format
3736msgid "'%s' returned %f"
3737msgstr ". %s renvoie %s"
3738
3438#: plugins/check_ping.c:141 3739#: plugins/check_ping.c:141
3439msgid "CRITICAL - Could not interpret output from ping command\n" 3740msgid "CRITICAL - Could not interpret output from ping command\n"
3440msgstr "CRITIQUE - Impossible d'interpréter le réponse de la commande ping\n" 3741msgstr "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"
3515msgid "<wpl> (%d) cannot be larger than <cpl> (%d)\n" 3816msgid "<wpl> (%d) cannot be larger than <cpl> (%d)\n"
3516msgstr "<wpl> (%d) ne peut pas être plus large que <cpl> (%d)\n" 3817msgstr "<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
3520msgid "Cannot open stderr for %s\n" 3821msgid "Cannot open stderr for %s\n"
3521msgstr "Impossible d'ouvrir le canal d'erreur standard pour %s\n" 3822msgstr "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
3524msgid "System call sent warnings to stderr " 3825msgid "System call sent warnings to stderr "
3525msgstr "" 3826msgstr ""
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
3531msgid "CRITICAL - Network Unreachable (%s)" 3832msgid "CRITICAL - Network Unreachable (%s)\n"
3532msgstr "CRITIQUE - Le réseau est inaccessible (%s)" 3833msgstr "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
3536msgid "CRITICAL - Host Unreachable (%s)" 3837msgid "CRITICAL - Host Unreachable (%s)\n"
3537msgstr "CRITIQUE - Hôte inaccessible (%s)" 3838msgstr "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
3541msgid "CRITICAL - Bogus ICMP: Port Unreachable (%s)" 3842msgid "CRITICAL - Bogus ICMP: Port Unreachable (%s)\n"
3542msgstr "CRITIQUE - Paquet ICMP incorrect: Port inaccessible (%s)" 3843msgstr "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
3546msgid "CRITICAL - Bogus ICMP: Protocol Unreachable (%s)" 3847msgid "CRITICAL - Bogus ICMP: Protocol Unreachable (%s)\n"
3547msgstr "CRITIQUE - Paquet ICMP incorrect: Protocole inaccessible (%s)" 3848msgstr "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
3551msgid "CRITICAL - Network Prohibited (%s)" 3852msgid "CRITICAL - Network Prohibited (%s)\n"
3552msgstr "CRITIQUE - L'accès au réseau est interdit (%s)" 3853msgstr "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
3556msgid "CRITICAL - Host Prohibited (%s)" 3857msgid "CRITICAL - Host Prohibited (%s)\n"
3557msgstr "CRITIQUE - L'accès a l'hôte est interdit (%s)" 3858msgstr "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
3561msgid "CRITICAL - Packet Filtered (%s)" 3862msgid "CRITICAL - Packet Filtered (%s)\n"
3562msgstr "CRITIQUE - Paquet filtré (%s)" 3863msgstr "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
3566msgid "CRITICAL - Host not found (%s)" 3867msgid "CRITICAL - Host not found (%s)\n"
3567msgstr "CRITIQUE - Hôte non trouvé (%s)" 3868msgstr "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
3571msgid "CRITICAL - Time to live exceeded (%s)" 3872msgid "CRITICAL - Time to live exceeded (%s)\n"
3572msgstr "CRITIQUE - La durée de vie du paquet est dépassée (%s)" 3873msgstr "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
3575msgid "Unable to realloc warn_text" 3876#, fuzzy, c-format
3877msgid "CRITICAL - Destination Unreachable (%s)\n"
3878msgstr "CRITIQUE - Hôte inaccessible (%s)"
3879
3880#: plugins/check_ping.c:544
3881#, fuzzy
3882msgid "Unable to realloc warn_text\n"
3576msgstr "Impossible de réattribuer le texte d'avertissement" 3883msgstr "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
3580msgid "Use ping to check connection statistics for a remote host." 3887msgid "Use ping to check connection statistics for a remote host."
3581msgstr "" 3888msgstr ""
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
3585msgid "host to ping" 3892msgid "host to ping"
3586msgstr "hôte à tester" 3893msgstr "hôte à tester"
3587 3894
3588#: plugins/check_ping.c:577 3895#: plugins/check_ping.c:579
3589msgid "number of ICMP ECHO packets to send" 3896msgid "number of ICMP ECHO packets to send"
3590msgstr "nombre de paquets ICMP à envoyer" 3897msgstr "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
3594msgid "(Default: %d)\n" 3901msgid "(Default: %d)\n"
3595msgstr "(Défaut: %d)\n" 3902msgstr "(Défaut: %d)\n"
3596 3903
3597#: plugins/check_ping.c:580 3904#: plugins/check_ping.c:582
3598msgid "show HTML in the plugin output (obsoleted by urlize)" 3905msgid "show HTML in the plugin output (obsoleted by urlize)"
3599msgstr "" 3906msgstr ""
3600 3907
3601#: plugins/check_ping.c:585 3908#: plugins/check_ping.c:587
3602msgid "THRESHOLD is <rta>,<pl>% where <rta> is the round trip average travel" 3909msgid "THRESHOLD is <rta>,<pl>% where <rta> is the round trip average travel"
3603msgstr "" 3910msgstr ""
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
3607msgid "time (ms) which triggers a WARNING or CRITICAL state, and <pl> is the" 3914msgid "time (ms) which triggers a WARNING or CRITICAL state, and <pl> is the"
3608msgstr "qui déclenche un résultat AVERTISSEMENT ou CRITIQUE, et <pl> est le " 3915msgstr "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
3611msgid "percentage of packet loss to trigger an alarm state." 3918msgid "percentage of packet loss to trigger an alarm state."
3612msgstr "pourcentage de paquets perdus pour déclencher une alarme." 3919msgstr "pourcentage de paquets perdus pour déclencher une alarme."
3613 3920
3614#: plugins/check_ping.c:590 3921#: plugins/check_ping.c:592
3615msgid "" 3922msgid ""
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"
3617msgstr "" 3924msgstr ""
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
3622msgid "" 3929msgid ""
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"
3625msgstr "" 3932msgstr ""
3626 3933
3627#: plugins/check_ping.c:592 3934#: plugins/check_ping.c:594
3628msgid "" 3935msgid ""
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"
3630msgstr "" 3937msgstr ""
3631 3938
3632#: plugins/check_ping.c:593 3939#: plugins/check_ping.c:595
3633msgid "the contrib area of the downloads section at http://www.nagios.org/" 3940msgid "the contrib area of the downloads section at http://www.nagios.org/"
3634msgstr "" 3941msgstr ""
3635 3942
3636#: plugins/check_procs.c:159 3943#: plugins/check_procs.c:193
3637#, c-format 3944#, c-format
3638msgid "CMD: %s\n" 3945msgid "CMD: %s\n"
3639msgstr "Commande: %s\n" 3946msgstr "Commande: %s\n"
3640 3947
3641#: plugins/check_procs.c:164 3948#: plugins/check_procs.c:198
3642msgid "System call sent warnings to stderr" 3949msgid "System call sent warnings to stderr"
3643msgstr "" 3950msgstr ""
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
3648msgid "Not parseable: %s" 3955msgid "Not parseable: %s"
3649msgstr "Impossible de parcourir les arguments: %s" 3956msgstr "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
3653msgid "Unable to read output\n" 3960msgid "Unable to read output\n"
3654msgstr "Impossible de lire les données en entrée\n" 3961msgstr "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
3658msgid "%d warn out of " 3965msgid "%d warn out of "
3659msgstr "%d avertissements sur" 3966msgstr "%d avertissements sur"
3660 3967
3661#: plugins/check_procs.c:292 3968#: plugins/check_procs.c:353
3662#, c-format 3969#, c-format
3663msgid "%d crit, %d warn out of " 3970msgid "%d crit, %d warn out of "
3664msgstr "%d crit, %d alertes sur " 3971msgstr "%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
3668msgid " with %s" 3975msgid " with %s"
3669msgstr " avec %s" 3976msgstr " avec %s"
3670 3977
3671#: plugins/check_procs.c:378 3978#: plugins/check_procs.c:453
3672msgid "Critical Process Count must be an integer!"
3673msgstr "Critique Le total des processus doit être un nombre entier!"
3674
3675#: plugins/check_procs.c:390
3676msgid "Warning Process Count must be an integer!"
3677msgstr "Avertissement Le total des processus doit être un nombre entier!"
3678
3679#: plugins/check_procs.c:398
3680msgid "Parent Process ID must be an integer!" 3979msgid "Parent Process ID must be an integer!"
3681msgstr "L'identifiant du processus parent doit être un entier!" 3980msgstr "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
3685msgid "%s%sSTATE = %s" 3984msgid "%s%sSTATE = %s"
3686msgstr "%s%sETAT = %s" 3985msgstr "%s%sETAT = %s"
3687 3986
3688#: plugins/check_procs.c:413 3987#: plugins/check_procs.c:468
3689msgid "UID was not found" 3988msgid "UID was not found"
3690msgstr "L'UID n'a pas été trouvé" 3989msgstr "L'UID n'a pas été trouvé"
3691 3990
3692#: plugins/check_procs.c:419 3991#: plugins/check_procs.c:474
3693msgid "User name was not found" 3992msgid "User name was not found"
3694msgstr "L'utilisateur n'a pas été trouvé" 3993msgstr "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
3698msgid "%s%scommand name '%s'" 3997msgid "%s%scommand name '%s'"
3699msgstr "%s%snom de la commande '%s'" 3998msgstr "%s%snom de la commande '%s'"
3700 3999
3701#: plugins/check_procs.c:462 4000#: plugins/check_procs.c:524
3702msgid "RSS must be an integer!" 4001msgid "RSS must be an integer!"
3703msgstr "RSS doit être un entier!" 4002msgstr "RSS doit être un entier!"
3704 4003
3705#: plugins/check_procs.c:469 4004#: plugins/check_procs.c:531
3706msgid "VSZ must be an integer!" 4005msgid "VSZ must be an integer!"
3707msgstr "VSZ doit être un entier!" 4006msgstr "VSZ doit être un entier!"
3708 4007
3709#: plugins/check_procs.c:477 4008#: plugins/check_procs.c:539
3710msgid "PCPU must be a float!" 4009msgid "PCPU must be a float!"
3711msgstr "PCPU doit être un nombre en virgule flottante!" 4010msgstr "PCPU doit être un nombre en virgule flottante!"
3712 4011
3713#: plugins/check_procs.c:501 4012#: plugins/check_procs.c:563
3714msgid "Metric must be one of PROCS, VSZ, RSS, CPU, ELAPSED!" 4013msgid "Metric must be one of PROCS, VSZ, RSS, CPU, ELAPSED!"
3715msgstr "Metric doit être l'un des PROCS, VSZ, RSS, CPU, ELAPSED!" 4014msgstr "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
3719msgid "wmax (%d) cannot be greater than cmax (%d)\n"
3720msgstr "wmax (%d) ne peut pas être plus grand que cmax (%d)\n"
3721
3722#: plugins/check_procs.c:541
3723#, c-format
3724msgid "wmin (%d) cannot be less than cmin (%d)\n"
3725msgstr "wmin (%d) ne peut pas être plus petit que cmin (%d)\n"
3726
3727#: plugins/check_procs.c:678
3728msgid "" 4017msgid ""
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"
3731msgstr "" 4020msgstr ""
3732 4021
3733#: plugins/check_procs.c:679 4022#: plugins/check_procs.c:695
3734msgid "" 4023msgid ""
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"
3737msgstr "" 4026msgstr ""
3738 4027
3739#: plugins/check_procs.c:680 4028#: plugins/check_procs.c:696
3740msgid "" 4029msgid ""
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."
3742msgstr "" 4031msgstr ""
3743 4032
3744#: plugins/check_procs.c:689 4033#: plugins/check_procs.c:705
3745msgid "Generate warning state if metric is outside this range" 4034msgid "Generate warning state if metric is outside this range"
3746msgstr "" 4035msgstr ""
3747 4036
3748#: plugins/check_procs.c:691 4037#: plugins/check_procs.c:707
3749msgid "Generate critical state if metric is outside this range" 4038msgid "Generate critical state if metric is outside this range"
3750msgstr "" 4039msgstr ""
3751 4040
3752#: plugins/check_procs.c:693 4041#: plugins/check_procs.c:709
3753msgid "Check thresholds against metric. Valid types:" 4042msgid "Check thresholds against metric. Valid types:"
3754msgstr "" 4043msgstr ""
3755 4044
3756#: plugins/check_procs.c:694 4045#: plugins/check_procs.c:710
3757msgid "PROCS - number of processes (default)" 4046msgid "PROCS - number of processes (default)"
3758msgstr "PROCS - nombre de processus (défaut)" 4047msgstr "PROCS - nombre de processus (défaut)"
3759 4048
3760#: plugins/check_procs.c:695 4049#: plugins/check_procs.c:711
3761msgid "VSZ - virtual memory size" 4050msgid "VSZ - virtual memory size"
3762msgstr "VSZ - taille mémoire virtuelle" 4051msgstr "VSZ - taille mémoire virtuelle"
3763 4052
3764#: plugins/check_procs.c:696 4053#: plugins/check_procs.c:712
3765msgid "RSS - resident set memory size" 4054msgid "RSS - resident set memory size"
3766msgstr "" 4055msgstr ""
3767 4056
3768#: plugins/check_procs.c:697 4057#: plugins/check_procs.c:713
3769msgid "CPU - percentage CPU" 4058msgid "CPU - percentage CPU"
3770msgstr "CPU - pourcentage du processeur" 4059msgstr "CPU - pourcentage du processeur"
3771 4060
3772#: plugins/check_procs.c:700 4061#: plugins/check_procs.c:716
3773msgid "ELAPSED - time elapsed in seconds" 4062msgid "ELAPSED - time elapsed in seconds"
3774msgstr "ELAPSED - temps écoulé en secondes" 4063msgstr "ELAPSED - temps écoulé en secondes"
3775 4064
3776#: plugins/check_procs.c:705 4065#: plugins/check_procs.c:721
3777msgid "Extra information. Up to 3 verbosity levels" 4066msgid "Extra information. Up to 3 verbosity levels"
3778msgstr "informations supplémentaires. Jusqu'à 3 niveaux de verbosité" 4067msgstr "informations supplémentaires. Jusqu'à 3 niveaux de verbosité"
3779 4068
3780#: plugins/check_procs.c:710 4069#: plugins/check_procs.c:724
4070msgid "Filter own process the traditional way by PID instead of /proc/pid/exe"
4071msgstr ""
4072
4073#: plugins/check_procs.c:729
3781msgid "Only scan for processes that have, in the output of `ps`, one or" 4074msgid "Only scan for processes that have, in the output of `ps`, one or"
3782msgstr "" 4075msgstr ""
3783 4076
3784#: plugins/check_procs.c:711 4077#: plugins/check_procs.c:730
3785msgid "more of the status flags you specify (for example R, Z, S, RS," 4078msgid "more of the status flags you specify (for example R, Z, S, RS,"
3786msgstr "" 4079msgstr ""
3787 4080
3788#: plugins/check_procs.c:712 4081#: plugins/check_procs.c:731
3789msgid "RSZDT, plus others based on the output of your 'ps' command)." 4082msgid "RSZDT, plus others based on the output of your 'ps' command)."
3790msgstr "" 4083msgstr ""
3791 4084
3792#: plugins/check_procs.c:714 4085#: plugins/check_procs.c:733
3793msgid "Only scan for children of the parent process ID indicated." 4086msgid "Only scan for children of the parent process ID indicated."
3794msgstr "" 4087msgstr ""
3795 4088
3796#: plugins/check_procs.c:716 4089#: plugins/check_procs.c:735
3797msgid "Only scan for processes with VSZ higher than indicated." 4090msgid "Only scan for processes with VSZ higher than indicated."
3798msgstr "" 4091msgstr ""
3799 4092
3800#: plugins/check_procs.c:718 4093#: plugins/check_procs.c:737
3801msgid "Only scan for processes with RSS higher than indicated." 4094msgid "Only scan for processes with RSS higher than indicated."
3802msgstr "" 4095msgstr ""
3803 4096
3804#: plugins/check_procs.c:720 4097#: plugins/check_procs.c:739
3805msgid "Only scan for processes with PCPU higher than indicated." 4098msgid "Only scan for processes with PCPU higher than indicated."
3806msgstr "" 4099msgstr ""
3807 4100
3808#: plugins/check_procs.c:722 4101#: plugins/check_procs.c:741
3809msgid "Only scan for processes with user name or ID indicated." 4102msgid "Only scan for processes with user name or ID indicated."
3810msgstr "" 4103msgstr ""
3811 4104
3812#: plugins/check_procs.c:724 4105#: plugins/check_procs.c:743
3813msgid "Only scan for processes with args that contain STRING." 4106msgid "Only scan for processes with args that contain STRING."
3814msgstr "" 4107msgstr ""
3815 4108
3816#: plugins/check_procs.c:726 4109#: plugins/check_procs.c:745
3817msgid "Only scan for processes with args that contain the regex STRING." 4110msgid "Only scan for processes with args that contain the regex STRING."
3818msgstr "" 4111msgstr ""
3819 4112
3820#: plugins/check_procs.c:728 4113#: plugins/check_procs.c:747
3821msgid "Only scan for exact matches of COMMAND (without path)." 4114msgid "Only scan for exact matches of COMMAND (without path)."
3822msgstr "" 4115msgstr ""
3823 4116
3824#: plugins/check_procs.c:730 4117#: plugins/check_procs.c:749
4118msgid "Only scan for non kernel threads (works on Linux only)."
4119msgstr ""
4120
4121#: plugins/check_procs.c:751
3825#, c-format 4122#, c-format
3826msgid "" 4123msgid ""
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
3841msgid "" 4138msgid ""
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
3857msgid "Warning if not two processes with command name portsentry." 4154msgid "Warning if not two processes with command name portsentry."
3858msgstr "" 4155msgstr ""
3859 4156
3860#: plugins/check_procs.c:745 4157#: plugins/check_procs.c:766
3861msgid "Critical if < 2 or > 1024 processes" 4158msgid "Critical if < 2 or > 1024 processes"
3862msgstr "" 4159msgstr ""
3863 4160
3864#: plugins/check_procs.c:747 4161#: plugins/check_procs.c:768
3865msgid "Warning alert if > 10 processes with command arguments containing" 4162msgid "Warning alert if > 10 processes with command arguments containing"
3866msgstr "" 4163msgstr ""
3867 4164
3868#: plugins/check_procs.c:748 4165#: plugins/check_procs.c:769
3869msgid "'/usr/local/bin/perl' and owned by root" 4166msgid "'/usr/local/bin/perl' and owned by root"
3870msgstr "" 4167msgstr ""
3871 4168
3872#: plugins/check_procs.c:750 4169#: plugins/check_procs.c:771
3873msgid "Alert if VSZ of any processes over 50K or 100K" 4170msgid "Alert if VSZ of any processes over 50K or 100K"
3874msgstr "" 4171msgstr ""
3875 4172
3876#: plugins/check_procs.c:752 4173#: plugins/check_procs.c:773
3877#, c-format 4174#, c-format
3878msgid "Alert if CPU of any processes over 10%% or 20%%" 4175msgid "Alert if CPU of any processes over 10%% or 20%%"
3879msgstr "" 4176msgstr ""
@@ -4004,7 +4301,7 @@ msgid ""
4004msgstr "" 4301msgstr ""
4005 4302
4006#: plugins/check_radius.c:373 4303#: plugins/check_radius.c:373
4007msgid "in a process listing. This risk is exacerbated because nagios will" 4304msgid "in a process listing. This risk is exacerbated because the monitor will"
4008msgstr "" 4305msgstr ""
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"
4034msgid "Invalid REAL response received from host on port %d\n" 4331msgid "Invalid REAL response received from host on port %d\n"
4035msgstr "Réponses REAL invalide reçue de l'hôte sur le port %d\n" 4332msgstr "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
4039msgid "No data received from host\n" 4336msgid "No data received from host\n"
4040msgstr "Pas de données reçues de l'hôte\n" 4337msgstr "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"
4044msgid "REAL %s - %d second response time\n" 4341msgid "REAL %s - %d second response time\n"
4045msgstr "REAL %s - %d secondes de temps de réponse\n" 4342msgstr "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
4048msgid "Warning time must be a positive integer" 4345msgid "Warning time must be a positive integer"
4049msgstr "Le seuil d'avertissement doit être un entier positif" 4346msgstr "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
4052msgid "Critical time must be a positive integer" 4349msgid "Critical time must be a positive integer"
4053msgstr "Le seuil critique doit être un entier positif" 4350msgstr "Le seuil critique doit être un entier positif"
4054 4351
@@ -4074,7 +4371,7 @@ msgstr ""
4074msgid "This plugin will attempt to open an RTSP connection with the host." 4371msgid "This plugin will attempt to open an RTSP connection with the host."
4075msgstr "Ce plugin va essayer d'ouvrir un connexion RTSP avec l'hôte." 4372msgstr "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
4078msgid "Successul connects return STATE_OK, refusals and timeouts return" 4375msgid "Successul connects return STATE_OK, refusals and timeouts return"
4079msgstr "" 4376msgstr ""
4080 4377
@@ -4092,506 +4389,518 @@ msgstr ""
4092msgid "values." 4389msgid "values."
4093msgstr "" 4390msgstr ""
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
4097msgid "malloc() failed!\n" 4394msgid "malloc() failed!\n"
4098msgstr "l'allocation mémoire à échoué!\n" 4395msgstr "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
4102msgid "gethostname() failed!\n" 4399msgid "gethostname() failed!\n"
4103msgstr "La commande gethostname() à échoué\n" 4400msgstr "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
4107msgid "recv() failed\n" 4404msgid "recv() failed\n"
4108msgstr "La commande recv() à échoué\n" 4405msgstr "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
4112msgid "Invalid SMTP response received from host: %s\n" 4409msgid "Invalid SMTP response received from host: %s\n"
4113msgstr "Réponse SMTP reçue de l'hôte invalide: %s\n" 4410msgstr "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
4117msgid "Invalid SMTP response received from host on port %d: %s\n" 4414msgid "Invalid SMTP response received from host on port %d: %s\n"
4118msgstr "Réponse SMTP reçue de l'hôte sur le port %d invalide: %s\n" 4415msgstr "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
4122msgid "WARNING - TLS not supported by server\n" 4419msgid "WARNING - TLS not supported by server\n"
4123msgstr "AVERTISSEMENT: - TLS n'est pas supporté par ce serveur\n" 4420msgstr "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
4127msgid "Server does not support STARTTLS\n" 4424msgid "Server does not support STARTTLS\n"
4128msgstr "Le serveur ne supporte pas STARTTLS\n" 4425msgstr "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
4132msgid "CRITICAL - Cannot create SSL context.\n" 4429msgid "CRITICAL - Cannot create SSL context.\n"
4133msgstr "CRITIQUE - Impossible de créer le contexte SSL.\n" 4430msgstr "CRITIQUE - Impossible de créer le contexte SSL.\n"
4134 4431
4135#: plugins/check_smtp.c:257 4432#: plugins/check_smtp.c:261
4136msgid "SMTP UNKNOWN - Cannot send EHLO command via TLS." 4433msgid "SMTP UNKNOWN - Cannot send EHLO command via TLS."
4137msgstr "" 4434msgstr ""
4138 4435
4139#: plugins/check_smtp.c:262 4436#: plugins/check_smtp.c:266
4140#, c-format 4437#, c-format
4141msgid "sent %s" 4438msgid "sent %s"
4142msgstr "envoyé %s" 4439msgstr "envoyé %s"
4143 4440
4144#: plugins/check_smtp.c:264 4441#: plugins/check_smtp.c:268
4145msgid "SMTP UNKNOWN - Cannot read EHLO response via TLS." 4442msgid "SMTP UNKNOWN - Cannot read EHLO response via TLS."
4146msgstr "" 4443msgstr ""
4147 4444
4148#: plugins/check_smtp.c:276 4445#: plugins/check_smtp.c:303 plugins/check_snmp.c:806
4149msgid "CRITICAL - Cannot retrieve server certificate."
4150msgstr "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
4154msgid "Could Not Compile Regular Expression" 4447msgid "Could Not Compile Regular Expression"
4155msgstr "Impossible de compiler l'expression rationnelle" 4448msgstr "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
4159msgid "SMTP %s - Invalid response '%s' to command '%s'\n" 4452msgid "SMTP %s - Invalid response '%s' to command '%s'\n"
4160msgstr "SMTP %s - réponse invalide de '%s' à la commande '%s'\n" 4453msgstr "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
4164msgid "Execute Error: %s\n" 4457msgid "Execute Error: %s\n"
4165msgstr "Erreur d'exécution: %s\n" 4458msgstr "Erreur d'exécution: %s\n"
4166 4459
4167#: plugins/check_smtp.c:338 4460#: plugins/check_smtp.c:330
4168#, c-format
4169msgid "no authuser specified, " 4461msgid "no authuser specified, "
4170msgstr "Pas d'utilisateur pour l'authentification spécifié, " 4462msgstr "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
4174msgid "no authpass specified, " 4465msgid "no authpass specified, "
4175msgstr "pas de mot de passe spécifié, " 4466msgstr "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
4180msgid "sent %s\n" 4471msgid "sent %s\n"
4181msgstr "envoyé %s\n" 4472msgstr "envoyé %s\n"
4182 4473
4183#: plugins/check_smtp.c:353 4474#: plugins/check_smtp.c:345
4184#, c-format
4185msgid "recv() failed after AUTH LOGIN, " 4475msgid "recv() failed after AUTH LOGIN, "
4186msgstr "recv() à échoué après AUTH LOGIN, " 4476msgstr "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
4191msgid "received %s\n" 4481msgid "received %s\n"
4192msgstr "reçu %s\n" 4482msgstr "reçu %s\n"
4193 4483
4194#: plugins/check_smtp.c:362 4484#: plugins/check_smtp.c:354
4195#, c-format
4196msgid "invalid response received after AUTH LOGIN, " 4485msgid "invalid response received after AUTH LOGIN, "
4197msgstr "Réponse invalide reçue après AUTH LOGIN, " 4486msgstr "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
4201msgid "recv() failed after sending authuser, " 4489msgid "recv() failed after sending authuser, "
4202msgstr "La commande recv() a échoué après authuser, " 4490msgstr "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
4206msgid "invalid response received after authuser, " 4493msgid "invalid response received after authuser, "
4207msgstr "Réponse invalide reçue après authuser, " 4494msgstr "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
4211msgid "recv() failed after sending authpass, " 4497msgid "recv() failed after sending authpass, "
4212msgstr "la commande recv() à échoué après authpass, " 4498msgstr "la commande recv() à échoué après authpass, "
4213 4499
4214#: plugins/check_smtp.c:405 4500#: plugins/check_smtp.c:395
4215#, c-format
4216msgid "invalid response received after authpass, " 4501msgid "invalid response received after authpass, "
4217msgstr "Réponse invalide reçue après authpass, " 4502msgstr "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
4221msgid "only authtype LOGIN is supported, " 4505msgid "only authtype LOGIN is supported, "
4222msgstr "seul la méthode d'authentification LOGIN est supportée, " 4506msgstr "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
4226msgid "SMTP %s - %s%.3f sec. response time%s%s|%s\n" 4510msgid "SMTP %s - %s%.3f sec. response time%s%s|%s\n"
4227msgstr "SMTP %s - %s%.3f sec. de temps de réponse%s%s|%s\n" 4511msgstr "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
4231msgid "Could not realloc() units [%d]\n" 4515msgid "Could not realloc() units [%d]\n"
4232msgstr "Impossible de réallouer des unités [%d]\n" 4516msgstr "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
4520msgid "Critical time must be a positive"
4521msgstr "Le seuil critique doit être un entier positif"
4522
4523#: plugins/check_smtp.c:564
4524#, fuzzy
4525msgid "Warning time must be a positive"
4526msgstr "Le seuil d'avertissement doit être un entier positif"
4527
4528#: plugins/check_smtp.c:611
4235msgid "SSL support not available - install OpenSSL and recompile" 4529msgid "SSL support not available - install OpenSSL and recompile"
4236msgstr "SSL n'est pas disponible - installer OpenSSL et recompilez" 4530msgstr "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
4534msgid "Connection closed by server before sending QUIT command\n"
4535msgstr ""
4536
4537#: plugins/check_smtp.c:694
4239#, c-format 4538#, c-format
4240msgid "recv() failed after QUIT." 4539msgid "recv() failed after QUIT."
4241msgstr "recv() à échoué après QUIT." 4540msgstr "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
4245msgid "Connection reset by peer." 4544msgid "Connection reset by peer."
4246msgstr "" 4545msgstr ""
4247 4546
4248#: plugins/check_smtp.c:764 4547#: plugins/check_smtp.c:784
4249msgid "This plugin will attempt to open an SMTP connection with the host." 4548msgid "This plugin will attempt to open an SMTP connection with the host."
4250msgstr "Ce plugin va essayer d'ouvrir un connexion SMTP avec l'hôte." 4549msgstr "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
4254msgid " String to expect in first line of server response (default: '%s')\n" 4553msgid " String to expect in first line of server response (default: '%s')\n"
4255msgstr "" 4554msgstr ""
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
4260msgid "SMTP command (may be used repeatedly)" 4559msgid "SMTP command (may be used repeatedly)"
4261msgstr "Commande SMTP (peut être utilisé plusieurs fois)" 4560msgstr "Commande SMTP (peut être utilisé plusieurs fois)"
4262 4561
4263#: plugins/check_smtp.c:782 4562#: plugins/check_smtp.c:802
4264msgid "Expected response to command (may be used repeatedly)" 4563msgid "Expected response to command (may be used repeatedly)"
4265msgstr "" 4564msgstr ""
4266 4565
4267#: plugins/check_smtp.c:784 4566#: plugins/check_smtp.c:804
4268msgid "FROM-address to include in MAIL command, required by Exchange 2000" 4567msgid "FROM-address to include in MAIL command, required by Exchange 2000"
4269msgstr "" 4568msgstr ""
4270 4569
4271#: plugins/check_smtp.c:786 4570#: plugins/check_smtp.c:806
4272msgid "FQDN used for HELO" 4571msgid "FQDN used for HELO"
4273msgstr "" 4572msgstr ""
4274 4573
4275#: plugins/check_smtp.c:789 plugins/check_tcp.c:633 4574#: plugins/check_smtp.c:809 plugins/check_tcp.c:665
4276msgid "Minimum number of days a certificate has to be valid." 4575msgid "Minimum number of days a certificate has to be valid."
4277msgstr "Nombre de jours minimum pour que le certificat soit valide." 4576msgstr "Nombre de jours minimum pour que le certificat soit valide."
4278 4577
4279#: plugins/check_smtp.c:791 4578#: plugins/check_smtp.c:811
4280msgid "Use STARTTLS for the connection." 4579msgid "Use STARTTLS for the connection."
4281msgstr "" 4580msgstr ""
4282 4581
4283#: plugins/check_smtp.c:795 4582#: plugins/check_smtp.c:815
4284msgid "SMTP AUTH type to check (default none, only LOGIN supported)" 4583msgid "SMTP AUTH type to check (default none, only LOGIN supported)"
4285msgstr "" 4584msgstr ""
4286 4585
4287#: plugins/check_smtp.c:797 4586#: plugins/check_smtp.c:817
4288msgid "SMTP AUTH username" 4587msgid "SMTP AUTH username"
4289msgstr "" 4588msgstr ""
4290 4589
4291#: plugins/check_smtp.c:799 4590#: plugins/check_smtp.c:819
4292msgid "SMTP AUTH password" 4591msgid "SMTP AUTH password"
4293msgstr "" 4592msgstr ""
4294 4593
4295#: plugins/check_smtp.c:809 4594#: plugins/check_smtp.c:821
4595msgid "Ignore failure when sending QUIT command to server"
4596msgstr ""
4597
4598#: plugins/check_smtp.c:831
4296msgid "STATE_CRITICAL, other errors return STATE_UNKNOWN. Successful" 4599msgid "STATE_CRITICAL, other errors return STATE_UNKNOWN. Successful"
4297msgstr "" 4600msgstr ""
4298 4601
4299#: plugins/check_smtp.c:810 4602#: plugins/check_smtp.c:832
4300msgid "connects, but incorrect reponse messages from the host result in" 4603msgid "connects, but incorrect reponse messages from the host result in"
4301msgstr "" 4604msgstr ""
4302 4605
4303#: plugins/check_smtp.c:811 4606#: plugins/check_smtp.c:833
4304msgid "STATE_WARNING return values." 4607msgid "STATE_WARNING return values."
4305msgstr "" 4608msgstr ""
4306 4609
4307#: plugins/check_snmp.c:299 4610#: plugins/check_snmp.c:169 plugins/check_snmp.c:582
4611msgid "Cannot malloc"
4612msgstr ""
4613
4614#: plugins/check_snmp.c:356
4308#, c-format 4615#, c-format
4309msgid "External command error: %s\n" 4616msgid "External command error: %s\n"
4310msgstr "Erreur d'exécution de commande externe: %s\n" 4617msgstr "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
4314msgid "External command error with no output (return code: %d)\n" 4621msgid "External command error with no output (return code: %d)\n"
4315msgstr "" 4622msgstr ""
4316 4623
4317#: plugins/check_snmp.c:410 4624#: plugins/check_snmp.c:464
4318msgid "No valid data returned" 4625#, fuzzy, c-format
4626msgid "No valid data returned (%s)\n"
4319msgstr "Pas de données valides reçues" 4627msgstr "Pas de données valides reçues"
4320 4628
4321#: plugins/check_snmp.c:417 4629#: plugins/check_snmp.c:475
4322msgid "Time duration between plugin calls is invalid" 4630msgid "Time duration between plugin calls is invalid"
4323msgstr "" 4631msgstr ""
4324 4632
4325#: plugins/check_snmp.c:513 4633#: plugins/check_snmp.c:588
4326msgid "Cannot malloc"
4327msgstr ""
4328
4329#: plugins/check_snmp.c:519
4330msgid "Cannot asprintf()" 4634msgid "Cannot asprintf()"
4331msgstr "" 4635msgstr ""
4332 4636
4333#: plugins/check_snmp.c:525 4637#: plugins/check_snmp.c:594
4334#, fuzzy 4638#, fuzzy
4335msgid "Cannot realloc()" 4639msgid "Cannot realloc()"
4336msgstr "Impossible de réallouer des unités\n" 4640msgstr "Impossible de réallouer des unités\n"
4337 4641
4338#: plugins/check_snmp.c:541 4642#: plugins/check_snmp.c:610
4339msgid "No previous data to calculate rate - assume okay" 4643msgid "No previous data to calculate rate - assume okay"
4340msgstr "" 4644msgstr ""
4341 4645
4342#: plugins/check_snmp.c:680 4646#: plugins/check_snmp.c:751
4343msgid "Retries interval must be a positive integer" 4647msgid "Retries interval must be a positive integer"
4344msgstr "L'intervalle pour les essais doit être un entier positif" 4648msgstr "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
4348msgid "Could not reallocate labels[%d]" 4652msgid "Could not reallocate labels[%d]"
4349msgstr "Impossible de réallouer des labels[%d]" 4653msgstr "Impossible de réallouer des labels[%d]"
4350 4654
4351#: plugins/check_snmp.c:754 4655#: plugins/check_snmp.c:844
4352msgid "Could not reallocate labels\n" 4656msgid "Could not reallocate labels\n"
4353msgstr "Impossible de réallouer des labels\n" 4657msgstr "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
4357msgid "Could not reallocate units [%d]\n" 4661msgid "Could not reallocate units [%d]\n"
4358msgstr "Impossible de réallouer des unités [%d]\n" 4662msgstr "Impossible de réallouer des unités [%d]\n"
4359 4663
4360#: plugins/check_snmp.c:783 4664#: plugins/check_snmp.c:872
4361msgid "Could not realloc() units\n" 4665msgid "Could not realloc() units\n"
4362msgstr "Impossible de réallouer des unités\n" 4666msgstr "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
4366msgid "Rate multiplier must be a positive integer" 4670msgid "Rate multiplier must be a positive integer"
4367msgstr "La taille du paquet doit être un entier positif" 4671msgstr "La taille du paquet doit être un entier positif"
4368 4672
4369#: plugins/check_snmp.c:852 4673#: plugins/check_snmp.c:947
4370msgid "No host specified\n" 4674msgid "No host specified\n"
4371msgstr "Pas d'hôte spécifié\n" 4675msgstr "Pas d'hôte spécifié\n"
4372 4676
4373#: plugins/check_snmp.c:856 4677#: plugins/check_snmp.c:951
4374msgid "No OIDs specified\n" 4678msgid "No OIDs specified\n"
4375msgstr "Pas de compteur spécifié\n" 4679msgstr "Pas de compteur spécifié\n"
4376 4680
4377#: plugins/check_snmp.c:878 4681#: plugins/check_snmp.c:973
4378msgid "Invalid seclevel" 4682msgid "Invalid seclevel"
4379msgstr "" 4683msgstr ""
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
4383msgid "Required parameter: %s\n" 4687msgid "Required parameter: %s\n"
4384msgstr "" 4688msgstr ""
4385 4689
4386#: plugins/check_snmp.c:927 4690#: plugins/check_snmp.c:1022
4387msgid "Invalid SNMP version" 4691msgid "Invalid SNMP version"
4388msgstr "Version de SNMP invalide" 4692msgstr "Version de SNMP invalide"
4389 4693
4390#: plugins/check_snmp.c:944 4694#: plugins/check_snmp.c:1039
4391msgid "Unbalanced quotes\n" 4695msgid "Unbalanced quotes\n"
4392msgstr "Guillemets manquants\n" 4696msgstr "Guillemets manquants\n"
4393 4697
4394#: plugins/check_snmp.c:993 4698#: plugins/check_snmp.c:1088
4395msgid "Check status of remote machines and obtain system information via SNMP" 4699msgid "Check status of remote machines and obtain system information via SNMP"
4396msgstr "" 4700msgstr ""
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
4401msgid "Use SNMP GETNEXT instead of SNMP GET" 4705msgid "Use SNMP GETNEXT instead of SNMP GET"
4402msgstr "Utiliser SNMP GETNEXT au lieu de SNMP GET" 4706msgstr "Utiliser SNMP GETNEXT au lieu de SNMP GET"
4403 4707
4404#: plugins/check_snmp.c:1008 4708#: plugins/check_snmp.c:1103
4405msgid "SNMP protocol version" 4709msgid "SNMP protocol version"
4406msgstr "Version du protocole SNMP" 4710msgstr "Version du protocole SNMP"
4407 4711
4408#: plugins/check_snmp.c:1010 4712#: plugins/check_snmp.c:1105
4409msgid "SNMPv3 securityLevel" 4713msgid "SNMPv3 securityLevel"
4410msgstr "Niveau de sécurité SNMPv3 (securityLevel)" 4714msgstr "Niveau de sécurité SNMPv3 (securityLevel)"
4411 4715
4412#: plugins/check_snmp.c:1012 4716#: plugins/check_snmp.c:1107
4413msgid "SNMPv3 auth proto" 4717msgid "SNMPv3 auth proto"
4414msgstr "Protocole d'authentification SNMPv3" 4718msgstr "Protocole d'authentification SNMPv3"
4415 4719
4416#: plugins/check_snmp.c:1014 4720#: plugins/check_snmp.c:1109
4417msgid "SNMPv3 priv proto (default DES)" 4721msgid "SNMPv3 priv proto (default DES)"
4418msgstr "" 4722msgstr ""
4419 4723
4420#: plugins/check_snmp.c:1018 4724#: plugins/check_snmp.c:1113
4421msgid "Optional community string for SNMP communication" 4725msgid "Optional community string for SNMP communication"
4422msgstr "Communauté optionnelle pour la communication SNMP" 4726msgstr "Communauté optionnelle pour la communication SNMP"
4423 4727
4424#: plugins/check_snmp.c:1019 4728#: plugins/check_snmp.c:1114
4425msgid "default is" 4729msgid "default is"
4426msgstr "défaut:" 4730msgstr "défaut:"
4427 4731
4428#: plugins/check_snmp.c:1021 4732#: plugins/check_snmp.c:1116
4429msgid "SNMPv3 username" 4733msgid "SNMPv3 username"
4430msgstr "Nom d'utilisateur SNMPv3" 4734msgstr "Nom d'utilisateur SNMPv3"
4431 4735
4432#: plugins/check_snmp.c:1023 4736#: plugins/check_snmp.c:1118
4433msgid "SNMPv3 authentication password" 4737msgid "SNMPv3 authentication password"
4434msgstr "Mot de passe d'authentification SNMPv3" 4738msgstr "Mot de passe d'authentification SNMPv3"
4435 4739
4436#: plugins/check_snmp.c:1025 4740#: plugins/check_snmp.c:1120
4437msgid "SNMPv3 privacy password" 4741msgid "SNMPv3 privacy password"
4438msgstr "Mot de passe de confidentialité SNMPv3" 4742msgstr "Mot de passe de confidentialité SNMPv3"
4439 4743
4440#: plugins/check_snmp.c:1029 4744#: plugins/check_snmp.c:1124
4441msgid "Object identifier(s) or SNMP variables whose value you wish to query" 4745msgid "Object identifier(s) or SNMP variables whose value you wish to query"
4442msgstr "" 4746msgstr ""
4443 4747
4444#: plugins/check_snmp.c:1031 4748#: plugins/check_snmp.c:1126
4445msgid "" 4749msgid ""
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'"
4447msgstr "" 4751msgstr ""
4448 4752
4449#: plugins/check_snmp.c:1032 4753#: plugins/check_snmp.c:1127
4450msgid "for symbolic OIDs.)" 4754msgid "for symbolic OIDs.)"
4451msgstr "" 4755msgstr ""
4452 4756
4453#: plugins/check_snmp.c:1034 4757#: plugins/check_snmp.c:1129
4454msgid "Delimiter to use when parsing returned data. Default is" 4758msgid "Delimiter to use when parsing returned data. Default is"
4455msgstr "" 4759msgstr ""
4456 4760
4457#: plugins/check_snmp.c:1035 4761#: plugins/check_snmp.c:1130
4458msgid "Any data on the right hand side of the delimiter is considered" 4762msgid "Any data on the right hand side of the delimiter is considered"
4459msgstr "" 4763msgstr ""
4460 4764
4461#: plugins/check_snmp.c:1036 4765#: plugins/check_snmp.c:1131
4462msgid "to be the data that should be used in the evaluation." 4766msgid "to be the data that should be used in the evaluation."
4463msgstr "" 4767msgstr ""
4464 4768
4465#: plugins/check_snmp.c:1040 4769#: plugins/check_snmp.c:1135
4466msgid "Warning threshold range(s)" 4770msgid "Warning threshold range(s)"
4467msgstr "Valeurs pour le seuil d'avertissement" 4771msgstr "Valeurs pour le seuil d'avertissement"
4468 4772
4469#: plugins/check_snmp.c:1042 4773#: plugins/check_snmp.c:1137
4470msgid "Critical threshold range(s)" 4774msgid "Critical threshold range(s)"
4471msgstr "Valeurs pour le seuil critique" 4775msgstr "Valeurs pour le seuil critique"
4472 4776
4473#: plugins/check_snmp.c:1044 4777#: plugins/check_snmp.c:1139
4474msgid "Enable rate calculation. See 'Rate Calculation' below" 4778msgid "Enable rate calculation. See 'Rate Calculation' below"
4475msgstr "" 4779msgstr ""
4476 4780
4477#: plugins/check_snmp.c:1046 4781#: plugins/check_snmp.c:1141
4478msgid "" 4782msgid ""
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"
4480msgstr "" 4784msgstr ""
4481 4785
4482#: plugins/check_snmp.c:1050 4786#: plugins/check_snmp.c:1143
4787msgid "Add/substract the specified OFFSET to numeric sensor data"
4788msgstr ""
4789
4790#: plugins/check_snmp.c:1147
4483msgid "Return OK state (for that OID) if STRING is an exact match" 4791msgid "Return OK state (for that OID) if STRING is an exact match"
4484msgstr "" 4792msgstr ""
4485 4793
4486#: plugins/check_snmp.c:1052 4794#: plugins/check_snmp.c:1149
4487msgid "" 4795msgid ""
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"
4489msgstr "" 4797msgstr ""
4490 4798
4491#: plugins/check_snmp.c:1054 4799#: plugins/check_snmp.c:1151
4492msgid "" 4800msgid ""
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"
4494msgstr "" 4802msgstr ""
4495 4803
4496#: plugins/check_snmp.c:1056 4804#: plugins/check_snmp.c:1153
4497msgid "Invert search result (CRITICAL if found)" 4805msgid "Invert search result (CRITICAL if found)"
4498msgstr "" 4806msgstr ""
4499 4807
4500#: plugins/check_snmp.c:1060 4808#: plugins/check_snmp.c:1157
4501msgid "Prefix label for output from plugin" 4809msgid "Prefix label for output from plugin"
4502msgstr "" 4810msgstr ""
4503 4811
4504#: plugins/check_snmp.c:1062 4812#: plugins/check_snmp.c:1159
4505msgid "Units label(s) for output data (e.g., 'sec.')." 4813msgid "Units label(s) for output data (e.g., 'sec.')."
4506msgstr "" 4814msgstr ""
4507 4815
4508#: plugins/check_snmp.c:1064 4816#: plugins/check_snmp.c:1161
4509msgid "Separates output on multiple OID requests" 4817msgid "Separates output on multiple OID requests"
4510msgstr "" 4818msgstr ""
4511 4819
4512#: plugins/check_snmp.c:1068 4820#: plugins/check_snmp.c:1165
4513msgid "Number of retries to be used in the requests" 4821msgid "Number of retries to be used in the requests"
4514msgstr "Le nombre d'essai pour les requêtes" 4822msgstr "Le nombre d'essai pour les requêtes"
4515 4823
4516#: plugins/check_snmp.c:1073 4824#: plugins/check_snmp.c:1168
4825msgid "Label performance data with OIDs instead of --label's"
4826msgstr ""
4827
4828#: plugins/check_snmp.c:1173
4517msgid "" 4829msgid ""
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."
4519msgstr "" 4831msgstr ""
4520 4832
4521#: plugins/check_snmp.c:1074 4833#: plugins/check_snmp.c:1174
4522msgid "" 4834msgid ""
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"
4524msgstr "" 4836msgstr ""
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
4528msgid "http://net-snmp.sourceforge.net before you can use this plugin." 4840msgid "http://net-snmp.sourceforge.net before you can use this plugin."
4529msgstr "http://net-snmp.sourceforge.net avant de pouvoir utiliser ce plugin." 4841msgstr "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
4532msgid "" 4845msgid ""
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"
4535msgstr "" 4847msgstr ""
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
4539msgid "internal spaces must be quoted). Maximum:" 4851#, fuzzy
4852msgid "list (lists with internal spaces must be quoted)."
4540msgstr "(Les liste avec espaces doivent être entre guillemets). Max:" 4853msgstr "(Les liste avec espaces doivent être entre guillemets). Max:"
4541 4854
4542#: plugins/check_snmp.c:1080 4855#: plugins/check_snmp.c:1184
4543msgid "OIDs."
4544msgstr "OIDs."
4545
4546#: plugins/check_snmp.c:1084
4547msgid "" 4856msgid ""
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'"
4550msgstr "" 4859msgstr ""
4551 4860
4552#: plugins/check_snmp.c:1085 4861#: plugins/check_snmp.c:1185
4553msgid "- Note that only one string and one regex may be checked at present" 4862msgid "- Note that only one string and one regex may be checked at present"
4554msgstr "" 4863msgstr ""
4555 4864
4556#: plugins/check_snmp.c:1086 4865#: plugins/check_snmp.c:1186
4557msgid "" 4866msgid ""
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"
4559msgstr "" 4868msgstr ""
4560 4869
4561#: plugins/check_snmp.c:1087 4870#: plugins/check_snmp.c:1187
4562msgid "returned from the SNMP query is an unsigned integer." 4871msgid "returned from the SNMP query is an unsigned integer."
4563msgstr "" 4872msgstr ""
4564 4873
4565#: plugins/check_snmp.c:1090 4874#: plugins/check_snmp.c:1190
4566msgid "Rate Calculation:" 4875msgid "Rate Calculation:"
4567msgstr "" 4876msgstr ""
4568 4877
4569#: plugins/check_snmp.c:1091 4878#: plugins/check_snmp.c:1191
4570msgid "In many places, SNMP returns counters that are only meaningful when" 4879msgid "In many places, SNMP returns counters that are only meaningful when"
4571msgstr "" 4880msgstr ""
4572 4881
4573#: plugins/check_snmp.c:1092 4882#: plugins/check_snmp.c:1192
4574msgid "calculating the counter difference since the last check. check_snmp" 4883msgid "calculating the counter difference since the last check. check_snmp"
4575msgstr "" 4884msgstr ""
4576 4885
4577#: plugins/check_snmp.c:1093 4886#: plugins/check_snmp.c:1193
4578msgid "saves the last state information in a file so that the rate per second" 4887msgid "saves the last state information in a file so that the rate per second"
4579msgstr "" 4888msgstr ""
4580 4889
4581#: plugins/check_snmp.c:1094 4890#: plugins/check_snmp.c:1194
4582msgid "can be calculated. Use the --rate option to save state information." 4891msgid "can be calculated. Use the --rate option to save state information."
4583msgstr "" 4892msgstr ""
4584 4893
4585#: plugins/check_snmp.c:1095 4894#: plugins/check_snmp.c:1195
4586msgid "" 4895msgid ""
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."
4588msgstr "" 4897msgstr ""
4589 4898
4590#: plugins/check_snmp.c:1096 4899#: plugins/check_snmp.c:1196
4591msgid "The state is uniquely determined by the arguments to the plugin, so" 4900msgid "The state is uniquely determined by the arguments to the plugin, so"
4592msgstr "" 4901msgstr ""
4593 4902
4594#: plugins/check_snmp.c:1097 4903#: plugins/check_snmp.c:1197
4595msgid "changing the arguments will create a new state file." 4904msgid "changing the arguments will create a new state file."
4596msgstr "" 4905msgstr ""
4597 4906
@@ -4599,27 +4908,27 @@ msgstr ""
4599msgid "Port number must be a positive integer" 4908msgid "Port number must be a positive integer"
4600msgstr "Le numéro du port doit être un nombre entier positif" 4909msgstr "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
4604msgid "Server answer: %s" 4913msgid "Server answer: %s"
4605msgstr "Réponse du serveur: %s" 4914msgstr "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
4609msgid "SSH WARNING - %s (protocol %s) version mismatch, expected '%s'\n" 4918msgid "SSH WARNING - %s (protocol %s) version mismatch, expected '%s'\n"
4610msgstr "" 4919msgstr ""
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
4615msgid "SSH OK - %s (protocol %s)\n" 4924msgid "SSH OK - %s (protocol %s) | %s\n"
4616msgstr "SSH OK - %s (protocole %s)\n" 4925msgstr "SSH OK - %s (protocole %s)\n"
4617 4926
4618#: plugins/check_ssh.c:274 4927#: plugins/check_ssh.c:281
4619msgid "Try to connect to an SSH server at specified server and port" 4928msgid "Try to connect to an SSH server at specified server and port"
4620msgstr "Essaye de se connecter à un serveur SSH précisé à un port précis" 4929msgstr "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
4623msgid "" 4932msgid ""
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)"
4625msgstr "" 4934msgstr ""
@@ -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
4731msgid "CRITICAL - Generic check_tcp called with unknown service\n" 5040msgid "CRITICAL - Generic check_tcp called with unknown service\n"
4732msgstr "" 5041msgstr ""
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
4736msgid "With UDP checks, a send/expect string must be specified." 5045msgid "With UDP checks, a send/expect string must be specified."
4737msgstr "" 5046msgstr ""
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
4743msgid "CRITICAL - Cannot retrieve server certificate.\n"
4744msgstr "CRITIQUE - Impossible d'obtenir le certificat du serveur.\n"
4745
4746#: plugins/check_tcp.c:418
4747msgid "No arguments found" 5051msgid "No arguments found"
4748msgstr "Pas de paramètres" 5052msgstr "Pas de paramètres"
4749 5053
4750#: plugins/check_tcp.c:519 5054#: plugins/check_tcp.c:534
4751msgid "Maxbytes must be a positive integer" 5055msgid "Maxbytes must be a positive integer"
4752msgstr "Maxbytes doit être un entier positif" 5056msgstr "Maxbytes doit être un entier positif"
4753 5057
4754#: plugins/check_tcp.c:537 5058#: plugins/check_tcp.c:552
4755msgid "Refuse must be one of ok, warn, crit" 5059msgid "Refuse must be one of ok, warn, crit"
4756msgstr "Refuse doit être parmis ok, warn, crit" 5060msgstr "Refuse doit être parmis ok, warn, crit"
4757 5061
4758#: plugins/check_tcp.c:547 5062#: plugins/check_tcp.c:562
4759msgid "Mismatch must be one of ok, warn, crit" 5063msgid "Mismatch must be one of ok, warn, crit"
4760msgstr "Mismatch doit être parmis ok, warn, crit" 5064msgstr "Mismatch doit être parmis ok, warn, crit"
4761 5065
4762#: plugins/check_tcp.c:553 5066#: plugins/check_tcp.c:568
4763msgid "Delay must be a positive integer" 5067msgid "Delay must be a positive integer"
4764msgstr "Delay doit être un entier positif" 5068msgstr "Delay doit être un entier positif"
4765 5069
4766#: plugins/check_tcp.c:581 5070#: plugins/check_tcp.c:613
4767msgid "You must provide a server address" 5071msgid "You must provide a server address"
4768msgstr "Vous devez fournir une adresse serveur" 5072msgstr "Vous devez fournir une adresse serveur"
4769 5073
4770#: plugins/check_tcp.c:583 5074#: plugins/check_tcp.c:615
4771msgid "Invalid hostname, address or socket" 5075msgid "Invalid hostname, address or socket"
4772msgstr "Adresse/Nom/Socket invalide" 5076msgstr "Adresse/Nom/Socket invalide"
4773 5077
4774#: plugins/check_tcp.c:597 5078#: plugins/check_tcp.c:629
4775#, c-format 5079#, c-format
4776msgid "" 5080msgid ""
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
4784msgid "" 5088msgid ""
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
4792msgid "Default: nothing added to send, \\r\\n added to end of quit" 5096msgid "Default: nothing added to send, \\r\\n added to end of quit"
4793msgstr "" 5097msgstr ""
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
4797msgid "String to send to the server" 5101msgid "String to send to the server"
4798msgstr "Chaîne de caractères à envoyer au serveur" 5102msgstr "Chaîne de caractères à envoyer au serveur"
4799 5103
4800#: plugins/check_tcp.c:615 5104#: plugins/check_tcp.c:647
4801msgid "String to expect in server response" 5105msgid "String to expect in server response"
4802msgstr "Chaîne de caractères à attendre en réponse" 5106msgstr "Chaîne de caractères à attendre en réponse"
4803 5107
4804#: plugins/check_tcp.c:615 5108#: plugins/check_tcp.c:647
4805msgid "(may be repeated)" 5109msgid "(may be repeated)"
4806msgstr "(peut être utilisé plusieurs fois)" 5110msgstr "(peut être utilisé plusieurs fois)"
4807 5111
4808#: plugins/check_tcp.c:617 5112#: plugins/check_tcp.c:649
4809msgid "All expect strings need to occur in server response. Default is any" 5113msgid "All expect strings need to occur in server response. Default is any"
4810msgstr "" 5114msgstr ""
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
4815msgid "String to send server to initiate a clean close of the connection" 5119msgid "String to send server to initiate a clean close of the connection"
4816msgstr "Chaîne de caractères à envoyer pour fermer gracieusement la connection" 5120msgstr "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
4819msgid "Accept TCP refusals with states ok, warn, crit (default: crit)" 5123msgid "Accept TCP refusals with states ok, warn, crit (default: crit)"
4820msgstr "" 5124msgstr ""
4821 5125
4822#: plugins/check_tcp.c:623 5126#: plugins/check_tcp.c:655
4823msgid "" 5127msgid ""
4824"Accept expected string mismatches with states ok, warn, crit (default: warn)" 5128"Accept expected string mismatches with states ok, warn, crit (default: warn)"
4825msgstr "" 5129msgstr ""
4826 5130
4827#: plugins/check_tcp.c:625 5131#: plugins/check_tcp.c:657
4828msgid "Hide output from TCP socket" 5132msgid "Hide output from TCP socket"
4829msgstr "Cacher la réponse provenant du socket TCP" 5133msgstr "Cacher la réponse provenant du socket TCP"
4830 5134
4831#: plugins/check_tcp.c:627 5135#: plugins/check_tcp.c:659
4832msgid "Close connection once more than this number of bytes are received" 5136msgid "Close connection once more than this number of bytes are received"
4833msgstr "" 5137msgstr ""
4834 5138
4835#: plugins/check_tcp.c:629 5139#: plugins/check_tcp.c:661
4836msgid "Seconds to wait between sending string and polling for response" 5140msgid "Seconds to wait between sending string and polling for response"
4837msgstr "" 5141msgstr ""
4838 5142
4839#: plugins/check_tcp.c:635 5143#: plugins/check_tcp.c:666
5144msgid "1st is #days for warning, 2nd is critical (if not specified - 0)."
5145msgstr ""
5146
5147#: plugins/check_tcp.c:668
4840msgid "Use SSL for the connection." 5148msgid "Use SSL for the connection."
4841msgstr "" 5149msgstr ""
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
4850msgid "TIME UNKNOWN - could not send UDP request to server %s, port %d\n" 5158msgid "TIME UNKNOWN - could not send UDP request to server %s, port %d\n"
4851msgstr "" 5159msgstr ""
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"
4900msgstr "" 5208msgstr ""
4901 5209
4902#: plugins/check_ups.c:144 5210#: plugins/check_ups.c:144
4903#, c-format
4904msgid "On Battery, Low Battery" 5211msgid "On Battery, Low Battery"
4905msgstr "Sur Batterie, Batterie faible" 5212msgstr "Sur Batterie, Batterie faible"
4906 5213
@@ -4953,7 +5260,6 @@ msgid ", Unknown"
4953msgstr ", Inconnu" 5260msgstr ", Inconnu"
4954 5261
4955#: plugins/check_ups.c:324 5262#: plugins/check_ups.c:324
4956#, c-format
4957msgid "UPS does not support any available options\n" 5263msgid "UPS does not support any available options\n"
4958msgstr "L'UPS ne supporte aucune des options disponibles\n" 5264msgstr "L'UPS ne supporte aucune des options disponibles\n"
4959 5265
@@ -5070,108 +5376,108 @@ msgstr ""
5070msgid "http://www.networkupstools.org" 5376msgid "http://www.networkupstools.org"
5071msgstr "" 5377msgstr ""
5072 5378
5073#: plugins/check_users.c:92 5379#: plugins/check_users.c:110
5074#, c-format 5380#, c-format
5075msgid "# users=%d" 5381msgid "# users=%d"
5076msgstr "# utilisateurs=%d" 5382msgstr "# utilisateurs=%d"
5077 5383
5078#: plugins/check_users.c:115 5384#: plugins/check_users.c:133
5079msgid "Unable to read output" 5385msgid "Unable to read output"
5080msgstr "Impossible de lire les données en entrée" 5386msgstr "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
5084msgid "USERS %s - %d users currently logged in |%s\n" 5390msgid "USERS %s - %d users currently logged in |%s\n"
5085msgstr "UTILISATEURS %s - %d utilisateurs actuellement connectés sur |%s\n" 5391msgstr "UTILISATEURS %s - %d utilisateurs actuellement connectés sur |%s\n"
5086 5392
5087#: plugins/check_users.c:207 5393#: plugins/check_users.c:219
5088msgid "This plugin checks the number of users currently logged in on the local" 5394msgid "This plugin checks the number of users currently logged in on the local"
5089msgstr "" 5395msgstr ""
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
5094msgid "" 5400msgid ""
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."
5096msgstr "et génère une erreur si le nombre excède le seuil spécifié." 5402msgstr "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
5099msgid "Set WARNING status if more than INTEGER users are logged in" 5405msgid "Set WARNING status if more than INTEGER users are logged in"
5100msgstr "" 5406msgstr ""
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
5105msgid "Set CRITICAL status if more than INTEGER users are logged in" 5411msgid "Set CRITICAL status if more than INTEGER users are logged in"
5106msgstr "" 5412msgstr ""
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
5112msgid "CRITICAL - Couldn't open device %s: %s\n" 5418msgid "CRITICAL - Couldn't open device %s: %s\n"
5113msgstr "Critique - Impossible d'ouvrir le périphérique %s: %s\n" 5419msgstr "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
5117msgid "CRITICAL - SMART_CMD_ENABLE\n" 5423msgid "CRITICAL - SMART_CMD_ENABLE\n"
5118msgstr "CRITIQUE - SMART_CMD_ENABLE\n" 5424msgstr "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
5122msgid "CRITICAL - SMART_READ_VALUES: %s\n" 5428msgid "CRITICAL - SMART_READ_VALUES: %s\n"
5123msgstr "CRITIQUE - SMART_READ_VALUES: %s\n" 5429msgstr "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
5127msgid "CRITICAL - %d Harddrive PreFailure%cDetected! %d/%d tests failed.\n" 5433msgid "CRITICAL - %d Harddrive PreFailure%cDetected! %d/%d tests failed.\n"
5128msgstr "" 5434msgstr ""
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
5133msgid "WARNING - %d Harddrive Advisor%s Detected. %d/%d tests failed.\n" 5439msgid "WARNING - %d Harddrive Advisor%s Detected. %d/%d tests failed.\n"
5134msgstr "" 5440msgstr ""
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
5140msgid "OK - Operational (%d/%d tests passed)\n" 5446msgid "OK - Operational (%d/%d tests passed)\n"
5141msgstr "OK - En fonctionnement (%d/%d les tests on été réussi)\n" 5447msgstr "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
5145msgid "ERROR - Status '%d' unkown. %d/%d tests passed\n" 5451msgid "ERROR - Status '%d' unknown. %d/%d tests passed\n"
5146msgstr "ERREUR - État '%d' inconnu. %d/%d les tests on réussi\n" 5452msgstr "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
5150msgid "OffLineStatus=%d {%s}, AutoOffLine=%s, OffLineTimeout=%d minutes\n" 5456msgid "OffLineStatus=%d {%s}, AutoOffLine=%s, OffLineTimeout=%d minutes\n"
5151msgstr "" 5457msgstr ""
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
5156msgid "OffLineCapability=%d {%s %s %s}\n" 5462msgid "OffLineCapability=%d {%s %s %s}\n"
5157msgstr "Capacité Hors Ligne=%d {%s %s %s}\n" 5463msgstr "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
5161msgid "SmartRevision=%d, CheckSum=%d, SmartCapability=%d {%s %s}\n" 5467msgid "SmartRevision=%d, CheckSum=%d, SmartCapability=%d {%s %s}\n"
5162msgstr "Révision Smart=%d, Somme de contrôle=%d, Capacité Smart=%d {%s %s}\n" 5468msgstr "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
5166msgid "CRITICAL - %s: %s\n" 5472msgid "CRITICAL - %s: %s\n"
5167msgstr "CRITIQUE - %s: %s\n" 5473msgstr "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
5171msgid "CRITICAL - SMART_READ_THRESHOLDS: %s\n" 5477msgid "CRITICAL - SMART_READ_THRESHOLDS: %s\n"
5172msgstr "CRITIQUE - SMART_READ_THRESHOLDS: %s\n" 5478msgstr "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
5176msgid "" 5482msgid ""
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
5184msgid "Select device DEVICE" 5490msgid "Select device DEVICE"
5185msgstr "" 5491msgstr ""
5186 5492
5187#: plugins/check_ide_smart.c:497 5493#: plugins/check_ide_smart.c:610
5188msgid "" 5494msgid ""
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"
5191msgstr "" 5497msgstr ""
5192 5498
5193#: plugins/check_ide_smart.c:499 5499#: plugins/check_ide_smart.c:612
5194msgid "Perform immediately offline tests" 5500msgid "Perform immediately offline tests"
5195msgstr "" 5501msgstr ""
5196 5502
5197#: plugins/check_ide_smart.c:501 5503#: plugins/check_ide_smart.c:614
5198msgid "Returns the number of failed tests" 5504msgid "Returns the number of failed tests"
5199msgstr "" 5505msgstr ""
5200 5506
5201#: plugins/check_ide_smart.c:503 5507#: plugins/check_ide_smart.c:616
5202msgid "Turn on automatic offline tests" 5508msgid "Turn on automatic offline tests"
5203msgstr "" 5509msgstr ""
5204 5510
5205#: plugins/check_ide_smart.c:505 5511#: plugins/check_ide_smart.c:618
5206msgid "Turn off automatic offline tests" 5512msgid "Turn off automatic offline tests"
5207msgstr "" 5513msgstr ""
5208 5514
5209#: plugins/check_ide_smart.c:507 5515#: plugins/check_ide_smart.c:620
5210msgid "Output suitable for Nagios" 5516msgid "Output suitable for the monitoring system"
5211msgstr "" 5517msgstr ""
5212 5518
5213#: plugins/negate.c:96 5519#: plugins/negate.c:99
5214msgid "No data returned from command\n" 5520msgid "No data returned from command\n"
5215msgstr "Pas de données reçues de la commande\n" 5521msgstr "Pas de données reçues de la commande\n"
5216 5522
5217#: plugins/negate.c:167 5523#: plugins/negate.c:170
5218msgid "" 5524msgid ""
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
5226msgid "" 5532msgid ""
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)."
5229msgstr "" 5535msgstr ""
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
5234msgid "" 5540msgid ""
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
5242msgid "" 5548msgid ""
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
5250msgid "" 5556msgid ""
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
5258msgid "Require path to command" 5564msgid "Require path to command"
5259msgstr "Chemin vers la commande requis" 5565msgstr "Chemin vers la commande requis"
5260 5566
5261#: plugins/negate.c:243 5567#: plugins/negate.c:246
5262msgid "" 5568msgid ""
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)."
5264msgstr "" 5570msgstr ""
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
5268msgid "Additional switches can be used to control which state becomes what." 5574msgid "Additional switches can be used to control which state becomes what."
5269msgstr "" 5575msgstr ""
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
5274msgid "Keep timeout longer than the plugin timeout to retain CRITICAL status." 5580msgid "Keep timeout longer than the plugin timeout to retain CRITICAL status."
5275msgstr "" 5581msgstr ""
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
5280msgid "Custom result on Negate timeouts; see below for STATUS definition\n" 5586msgid "Custom result on Negate timeouts; see below for STATUS definition\n"
5281msgstr "" 5587msgstr ""
5282 5588
5283#: plugins/negate.c:261 5589#: plugins/negate.c:264
5284#, c-format 5590#, c-format
5285msgid "" 5591msgid ""
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
5293msgid "" 5599msgid ""
5294" quotes. Numeric values are accepted. If nothing is specified, permutes\n" 5600" quotes. Numeric values are accepted. If nothing is specified, permutes\n"
5295msgstr " quotes. Les valeurs numériques sont acceptées. Si rien n'est\n" 5601msgstr " 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
5299msgid " OK and CRITICAL.\n" 5605msgid " OK and CRITICAL.\n"
5300msgstr " spécifié, inverse OK et CRITIQUE.\n" 5606msgstr " 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
5304msgid "" 5610msgid ""
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"
5306msgstr "" 5612msgstr ""
5307 5613
5308#: plugins/negate.c:270 5614#: plugins/negate.c:273
5309msgid "Run check_ping and invert result. Must use full path to plugin" 5615msgid "Run check_ping and invert result. Must use full path to plugin"
5310msgstr "" 5616msgstr ""
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
5315msgid "This will return OK instead of WARNING and UNKNOWN instead of CRITICAL" 5621msgid "This will return OK instead of WARNING and UNKNOWN instead of CRITICAL"
5316msgstr "" 5622msgstr ""
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
5320msgid "" 5626msgid ""
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."
5322msgstr "" 5628msgstr ""
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
5327msgid "The full path of the plugin must be provided." 5633msgid "The full path of the plugin must be provided."
5328msgstr "Le chemin complet du plugin doit être spécifié." 5634msgstr "Le chemin complet du plugin doit être spécifié."
5329 5635
5330#: plugins/negate.c:277 5636#: plugins/negate.c:280
5331msgid "If the wrapped plugin returns OK, the wrapper will return CRITICAL." 5637msgid "If the wrapped plugin returns OK, the wrapper will return CRITICAL."
5332msgstr "Si le plugin executé retourne OK, l'adaptateur retournera CRITIQUE." 5638msgstr "Si le plugin executé retourne OK, l'adaptateur retournera CRITIQUE."
5333 5639
5334#: plugins/negate.c:278 5640#: plugins/negate.c:281
5335msgid "If the wrapped plugin returns CRITICAL, the wrapper will return OK." 5641msgid "If the wrapped plugin returns CRITICAL, the wrapper will return OK."
5336msgstr "Si le plugin executé retourne CRITIQUE, l'adaptateur retournera OK." 5642msgstr "Si le plugin executé retourne CRITIQUE, l'adaptateur retournera OK."
5337 5643
5338#: plugins/negate.c:279 5644#: plugins/negate.c:282
5339msgid "Otherwise, the output state of the wrapped plugin is unchanged." 5645msgid "Otherwise, the output state of the wrapped plugin is unchanged."
5340msgstr "Autrement, l'état du plugin executé reste inchangé." 5646msgstr "Autrement, l'état du plugin executé reste inchangé."
5341 5647
5342#: plugins/negate.c:281 5648#: plugins/negate.c:284
5343msgid "" 5649msgid ""
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"
5345msgstr "" 5651msgstr ""
5346 5652
5347#: plugins/negate.c:282 5653#: plugins/negate.c:285
5348msgid "plugin by setting the negate timeout a bit lower." 5654msgid "plugin by setting the negate timeout a bit lower."
5349msgstr "" 5655msgstr ""
5350 5656
5351#: plugins/netutils.c:48 5657#: plugins/netutils.c:49
5352#, c-format 5658#, c-format
5353msgid "%s - Socket timeout after %d seconds\n" 5659msgid "%s - Socket timeout after %d seconds\n"
5354msgstr "%s - Le socket n'a pas répondu dans les %d secondes\n" 5660msgstr "%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
5358msgid "%s - Abnormal timeout after %d seconds\n" 5664msgid "%s - Abnormal timeout after %d seconds\n"
5359msgstr "%s - Dépassement anormal du temps de réponse après %d secondes\n" 5665msgstr "%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
5362msgid "Send failed" 5668msgid "Send failed"
5363msgstr "L'envoi à échoué" 5669msgstr "L'envoi à échoué"
5364 5670
5365#: plugins/netutils.c:95 plugins/netutils.c:295 5671#: plugins/netutils.c:96 plugins/netutils.c:296
5366msgid "No data was received from host!" 5672msgid "No data was received from host!"
5367msgstr "Pas de données reçues de l'hôte!" 5673msgstr "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
5370msgid "Socket creation failed" 5676msgid "Socket creation failed"
5371msgstr "La création du socket à échoué " 5677msgstr "La création du socket à échoué "
5372 5678
5373#: plugins/netutils.c:232 5679#: plugins/netutils.c:233
5374msgid "Supplied path too long unix domain socket" 5680msgid "Supplied path too long unix domain socket"
5375msgstr "Le chemin fourni est trop long pour un socket unix" 5681msgstr "Le chemin fourni est trop long pour un socket unix"
5376 5682
5377#: plugins/netutils.c:304 5683#: plugins/netutils.c:305
5378msgid "Receive failed" 5684msgid "Receive failed"
5379msgstr "La réception à échoué" 5685msgstr "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
5383msgid "Invalid hostname/address - %s" 5689msgid "Invalid hostname/address - %s"
5384msgstr "Adresse/Nom invalide - %s" 5690msgstr "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
5423msgid "This plugin wraps the text output of another command (plugin)" 5729#, fuzzy
5730msgid ""
5731"This plugin wraps the text output of another command (plugin) in HTML <A>"
5424msgstr "" 5732msgstr ""
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
5427msgid "" 5737msgid ""
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"
5430msgstr "" 5740msgstr ""
5431 5741
5432#: plugins/urlize.c:171 5742#: plugins/urlize.c:171
5433msgid "" 5743msgid ""
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."
5436msgstr "" 5746msgstr ""
5437 5747
@@ -5464,20 +5774,25 @@ msgstr ""
5464msgid "urlize http://example.com/ \"check_http -H example.com -r 'two words'\"" 5774msgid "urlize http://example.com/ \"check_http -H example.com -r 'two words'\""
5465msgstr "" 5775msgstr ""
5466 5776
5467#: plugins/utils.c:171 5777#: plugins/utils.c:174
5468#, c-format 5778#, c-format
5469msgid "%s - Plugin timed out after %d seconds\n" 5779msgid "%s - Plugin timed out after %d seconds\n"
5470msgstr "%s - Le plugin n'as pas répondu dans les %d secondes\n" 5780msgstr "%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
5473msgid "failed realloc in strpcpy\n" 5783msgid "failed realloc in strpcpy\n"
5474msgstr "La fonction realloc à échoué dans strpcpy\n" 5784msgstr "La fonction realloc à échoué dans strpcpy\n"
5475 5785
5476#: plugins/utils.c:508 5786#: plugins/utils.c:511
5477msgid "failed malloc in strscat\n" 5787msgid "failed malloc in strscat\n"
5478msgstr "La fonction malloc à échoué dans strscat\n" 5788msgstr "La fonction malloc à échoué dans strscat\n"
5479 5789
5480#: plugins/utils.h:140 5790#: plugins/utils.c:531
5791#, fuzzy
5792msgid "failed malloc in xvasprintf\n"
5793msgstr "La fonction malloc à échoué dans strscat\n"
5794
5795#: plugins/utils.h:137
5481#, c-format 5796#, c-format
5482msgid "" 5797msgid ""
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
5490msgid "" 5805msgid ""
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
5507msgid "" 5822msgid ""
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
5519msgid "" 5834msgid ""
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
5531msgid "" 5847msgid ""
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"
5534msgstr "" 5851msgstr ""
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
5540msgid "" 5857msgid ""
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
5552msgid "" 5869msgid ""
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
5566msgid "" 5883msgid ""
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
5574msgid "" 5892msgid ""
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"
5578msgstr "" 5897msgstr ""
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
5585msgid "" 5905msgid ""
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"
5590msgstr "" 5909msgstr ""
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
5597msgid "" 5917msgid ""
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"
5603msgstr "" 5923msgstr ""
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
5613msgid "" 5934msgid ""
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"
5618msgstr "" 5940msgstr ""
@@ -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
5659msgid "" 5981msgid ""
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
5668msgid "" 5990msgid ""
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
5677msgid "" 5999msgid ""
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
5685msgid "Error: Cannot determine IP address of interface %s\n" 6007msgid "Error: Cannot determine IP address of interface %s\n"
5686msgstr "Erreur: Impossible d'obtenir l'adresse IP de l'interface %s\n" 6008msgstr "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
5690msgid "Error: Cannot get interface IP address on this platform.\n" 6012msgid "Error: Cannot get interface IP address on this platform.\n"
5691msgstr "Erreur: Impossible d'obtenir l'adresse IP sur cette architecture.\n" 6013msgstr "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
5695msgid "Pretending to be relay client %s\n" 6017msgid "Pretending to be relay client %s\n"
5696msgstr "" 6018msgstr ""
5697 6019
5698#: plugins-root/check_dhcp.c:523 6020#: plugins-root/check_dhcp.c:528
5699#, c-format 6021#, c-format
5700msgid "DHCPDISCOVER to %s port %d\n" 6022msgid "DHCPDISCOVER to %s port %d\n"
5701msgstr "DHCPDISCOVER vers %s port %d\n" 6023msgstr "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
5705msgid "Result=ERROR\n" 6027msgid "Result=ERROR\n"
5706msgstr "Résultat=ERREUR\n" 6028msgstr "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
5710msgid "Result=OK\n" 6032msgid "Result=OK\n"
5711msgstr "Résultat=OK\n" 6033msgstr "Résultat=OK\n"
@@ -5809,246 +6131,273 @@ msgstr ""
5809msgid "Requested server address: %s\n" 6131msgid "Requested server address: %s\n"
5810msgstr "Adresse serveur demandée: %s\n" 6132msgstr "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
5814msgid "Lease Time: Infinite\n" 6136msgid "Lease Time: Infinite\n"
5815msgstr "Durée du Bail: Infini\n" 6137msgstr "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
5819msgid "Lease Time: %lu seconds\n" 6141msgid "Lease Time: %lu seconds\n"
5820msgstr "Durée du Bail: %lu secondes\n" 6142msgstr "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
5824msgid "Renewal Time: Infinite\n" 6146msgid "Renewal Time: Infinite\n"
5825msgstr "Renouvellement du bail: Infini\n" 6147msgstr "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
5829msgid "Renewal Time: %lu seconds\n" 6151msgid "Renewal Time: %lu seconds\n"
5830msgstr "Durée du renouvellement = %lu secondes\n" 6152msgstr "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
5834msgid "Rebinding Time: Infinite\n" 6156msgid "Rebinding Time: Infinite\n"
5835msgstr "Délai de nouvelle demande: Infini\n" 6157msgstr "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
5839msgid "Rebinding Time: %lu seconds\n" 6161msgid "Rebinding Time: %lu seconds\n"
5840msgstr "Délai de nouvelle demande: %lu secondes\n" 6162msgstr "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
5844msgid "Added offer from server @ %s" 6166msgid "Added offer from server @ %s"
5845msgstr "Rajouté offre du serveur @ %s" 6167msgstr "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
5849msgid " of IP address %s\n" 6171msgid " of IP address %s\n"
5850msgstr "de l'adresse IP %s\n" 6172msgstr "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
5854msgid "DHCP Server Match: Offerer=%s" 6176msgid "DHCP Server Match: Offerer=%s"
5855msgstr "Correspondance du serveur DHCP: Offrant=%s" 6177msgstr "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
5859msgid " Requested=%s" 6181msgid " Requested=%s"
5860msgstr " Demandé=%s" 6182msgstr " Demandé=%s"
5861 6183
5862#: plugins-root/check_dhcp.c:989 6184#: plugins-root/check_dhcp.c:990
5863#, c-format 6185#, c-format
5864msgid " (duplicate)" 6186msgid " (duplicate)"
5865msgstr "" 6187msgstr ""
5866 6188
5867#: plugins-root/check_dhcp.c:990 6189#: plugins-root/check_dhcp.c:991
5868#, c-format 6190#, c-format
5869msgid "\n" 6191msgid "\n"
5870msgstr "" 6192msgstr ""
5871 6193
5872#: plugins-root/check_dhcp.c:1038 6194#: plugins-root/check_dhcp.c:1039
5873#, c-format 6195#, c-format
5874msgid "No DHCPOFFERs were received.\n" 6196msgid "No DHCPOFFERs were received.\n"
5875msgstr "Pas de DHCPOFFERs reçus.\n" 6197msgstr "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
5879msgid "Received %d DHCPOFFER(s)" 6201msgid "Received %d DHCPOFFER(s)"
5880msgstr "Reçu %d DHCPOFFER(s)" 6202msgstr "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
5884msgid ", %s%d of %d requested servers responded" 6206msgid ", %s%d of %d requested servers responded"
5885msgstr ", %s%d de %d serveurs ont répondus" 6207msgstr ", %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
5889msgid ", requested address (%s) was %soffered" 6211msgid ", requested address (%s) was %soffered"
5890msgstr ", l'adresse demandée (%s) %s été offerte" 6212msgstr ", l'adresse demandée (%s) %s été offerte"
5891 6213
5892#: plugins-root/check_dhcp.c:1048 6214#: plugins-root/check_dhcp.c:1049
5893msgid "not " 6215msgid "not "
5894msgstr "n'as pas" 6216msgstr "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
5898msgid ", max lease time = " 6220msgid ", max lease time = "
5899msgstr ", bail maximum = " 6221msgstr ", bail maximum = "
5900 6222
5901#: plugins-root/check_dhcp.c:1052 6223#: plugins-root/check_dhcp.c:1053
5902#, c-format 6224#, c-format
5903msgid "Infinity" 6225msgid "Infinity"
5904msgstr "Infini" 6226msgstr "Infini"
5905 6227
5906#: plugins-root/check_dhcp.c:1233 6228#: plugins-root/check_dhcp.c:1234
5907#, c-format 6229#, c-format
5908msgid "Error: DLPI stream API failed to get MAC in check_ctrl: %s.\n" 6230msgid "Error: DLPI stream API failed to get MAC in check_ctrl: %s.\n"
5909msgstr "" 6231msgstr ""
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
5914msgid "Error: DLPI stream API failed to get MAC in put_ctrl/putmsg(): %s.\n" 6236msgid "Error: DLPI stream API failed to get MAC in put_ctrl/putmsg(): %s.\n"
5915msgstr "" 6237msgstr ""
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
5921msgid "Error: DLPI stream API failed to get MAC in put_both/putmsg().\n" 6243msgid "Error: DLPI stream API failed to get MAC in put_both/putmsg().\n"
5922msgstr "" 6244msgstr ""
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
5927msgid "" 6249msgid ""
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"
5929msgstr "" 6251msgstr ""
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
5935msgid "Error: DLPI stream API failed to get MAC in dl_bind/check_ctrl(): %s.\n" 6257msgid "Error: DLPI stream API failed to get MAC in dl_bind/check_ctrl(): %s.\n"
5936msgstr "" 6258msgstr ""
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
5942msgid "Hardware address: " 6264msgid "Hardware address: "
5943msgstr "Adresse matérielle: " 6265msgstr "Adresse matérielle: "
5944 6266
5945#: plugins-root/check_dhcp.c:1389 6267#: plugins-root/check_dhcp.c:1390
5946msgid "This plugin tests the availability of DHCP servers on a network." 6268msgid "This plugin tests the availability of DHCP servers on a network."
5947msgstr "Ce plugin teste la disponibilité de serveurs DHCP dans un réseau." 6269msgstr "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
5950msgid "IP address of DHCP server that we must hear from" 6272msgid "IP address of DHCP server that we must hear from"
5951msgstr "" 6273msgstr ""
5952 6274
5953#: plugins-root/check_dhcp.c:1403 6275#: plugins-root/check_dhcp.c:1404
5954msgid "IP address that should be offered by at least one DHCP server" 6276msgid "IP address that should be offered by at least one DHCP server"
5955msgstr "" 6277msgstr ""
5956 6278
5957#: plugins-root/check_dhcp.c:1405 6279#: plugins-root/check_dhcp.c:1406
5958msgid "Seconds to wait for DHCPOFFER before timeout occurs" 6280msgid "Seconds to wait for DHCPOFFER before timeout occurs"
5959msgstr "" 6281msgstr ""
5960 6282
5961#: plugins-root/check_dhcp.c:1407 6283#: plugins-root/check_dhcp.c:1408
5962msgid "Interface to to use for listening (i.e. eth0)" 6284msgid "Interface to to use for listening (i.e. eth0)"
5963msgstr "" 6285msgstr ""
5964 6286
5965#: plugins-root/check_dhcp.c:1409 6287#: plugins-root/check_dhcp.c:1410
5966msgid "MAC address to use in the DHCP request" 6288msgid "MAC address to use in the DHCP request"
5967msgstr "" 6289msgstr ""
5968 6290
5969#: plugins-root/check_dhcp.c:1411 6291#: plugins-root/check_dhcp.c:1412
5970msgid "Unicast testing: mimic a DHCP relay, requires -s" 6292msgid "Unicast testing: mimic a DHCP relay, requires -s"
5971msgstr "" 6293msgstr ""
5972 6294
5973#: plugins-root/check_icmp.c:1288 6295#: plugins-root/check_icmp.c:1295
5974msgid "specify a target" 6296msgid "specify a target"
5975msgstr "" 6297msgstr ""
5976 6298
5977#: plugins-root/check_icmp.c:1290 6299#: plugins-root/check_icmp.c:1297
5978msgid "warning threshold (currently " 6300msgid "warning threshold (currently "
5979msgstr "Valeurs pour le seuil d'avertissement (actuellement " 6301msgstr "Valeurs pour le seuil d'avertissement (actuellement "
5980 6302
5981#: plugins-root/check_icmp.c:1293 6303#: plugins-root/check_icmp.c:1300
5982msgid "critical threshold (currently " 6304msgid "critical threshold (currently "
5983msgstr "Valeurs pour le seuil critique (actuellement " 6305msgstr "Valeurs pour le seuil critique (actuellement "
5984 6306
5985#: plugins-root/check_icmp.c:1296 6307#: plugins-root/check_icmp.c:1303
5986msgid "specify a source IP address or device name" 6308msgid "specify a source IP address or device name"
5987msgstr "spécifiez une adresse ou un nom d'hôte" 6309msgstr "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
5990msgid "number of packets to send (currently " 6312msgid "number of packets to send (currently "
5991msgstr "nombre de paquets à envoyer (actuellement " 6313msgstr "nombre de paquets à envoyer (actuellement "
5992 6314
5993#: plugins-root/check_icmp.c:1301 6315#: plugins-root/check_icmp.c:1308
5994msgid "max packet interval (currently " 6316msgid "max packet interval (currently "
5995msgstr "" 6317msgstr ""
5996 6318
5997#: plugins-root/check_icmp.c:1304 6319#: plugins-root/check_icmp.c:1311
5998msgid "max target interval (currently " 6320msgid "max target interval (currently "
5999msgstr "" 6321msgstr ""
6000 6322
6001#: plugins-root/check_icmp.c:1307 6323#: plugins-root/check_icmp.c:1314
6002msgid "number of alive hosts required for success" 6324msgid "number of alive hosts required for success"
6003msgstr "nombre d'hôtes vivants requis pour réussite" 6325msgstr "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
6006msgid "TTL on outgoing packets (currently " 6328msgid "TTL on outgoing packets (currently "
6007msgstr "" 6329msgstr ""
6008 6330
6009#: plugins-root/check_icmp.c:1313 6331#: plugins-root/check_icmp.c:1320
6010msgid "timeout value (seconds, currently " 6332msgid "timeout value (seconds, currently "
6011msgstr "" 6333msgstr ""
6012 6334
6013#: plugins-root/check_icmp.c:1316 6335#: plugins-root/check_icmp.c:1323
6014msgid "Number of icmp data bytes to send" 6336msgid "Number of icmp data bytes to send"
6015msgstr "Nombre de paquets ICMP à envoyer" 6337msgstr "Nombre de paquets ICMP à envoyer"
6016 6338
6017#: plugins-root/check_icmp.c:1317 6339#: plugins-root/check_icmp.c:1324
6018msgid "Packet size will be data bytes + icmp header (currently" 6340msgid "Packet size will be data bytes + icmp header (currently"
6019msgstr "" 6341msgstr ""
6020 6342
6021#: plugins-root/check_icmp.c:1319 6343#: plugins-root/check_icmp.c:1326
6022msgid "verbose" 6344msgid "verbose"
6023msgstr "" 6345msgstr ""
6024 6346
6025#: plugins-root/check_icmp.c:1323 6347#: plugins-root/check_icmp.c:1330
6026msgid "The -H switch is optional. Naming a host (or several) to check is not." 6348msgid "The -H switch is optional. Naming a host (or several) to check is not."
6027msgstr "" 6349msgstr ""
6028 6350
6029#: plugins-root/check_icmp.c:1325 6351#: plugins-root/check_icmp.c:1332
6030msgid "" 6352msgid ""
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%"
6032msgstr "" 6354msgstr ""
6033 6355
6034#: plugins-root/check_icmp.c:1326 6356#: plugins-root/check_icmp.c:1333
6035msgid "packet loss. The default values should work well for most users." 6357msgid "packet loss. The default values should work well for most users."
6036msgstr "" 6358msgstr ""
6037 6359
6038#: plugins-root/check_icmp.c:1327 6360#: plugins-root/check_icmp.c:1334
6039msgid "" 6361msgid ""
6040"You can specify different RTA factors using the standardized abbreviations" 6362"You can specify different RTA factors using the standardized abbreviations"
6041msgstr "" 6363msgstr ""
6042 6364
6043#: plugins-root/check_icmp.c:1328 6365#: plugins-root/check_icmp.c:1335
6044msgid "" 6366msgid ""
6045"us (microseconds), ms (milliseconds, default) or just plain s for seconds." 6367"us (microseconds), ms (milliseconds, default) or just plain s for seconds."
6046msgstr "" 6368msgstr ""
6047 6369
6048#: plugins-root/check_icmp.c:1334 6370#: plugins-root/check_icmp.c:1341
6049msgid "The -v switch can be specified several times for increased verbosity." 6371msgid "The -v switch can be specified several times for increased verbosity."
6050msgstr "" 6372msgstr ""
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 53ccf508..8f220e98 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 @@
7msgid "" 7msgid ""
8msgstr "" 8msgstr ""
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
33msgid "Could not parse arguments" 34msgid "Could not parse arguments"
34msgstr "" 35msgstr ""
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
39msgid "Cannot catch SIGALRM" 40msgid "Cannot catch SIGALRM"
40msgstr "" 41msgstr ""
41 42
@@ -59,190 +60,194 @@ msgstr ""
59msgid "%s: Error parsing output\n" 60msgid "%s: Error parsing output\n"
60msgstr "" 61msgstr ""
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
68msgid "Timeout interval must be a positive integer" 69msgid "Timeout interval must be a positive integer"
69msgstr "" 70msgstr ""
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
75msgid "Port must be a positive integer" 76msgid "Port must be a positive integer"
76msgstr "" 77msgstr ""
77 78
78#: plugins/check_by_ssh.c:290 79#: plugins/check_by_ssh.c:291
79msgid "skip-stdout argument must be an integer" 80msgid "skip-stdout argument must be an integer"
80msgstr "" 81msgstr ""
81 82
82#: plugins/check_by_ssh.c:298 83#: plugins/check_by_ssh.c:299
83msgid "skip-stderr argument must be an integer" 84msgid "skip-stderr argument must be an integer"
84msgstr "" 85msgstr ""
85 86
86#: plugins/check_by_ssh.c:317 87#: plugins/check_by_ssh.c:322
87#, c-format 88#, c-format
88msgid "%s: You must provide a host name\n" 89msgid "%s: You must provide a host name\n"
89msgstr "" 90msgstr ""
90 91
91#: plugins/check_by_ssh.c:335 92#: plugins/check_by_ssh.c:340
92msgid "No remotecmd" 93msgid "No remotecmd"
93msgstr "" 94msgstr ""
94 95
95#: plugins/check_by_ssh.c:349 96#: plugins/check_by_ssh.c:354
96#, c-format 97#, c-format
97msgid "%s: Argument limit of %d exceeded\n" 98msgid "%s: Argument limit of %d exceeded\n"
98msgstr "" 99msgstr ""
99 100
100#: plugins/check_by_ssh.c:352 101#: plugins/check_by_ssh.c:357
101msgid "Can not (re)allocate 'commargv' buffer\n" 102msgid "Can not (re)allocate 'commargv' buffer\n"
102msgstr "" 103msgstr ""
103 104
104#: plugins/check_by_ssh.c:366 105#: plugins/check_by_ssh.c:371
105#, c-format 106#, c-format
106msgid "" 107msgid ""
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"
108msgstr "" 109msgstr ""
109 110
110#: plugins/check_by_ssh.c:369 111#: plugins/check_by_ssh.c:374
111#, c-format 112#, c-format
112msgid "" 113msgid ""
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"
115msgstr "" 116msgstr ""
116 117
117#: plugins/check_by_ssh.c:383 118#: plugins/check_by_ssh.c:388
118#, c-format 119#, c-format
119msgid "This plugin uses SSH to execute commands on a remote host" 120msgid "This plugin uses SSH to execute commands on a remote host"
120msgstr "" 121msgstr ""
121 122
122#: plugins/check_by_ssh.c:398 123#: plugins/check_by_ssh.c:403
123msgid "tell ssh to use Protocol 1 [optional]" 124msgid "tell ssh to use Protocol 1 [optional]"
124msgstr "" 125msgstr ""
125 126
126#: plugins/check_by_ssh.c:400 127#: plugins/check_by_ssh.c:405
127msgid "tell ssh to use Protocol 2 [optional]" 128msgid "tell ssh to use Protocol 2 [optional]"
128msgstr "" 129msgstr ""
129 130
130#: plugins/check_by_ssh.c:402 131#: plugins/check_by_ssh.c:407
131msgid "Ignore all or (if specified) first n lines on STDOUT [optional]" 132msgid "Ignore all or (if specified) first n lines on STDOUT [optional]"
132msgstr "" 133msgstr ""
133 134
134#: plugins/check_by_ssh.c:404 135#: plugins/check_by_ssh.c:409
135msgid "Ignore all or (if specified) first n lines on STDERR [optional]" 136msgid "Ignore all or (if specified) first n lines on STDERR [optional]"
136msgstr "" 137msgstr ""
137 138
138#: plugins/check_by_ssh.c:406 139#: plugins/check_by_ssh.c:411
139msgid "" 140msgid ""
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"
142msgstr "" 143msgstr ""
143 144
144#: plugins/check_by_ssh.c:408 145#: plugins/check_by_ssh.c:413
145msgid "command to execute on the remote machine" 146msgid "command to execute on the remote machine"
146msgstr "" 147msgstr ""
147 148
148#: plugins/check_by_ssh.c:410 149#: plugins/check_by_ssh.c:415
149msgid "SSH user name on remote host [optional]" 150msgid "SSH user name on remote host [optional]"
150msgstr "" 151msgstr ""
151 152
152#: plugins/check_by_ssh.c:412 153#: plugins/check_by_ssh.c:417
153msgid "identity of an authorized key [optional]" 154msgid "identity of an authorized key [optional]"
154msgstr "" 155msgstr ""
155 156
156#: plugins/check_by_ssh.c:414 157#: plugins/check_by_ssh.c:419
157msgid "external command file for nagios [optional]" 158msgid "external command file for monitoring [optional]"
158msgstr "" 159msgstr ""
159 160
160#: plugins/check_by_ssh.c:416 161#: plugins/check_by_ssh.c:421
161msgid "list of nagios service names, separated by ':' [optional]" 162msgid "list of monitoring service names, separated by ':' [optional]"
162msgstr "" 163msgstr ""
163 164
164#: plugins/check_by_ssh.c:418 165#: plugins/check_by_ssh.c:423
165msgid "short name of host in nagios configuration [optional]" 166msgid "short name of host in the monitoring configuration [optional]"
166msgstr "" 167msgstr ""
167 168
168#: plugins/check_by_ssh.c:420 169#: plugins/check_by_ssh.c:425
169msgid "Call ssh with '-o OPTION' (may be used multiple times) [optional]" 170msgid "Call ssh with '-o OPTION' (may be used multiple times) [optional]"
170msgstr "" 171msgstr ""
171 172
172#: plugins/check_by_ssh.c:422 173#: plugins/check_by_ssh.c:427
174msgid "Tell ssh to use this configfile [optional]"
175msgstr ""
176
177#: plugins/check_by_ssh.c:429
173msgid "Tell ssh to suppress warning and diagnostic messages [optional]" 178msgid "Tell ssh to suppress warning and diagnostic messages [optional]"
174msgstr "" 179msgstr ""
175 180
176#: plugins/check_by_ssh.c:427 181#: plugins/check_by_ssh.c:434
177msgid "The most common mode of use is to refer to a local identity file with" 182msgid "The most common mode of use is to refer to a local identity file with"
178msgstr "" 183msgstr ""
179 184
180#: plugins/check_by_ssh.c:428 185#: plugins/check_by_ssh.c:435
181msgid "the '-i' option. In this mode, the identity pair should have a null" 186msgid "the '-i' option. In this mode, the identity pair should have a null"
182msgstr "" 187msgstr ""
183 188
184#: plugins/check_by_ssh.c:429 189#: plugins/check_by_ssh.c:436
185msgid "passphrase and the public key should be listed in the authorized_keys" 190msgid "passphrase and the public key should be listed in the authorized_keys"
186msgstr "" 191msgstr ""
187 192
188#: plugins/check_by_ssh.c:430 193#: plugins/check_by_ssh.c:437
189msgid "file of the remote host. Usually the key will be restricted to running" 194msgid "file of the remote host. Usually the key will be restricted to running"
190msgstr "" 195msgstr ""
191 196
192#: plugins/check_by_ssh.c:431 197#: plugins/check_by_ssh.c:438
193msgid "only one command on the remote server. If the remote SSH server tracks" 198msgid "only one command on the remote server. If the remote SSH server tracks"
194msgstr "" 199msgstr ""
195 200
196#: plugins/check_by_ssh.c:432 201#: plugins/check_by_ssh.c:439
197msgid "invocation arguments, the one remote program may be an agent that can" 202msgid "invocation arguments, the one remote program may be an agent that can"
198msgstr "" 203msgstr ""
199 204
200#: plugins/check_by_ssh.c:433 205#: plugins/check_by_ssh.c:440
201msgid "execute additional commands as proxy" 206msgid "execute additional commands as proxy"
202msgstr "" 207msgstr ""
203 208
204#: plugins/check_by_ssh.c:435 209#: plugins/check_by_ssh.c:442
205msgid "To use passive mode, provide multiple '-C' options, and provide" 210msgid "To use passive mode, provide multiple '-C' options, and provide"
206msgstr "" 211msgstr ""
207 212
208#: plugins/check_by_ssh.c:436 213#: plugins/check_by_ssh.c:443
209msgid "" 214msgid ""
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)"
211msgstr "" 216msgstr ""
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
218msgid "Examples:" 223msgid "Examples:"
219msgstr "" 224msgstr ""
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
237msgid "Usage:" 242msgid "Usage:"
238msgstr "" 243msgstr ""
239 244
240#: plugins/check_cluster.c:230 245#: plugins/check_cluster.c:230
241#, c-format 246#, c-format
242msgid "Host/Service Cluster Plugin for Nagios 2" 247msgid "Host/Service Cluster Plugin for Monitoring"
243msgstr "" 248msgstr ""
244 249
245#: plugins/check_cluster.c:236 plugins/check_nt.c:666 250#: plugins/check_cluster.c:236 plugins/check_nt.c:676
246msgid "Options:" 251msgid "Options:"
247msgstr "" 252msgstr ""
248 253
@@ -279,13 +284,13 @@ msgid "commas"
279msgstr "" 284msgstr ""
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
289msgid "Notes:" 294msgid "Notes:"
290msgstr "" 295msgstr ""
291 296
@@ -298,288 +303,307 @@ msgstr ""
298msgid "state." 303msgid "state."
299msgstr "" 304msgstr ""
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
303msgid "Looking for: '%s'\n" 308msgid "Looking for: '%s'\n"
304msgstr "" 309msgstr ""
305 310
306#: plugins/check_dig.c:108 311#: plugins/check_dig.c:109
307msgid "dig returned an error status" 312msgid "dig returned an error status"
308msgstr "" 313msgstr ""
309 314
310#: plugins/check_dig.c:133 315#: plugins/check_dig.c:134
311msgid "Server not found in ANSWER SECTION" 316msgid "Server not found in ANSWER SECTION"
312msgstr "" 317msgstr ""
313 318
314#: plugins/check_dig.c:143 319#: plugins/check_dig.c:144
315msgid "No ANSWER SECTION found" 320msgid "No ANSWER SECTION found"
316msgstr "" 321msgstr ""
317 322
318#: plugins/check_dig.c:170 323#: plugins/check_dig.c:171
319msgid "Probably a non-existent host/domain" 324msgid "Probably a non-existent host/domain"
320msgstr "" 325msgstr ""
321 326
322#: plugins/check_dig.c:230 327#: plugins/check_dig.c:233
323#, c-format 328#, c-format
324msgid "Port must be a positive integer - %s" 329msgid "Port must be a positive integer - %s"
325msgstr "" 330msgstr ""
326 331
327#: plugins/check_dig.c:241 332#: plugins/check_dig.c:244
328#, c-format 333#, c-format
329msgid "Warning interval must be a positive integer - %s" 334msgid "Warning interval must be a positive integer - %s"
330msgstr "" 335msgstr ""
331 336
332#: plugins/check_dig.c:249 337#: plugins/check_dig.c:252
333#, c-format 338#, c-format
334msgid "Critical interval must be a positive integer - %s" 339msgid "Critical interval must be a positive integer - %s"
335msgstr "" 340msgstr ""
336 341
337#: plugins/check_dig.c:257 342#: plugins/check_dig.c:260
338#, c-format 343#, c-format
339msgid "Timeout interval must be a positive integer - %s" 344msgid "Timeout interval must be a positive integer - %s"
340msgstr "" 345msgstr ""
341 346
342#: plugins/check_dig.c:316 347#: plugins/check_dig.c:325
343#, c-format 348#, c-format
344msgid "This plugin test the DNS service on the specified host using dig" 349msgid "This plugin test the DNS service on the specified host using dig"
345msgstr "" 350msgstr ""
346 351
347#: plugins/check_dig.c:329 352#: plugins/check_dig.c:338
353msgid "Force dig to only use IPv4 query transport"
354msgstr ""
355
356#: plugins/check_dig.c:340
357msgid "Force dig to only use IPv6 query transport"
358msgstr ""
359
360#: plugins/check_dig.c:342
348msgid "Machine name to lookup" 361msgid "Machine name to lookup"
349msgstr "" 362msgstr ""
350 363
351#: plugins/check_dig.c:331 364#: plugins/check_dig.c:344
352msgid "Record type to lookup (default: A)" 365msgid "Record type to lookup (default: A)"
353msgstr "" 366msgstr ""
354 367
355#: plugins/check_dig.c:333 368#: plugins/check_dig.c:346
356msgid "" 369msgid ""
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"
358msgstr "" 371msgstr ""
359 372
360#: plugins/check_dig.c:334 373#: plugins/check_dig.c:347
361msgid "was in -l" 374msgid "was in -l"
362msgstr "" 375msgstr ""
363 376
364#: plugins/check_dig.c:336 377#: plugins/check_dig.c:349
365msgid "Pass STRING as argument(s) to dig" 378msgid "Pass STRING as argument(s) to dig"
366msgstr "" 379msgstr ""
367 380
368#: plugins/check_disk.c:212 381#: plugins/check_disk.c:216
369#, c-format 382#, c-format
370msgid "DISK %s: %s not found\n" 383msgid "DISK %s: %s not found\n"
371msgstr "" 384msgstr ""
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
378msgid "CRITICAL" 393msgid "CRITICAL"
379msgstr "" 394msgstr ""
380 395
381#: plugins/check_disk.c:541 396#: plugins/check_disk.c:550
382#, c-format 397#, c-format
383msgid "unit type %s not known\n" 398msgid "unit type %s not known\n"
384msgstr "" 399msgstr ""
385 400
386#: plugins/check_disk.c:544 401#: plugins/check_disk.c:553
387#, c-format 402#, c-format
388msgid "failed allocating storage for '%s'\n" 403msgid "failed allocating storage for '%s'\n"
389msgstr "" 404msgstr ""
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
396msgid "UNKNOWN" 412msgid "UNKNOWN"
397msgstr "" 413msgstr ""
398 414
399#: plugins/check_disk.c:568 415#: plugins/check_disk.c:577
400msgid "Must set a threshold value before using -p\n" 416msgid "Must set a threshold value before using -p\n"
401msgstr "" 417msgstr ""
402 418
403#: plugins/check_disk.c:606 419#: plugins/check_disk.c:618
404msgid "Must set -E before selecting paths\n" 420msgid "Must set -E before selecting paths\n"
405msgstr "" 421msgstr ""
406 422
407#: plugins/check_disk.c:611 423#: plugins/check_disk.c:626
408msgid "Must set group value before selecting paths\n" 424msgid "Must set group value before selecting paths\n"
409msgstr "" 425msgstr ""
410 426
411#: plugins/check_disk.c:618 427#: plugins/check_disk.c:633
412msgid "" 428msgid ""
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"
415msgstr "" 431msgstr ""
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
418msgid "Could not compile regular expression" 434msgid "Could not compile regular expression"
419msgstr "" 435msgstr ""
420 436
421#: plugins/check_disk.c:662 437#: plugins/check_disk.c:677
422msgid "Must set a threshold value before using -r/-R\n" 438msgid "Must set a threshold value before using -r/-R\n"
423msgstr "" 439msgstr ""
424 440
425#: plugins/check_disk.c:688 441#: plugins/check_disk.c:703
426msgid "Regular expression did not match any path or disk" 442msgid "Regular expression did not match any path or disk"
427msgstr "" 443msgstr ""
428 444
429#: plugins/check_disk.c:734 445#: plugins/check_disk.c:749
430msgid "Unknown argument" 446msgid "Unknown argument"
431msgstr "" 447msgstr ""
432 448
433#: plugins/check_disk.c:768 449#: plugins/check_disk.c:783
434#, c-format 450#, c-format
435msgid " for %s\n" 451msgid " for %s\n"
436msgstr "" 452msgstr ""
437 453
438#: plugins/check_disk.c:842 454#: plugins/check_disk.c:857
439msgid "" 455msgid ""
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"
441msgstr "" 457msgstr ""
442 458
443#: plugins/check_disk.c:843 459#: plugins/check_disk.c:858
444msgid "" 460msgid ""
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"
446msgstr "" 462msgstr ""
447 463
448#: plugins/check_disk.c:853 464#: plugins/check_disk.c:868
449msgid "Exit with WARNING status if less than INTEGER units of disk are free" 465msgid "Exit with WARNING status if less than INTEGER units of disk are free"
450msgstr "" 466msgstr ""
451 467
452#: plugins/check_disk.c:855 468#: plugins/check_disk.c:870
453msgid "Exit with WARNING status if less than PERCENT of disk space is free" 469msgid "Exit with WARNING status if less than PERCENT of disk space is free"
454msgstr "" 470msgstr ""
455 471
456#: plugins/check_disk.c:857 472#: plugins/check_disk.c:872
457msgid "Exit with CRITICAL status if less than INTEGER units of disk are free" 473msgid "Exit with CRITICAL status if less than INTEGER units of disk are free"
458msgstr "" 474msgstr ""
459 475
460#: plugins/check_disk.c:859 476#: plugins/check_disk.c:874
461msgid "Exit with CRITCAL status if less than PERCENT of disk space is free" 477msgid "Exit with CRITICAL status if less than PERCENT of disk space is free"
462msgstr "" 478msgstr ""
463 479
464#: plugins/check_disk.c:861 480#: plugins/check_disk.c:876
465msgid "Exit with WARNING status if less than PERCENT of inode space is free" 481msgid "Exit with WARNING status if less than PERCENT of inode space is free"
466msgstr "" 482msgstr ""
467 483
468#: plugins/check_disk.c:863 484#: plugins/check_disk.c:878
469msgid "Exit with CRITICAL status if less than PERCENT of inode space is free" 485msgid "Exit with CRITICAL status if less than PERCENT of inode space is free"
470msgstr "" 486msgstr ""
471 487
472#: plugins/check_disk.c:865 488#: plugins/check_disk.c:880
473msgid "Path or partition (may be repeated)" 489msgid "Path or partition (may be repeated)"
474msgstr "" 490msgstr ""
475 491
476#: plugins/check_disk.c:867 492#: plugins/check_disk.c:882
477msgid "Ignore device (only works if -p unspecified)" 493msgid "Ignore device (only works if -p unspecified)"
478msgstr "" 494msgstr ""
479 495
480#: plugins/check_disk.c:869 496#: plugins/check_disk.c:884
481msgid "Clear thresholds" 497msgid "Clear thresholds"
482msgstr "" 498msgstr ""
483 499
484#: plugins/check_disk.c:871 500#: plugins/check_disk.c:886
485msgid "For paths or partitions specified with -p, only check for exact paths" 501msgid "For paths or partitions specified with -p, only check for exact paths"
486msgstr "" 502msgstr ""
487 503
488#: plugins/check_disk.c:873 504#: plugins/check_disk.c:888
489msgid "Display only devices/mountpoints with errors" 505msgid "Display only devices/mountpoints with errors"
490msgstr "" 506msgstr ""
491 507
492#: plugins/check_disk.c:875 508#: plugins/check_disk.c:890
509msgid "Don't account root-reserved blocks into freespace in perfdata"
510msgstr ""
511
512#: plugins/check_disk.c:892
493msgid "" 513msgid ""
494"Group paths. Thresholds apply to (free-)space of all partitions together" 514"Group paths. Thresholds apply to (free-)space of all partitions together"
495msgstr "" 515msgstr ""
496 516
497#: plugins/check_disk.c:877 517#: plugins/check_disk.c:894
498msgid "Same as '--units kB'" 518msgid "Same as '--units kB'"
499msgstr "" 519msgstr ""
500 520
501#: plugins/check_disk.c:879 521#: plugins/check_disk.c:896
502msgid "Only check local filesystems" 522msgid "Only check local filesystems"
503msgstr "" 523msgstr ""
504 524
505#: plugins/check_disk.c:881 525#: plugins/check_disk.c:898
506msgid "" 526msgid ""
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"
509msgstr "" 529msgstr ""
510 530
511#: plugins/check_disk.c:882 531#: plugins/check_disk.c:899
512msgid "to test if they are accessible (e.g. to detect Stale NFS Handles)" 532msgid "to test if they are accessible (e.g. to detect Stale NFS Handles)"
513msgstr "" 533msgstr ""
514 534
515#: plugins/check_disk.c:884 535#: plugins/check_disk.c:901
516msgid "Display the mountpoint instead of the partition" 536msgid "Display the mountpoint instead of the partition"
517msgstr "" 537msgstr ""
518 538
519#: plugins/check_disk.c:886 539#: plugins/check_disk.c:903
520msgid "Same as '--units MB'" 540msgid "Same as '--units MB'"
521msgstr "" 541msgstr ""
522 542
523#: plugins/check_disk.c:888 543#: plugins/check_disk.c:905
524msgid "Explicitly select all paths. This is equivalent to -R '.*'" 544msgid "Explicitly select all paths. This is equivalent to -R '.*'"
525msgstr "" 545msgstr ""
526 546
527#: plugins/check_disk.c:890 547#: plugins/check_disk.c:907
528msgid "" 548msgid ""
529"Case insensitive regular expression for path/partition (may be repeated)" 549"Case insensitive regular expression for path/partition (may be repeated)"
530msgstr "" 550msgstr ""
531 551
532#: plugins/check_disk.c:892 552#: plugins/check_disk.c:909
533msgid "Regular expression for path or partition (may be repeated)" 553msgid "Regular expression for path or partition (may be repeated)"
534msgstr "" 554msgstr ""
535 555
536#: plugins/check_disk.c:894 556#: plugins/check_disk.c:911
537msgid "" 557msgid ""
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)"
540msgstr "" 560msgstr ""
541 561
542#: plugins/check_disk.c:896 562#: plugins/check_disk.c:913
543msgid "" 563msgid ""
544"Regular expression to ignore selected path or partition (may be repeated)" 564"Regular expression to ignore selected path or partition (may be repeated)"
545msgstr "" 565msgstr ""
546 566
547#: plugins/check_disk.c:899 567#: plugins/check_disk.c:916
548msgid "Choose bytes, kB, MB, GB, TB (default: MB)" 568msgid "Choose bytes, kB, MB, GB, TB (default: MB)"
549msgstr "" 569msgstr ""
550 570
551#: plugins/check_disk.c:902 571#: plugins/check_disk.c:919
552msgid "Ignore all filesystems of indicated type (may be repeated)" 572msgid "Ignore all filesystems of indicated type (may be repeated)"
553msgstr "" 573msgstr ""
554 574
555#: plugins/check_disk.c:907 575#: plugins/check_disk.c:921
576msgid "Check only filesystems of indicated type (may be repeated)"
577msgstr ""
578
579#: plugins/check_disk.c:926
556msgid "Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB" 580msgid "Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB"
557msgstr "" 581msgstr ""
558 582
559#: plugins/check_disk.c:909 583#: plugins/check_disk.c:928
560msgid "" 584msgid ""
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"
563msgstr "" 587msgstr ""
564 588
565#: plugins/check_disk.c:910 589#: plugins/check_disk.c:929
566msgid "" 590msgid ""
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"
569msgstr "" 593msgstr ""
570 594
571#: plugins/check_disk.c:912 595#: plugins/check_disk.c:931
572msgid "" 596msgid ""
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"
575msgstr "" 599msgstr ""
576 600
577#: plugins/check_disk.c:938 601#: plugins/check_disk.c:957
578#, c-format 602#, c-format
579msgid "%s %s: %s\n" 603msgid "%s %s: %s\n"
580msgstr "" 604msgstr ""
581 605
582#: plugins/check_disk.c:938 606#: plugins/check_disk.c:957
583msgid "is not accessible" 607msgid "is not accessible"
584msgstr "" 608msgstr ""
585 609
@@ -616,13 +640,15 @@ msgid "server %s is not authoritative for %s"
616msgstr "" 640msgstr ""
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
621msgid "OK" 645msgid "OK"
622msgstr "" 646msgstr ""
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
627msgid "WARNING" 653msgid "WARNING"
628msgstr "" 654msgstr ""
@@ -789,142 +815,176 @@ msgstr ""
789msgid "of the <state> argument with optional text" 815msgid "of the <state> argument with optional text"
790msgstr "" 816msgstr ""
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
795msgid "Could not open pipe: %s\n" 821msgid "Could not open pipe: %s\n"
796msgstr "" 822msgstr ""
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
801msgid "Could not open stderr for %s\n" 827msgid "Could not open stderr for %s\n"
802msgstr "" 828msgstr ""
803 829
804#: plugins/check_fping.c:154 830#: plugins/check_fping.c:157
831msgid "FPING UNKNOWN - IP address not found\n"
832msgstr ""
833
834#: plugins/check_fping.c:160
835msgid "FPING UNKNOWN - invalid commandline argument\n"
836msgstr ""
837
838#: plugins/check_fping.c:163
839msgid "FPING UNKNOWN - failed system call\n"
840msgstr ""
841
842#: plugins/check_fping.c:187
805#, c-format 843#, c-format
806msgid "FPING UNKNOW - %s not found\n" 844msgid "FPING UNKNOW - %s not found\n"
807msgstr "" 845msgstr ""
808 846
809#: plugins/check_fping.c:158 847#: plugins/check_fping.c:191
810#, c-format 848#, c-format
811msgid "FPING CRITICAL - %s is unreachable\n" 849msgid "FPING CRITICAL - %s is unreachable\n"
812msgstr "" 850msgstr ""
813 851
814#: plugins/check_fping.c:163 852#: plugins/check_fping.c:196
853#, c-format
854msgid "FPING UNKNOWN - %s parameter error\n"
855msgstr ""
856
857#: plugins/check_fping.c:200 plugins/check_fping.c:240
815#, c-format 858#, c-format
816msgid "FPING CRITICAL - %s is down\n" 859msgid "FPING CRITICAL - %s is down\n"
817msgstr "" 860msgstr ""
818 861
819#: plugins/check_fping.c:190 862#: plugins/check_fping.c:227
820#, c-format 863#, c-format
821msgid "FPING %s - %s (loss=%.0f%%, rta=%f ms)|%s %s\n" 864msgid "FPING %s - %s (loss=%.0f%%, rta=%f ms)|%s %s\n"
822msgstr "" 865msgstr ""
823 866
824#: plugins/check_fping.c:211 867#: plugins/check_fping.c:253
825#, c-format 868#, c-format
826msgid "FPING %s - %s (loss=%.0f%% )|%s\n" 869msgid "FPING %s - %s (loss=%.0f%% )|%s\n"
827msgstr "" 870msgstr ""
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
837msgid "Invalid hostname/address" 881msgid "Invalid hostname/address"
838msgstr "" 882msgstr ""
839 883
840#: plugins/check_fping.c:314 884#: plugins/check_fping.c:345 plugins/check_ldap.c:353 plugins/check_ping.c:246
885msgid "IPv6 support not available\n"
886msgstr ""
887
888#: plugins/check_fping.c:378
841msgid "Packet size must be a positive integer" 889msgid "Packet size must be a positive integer"
842msgstr "" 890msgstr ""
843 891
844#: plugins/check_fping.c:320 892#: plugins/check_fping.c:384
845msgid "Packet count must be a positive integer" 893msgid "Packet count must be a positive integer"
846msgstr "" 894msgstr ""
847 895
848#: plugins/check_fping.c:326 896#: plugins/check_fping.c:390
849msgid "Target timeout must be a positive integer" 897msgid "Target timeout must be a positive integer"
850msgstr "" 898msgstr ""
851 899
852#: plugins/check_fping.c:332 900#: plugins/check_fping.c:396
853msgid "Interval must be a positive integer" 901msgid "Interval must be a positive integer"
854msgstr "" 902msgstr ""
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
859msgid "Hostname was not supplied" 907msgid "Hostname was not supplied"
860msgstr "" 908msgstr ""
861 909
862#: plugins/check_fping.c:358 910#: plugins/check_fping.c:422
863#, c-format 911#, c-format
864msgid "%s: Only one threshold may be packet loss (%s)\n" 912msgid "%s: Only one threshold may be packet loss (%s)\n"
865msgstr "" 913msgstr ""
866 914
867#: plugins/check_fping.c:362 915#: plugins/check_fping.c:426
868#, c-format 916#, c-format
869msgid "%s: Only one threshold must be packet loss (%s)\n" 917msgid "%s: Only one threshold must be packet loss (%s)\n"
870msgstr "" 918msgstr ""
871 919
872#: plugins/check_fping.c:394 920#: plugins/check_fping.c:458
873msgid "" 921msgid ""
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"
876msgstr "" 924msgstr ""
877 925
878#: plugins/check_fping.c:396 926#: plugins/check_fping.c:460
879msgid "Note that it is necessary to set the suid flag on fping." 927msgid "Note that it is necessary to set the suid flag on fping."
880msgstr "" 928msgstr ""
881 929
882#: plugins/check_fping.c:406 930#: plugins/check_fping.c:472
883msgid "" 931msgid ""
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)"
886msgstr "" 934msgstr ""
887 935
888#: plugins/check_fping.c:408 plugins/check_ping.c:573 936#: plugins/check_fping.c:474 plugins/check_ping.c:575
889msgid "warning threshold pair" 937msgid "warning threshold pair"
890msgstr "" 938msgstr ""
891 939
892#: plugins/check_fping.c:410 plugins/check_ping.c:575 940#: plugins/check_fping.c:476 plugins/check_ping.c:577
893msgid "critical threshold pair" 941msgid "critical threshold pair"
894msgstr "" 942msgstr ""
895 943
896#: plugins/check_fping.c:412 944#: plugins/check_fping.c:478
897msgid "size of ICMP packet" 945msgid "size of ICMP packet"
898msgstr "" 946msgstr ""
899 947
900#: plugins/check_fping.c:414 948#: plugins/check_fping.c:480
901msgid "number of ICMP packets to send" 949msgid "number of ICMP packets to send"
902msgstr "" 950msgstr ""
903 951
904#: plugins/check_fping.c:416 952#: plugins/check_fping.c:482
905msgid "Target timeout (ms)" 953msgid "Target timeout (ms)"
906msgstr "" 954msgstr ""
907 955
908#: plugins/check_fping.c:418 956#: plugins/check_fping.c:484
909msgid "Interval (ms) between sending packets" 957msgid "Interval (ms) between sending packets"
910msgstr "" 958msgstr ""
911 959
912#: plugins/check_fping.c:421 960#: plugins/check_fping.c:486
961msgid "name or IP Address of sourceip"
962msgstr ""
963
964#: plugins/check_fping.c:488
965msgid "source interface name"
966msgstr ""
967
968#: plugins/check_fping.c:491
913#, c-format 969#, c-format
914msgid "" 970msgid ""
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)"
917msgstr "" 973msgstr ""
918 974
919#: plugins/check_fping.c:422 975#: plugins/check_fping.c:492
920msgid "" 976msgid ""
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"
922msgstr "" 978msgstr ""
923 979
924#: plugins/check_fping.c:423 980#: plugins/check_fping.c:493
925msgid "packet loss to trigger an alarm state." 981msgid "packet loss to trigger an alarm state."
926msgstr "" 982msgstr ""
927 983
984#: plugins/check_fping.c:496
985msgid "IPv4 is used by default. Specify -6 to use IPv6."
986msgstr ""
987
928#: plugins/check_game.c:111 988#: plugins/check_game.c:111
929#, c-format 989#, c-format
930msgid "CRITICAL - Host type parameter incorrect!\n" 990msgid "CRITICAL - Host type parameter incorrect!\n"
@@ -1049,438 +1109,521 @@ msgstr ""
1049msgid "(default=%s)" 1109msgid "(default=%s)"
1050msgstr "" 1110msgstr ""
1051 1111
1052#: plugins/check_http.c:285 plugins/check_tcp.c:556 1112#: plugins/check_http.c:189
1113msgid "file does not exist or is not readable"
1114msgstr ""
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
1053msgid "Invalid certificate expiration period" 1119msgid "Invalid certificate expiration period"
1054msgstr "" 1120msgstr ""
1055 1121
1056#: plugins/check_http.c:294 plugins/check_tcp.c:568 1122#: plugins/check_http.c:348
1123msgid ""
1124"Invalid option - Valid values for SSL Version are 1 (TLSv1), 2 (SSLv2) or 3 "
1125"(SSLv3)"
1126msgstr ""
1127
1128#: plugins/check_http.c:354 plugins/check_tcp.c:599
1057msgid "Invalid option - SSL is not available" 1129msgid "Invalid option - SSL is not available"
1058msgstr "" 1130msgstr ""
1059 1131
1060#: plugins/check_http.c:318 1132#: plugins/check_http.c:375
1061msgid "Invalid onredirect option" 1133msgid "Invalid onredirect option"
1062msgstr "" 1134msgstr ""
1063 1135
1064#: plugins/check_http.c:320 1136#: plugins/check_http.c:377
1065#, c-format 1137#, c-format
1066msgid "option f:%d \n" 1138msgid "option f:%d \n"
1067msgstr "" 1139msgstr ""
1068 1140
1069#: plugins/check_http.c:341 1141#: plugins/check_http.c:398
1070msgid "Invalid port number" 1142msgid "Invalid port number"
1071msgstr "" 1143msgstr ""
1072 1144
1073#: plugins/check_http.c:389 1145#: plugins/check_http.c:450
1074#, c-format 1146#, c-format
1075msgid "Could Not Compile Regular Expression: %s" 1147msgid "Could Not Compile Regular Expression: %s"
1076msgstr "" 1148msgstr ""
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
1081msgid "IPv6 support not available" 1153msgid "IPv6 support not available"
1082msgstr "" 1154msgstr ""
1083 1155
1084#: plugins/check_http.c:465 plugins/check_ping.c:422 1156#: plugins/check_http.c:529 plugins/check_ping.c:422
1085msgid "You must specify a server address or host name" 1157msgid "You must specify a server address or host name"
1086msgstr "" 1158msgstr ""
1087 1159
1088#: plugins/check_http.c:600 plugins/check_http.c:768 1160#: plugins/check_http.c:543
1161msgid ""
1162"If you use a client certificate you must also specify a private key file"
1163msgstr ""
1164
1165#: plugins/check_http.c:667 plugins/check_http.c:835
1089msgid "HTTP UNKNOWN - Memory allocation error\n" 1166msgid "HTTP UNKNOWN - Memory allocation error\n"
1090msgstr "" 1167msgstr ""
1091 1168
1092#: plugins/check_http.c:672 1169#: plugins/check_http.c:739
1093#, c-format 1170#, c-format
1094msgid "%sServer date unknown, " 1171msgid "%sServer date unknown, "
1095msgstr "" 1172msgstr ""
1096 1173
1097#: plugins/check_http.c:675 1174#: plugins/check_http.c:742
1098#, c-format 1175#, c-format
1099msgid "%sDocument modification date unknown, " 1176msgid "%sDocument modification date unknown, "
1100msgstr "" 1177msgstr ""
1101 1178
1102#: plugins/check_http.c:682 1179#: plugins/check_http.c:749
1103#, c-format 1180#, c-format
1104msgid "%sServer date \"%100s\" unparsable, " 1181msgid "%sServer date \"%100s\" unparsable, "
1105msgstr "" 1182msgstr ""
1106 1183
1107#: plugins/check_http.c:685 1184#: plugins/check_http.c:752
1108#, c-format 1185#, c-format
1109msgid "%sDocument date \"%100s\" unparsable, " 1186msgid "%sDocument date \"%100s\" unparsable, "
1110msgstr "" 1187msgstr ""
1111 1188
1112#: plugins/check_http.c:688 1189#: plugins/check_http.c:755
1113#, c-format 1190#, c-format
1114msgid "%sDocument is %d seconds in the future, " 1191msgid "%sDocument is %d seconds in the future, "
1115msgstr "" 1192msgstr ""
1116 1193
1117#: plugins/check_http.c:693 1194#: plugins/check_http.c:760
1118#, c-format 1195#, c-format
1119msgid "%sLast modified %.1f days ago, " 1196msgid "%sLast modified %.1f days ago, "
1120msgstr "" 1197msgstr ""
1121 1198
1122#: plugins/check_http.c:696 1199#: plugins/check_http.c:763
1123#, c-format 1200#, c-format
1124msgid "%sLast modified %d:%02d:%02d ago, " 1201msgid "%sLast modified %d:%02d:%02d ago, "
1125msgstr "" 1202msgstr ""
1126 1203
1127#: plugins/check_http.c:798 1204#: plugins/check_http.c:876
1128msgid "HTTP CRITICAL - Unable to open TCP socket\n" 1205msgid "HTTP CRITICAL - Unable to open TCP socket\n"
1129msgstr "" 1206msgstr ""
1130 1207
1131#: plugins/check_http.c:901 1208#: plugins/check_http.c:995
1132msgid "HTTP CRITICAL - Error on receive\n" 1209msgid "HTTP CRITICAL - Error on receive\n"
1133msgstr "" 1210msgstr ""
1134 1211
1135#: plugins/check_http.c:911 1212#: plugins/check_http.c:1005
1136msgid "HTTP CRITICAL - No data received from host\n" 1213msgid "HTTP CRITICAL - No data received from host\n"
1137msgstr "" 1214msgstr ""
1138 1215
1139#: plugins/check_http.c:962 1216#: plugins/check_http.c:1056
1140#, c-format 1217#, c-format
1141msgid "Invalid HTTP response received from host: %s\n" 1218msgid "Invalid HTTP response received from host: %s\n"
1142msgstr "" 1219msgstr ""
1143 1220
1144#: plugins/check_http.c:966 1221#: plugins/check_http.c:1060
1145#, c-format 1222#, c-format
1146msgid "Invalid HTTP response received from host on port %d: %s\n" 1223msgid "Invalid HTTP response received from host on port %d: %s\n"
1147msgstr "" 1224msgstr ""
1148 1225
1149#: plugins/check_http.c:975 1226#: plugins/check_http.c:1069
1150#, c-format 1227#, c-format
1151msgid "Status line output matched \"%s\" - " 1228msgid "Status line output matched \"%s\" - "
1152msgstr "" 1229msgstr ""
1153 1230
1154#: plugins/check_http.c:986 1231#: plugins/check_http.c:1080
1155#, c-format 1232#, c-format
1156msgid "HTTP CRITICAL: Invalid Status Line (%s)\n" 1233msgid "HTTP CRITICAL: Invalid Status Line (%s)\n"
1157msgstr "" 1234msgstr ""
1158 1235
1159#: plugins/check_http.c:993 1236#: plugins/check_http.c:1087
1160#, c-format 1237#, c-format
1161msgid "HTTP CRITICAL: Invalid Status (%s)\n" 1238msgid "HTTP CRITICAL: Invalid Status (%s)\n"
1162msgstr "" 1239msgstr ""
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
1167msgid "%s - " 1244msgid "%s - "
1168msgstr "" 1245msgstr ""
1169 1246
1170#: plugins/check_http.c:1036 1247#: plugins/check_http.c:1129
1248#, c-format
1249msgid "%sheader '%s' not found on '%s://%s:%d%s', "
1250msgstr ""
1251
1252#: plugins/check_http.c:1141
1171#, c-format 1253#, c-format
1172msgid "%sstring '%s' not found on '%s://%s:%d%s', " 1254msgid "%sstring '%s' not found on '%s://%s:%d%s', "
1173msgstr "" 1255msgstr ""
1174 1256
1175#: plugins/check_http.c:1049 1257#: plugins/check_http.c:1154
1176#, c-format 1258#, c-format
1177msgid "%spattern not found, " 1259msgid "%spattern not found, "
1178msgstr "" 1260msgstr ""
1179 1261
1180#: plugins/check_http.c:1051 1262#: plugins/check_http.c:1156
1181#, c-format 1263#, c-format
1182msgid "%spattern found, " 1264msgid "%spattern found, "
1183msgstr "" 1265msgstr ""
1184 1266
1185#: plugins/check_http.c:1057 1267#: plugins/check_http.c:1162
1186#, c-format 1268#, c-format
1187msgid "%sExecute Error: %s, " 1269msgid "%sExecute Error: %s, "
1188msgstr "" 1270msgstr ""
1189 1271
1190#: plugins/check_http.c:1073 1272#: plugins/check_http.c:1178
1191#, c-format 1273#, c-format
1192msgid "%spage size %d too large, " 1274msgid "%spage size %d too large, "
1193msgstr "" 1275msgstr ""
1194 1276
1195#: plugins/check_http.c:1076 1277#: plugins/check_http.c:1181
1196#, c-format 1278#, c-format
1197msgid "%spage size %d too small, " 1279msgid "%spage size %d too small, "
1198msgstr "" 1280msgstr ""
1199 1281
1200#: plugins/check_http.c:1088 1282#: plugins/check_http.c:1194
1283#, c-format
1284msgid "%s - %d bytes in %.3f second response time %s|%s %s %s %s %s %s %s"
1285msgstr ""
1286
1287#: plugins/check_http.c:1206
1201#, c-format 1288#, c-format
1202msgid "%s - %d bytes in %.3f second response time %s|%s %s" 1289msgid "%s - %d bytes in %.3f second response time %s|%s %s"
1203msgstr "" 1290msgstr ""
1204 1291
1205#: plugins/check_http.c:1125 1292#: plugins/check_http.c:1244
1206msgid "HTTP UNKNOWN - Could not allocate addr\n" 1293msgid "HTTP UNKNOWN - Could not allocate addr\n"
1207msgstr "" 1294msgstr ""
1208 1295
1209#: plugins/check_http.c:1129 plugins/check_http.c:1160 1296#: plugins/check_http.c:1248 plugins/check_http.c:1279
1210msgid "HTTP UNKNOWN - Could not allocate URL\n" 1297msgid "HTTP UNKNOWN - Could not allocate URL\n"
1211msgstr "" 1298msgstr ""
1212 1299
1213#: plugins/check_http.c:1138 1300#: plugins/check_http.c:1257
1214#, c-format 1301#, c-format
1215msgid "HTTP UNKNOWN - Could not find redirect location - %s%s\n" 1302msgid "HTTP UNKNOWN - Could not find redirect location - %s%s\n"
1216msgstr "" 1303msgstr ""
1217 1304
1218#: plugins/check_http.c:1153 1305#: plugins/check_http.c:1272
1219#, c-format 1306#, c-format
1220msgid "HTTP UNKNOWN - Empty redirect location%s\n" 1307msgid "HTTP UNKNOWN - Empty redirect location%s\n"
1221msgstr "" 1308msgstr ""
1222 1309
1223#: plugins/check_http.c:1203 1310#: plugins/check_http.c:1322
1224#, c-format 1311#, c-format
1225msgid "HTTP UNKNOWN - Could not parse redirect location - %s%s\n" 1312msgid "HTTP UNKNOWN - Could not parse redirect location - %s%s\n"
1226msgstr "" 1313msgstr ""
1227 1314
1228#: plugins/check_http.c:1213 1315#: plugins/check_http.c:1332
1229#, c-format 1316#, c-format
1230msgid "HTTP WARNING - maximum redirection depth %d exceeded - %s://%s:%d%s%s\n" 1317msgid "HTTP WARNING - maximum redirection depth %d exceeded - %s://%s:%d%s%s\n"
1231msgstr "" 1318msgstr ""
1232 1319
1233#: plugins/check_http.c:1221 1320#: plugins/check_http.c:1340
1234#, c-format 1321#, c-format
1235msgid "HTTP WARNING - redirection creates an infinite loop - %s://%s:%d%s%s\n" 1322msgid "HTTP WARNING - redirection creates an infinite loop - %s://%s:%d%s%s\n"
1236msgstr "" 1323msgstr ""
1237 1324
1238#: plugins/check_http.c:1242 1325#: plugins/check_http.c:1361
1239#, c-format 1326#, c-format
1240msgid "HTTP UNKNOWN - Redirection to port above %d - %s://%s:%d%s%s\n" 1327msgid "HTTP UNKNOWN - Redirection to port above %d - %s://%s:%d%s%s\n"
1241msgstr "" 1328msgstr ""
1242 1329
1243#: plugins/check_http.c:1247 1330#: plugins/check_http.c:1366
1244#, c-format 1331#, c-format
1245msgid "Redirection to %s://%s:%d%s\n" 1332msgid "Redirection to %s://%s:%d%s\n"
1246msgstr "" 1333msgstr ""
1247 1334
1248#: plugins/check_http.c:1298 1335#: plugins/check_http.c:1440
1249msgid "This plugin tests the HTTP service on the specified host. It can test" 1336msgid "This plugin tests the HTTP service on the specified host. It can test"
1250msgstr "" 1337msgstr ""
1251 1338
1252#: plugins/check_http.c:1299 1339#: plugins/check_http.c:1441
1253msgid "normal (http) and secure (https) servers, follow redirects, search for" 1340msgid "normal (http) and secure (https) servers, follow redirects, search for"
1254msgstr "" 1341msgstr ""
1255 1342
1256#: plugins/check_http.c:1300 1343#: plugins/check_http.c:1442
1257msgid "strings and regular expressions, check connection times, and report on" 1344msgid "strings and regular expressions, check connection times, and report on"
1258msgstr "" 1345msgstr ""
1259 1346
1260#: plugins/check_http.c:1301 1347#: plugins/check_http.c:1443
1261msgid "certificate expiration times." 1348msgid "certificate expiration times."
1262msgstr "" 1349msgstr ""
1263 1350
1264#: plugins/check_http.c:1307 1351#: plugins/check_http.c:1449
1265#, c-format 1352#, c-format
1266msgid "NOTE: One or both of -H and -I must be specified" 1353msgid "NOTE: One or both of -H and -I must be specified"
1267msgstr "" 1354msgstr ""
1268 1355
1269#: plugins/check_http.c:1315 1356#: plugins/check_http.c:1457
1270msgid "Host name argument for servers using host headers (virtual host)" 1357msgid "Host name argument for servers using host headers (virtual host)"
1271msgstr "" 1358msgstr ""
1272 1359
1273#: plugins/check_http.c:1316 1360#: plugins/check_http.c:1458
1274msgid "Append a port to include it in the header (eg: example.com:5000)" 1361msgid "Append a port to include it in the header (eg: example.com:5000)"
1275msgstr "" 1362msgstr ""
1276 1363
1277#: plugins/check_http.c:1318 1364#: plugins/check_http.c:1460
1278msgid "" 1365msgid ""
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)."
1280msgstr "" 1367msgstr ""
1281 1368
1282#: plugins/check_http.c:1320 1369#: plugins/check_http.c:1462
1283msgid "Port number (default: " 1370msgid "Port number (default: "
1284msgstr "" 1371msgstr ""
1285 1372
1286#: plugins/check_http.c:1327 1373#: plugins/check_http.c:1469
1287msgid "Connect via SSL. Port defaults to 443" 1374msgid ""
1375"Connect via SSL. Port defaults to 443. VERSION is optional, and prevents"
1288msgstr "" 1376msgstr ""
1289 1377
1290#: plugins/check_http.c:1329 1378#: plugins/check_http.c:1470
1379msgid "auto-negotiation (1 = TLSv1, 2 = SSLv2, 3 = SSLv3)."
1380msgstr ""
1381
1382#: plugins/check_http.c:1472
1291msgid "Enable SSL/TLS hostname extension support (SNI)" 1383msgid "Enable SSL/TLS hostname extension support (SNI)"
1292msgstr "" 1384msgstr ""
1293 1385
1294#: plugins/check_http.c:1331 1386#: plugins/check_http.c:1474
1295msgid "" 1387msgid ""
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"
1297msgstr "" 1389msgstr ""
1298 1390
1299#: plugins/check_http.c:1332 1391#: plugins/check_http.c:1475
1300msgid "(when this option is used the URL is not checked.)\n" 1392msgid "(when this option is used the URL is not checked.)"
1393msgstr ""
1394
1395#: plugins/check_http.c:1477
1396msgid "Name of file that contains the client certificate (PEM format)"
1397msgstr ""
1398
1399#: plugins/check_http.c:1478
1400msgid "to be used in establishing the SSL session"
1301msgstr "" 1401msgstr ""
1302 1402
1303#: plugins/check_http.c:1336 1403#: plugins/check_http.c:1480
1404msgid "Name of file containing the private key (PEM format)"
1405msgstr ""
1406
1407#: plugins/check_http.c:1481
1408msgid "matching the client certificate"
1409msgstr ""
1410
1411#: plugins/check_http.c:1485
1304msgid "Comma-delimited list of strings, at least one of them is expected in" 1412msgid "Comma-delimited list of strings, at least one of them is expected in"
1305msgstr "" 1413msgstr ""
1306 1414
1307#: plugins/check_http.c:1337 1415#: plugins/check_http.c:1486
1308msgid "the first (status) line of the server response (default: " 1416msgid "the first (status) line of the server response (default: "
1309msgstr "" 1417msgstr ""
1310 1418
1311#: plugins/check_http.c:1339 1419#: plugins/check_http.c:1488
1312msgid "" 1420msgid ""
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)"
1314msgstr "" 1422msgstr ""
1315 1423
1316#: plugins/check_http.c:1341 1424#: plugins/check_http.c:1490
1425msgid "String to expect in the response headers"
1426msgstr ""
1427
1428#: plugins/check_http.c:1492
1317msgid "String to expect in the content" 1429msgid "String to expect in the content"
1318msgstr "" 1430msgstr ""
1319 1431
1320#: plugins/check_http.c:1343 1432#: plugins/check_http.c:1494
1321msgid "URL to GET or POST (default: /)" 1433msgid "URL to GET or POST (default: /)"
1322msgstr "" 1434msgstr ""
1323 1435
1324#: plugins/check_http.c:1345 1436#: plugins/check_http.c:1496
1325msgid "URL encoded http POST data" 1437msgid "URL encoded http POST data"
1326msgstr "" 1438msgstr ""
1327 1439
1328#: plugins/check_http.c:1347 1440#: plugins/check_http.c:1498
1329msgid "Set HTTP method." 1441msgid "Set HTTP method."
1330msgstr "" 1442msgstr ""
1331 1443
1332#: plugins/check_http.c:1349 1444#: plugins/check_http.c:1500
1333msgid "Don't wait for document body: stop reading after headers." 1445msgid "Don't wait for document body: stop reading after headers."
1334msgstr "" 1446msgstr ""
1335 1447
1336#: plugins/check_http.c:1350 1448#: plugins/check_http.c:1501
1337msgid "(Note that this still does an HTTP GET or POST, not a HEAD.)" 1449msgid "(Note that this still does an HTTP GET or POST, not a HEAD.)"
1338msgstr "" 1450msgstr ""
1339 1451
1340#: plugins/check_http.c:1352 1452#: plugins/check_http.c:1503
1341msgid "Warn if document is more than SECONDS old. the number can also be of" 1453msgid "Warn if document is more than SECONDS old. the number can also be of"
1342msgstr "" 1454msgstr ""
1343 1455
1344#: plugins/check_http.c:1353 1456#: plugins/check_http.c:1504
1345msgid "the form \"10m\" for minutes, \"10h\" for hours, or \"10d\" for days." 1457msgid "the form \"10m\" for minutes, \"10h\" for hours, or \"10d\" for days."
1346msgstr "" 1458msgstr ""
1347 1459
1348#: plugins/check_http.c:1355 1460#: plugins/check_http.c:1506
1349msgid "specify Content-Type header media type when POSTing\n" 1461msgid "specify Content-Type header media type when POSTing\n"
1350msgstr "" 1462msgstr ""
1351 1463
1352#: plugins/check_http.c:1358 1464#: plugins/check_http.c:1509
1353msgid "Allow regex to span newlines (must precede -r or -R)" 1465msgid "Allow regex to span newlines (must precede -r or -R)"
1354msgstr "" 1466msgstr ""
1355 1467
1356#: plugins/check_http.c:1360 1468#: plugins/check_http.c:1511
1357msgid "Search page for regex STRING" 1469msgid "Search page for regex STRING"
1358msgstr "" 1470msgstr ""
1359 1471
1360#: plugins/check_http.c:1362 1472#: plugins/check_http.c:1513
1361msgid "Search page for case-insensitive regex STRING" 1473msgid "Search page for case-insensitive regex STRING"
1362msgstr "" 1474msgstr ""
1363 1475
1364#: plugins/check_http.c:1364 1476#: plugins/check_http.c:1515
1365msgid "Return CRITICAL if found, OK if not\n" 1477msgid "Return CRITICAL if found, OK if not\n"
1366msgstr "" 1478msgstr ""
1367 1479
1368#: plugins/check_http.c:1367 1480#: plugins/check_http.c:1518
1369msgid "Username:password on sites with basic authentication" 1481msgid "Username:password on sites with basic authentication"
1370msgstr "" 1482msgstr ""
1371 1483
1372#: plugins/check_http.c:1369 1484#: plugins/check_http.c:1520
1373msgid "Username:password on proxy-servers with basic authentication" 1485msgid "Username:password on proxy-servers with basic authentication"
1374msgstr "" 1486msgstr ""
1375 1487
1376#: plugins/check_http.c:1371 1488#: plugins/check_http.c:1522
1377msgid "String to be sent in http header as \"User Agent\"" 1489msgid "String to be sent in http header as \"User Agent\""
1378msgstr "" 1490msgstr ""
1379 1491
1380#: plugins/check_http.c:1373 1492#: plugins/check_http.c:1524
1381msgid "" 1493msgid ""
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"
1384msgstr "" 1496msgstr ""
1385 1497
1386#: plugins/check_http.c:1375 1498#: plugins/check_http.c:1526
1499msgid "Print additional performance data"
1500msgstr ""
1501
1502#: plugins/check_http.c:1528
1387msgid "Wrap output in HTML link (obsoleted by urlize)" 1503msgid "Wrap output in HTML link (obsoleted by urlize)"
1388msgstr "" 1504msgstr ""
1389 1505
1390#: plugins/check_http.c:1377 1506#: plugins/check_http.c:1530
1391msgid "How to handle redirected pages. sticky is like follow but stick to the" 1507msgid "How to handle redirected pages. sticky is like follow but stick to the"
1392msgstr "" 1508msgstr ""
1393 1509
1394#: plugins/check_http.c:1378 1510#: plugins/check_http.c:1531
1395msgid "specified IP address. stickyport also ensures port stays the same." 1511msgid "specified IP address. stickyport also ensures port stays the same."
1396msgstr "" 1512msgstr ""
1397 1513
1398#: plugins/check_http.c:1380 1514#: plugins/check_http.c:1533
1399msgid "Minimum page size required (bytes) : Maximum page size required (bytes)" 1515msgid "Minimum page size required (bytes) : Maximum page size required (bytes)"
1400msgstr "" 1516msgstr ""
1401 1517
1402#: plugins/check_http.c:1390 1518#: plugins/check_http.c:1543
1403msgid "This plugin will attempt to open an HTTP connection with the host." 1519msgid "This plugin will attempt to open an HTTP connection with the host."
1404msgstr "" 1520msgstr ""
1405 1521
1406#: plugins/check_http.c:1391 1522#: plugins/check_http.c:1544
1407msgid "" 1523msgid ""
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"
1410msgstr "" 1526msgstr ""
1411 1527
1412#: plugins/check_http.c:1392 1528#: plugins/check_http.c:1545
1413msgid "" 1529msgid ""
1414"other errors return STATE_UNKNOWN. Successful connects, but incorrect " 1530"other errors return STATE_UNKNOWN. Successful connects, but incorrect "
1415"reponse" 1531"reponse"
1416msgstr "" 1532msgstr ""
1417 1533
1418#: plugins/check_http.c:1393 1534#: plugins/check_http.c:1546
1419msgid "" 1535msgid ""
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"
1421msgstr "" 1537msgstr ""
1422 1538
1423#: plugins/check_http.c:1394 1539#: plugins/check_http.c:1547
1424msgid "" 1540msgid ""
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"
1426msgstr "" 1542msgstr ""
1427 1543
1428#: plugins/check_http.c:1395 1544#: plugins/check_http.c:1548
1429msgid "(fully qualified domain name) as the [host_name] argument." 1545msgid "(fully qualified domain name) as the [host_name] argument."
1430msgstr "" 1546msgstr ""
1431 1547
1432#: plugins/check_http.c:1399 1548#: plugins/check_http.c:1552
1433msgid "This plugin can also check whether an SSL enabled web server is able to" 1549msgid "This plugin can also check whether an SSL enabled web server is able to"
1434msgstr "" 1550msgstr ""
1435 1551
1436#: plugins/check_http.c:1400 1552#: plugins/check_http.c:1553
1437msgid "serve content (optionally within a specified time) or whether the X509 " 1553msgid "serve content (optionally within a specified time) or whether the X509 "
1438msgstr "" 1554msgstr ""
1439 1555
1440#: plugins/check_http.c:1401 1556#: plugins/check_http.c:1554
1441msgid "certificate is still valid for the specified number of days." 1557msgid "certificate is still valid for the specified number of days."
1442msgstr "" 1558msgstr ""
1443 1559
1444#: plugins/check_http.c:1405 1560#: plugins/check_http.c:1556
1561msgid "Please note that this plugin does not check if the presented server"
1562msgstr ""
1563
1564#: plugins/check_http.c:1557
1565msgid "certificate matches the hostname of the server, or if the certificate"
1566msgstr ""
1567
1568#: plugins/check_http.c:1558
1569msgid "has a valid chain of trust to one of the locally installed CAs."
1570msgstr ""
1571
1572#: plugins/check_http.c:1562
1445msgid "" 1573msgid ""
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,"
1447msgstr "" 1575msgstr ""
1448 1576
1449#: plugins/check_http.c:1406 1577#: plugins/check_http.c:1563
1450msgid "" 1578msgid ""
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"
1452msgstr "" 1580msgstr ""
1453 1581
1454#: plugins/check_http.c:1407 1582#: plugins/check_http.c:1564
1455msgid "" 1583msgid ""
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,"
1458msgstr "" 1586msgstr ""
1459 1587
1460#: plugins/check_http.c:1408 1588#: plugins/check_http.c:1565
1461msgid "a STATE_CRITICAL will be returned." 1589msgid "a STATE_CRITICAL will be returned."
1462msgstr "" 1590msgstr ""
1463 1591
1464#: plugins/check_http.c:1411 1592#: plugins/check_http.c:1568
1465msgid "" 1593msgid ""
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,"
1467msgstr "" 1595msgstr ""
1468 1596
1469#: plugins/check_http.c:1412 1597#: plugins/check_http.c:1569 plugins/check_http.c:1575
1470msgid "" 1598msgid ""
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"
1473msgstr "" 1601msgstr ""
1474 1602
1475#: plugins/check_http.c:1413 1603#: plugins/check_http.c:1570
1476msgid "" 1604msgid ""
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"
1478msgstr "" 1606msgstr ""
1479 1607
1480#: plugins/check_http.c:1414 1608#: plugins/check_http.c:1571
1481msgid "the certificate is expired." 1609msgid "the certificate is expired."
1482msgstr "" 1610msgstr ""
1483 1611
1612#: plugins/check_http.c:1574
1613msgid ""
1614"When the certificate of 'www.verisign.com' is valid for more than 30 days,"
1615msgstr ""
1616
1617#: plugins/check_http.c:1576
1618msgid "30 days, but more than 14 days, a STATE_WARNING is returned."
1619msgstr ""
1620
1621#: plugins/check_http.c:1577
1622msgid ""
1623"A STATE_CRITICAL will be returned when certificate expires in less than 14 "
1624"days"
1625msgstr ""
1626
1484#: plugins/check_ldap.c:133 1627#: plugins/check_ldap.c:133
1485#, c-format 1628#, c-format
1486msgid "Could not connect to the server at port %i\n" 1629msgid "Could not connect to the server at port %i\n"
@@ -1531,10 +1674,6 @@ msgstr ""
1531msgid "%s cannot be combined with %s" 1674msgid "%s cannot be combined with %s"
1532msgstr "" 1675msgstr ""
1533 1676
1534#: plugins/check_ldap.c:353 plugins/check_ping.c:246
1535msgid "IPv6 support not available\n"
1536msgstr ""
1537
1538#: plugins/check_ldap.c:379 1677#: plugins/check_ldap.c:379
1539msgid "Please specify the host name\n" 1678msgid "Please specify the host name\n"
1540msgstr "" 1679msgstr ""
@@ -1613,61 +1752,66 @@ msgstr ""
1613msgid "Error opening %s\n" 1752msgid "Error opening %s\n"
1614msgstr "" 1753msgstr ""
1615 1754
1616#: plugins/check_load.c:160 1755#: plugins/check_load.c:163
1756#, c-format
1757msgid "could not parse load from uptime: %s\n"
1758msgstr ""
1759
1760#: plugins/check_load.c:169
1617#, c-format 1761#, c-format
1618msgid "Error code %d returned in %s\n" 1762msgid "Error code %d returned in %s\n"
1619msgstr "" 1763msgstr ""
1620 1764
1621#: plugins/check_load.c:175 1765#: plugins/check_load.c:184
1622#, c-format 1766#, c-format
1623msgid "Error in getloadavg()\n" 1767msgid "Error in getloadavg()\n"
1624msgstr "" 1768msgstr ""
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
1628msgid "Error processing %s\n" 1772msgid "Error processing %s\n"
1629msgstr "" 1773msgstr ""
1630 1774
1631#: plugins/check_load.c:189 1775#: plugins/check_load.c:198
1632#, c-format 1776#, c-format
1633msgid "load average: %.2f, %.2f, %.2f" 1777msgid "load average: %.2f, %.2f, %.2f"
1634msgstr "" 1778msgstr ""
1635 1779
1636#: plugins/check_load.c:282 1780#: plugins/check_load.c:291
1637#, c-format 1781#, c-format
1638msgid "Critical threshold for %d-minute load average is not specified\n" 1782msgid "Critical threshold for %d-minute load average is not specified\n"
1639msgstr "" 1783msgstr ""
1640 1784
1641#: plugins/check_load.c:284 1785#: plugins/check_load.c:293
1642#, c-format 1786#, c-format
1643msgid "Warning threshold for %d-minute load average is not specified\n" 1787msgid "Warning threshold for %d-minute load average is not specified\n"
1644msgstr "" 1788msgstr ""
1645 1789
1646#: plugins/check_load.c:286 1790#: plugins/check_load.c:295
1647#, c-format 1791#, c-format
1648msgid "" 1792msgid ""
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"
1651msgstr "" 1795msgstr ""
1652 1796
1653#: plugins/check_load.c:302 1797#: plugins/check_load.c:311
1654#, c-format 1798#, c-format
1655msgid "This plugin tests the current system load average." 1799msgid "This plugin tests the current system load average."
1656msgstr "" 1800msgstr ""
1657 1801
1658#: plugins/check_load.c:312 1802#: plugins/check_load.c:321
1659msgid "Exit with WARNING status if load average exceeds WLOADn" 1803msgid "Exit with WARNING status if load average exceeds WLOADn"
1660msgstr "" 1804msgstr ""
1661 1805
1662#: plugins/check_load.c:314 1806#: plugins/check_load.c:323
1663msgid "Exit with CRITICAL status if load average exceed CLOADn" 1807msgid "Exit with CRITICAL status if load average exceed CLOADn"
1664msgstr "" 1808msgstr ""
1665 1809
1666#: plugins/check_load.c:315 1810#: plugins/check_load.c:324
1667msgid "the load average format is the same used by \"uptime\" and \"w\"" 1811msgid "the load average format is the same used by \"uptime\" and \"w\""
1668msgstr "" 1812msgstr ""
1669 1813
1670#: plugins/check_load.c:317 1814#: plugins/check_load.c:326
1671msgid "Divide the load averages by the number of CPUs (when possible)" 1815msgid "Divide the load averages by the number of CPUs (when possible)"
1672msgstr "" 1816msgstr ""
1673 1817
@@ -1800,7 +1944,7 @@ msgstr ""
1800 1944
1801#: plugins/check_mrtg.c:359 1945#: plugins/check_mrtg.c:359
1802msgid "" 1946msgid ""
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"
1804msgstr "" 1948msgstr ""
1805 1949
1806#: plugins/check_mrtg.c:360 1950#: plugins/check_mrtg.c:360
@@ -1928,93 +2072,130 @@ msgstr ""
1928msgid "Usage" 2072msgid "Usage"
1929msgstr "" 2073msgstr ""
1930 2074
1931#: plugins/check_mysql.c:126 2075#: plugins/check_mysql.c:171
2076#, c-format
2077msgid "status store_result error: %s\n"
2078msgstr ""
2079
2080#: plugins/check_mysql.c:202
1932#, c-format 2081#, c-format
1933msgid "slave query error: %s\n" 2082msgid "slave query error: %s\n"
1934msgstr "" 2083msgstr ""
1935 2084
1936#: plugins/check_mysql.c:133 2085#: plugins/check_mysql.c:209
1937#, c-format 2086#, c-format
1938msgid "slave store_result error: %s\n" 2087msgid "slave store_result error: %s\n"
1939msgstr "" 2088msgstr ""
1940 2089
1941#: plugins/check_mysql.c:139 2090#: plugins/check_mysql.c:215
1942msgid "No slaves defined" 2091msgid "No slaves defined"
1943msgstr "" 2092msgstr ""
1944 2093
1945#: plugins/check_mysql.c:147 2094#: plugins/check_mysql.c:223
1946#, c-format 2095#, c-format
1947msgid "slave fetch row error: %s\n" 2096msgid "slave fetch row error: %s\n"
1948msgstr "" 2097msgstr ""
1949 2098
1950#: plugins/check_mysql.c:152 2099#: plugins/check_mysql.c:228
1951#, c-format 2100#, c-format
1952msgid "Slave running: %s" 2101msgid "Slave running: %s"
1953msgstr "" 2102msgstr ""
1954 2103
1955#: plugins/check_mysql.c:378 2104#: plugins/check_mysql.c:505
1956msgid "This program tests connections to a MySQL server" 2105msgid "This program tests connections to a MySQL server"
1957msgstr "" 2106msgstr ""
1958 2107
1959#: plugins/check_mysql.c:389 2108#: plugins/check_mysql.c:516
1960msgid "Use the specified socket (has no effect if -H is used)" 2109msgid "Use the specified socket (has no effect if -H is used)"
1961msgstr "" 2110msgstr ""
1962 2111
1963#: plugins/check_mysql.c:392 2112#: plugins/check_mysql.c:519
1964msgid "Check database with indicated name" 2113msgid "Check database with indicated name"
1965msgstr "" 2114msgstr ""
1966 2115
1967#: plugins/check_mysql.c:394 2116#: plugins/check_mysql.c:521
2117msgid "Read from the specified client options file"
2118msgstr ""
2119
2120#: plugins/check_mysql.c:523
2121msgid "Use a client options group"
2122msgstr ""
2123
2124#: plugins/check_mysql.c:525
1968msgid "Connect using the indicated username" 2125msgid "Connect using the indicated username"
1969msgstr "" 2126msgstr ""
1970 2127
1971#: plugins/check_mysql.c:396 2128#: plugins/check_mysql.c:527
1972msgid "Use the indicated password to authenticate the connection" 2129msgid "Use the indicated password to authenticate the connection"
1973msgstr "" 2130msgstr ""
1974 2131
1975#: plugins/check_mysql.c:397 2132#: plugins/check_mysql.c:528
1976msgid "IMPORTANT: THIS FORM OF AUTHENTICATION IS NOT SECURE!!!" 2133msgid "IMPORTANT: THIS FORM OF AUTHENTICATION IS NOT SECURE!!!"
1977msgstr "" 2134msgstr ""
1978 2135
1979#: plugins/check_mysql.c:398 2136#: plugins/check_mysql.c:529
1980msgid "Your clear-text password could be visible as a process table entry" 2137msgid "Your clear-text password could be visible as a process table entry"
1981msgstr "" 2138msgstr ""
1982 2139
1983#: plugins/check_mysql.c:400 2140#: plugins/check_mysql.c:531
1984msgid "Check if the slave thread is running properly." 2141msgid "Check if the slave thread is running properly."
1985msgstr "" 2142msgstr ""
1986 2143
1987#: plugins/check_mysql.c:402 2144#: plugins/check_mysql.c:533
1988msgid "Exit with WARNING status if slave server is more than INTEGER seconds" 2145msgid "Exit with WARNING status if slave server is more than INTEGER seconds"
1989msgstr "" 2146msgstr ""
1990 2147
1991#: plugins/check_mysql.c:403 plugins/check_mysql.c:406 2148#: plugins/check_mysql.c:534 plugins/check_mysql.c:537
1992msgid "behind master" 2149msgid "behind master"
1993msgstr "" 2150msgstr ""
1994 2151
1995#: plugins/check_mysql.c:405 2152#: plugins/check_mysql.c:536
1996msgid "Exit with CRITICAL status if slave server is more then INTEGER seconds" 2153msgid "Exit with CRITICAL status if slave server is more then INTEGER seconds"
1997msgstr "" 2154msgstr ""
1998 2155
1999#: plugins/check_mysql.c:409 2156#: plugins/check_mysql.c:539
2157msgid "Use ssl encryptation"
2158msgstr ""
2159
2160#: plugins/check_mysql.c:541
2161msgid "Path to CA signing the cert"
2162msgstr ""
2163
2164#: plugins/check_mysql.c:543
2165msgid "Path to SSL certificate"
2166msgstr ""
2167
2168#: plugins/check_mysql.c:545
2169msgid "Path to private SSL key"
2170msgstr ""
2171
2172#: plugins/check_mysql.c:547
2173msgid "Path to CA directory"
2174msgstr ""
2175
2176#: plugins/check_mysql.c:549
2177msgid "List of valid SSL ciphers"
2178msgstr ""
2179
2180#: plugins/check_mysql.c:553
2000msgid "" 2181msgid ""
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"
2002msgstr "" 2183msgstr ""
2003 2184
2004#: plugins/check_mysql.c:410 2185#: plugins/check_mysql.c:554
2005msgid "" 2186msgid ""
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"
2007msgstr "" 2188msgstr ""
2008 2189
2009#: plugins/check_mysql.c:411 2190#: plugins/check_mysql.c:555
2010msgid "IP address or FQDN ('localhost' will use the socket as well)." 2191msgid "IP address or FQDN ('localhost' will use the socket as well)."
2011msgstr "" 2192msgstr ""
2012 2193
2013#: plugins/check_mysql.c:415 2194#: plugins/check_mysql.c:559
2014msgid "You must specify -p with an empty string to force an empty password," 2195msgid "You must specify -p with an empty string to force an empty password,"
2015msgstr "" 2196msgstr ""
2016 2197
2017#: plugins/check_mysql.c:416 2198#: plugins/check_mysql.c:560
2018msgid "overriding any my.cnf settings." 2199msgid "overriding any my.cnf settings."
2019msgstr "" 2200msgstr ""
2020 2201
@@ -2035,7 +2216,7 @@ msgstr ""
2035msgid "Cannot parse Nagios log file for valid time" 2216msgid "Cannot parse Nagios log file for valid time"
2036msgstr "" 2217msgstr ""
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
2040msgid "%d process" 2221msgid "%d process"
2041msgid_plural "%d processes" 2222msgid_plural "%d processes"
@@ -2049,567 +2230,574 @@ msgid_plural "status log updated %d seconds ago"
2049msgstr[0] "" 2230msgstr[0] ""
2050msgstr[1] "" 2231msgstr[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
2053msgid "Expiration time must be an integer (seconds)\n" 2234msgid "Expiration time must be an integer (seconds)\n"
2054msgstr "" 2235msgstr ""
2055 2236
2056#: plugins/check_nagios.c:264 2237#: plugins/check_nagios.c:260
2238msgid "Timeout must be an integer (seconds)\n"
2239msgstr ""
2240
2241#: plugins/check_nagios.c:272
2057msgid "You must provide the status_log\n" 2242msgid "You must provide the status_log\n"
2058msgstr "" 2243msgstr ""
2059 2244
2060#: plugins/check_nagios.c:267 2245#: plugins/check_nagios.c:275
2061msgid "You must provide a process string\n" 2246msgid "You must provide a process string\n"
2062msgstr "" 2247msgstr ""
2063 2248
2064#: plugins/check_nagios.c:281 2249#: plugins/check_nagios.c:289
2065msgid "" 2250msgid ""
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"
2067msgstr "" 2252msgstr ""
2068 2253
2069#: plugins/check_nagios.c:282 2254#: plugins/check_nagios.c:290
2070msgid "" 2255msgid ""
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"
2072msgstr "" 2257msgstr ""
2073 2258
2074#: plugins/check_nagios.c:283 2259#: plugins/check_nagios.c:291
2075msgid "the number of minutes specified by the expires option." 2260msgid "the number of minutes specified by the expires option."
2076msgstr "" 2261msgstr ""
2077 2262
2078#: plugins/check_nagios.c:284 2263#: plugins/check_nagios.c:292
2079msgid "" 2264msgid ""
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."
2081msgstr "" 2266msgstr ""
2082 2267
2083#: plugins/check_nagios.c:294 2268#: plugins/check_nagios.c:302
2084msgid "Name of the log file to check" 2269msgid "Name of the log file to check"
2085msgstr "" 2270msgstr ""
2086 2271
2087#: plugins/check_nagios.c:296 2272#: plugins/check_nagios.c:304
2088msgid "Minutes aging after which logfile is considered stale" 2273msgid "Minutes aging after which logfile is considered stale"
2089msgstr "" 2274msgstr ""
2090 2275
2091#: plugins/check_nagios.c:298 2276#: plugins/check_nagios.c:306
2092msgid "Substring to search for in process arguments" 2277msgid "Substring to search for in process arguments"
2093msgstr "" 2278msgstr ""
2094 2279
2095#: plugins/check_nt.c:141 2280#: plugins/check_nagios.c:308
2281msgid "Timeout for the plugin in seconds"
2282msgstr ""
2283
2284#: plugins/check_nt.c:142
2096#, c-format 2285#, c-format
2097msgid "Wrong client version - running: %s, required: %s" 2286msgid "Wrong client version - running: %s, required: %s"
2098msgstr "" 2287msgstr ""
2099 2288
2100#: plugins/check_nt.c:152 plugins/check_nt.c:217 2289#: plugins/check_nt.c:153 plugins/check_nt.c:218
2101msgid "missing -l parameters" 2290msgid "missing -l parameters"
2102msgstr "" 2291msgstr ""
2103 2292
2104#: plugins/check_nt.c:154 2293#: plugins/check_nt.c:155
2105msgid "wrong -l parameter." 2294msgid "wrong -l parameter."
2106msgstr "" 2295msgstr ""
2107 2296
2108#: plugins/check_nt.c:158 2297#: plugins/check_nt.c:159
2109msgid "CPU Load" 2298msgid "CPU Load"
2110msgstr "" 2299msgstr ""
2111 2300
2112#: plugins/check_nt.c:181 2301#: plugins/check_nt.c:182
2113#, c-format 2302#, c-format
2114msgid " %lu%% (%lu min average)" 2303msgid " %lu%% (%lu min average)"
2115msgstr "" 2304msgstr ""
2116 2305
2117#: plugins/check_nt.c:183 2306#: plugins/check_nt.c:184
2118#, c-format 2307#, c-format
2119msgid " '%lu min avg Load'=%lu%%;%lu;%lu;0;100" 2308msgid " '%lu min avg Load'=%lu%%;%lu;%lu;0;100"
2120msgstr "" 2309msgstr ""
2121 2310
2122#: plugins/check_nt.c:193 2311#: plugins/check_nt.c:194
2123msgid "not enough values for -l parameters" 2312msgid "not enough values for -l parameters"
2124msgstr "" 2313msgstr ""
2125 2314
2126#: plugins/check_nt.c:205 2315#: plugins/check_nt.c:206
2127#, c-format 2316#, c-format
2128msgid "System Uptime - %u day(s) %u hour(s) %u minute(s)" 2317msgid "System Uptime - %u day(s) %u hour(s) %u minute(s)"
2129msgstr "" 2318msgstr ""
2130 2319
2131#: plugins/check_nt.c:219 2320#: plugins/check_nt.c:220
2132msgid "wrong -l argument" 2321msgid "wrong -l argument"
2133msgstr "" 2322msgstr ""
2134 2323
2135#: plugins/check_nt.c:235 2324#: plugins/check_nt.c:236
2136#, c-format 2325#, c-format
2137msgid "%s:\\ - total: %.2f Gb - used: %.2f Gb (%.0f%%) - free %.2f Gb (%.0f%%)" 2326msgid "%s:\\ - total: %.2f Gb - used: %.2f Gb (%.0f%%) - free %.2f Gb (%.0f%%)"
2138msgstr "" 2327msgstr ""
2139 2328
2140#: plugins/check_nt.c:238 2329#: plugins/check_nt.c:239
2141#, c-format 2330#, c-format
2142msgid "'%s:\\ Used Space'=%.2fGb;%.2f;%.2f;0.00;%.2f" 2331msgid "'%s:\\ Used Space'=%.2fGb;%.2f;%.2f;0.00;%.2f"
2143msgstr "" 2332msgstr ""
2144 2333
2145#: plugins/check_nt.c:252 2334#: plugins/check_nt.c:253
2146msgid "Free disk space : Invalid drive" 2335msgid "Free disk space : Invalid drive"
2147msgstr "" 2336msgstr ""
2148 2337
2149#: plugins/check_nt.c:262 2338#: plugins/check_nt.c:263
2150msgid "No service/process specified" 2339msgid "No service/process specified"
2151msgstr "" 2340msgstr ""
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
2344msgid "could not fetch information from server\n"
2345msgstr ""
2346
2347#: plugins/check_nt.c:296
2154#, c-format 2348#, c-format
2155msgid "" 2349msgid ""
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%%)"
2157msgstr "" 2351msgstr ""
2158 2352
2159#: plugins/check_nt.c:289 2353#: plugins/check_nt.c:299
2160#, c-format 2354#, c-format
2161msgid "'Memory usage'=%.2fMb;%.2f;%.2f;0.00;%.2f" 2355msgid "'Memory usage'=%.2fMb;%.2f;%.2f;0.00;%.2f"
2162msgstr "" 2356msgstr ""
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
2165msgid "No counter specified" 2359msgid "No counter specified"
2166msgstr "" 2360msgstr ""
2167 2361
2168#: plugins/check_nt.c:357 2362#: plugins/check_nt.c:367
2169msgid "Minimum value contains non-numbers" 2363msgid "Minimum value contains non-numbers"
2170msgstr "" 2364msgstr ""
2171 2365
2172#: plugins/check_nt.c:361 2366#: plugins/check_nt.c:371
2173msgid "Maximum value contains non-numbers" 2367msgid "Maximum value contains non-numbers"
2174msgstr "" 2368msgstr ""
2175 2369
2176#: plugins/check_nt.c:368 2370#: plugins/check_nt.c:378
2177msgid "No unit counter specified" 2371msgid "No unit counter specified"
2178msgstr "" 2372msgstr ""
2179 2373
2180#: plugins/check_nt.c:455 2374#: plugins/check_nt.c:465
2181msgid "Please specify a variable to check" 2375msgid "Please specify a variable to check"
2182msgstr "" 2376msgstr ""
2183 2377
2184#: plugins/check_nt.c:539 2378#: plugins/check_nt.c:549
2185msgid "Server port must be an integer\n" 2379msgid "Server port must be an integer\n"
2186msgstr "" 2380msgstr ""
2187 2381
2188#: plugins/check_nt.c:593 2382#: plugins/check_nt.c:603
2189msgid "You must provide a server address or host name" 2383msgid "You must provide a server address or host name"
2190msgstr "" 2384msgstr ""
2191 2385
2192#: plugins/check_nt.c:599 2386#: plugins/check_nt.c:609
2193msgid "None" 2387msgid "None"
2194msgstr "" 2388msgstr ""
2195 2389
2196#: plugins/check_nt.c:612 2390#: plugins/check_nt.c:666
2197msgid "could not fetch information from server\n"
2198msgstr ""
2199
2200#: plugins/check_nt.c:656
2201msgid "This plugin collects data from the NSClient service running on a" 2391msgid "This plugin collects data from the NSClient service running on a"
2202msgstr "" 2392msgstr ""
2203 2393
2204#: plugins/check_nt.c:657 2394#: plugins/check_nt.c:667
2205msgid "Windows NT/2000/XP/2003 server." 2395msgid "Windows NT/2000/XP/2003 server."
2206msgstr "" 2396msgstr ""
2207 2397
2208#: plugins/check_nt.c:668 2398#: plugins/check_nt.c:678
2209msgid "Name of the host to check" 2399msgid "Name of the host to check"
2210msgstr "" 2400msgstr ""
2211 2401
2212#: plugins/check_nt.c:670 2402#: plugins/check_nt.c:680
2213msgid "Optional port number (default: " 2403msgid "Optional port number (default: "
2214msgstr "" 2404msgstr ""
2215 2405
2216#: plugins/check_nt.c:673 2406#: plugins/check_nt.c:683
2217msgid "Password needed for the request" 2407msgid "Password needed for the request"
2218msgstr "" 2408msgstr ""
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
2222msgid "Threshold which will result in a warning status" 2412msgid "Threshold which will result in a warning status"
2223msgstr "" 2413msgstr ""
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
2227msgid "Threshold which will result in a critical status" 2417msgid "Threshold which will result in a critical status"
2228msgstr "" 2418msgstr ""
2229 2419
2230#: plugins/check_nt.c:679 2420#: plugins/check_nt.c:689
2231msgid "Seconds before connection attempt times out (default: " 2421msgid "Seconds before connection attempt times out (default: "
2232msgstr "" 2422msgstr ""
2233 2423
2234#: plugins/check_nt.c:681 2424#: plugins/check_nt.c:691
2235msgid "Parameters passed to specified check (see below)" 2425msgid "Parameters passed to specified check (see below)"
2236msgstr "" 2426msgstr ""
2237 2427
2238#: plugins/check_nt.c:683 2428#: plugins/check_nt.c:693
2239msgid "Display options (currently only SHOWALL works)" 2429msgid "Display options (currently only SHOWALL works)"
2240msgstr "" 2430msgstr ""
2241 2431
2242#: plugins/check_nt.c:685 2432#: plugins/check_nt.c:695
2243msgid "Return UNKNOWN on timeouts" 2433msgid "Return UNKNOWN on timeouts"
2244msgstr "" 2434msgstr ""
2245 2435
2246#: plugins/check_nt.c:688 2436#: plugins/check_nt.c:698
2247msgid "Print this help screen" 2437msgid "Print this help screen"
2248msgstr "" 2438msgstr ""
2249 2439
2250#: plugins/check_nt.c:690 2440#: plugins/check_nt.c:700
2251msgid "Print version information" 2441msgid "Print version information"
2252msgstr "" 2442msgstr ""
2253 2443
2254#: plugins/check_nt.c:692 2444#: plugins/check_nt.c:702
2255msgid "Variable to check" 2445msgid "Variable to check"
2256msgstr "" 2446msgstr ""
2257 2447
2258#: plugins/check_nt.c:693 2448#: plugins/check_nt.c:703
2259msgid "Valid variables are:" 2449msgid "Valid variables are:"
2260msgstr "" 2450msgstr ""
2261 2451
2262#: plugins/check_nt.c:695 2452#: plugins/check_nt.c:705
2263msgid "Get the NSClient version" 2453msgid "Get the NSClient version"
2264msgstr "" 2454msgstr ""
2265 2455
2266#: plugins/check_nt.c:696 2456#: plugins/check_nt.c:706
2267msgid "If -l <version> is specified, will return warning if versions differ." 2457msgid "If -l <version> is specified, will return warning if versions differ."
2268msgstr "" 2458msgstr ""
2269 2459
2270#: plugins/check_nt.c:698 2460#: plugins/check_nt.c:708
2271msgid "Average CPU load on last x minutes." 2461msgid "Average CPU load on last x minutes."
2272msgstr "" 2462msgstr ""
2273 2463
2274#: plugins/check_nt.c:699 2464#: plugins/check_nt.c:709
2275msgid "Request a -l parameter with the following syntax:" 2465msgid "Request a -l parameter with the following syntax:"
2276msgstr "" 2466msgstr ""
2277 2467
2278#: plugins/check_nt.c:700 2468#: plugins/check_nt.c:710
2279msgid "-l <minutes range>,<warning threshold>,<critical threshold>." 2469msgid "-l <minutes range>,<warning threshold>,<critical threshold>."
2280msgstr "" 2470msgstr ""
2281 2471
2282#: plugins/check_nt.c:701 2472#: plugins/check_nt.c:711
2283msgid "<minute range> should be less than 24*60." 2473msgid "<minute range> should be less than 24*60."
2284msgstr "" 2474msgstr ""
2285 2475
2286#: plugins/check_nt.c:702 2476#: plugins/check_nt.c:712
2287msgid "" 2477msgid ""
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."
2289msgstr "" 2479msgstr ""
2290 2480
2291#: plugins/check_nt.c:705 2481#: plugins/check_nt.c:715
2292msgid "Get the uptime of the machine." 2482msgid "Get the uptime of the machine."
2293msgstr "" 2483msgstr ""
2294 2484
2295#: plugins/check_nt.c:706 2485#: plugins/check_nt.c:716
2296msgid "No specific parameters. No warning or critical threshold" 2486msgid "No specific parameters. No warning or critical threshold"
2297msgstr "" 2487msgstr ""
2298 2488
2299#: plugins/check_nt.c:708 2489#: plugins/check_nt.c:718
2300msgid "Size and percentage of disk use." 2490msgid "Size and percentage of disk use."
2301msgstr "" 2491msgstr ""
2302 2492
2303#: plugins/check_nt.c:709 2493#: plugins/check_nt.c:719
2304msgid "Request a -l parameter containing the drive letter only." 2494msgid "Request a -l parameter containing the drive letter only."
2305msgstr "" 2495msgstr ""
2306 2496
2307#: plugins/check_nt.c:710 plugins/check_nt.c:713 2497#: plugins/check_nt.c:720 plugins/check_nt.c:723
2308msgid "Warning and critical thresholds can be specified with -w and -c." 2498msgid "Warning and critical thresholds can be specified with -w and -c."
2309msgstr "" 2499msgstr ""
2310 2500
2311#: plugins/check_nt.c:712 2501#: plugins/check_nt.c:722
2312msgid "Memory use." 2502msgid "Memory use."
2313msgstr "" 2503msgstr ""
2314 2504
2315#: plugins/check_nt.c:715 2505#: plugins/check_nt.c:725
2316msgid "Check the state of one or several services." 2506msgid "Check the state of one or several services."
2317msgstr "" 2507msgstr ""
2318 2508
2319#: plugins/check_nt.c:716 plugins/check_nt.c:725 2509#: plugins/check_nt.c:726 plugins/check_nt.c:735
2320msgid "Request a -l parameters with the following syntax:" 2510msgid "Request a -l parameters with the following syntax:"
2321msgstr "" 2511msgstr ""
2322 2512
2323#: plugins/check_nt.c:717 2513#: plugins/check_nt.c:727
2324msgid "-l <service1>,<service2>,<service3>,..." 2514msgid "-l <service1>,<service2>,<service3>,..."
2325msgstr "" 2515msgstr ""
2326 2516
2327#: plugins/check_nt.c:718 2517#: plugins/check_nt.c:728
2328msgid "You can specify -d SHOWALL in case you want to see working services" 2518msgid "You can specify -d SHOWALL in case you want to see working services"
2329msgstr "" 2519msgstr ""
2330 2520
2331#: plugins/check_nt.c:719 2521#: plugins/check_nt.c:729
2332msgid "in the returned string." 2522msgid "in the returned string."
2333msgstr "" 2523msgstr ""
2334 2524
2335#: plugins/check_nt.c:721 2525#: plugins/check_nt.c:731
2336msgid "Check if one or several process are running." 2526msgid "Check if one or several process are running."
2337msgstr "" 2527msgstr ""
2338 2528
2339#: plugins/check_nt.c:722 2529#: plugins/check_nt.c:732
2340msgid "Same syntax as SERVICESTATE." 2530msgid "Same syntax as SERVICESTATE."
2341msgstr "" 2531msgstr ""
2342 2532
2343#: plugins/check_nt.c:724 2533#: plugins/check_nt.c:734
2344msgid "Check any performance counter of Windows NT/2000." 2534msgid "Check any performance counter of Windows NT/2000."
2345msgstr "" 2535msgstr ""
2346 2536
2347#: plugins/check_nt.c:726 2537#: plugins/check_nt.c:736
2348msgid "-l \"\\\\<performance object>\\\\counter\",\"<description>" 2538msgid "-l \"\\\\<performance object>\\\\counter\",\"<description>"
2349msgstr "" 2539msgstr ""
2350 2540
2351#: plugins/check_nt.c:727 2541#: plugins/check_nt.c:737
2352msgid "The <description> parameter is optional and is given to a printf " 2542msgid "The <description> parameter is optional and is given to a printf "
2353msgstr "" 2543msgstr ""
2354 2544
2355#: plugins/check_nt.c:728 2545#: plugins/check_nt.c:738
2356msgid "output command which requires a float parameter." 2546msgid "output command which requires a float parameter."
2357msgstr "" 2547msgstr ""
2358 2548
2359#: plugins/check_nt.c:729 2549#: plugins/check_nt.c:739
2360#, c-format 2550#, c-format
2361msgid "If <description> does not include \"%%\", it is used as a label." 2551msgid "If <description> does not include \"%%\", it is used as a label."
2362msgstr "" 2552msgstr ""
2363 2553
2364#: plugins/check_nt.c:730 plugins/check_nt.c:745 2554#: plugins/check_nt.c:740 plugins/check_nt.c:755
2365msgid "Some examples:" 2555msgid "Some examples:"
2366msgstr "" 2556msgstr ""
2367 2557
2368#: plugins/check_nt.c:734 2558#: plugins/check_nt.c:744
2369msgid "Check any performance counter object of Windows NT/2000." 2559msgid "Check any performance counter object of Windows NT/2000."
2370msgstr "" 2560msgstr ""
2371 2561
2372#: plugins/check_nt.c:735 2562#: plugins/check_nt.c:745
2373msgid "" 2563msgid ""
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>"
2375msgstr "" 2565msgstr ""
2376 2566
2377#: plugins/check_nt.c:736 2567#: plugins/check_nt.c:746
2378msgid "<counter object> is a Windows Perfmon Counter object (eg. Process)," 2568msgid "<counter object> is a Windows Perfmon Counter object (eg. Process),"
2379msgstr "" 2569msgstr ""
2380 2570
2381#: plugins/check_nt.c:737 2571#: plugins/check_nt.c:747
2382msgid "if it is two words, it should be enclosed in quotes" 2572msgid "if it is two words, it should be enclosed in quotes"
2383msgstr "" 2573msgstr ""
2384 2574
2385#: plugins/check_nt.c:738 2575#: plugins/check_nt.c:748
2386msgid "The returned results will be a comma-separated list of instances on " 2576msgid "The returned results will be a comma-separated list of instances on "
2387msgstr "" 2577msgstr ""
2388 2578
2389#: plugins/check_nt.c:739 2579#: plugins/check_nt.c:749
2390msgid " the selected computer for that object." 2580msgid " the selected computer for that object."
2391msgstr "" 2581msgstr ""
2392 2582
2393#: plugins/check_nt.c:740 2583#: plugins/check_nt.c:750
2394msgid "" 2584msgid ""
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"
2397msgstr "" 2587msgstr ""
2398 2588
2399#: plugins/check_nt.c:741 2589#: plugins/check_nt.c:751
2400msgid "" 2590msgid ""
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"
2402msgstr "" 2592msgstr ""
2403 2593
2404#: plugins/check_nt.c:742 2594#: plugins/check_nt.c:752
2405msgid " to run Perfmon directly." 2595msgid " to run Perfmon directly."
2406msgstr "" 2596msgstr ""
2407 2597
2408#: plugins/check_nt.c:743 2598#: plugins/check_nt.c:753
2409msgid "It can also be used in scripts that automatically create Nagios service" 2599msgid ""
2600"It can also be used in scripts that automatically create the monitoring "
2601"service"
2410msgstr "" 2602msgstr ""
2411 2603
2412#: plugins/check_nt.c:744 2604#: plugins/check_nt.c:754
2413msgid " configuration files." 2605msgid " configuration files."
2414msgstr "" 2606msgstr ""
2415 2607
2416#: plugins/check_nt.c:746 2608#: plugins/check_nt.c:756
2417msgid "check_nt -H 192.168.1.1 -p 1248 -v INSTANCES -l Process" 2609msgid "check_nt -H 192.168.1.1 -p 1248 -v INSTANCES -l Process"
2418msgstr "" 2610msgstr ""
2419 2611
2420#: plugins/check_nt.c:749 2612#: plugins/check_nt.c:759
2421msgid "" 2613msgid ""
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"
2423msgstr "" 2615msgstr ""
2424 2616
2425#: plugins/check_nt.c:751 2617#: plugins/check_nt.c:761
2426msgid "- Critical thresholds should be lower than warning thresholds" 2618msgid "- Critical thresholds should be lower than warning thresholds"
2427msgstr "" 2619msgstr ""
2428 2620
2429#: plugins/check_nt.c:752 2621#: plugins/check_nt.c:762
2430msgid "- Default port 1248 is sometimes in use by other services. The error" 2622msgid "- Default port 1248 is sometimes in use by other services. The error"
2431msgstr "" 2623msgstr ""
2432 2624
2433#: plugins/check_nt.c:753 2625#: plugins/check_nt.c:763
2434msgid "" 2626msgid ""
2435"output when this happens contains \"Cannot map xxxxx to protocol number\"." 2627"output when this happens contains \"Cannot map xxxxx to protocol number\"."
2436msgstr "" 2628msgstr ""
2437 2629
2438#: plugins/check_nt.c:754 2630#: plugins/check_nt.c:764
2439msgid "One fix for this is to change the port to something else on check_nt " 2631msgid "One fix for this is to change the port to something else on check_nt "
2440msgstr "" 2632msgstr ""
2441 2633
2442#: plugins/check_nt.c:755 2634#: plugins/check_nt.c:765
2443msgid "and on the client service it's connecting to." 2635msgid "and on the client service it's connecting to."
2444msgstr "" 2636msgstr ""
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
2449msgid "NTP CRITICAL:" 2640msgid "NTP CRITICAL:"
2450msgstr "" 2641msgstr ""
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
2455msgid "NTP WARNING:" 2645msgid "NTP WARNING:"
2456msgstr "" 2646msgstr ""
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
2461msgid "NTP OK:" 2650msgid "NTP OK:"
2462msgstr "" 2651msgstr ""
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
2467msgid "NTP UNKNOWN:" 2655msgid "NTP UNKNOWN:"
2468msgstr "" 2656msgstr ""
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
2472msgid "Offset unknown" 2660msgid "Offset unknown"
2473msgstr "" 2661msgstr ""
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
2477msgid "Offset" 2665msgid "Offset"
2478msgstr "" 2666msgstr ""
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
2481msgid "This plugin checks the selected ntp server" 2669msgid "This plugin checks the selected ntp server"
2482msgstr "" 2670msgstr ""
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
2486msgid "Offset to result in warning status (seconds)" 2674msgid "Offset to result in warning status (seconds)"
2487msgstr "" 2675msgstr ""
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
2491msgid "Offset to result in critical status (seconds)" 2679msgid "Offset to result in critical status (seconds)"
2492msgstr "" 2680msgstr ""
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
2495msgid "Warning threshold for jitter" 2683msgid "Warning threshold for jitter"
2496msgstr "" 2684msgstr ""
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
2499msgid "Critical threshold for jitter" 2687msgid "Critical threshold for jitter"
2500msgstr "" 2688msgstr ""
2501 2689
2502#: plugins/check_ntp.c:865 2690#: plugins/check_ntp.c:870
2503msgid "Normal offset check:" 2691msgid "Normal offset check:"
2504msgstr "" 2692msgstr ""
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
2507msgid "" 2695msgid ""
2508"Check jitter too, avoiding critical notifications if jitter isn't available" 2696"Check jitter too, avoiding critical notifications if jitter isn't available"
2509msgstr "" 2697msgstr ""
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
2512msgid "(See Notes above for more details on thresholds formats):" 2700msgid "(See Notes above for more details on thresholds formats):"
2513msgstr "" 2701msgstr ""
2514 2702
2515#: plugins/check_ntp.c:874 plugins/check_ntp.c:881 2703#: plugins/check_ntp.c:879 plugins/check_ntp.c:886
2516msgid "WARNING: check_ntp is deprecated. Please use check_ntp_peer or" 2704msgid "WARNING: check_ntp is deprecated. Please use check_ntp_peer or"
2517msgstr "" 2705msgstr ""
2518 2706
2519#: plugins/check_ntp.c:875 plugins/check_ntp.c:882 2707#: plugins/check_ntp.c:880 plugins/check_ntp.c:887
2520msgid "check_ntp_time instead." 2708msgid "check_ntp_time instead."
2521msgstr "" 2709msgstr ""
2522 2710
2523#: plugins/check_ntp_peer.c:619 2711#: plugins/check_ntp_peer.c:625
2524msgid "Server not synchronized" 2712msgid "Server not synchronized"
2525msgstr "" 2713msgstr ""
2526 2714
2527#: plugins/check_ntp_peer.c:621 2715#: plugins/check_ntp_peer.c:627
2528msgid "Server has the LI_ALARM bit set" 2716msgid "Server has the LI_ALARM bit set"
2529msgstr "" 2717msgstr ""
2530 2718
2531#: plugins/check_ntp_peer.c:665 2719#: plugins/check_ntp_peer.c:672
2532msgid "" 2720msgid ""
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"
2534msgstr "" 2722msgstr ""
2535 2723
2536#: plugins/check_ntp_peer.c:671 2724#: plugins/check_ntp_peer.c:678
2537msgid "Warning threshold for stratum" 2725msgid "Warning threshold for stratum of server's synchronization peer"
2538msgstr "" 2726msgstr ""
2539 2727
2540#: plugins/check_ntp_peer.c:673 2728#: plugins/check_ntp_peer.c:680
2541msgid "Critical threshold for stratum" 2729msgid "Critical threshold for stratum of server's synchronization peer"
2542msgstr "" 2730msgstr ""
2543 2731
2544#: plugins/check_ntp_peer.c:679 2732#: plugins/check_ntp_peer.c:686
2545msgid "Warning threshold for number of usable time sources (\"truechimers\")" 2733msgid "Warning threshold for number of usable time sources (\"truechimers\")"
2546msgstr "" 2734msgstr ""
2547 2735
2548#: plugins/check_ntp_peer.c:681 2736#: plugins/check_ntp_peer.c:688
2549msgid "Critical threshold for number of usable time sources (\"truechimers\")" 2737msgid "Critical threshold for number of usable time sources (\"truechimers\")"
2550msgstr "" 2738msgstr ""
2551 2739
2552#: plugins/check_ntp_peer.c:686 2740#: plugins/check_ntp_peer.c:693
2553msgid "This plugin checks an NTP server independent of any commandline" 2741msgid "This plugin checks an NTP server independent of any commandline"
2554msgstr "" 2742msgstr ""
2555 2743
2556#: plugins/check_ntp_peer.c:687 2744#: plugins/check_ntp_peer.c:694
2557msgid "programs or external libraries." 2745msgid "programs or external libraries."
2558msgstr "" 2746msgstr ""
2559 2747
2560#: plugins/check_ntp_peer.c:690 2748#: plugins/check_ntp_peer.c:697
2561msgid "Use this plugin to check the health of an NTP server. It supports" 2749msgid "Use this plugin to check the health of an NTP server. It supports"
2562msgstr "" 2750msgstr ""
2563 2751
2564#: plugins/check_ntp_peer.c:691 2752#: plugins/check_ntp_peer.c:698
2565msgid "checking the offset with the sync peer, the jitter and stratum. This" 2753msgid "checking the offset with the sync peer, the jitter and stratum. This"
2566msgstr "" 2754msgstr ""
2567 2755
2568#: plugins/check_ntp_peer.c:692 2756#: plugins/check_ntp_peer.c:699
2569msgid "plugin will not check the clock offset between the local host and NTP" 2757msgid "plugin will not check the clock offset between the local host and NTP"
2570msgstr "" 2758msgstr ""
2571 2759
2572#: plugins/check_ntp_peer.c:693 2760#: plugins/check_ntp_peer.c:700
2573msgid "server; please use check_ntp_time for that purpose." 2761msgid "server; please use check_ntp_time for that purpose."
2574msgstr "" 2762msgstr ""
2575 2763
2576#: plugins/check_ntp_peer.c:699 2764#: plugins/check_ntp_peer.c:706
2577msgid "Simple NTP server check:" 2765msgid "Simple NTP server check:"
2578msgstr "" 2766msgstr ""
2579 2767
2580#: plugins/check_ntp_peer.c:706 2768#: plugins/check_ntp_peer.c:713
2581msgid "Only check the number of usable time sources (\"truechimers\"):" 2769msgid "Only check the number of usable time sources (\"truechimers\"):"
2582msgstr "" 2770msgstr ""
2583 2771
2584#: plugins/check_ntp_peer.c:709 2772#: plugins/check_ntp_peer.c:716
2585msgid "Check only stratum:" 2773msgid "Check only stratum:"
2586msgstr "" 2774msgstr ""
2587 2775
2588#: plugins/check_ntp_time.c:598 2776#: plugins/check_ntp_time.c:602
2589msgid "This plugin checks the clock offset with the ntp server" 2777msgid "This plugin checks the clock offset with the ntp server"
2590msgstr "" 2778msgstr ""
2591 2779
2592#: plugins/check_ntp_time.c:607 2780#: plugins/check_ntp_time.c:612
2593msgid "Returns UNKNOWN instead of CRITICAL if offset cannot be found" 2781msgid "Returns UNKNOWN instead of CRITICAL if offset cannot be found"
2594msgstr "" 2782msgstr ""
2595 2783
2596#: plugins/check_ntp_time.c:616 2784#: plugins/check_ntp_time.c:621
2597msgid "This plugin checks the clock offset between the local host and a" 2785msgid "This plugin checks the clock offset between the local host and a"
2598msgstr "" 2786msgstr ""
2599 2787
2600#: plugins/check_ntp_time.c:617 2788#: plugins/check_ntp_time.c:622
2601msgid "remote NTP server. It is independent of any commandline programs or" 2789msgid "remote NTP server. It is independent of any commandline programs or"
2602msgstr "" 2790msgstr ""
2603 2791
2604#: plugins/check_ntp_time.c:618 2792#: plugins/check_ntp_time.c:623
2605msgid "external libraries." 2793msgid "external libraries."
2606msgstr "" 2794msgstr ""
2607 2795
2608#: plugins/check_ntp_time.c:622 2796#: plugins/check_ntp_time.c:627
2609msgid "If you'd rather want to monitor an NTP server, please use" 2797msgid "If you'd rather want to monitor an NTP server, please use"
2610msgstr "" 2798msgstr ""
2611 2799
2612#: plugins/check_ntp_time.c:623 2800#: plugins/check_ntp_time.c:628
2613msgid "check_ntp_peer." 2801msgid "check_ntp_peer."
2614msgstr "" 2802msgstr ""
2615 2803
@@ -2708,17 +2896,14 @@ msgid "disabled"
2708msgstr "" 2896msgstr ""
2709 2897
2710#: plugins/check_nwstat.c:560 2898#: plugins/check_nwstat.c:560
2711#, c-format
2712msgid "CRITICAL - NRM Status is bad!" 2899msgid "CRITICAL - NRM Status is bad!"
2713msgstr "" 2900msgstr ""
2714 2901
2715#: plugins/check_nwstat.c:565 2902#: plugins/check_nwstat.c:565
2716#, c-format
2717msgid "Warning - NRM Status is suspect!" 2903msgid "Warning - NRM Status is suspect!"
2718msgstr "" 2904msgstr ""
2719 2905
2720#: plugins/check_nwstat.c:568 2906#: plugins/check_nwstat.c:568
2721#, c-format
2722msgid "OK - NRM Status is good!" 2907msgid "OK - NRM Status is good!"
2723msgstr "" 2908msgstr ""
2724 2909
@@ -2778,12 +2963,10 @@ msgid "%lu current service processes (%lu max)|Processes=%lu;%lu;%lu;0;%lu"
2778msgstr "" 2963msgstr ""
2779 2964
2780#: plugins/check_nwstat.c:904 2965#: plugins/check_nwstat.c:904
2781#, c-format
2782msgid "CRITICAL - Time not in sync with network!" 2966msgid "CRITICAL - Time not in sync with network!"
2783msgstr "" 2967msgstr ""
2784 2968
2785#: plugins/check_nwstat.c:907 2969#: plugins/check_nwstat.c:907
2786#, c-format
2787msgid "OK - Time in sync with network!" 2970msgid "OK - Time in sync with network!"
2788msgstr "" 2971msgstr ""
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"
3185msgstr "" 3368msgstr ""
3186 3369
3187#: plugins/check_pgsql.c:183 3370#: plugins/check_pgsql.c:222
3188#, c-format 3371#, c-format
3189msgid "CRITICAL - no connection to '%s' (%s).\n" 3372msgid "CRITICAL - no connection to '%s' (%s).\n"
3190msgstr "" 3373msgstr ""
3191 3374
3192#: plugins/check_pgsql.c:200 3375#: plugins/check_pgsql.c:250
3193#, c-format 3376#, c-format
3194msgid " %s - database %s (%d sec.)|%s\n" 3377msgid " %s - database %s (%f sec.)|%s\n"
3195msgstr "" 3378msgstr ""
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
3199msgid "Critical threshold must be a positive integer" 3382msgid "Critical threshold must be a positive integer"
3200msgstr "" 3383msgstr ""
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
3205msgid "Warning threshold must be a positive integer" 3388msgid "Warning threshold must be a positive integer"
3206msgstr "" 3389msgstr ""
3207 3390
3208#: plugins/check_pgsql.c:280 3391#: plugins/check_pgsql.c:347
3209msgid "Database name is not valid" 3392msgid "Database name is not valid"
3210msgstr "" 3393msgstr ""
3211 3394
3212#: plugins/check_pgsql.c:286 3395#: plugins/check_pgsql.c:353
3213msgid "User name is not valid" 3396msgid "User name is not valid"
3214msgstr "" 3397msgstr ""
3215 3398
3216#: plugins/check_pgsql.c:426 3399#: plugins/check_pgsql.c:504
3217#, c-format 3400#, c-format
3218msgid "Test whether a PostgreSQL Database is accepting connections." 3401msgid "Test whether a PostgreSQL Database is accepting connections."
3219msgstr "" 3402msgstr ""
3220 3403
3221#: plugins/check_pgsql.c:440 3404#: plugins/check_pgsql.c:516
3222msgid "Database to check " 3405msgid "Database to check "
3223msgstr "" 3406msgstr ""
3224 3407
3225#: plugins/check_pgsql.c:441 3408#: plugins/check_pgsql.c:517
3226#, c-format 3409#, c-format
3227msgid "(default: %s)" 3410msgid "(default: %s)"
3228msgstr "" 3411msgstr ""
3229 3412
3230#: plugins/check_pgsql.c:443 3413#: plugins/check_pgsql.c:519
3231msgid "Login name of user" 3414msgid "Login name of user"
3232msgstr "" 3415msgstr ""
3233 3416
3234#: plugins/check_pgsql.c:445 3417#: plugins/check_pgsql.c:521
3235msgid "Password (BIG SECURITY ISSUE)" 3418msgid "Password (BIG SECURITY ISSUE)"
3236msgstr "" 3419msgstr ""
3237 3420
3238#: plugins/check_pgsql.c:454 3421#: plugins/check_pgsql.c:523
3422msgid "Connection parameters (keyword = value), see below"
3423msgstr ""
3424
3425#: plugins/check_pgsql.c:530
3426msgid "SQL query to run. Only first column in first row will be read"
3427msgstr ""
3428
3429#: plugins/check_pgsql.c:532
3430msgid "SQL query value to result in warning status (double)"
3431msgstr ""
3432
3433#: plugins/check_pgsql.c:534
3434msgid "SQL query value to result in critical status (double)"
3435msgstr ""
3436
3437#: plugins/check_pgsql.c:539
3239msgid "All parameters are optional." 3438msgid "All parameters are optional."
3240msgstr "" 3439msgstr ""
3241 3440
3242#: plugins/check_pgsql.c:455 3441#: plugins/check_pgsql.c:540
3243msgid "" 3442msgid ""
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"
3245msgstr "" 3444msgstr ""
3246 3445
3247#: plugins/check_pgsql.c:456 3446#: plugins/check_pgsql.c:541
3248msgid "accepting queries. In its current operation, it simply connects to the" 3447msgid "accepting queries. In its current operation, it simply connects to the"
3249msgstr "" 3448msgstr ""
3250 3449
3251#: plugins/check_pgsql.c:457 3450#: plugins/check_pgsql.c:542
3252msgid "" 3451msgid ""
3253"specified database, and then disconnects. If no database is specified, it" 3452"specified database, and then disconnects. If no database is specified, it"
3254msgstr "" 3453msgstr ""
3255 3454
3256#: plugins/check_pgsql.c:458 3455#: plugins/check_pgsql.c:543
3257msgid "" 3456msgid ""
3258"connects to the template1 database, which is present in every functioning" 3457"connects to the template1 database, which is present in every functioning"
3259msgstr "" 3458msgstr ""
3260 3459
3261#: plugins/check_pgsql.c:459 3460#: plugins/check_pgsql.c:544
3262msgid "PostgreSQL DBMS." 3461msgid "PostgreSQL DBMS."
3263msgstr "" 3462msgstr ""
3264 3463
3265#: plugins/check_pgsql.c:461 3464#: plugins/check_pgsql.c:546
3465msgid "If a query is specified using the -q option, it will be executed after"
3466msgstr ""
3467
3468#: plugins/check_pgsql.c:547
3469msgid "connecting to the server. The result from the query has to be numeric."
3470msgstr ""
3471
3472#: plugins/check_pgsql.c:548
3473msgid ""
3474"Multiple SQL commands, separated by semicolon, are allowed but the result "
3475msgstr ""
3476
3477#: plugins/check_pgsql.c:549
3478msgid "of the last command is taken into account only. The value of the first"
3479msgstr ""
3480
3481#: plugins/check_pgsql.c:550
3482msgid "column in the first row is used as the check result."
3483msgstr ""
3484
3485#: plugins/check_pgsql.c:552
3486msgid ""
3487"See the chapter \"Monitoring Database Activity\" of the PostgreSQL manual"
3488msgstr ""
3489
3490#: plugins/check_pgsql.c:553
3491msgid ""
3492"for details about how to access internal statistics of the database server."
3493msgstr ""
3494
3495#: plugins/check_pgsql.c:555
3496msgid ""
3497"For a list of available connection parameters which may be used with the -o"
3498msgstr ""
3499
3500#: plugins/check_pgsql.c:556
3501msgid ""
3502"command line option, see the documentation for PQconnectdb() in the chapter"
3503msgstr ""
3504
3505#: plugins/check_pgsql.c:557
3506msgid ""
3507"\"libpq - C Library\" of the PostgreSQL manual. For example, this may be"
3508msgstr ""
3509
3510#: plugins/check_pgsql.c:558
3511msgid ""
3512"used to specify a service name in pg_service.conf to be used for additional"
3513msgstr ""
3514
3515#: plugins/check_pgsql.c:559
3516msgid "connection parameters: -o 'service=<name>' or to specify the SSL mode:"
3517msgstr ""
3518
3519#: plugins/check_pgsql.c:560
3520msgid "-o 'sslmode=require'."
3521msgstr ""
3522
3523#: plugins/check_pgsql.c:562
3266msgid "" 3524msgid ""
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"
3268msgstr "" 3526msgstr ""
3269 3527
3270#: plugins/check_pgsql.c:462 3528#: plugins/check_pgsql.c:563
3271msgid "" 3529msgid ""
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"
3273msgstr "" 3531msgstr ""
3274 3532
3275#: plugins/check_pgsql.c:463 3533#: plugins/check_pgsql.c:564
3276msgid "connections (start the postmaster with the -i option)." 3534msgid "connections (start the postmaster with the -i option)."
3277msgstr "" 3535msgstr ""
3278 3536
3279#: plugins/check_pgsql.c:465 3537#: plugins/check_pgsql.c:566
3280msgid "" 3538msgid ""
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"
3282msgstr "" 3541msgstr ""
3283 3542
3284#: plugins/check_pgsql.c:466 3543#: plugins/check_pgsql.c:567
3285msgid "" 3544msgid ""
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"
3287msgstr "" 3546msgstr ""
3288 3547
3289#: plugins/check_pgsql.c:467 3548#: plugins/check_pgsql.c:568
3290msgid "a password, but no effort is made to obsure or encrypt the password." 3549msgid "a password, but no effort is made to obsure or encrypt the password."
3291msgstr "" 3550msgstr ""
3292 3551
3552#: plugins/check_pgsql.c:601
3553#, c-format
3554msgid "QUERY %s - %s: %s.\n"
3555msgstr ""
3556
3557#: plugins/check_pgsql.c:601
3558msgid "Error with query"
3559msgstr ""
3560
3561#: plugins/check_pgsql.c:607
3562msgid "No rows returned"
3563msgstr ""
3564
3565#: plugins/check_pgsql.c:612
3566msgid "No columns returned"
3567msgstr ""
3568
3569#: plugins/check_pgsql.c:618
3570msgid "No data returned"
3571msgstr ""
3572
3573#: plugins/check_pgsql.c:627
3574msgid "Is not a numeric"
3575msgstr ""
3576
3577#: plugins/check_pgsql.c:644
3578#, c-format
3579msgid "'%s' returned %f"
3580msgstr ""
3581
3293#: plugins/check_ping.c:141 3582#: plugins/check_ping.c:141
3294msgid "CRITICAL - Could not interpret output from ping command\n" 3583msgid "CRITICAL - Could not interpret output from ping command\n"
3295msgstr "" 3584msgstr ""
@@ -3370,306 +3659,301 @@ msgstr ""
3370msgid "<wpl> (%d) cannot be larger than <cpl> (%d)\n" 3659msgid "<wpl> (%d) cannot be larger than <cpl> (%d)\n"
3371msgstr "" 3660msgstr ""
3372 3661
3373#: plugins/check_ping.c:441 3662#: plugins/check_ping.c:442
3374#, c-format 3663#, c-format
3375msgid "Cannot open stderr for %s\n" 3664msgid "Cannot open stderr for %s\n"
3376msgstr "" 3665msgstr ""
3377 3666
3378#: plugins/check_ping.c:490 plugins/check_ping.c:492 3667#: plugins/check_ping.c:492 plugins/check_ping.c:494
3379msgid "System call sent warnings to stderr " 3668msgid "System call sent warnings to stderr "
3380msgstr "" 3669msgstr ""
3381 3670
3382#: plugins/check_ping.c:519 3671#: plugins/check_ping.c:519
3383#, c-format 3672#, c-format
3384msgid "CRITICAL - Network Unreachable (%s)" 3673msgid "CRITICAL - Network Unreachable (%s)\n"
3385msgstr "" 3674msgstr ""
3386 3675
3387#: plugins/check_ping.c:521 3676#: plugins/check_ping.c:521
3388#, c-format 3677#, c-format
3389msgid "CRITICAL - Host Unreachable (%s)" 3678msgid "CRITICAL - Host Unreachable (%s)\n"
3390msgstr "" 3679msgstr ""
3391 3680
3392#: plugins/check_ping.c:523 3681#: plugins/check_ping.c:523
3393#, c-format 3682#, c-format
3394msgid "CRITICAL - Bogus ICMP: Port Unreachable (%s)" 3683msgid "CRITICAL - Bogus ICMP: Port Unreachable (%s)\n"
3395msgstr "" 3684msgstr ""
3396 3685
3397#: plugins/check_ping.c:525 3686#: plugins/check_ping.c:525
3398#, c-format 3687#, c-format
3399msgid "CRITICAL - Bogus ICMP: Protocol Unreachable (%s)" 3688msgid "CRITICAL - Bogus ICMP: Protocol Unreachable (%s)\n"
3400msgstr "" 3689msgstr ""
3401 3690
3402#: plugins/check_ping.c:527 3691#: plugins/check_ping.c:527
3403#, c-format 3692#, c-format
3404msgid "CRITICAL - Network Prohibited (%s)" 3693msgid "CRITICAL - Network Prohibited (%s)\n"
3405msgstr "" 3694msgstr ""
3406 3695
3407#: plugins/check_ping.c:529 3696#: plugins/check_ping.c:529
3408#, c-format 3697#, c-format
3409msgid "CRITICAL - Host Prohibited (%s)" 3698msgid "CRITICAL - Host Prohibited (%s)\n"
3410msgstr "" 3699msgstr ""
3411 3700
3412#: plugins/check_ping.c:531 3701#: plugins/check_ping.c:531
3413#, c-format 3702#, c-format
3414msgid "CRITICAL - Packet Filtered (%s)" 3703msgid "CRITICAL - Packet Filtered (%s)\n"
3415msgstr "" 3704msgstr ""
3416 3705
3417#: plugins/check_ping.c:533 3706#: plugins/check_ping.c:533
3418#, c-format 3707#, c-format
3419msgid "CRITICAL - Host not found (%s)" 3708msgid "CRITICAL - Host not found (%s)\n"
3420msgstr "" 3709msgstr ""
3421 3710
3422#: plugins/check_ping.c:535 3711#: plugins/check_ping.c:535
3423#, c-format 3712#, c-format
3424msgid "CRITICAL - Time to live exceeded (%s)" 3713msgid "CRITICAL - Time to live exceeded (%s)\n"
3425msgstr "" 3714msgstr ""
3426 3715
3427#: plugins/check_ping.c:542 3716#: plugins/check_ping.c:537
3428msgid "Unable to realloc warn_text" 3717#, c-format
3718msgid "CRITICAL - Destination Unreachable (%s)\n"
3429msgstr "" 3719msgstr ""
3430 3720
3431#: plugins/check_ping.c:559 3721#: plugins/check_ping.c:544
3722msgid "Unable to realloc warn_text\n"
3723msgstr ""
3724
3725#: plugins/check_ping.c:561
3432#, c-format 3726#, c-format
3433msgid "Use ping to check connection statistics for a remote host." 3727msgid "Use ping to check connection statistics for a remote host."
3434msgstr "" 3728msgstr ""
3435 3729
3436#: plugins/check_ping.c:571 3730#: plugins/check_ping.c:573
3437msgid "host to ping" 3731msgid "host to ping"
3438msgstr "" 3732msgstr ""
3439 3733
3440#: plugins/check_ping.c:577 3734#: plugins/check_ping.c:579
3441msgid "number of ICMP ECHO packets to send" 3735msgid "number of ICMP ECHO packets to send"
3442msgstr "" 3736msgstr ""
3443 3737
3444#: plugins/check_ping.c:578 3738#: plugins/check_ping.c:580
3445#, c-format 3739#, c-format
3446msgid "(Default: %d)\n" 3740msgid "(Default: %d)\n"
3447msgstr "" 3741msgstr ""
3448 3742
3449#: plugins/check_ping.c:580 3743#: plugins/check_ping.c:582
3450msgid "show HTML in the plugin output (obsoleted by urlize)" 3744msgid "show HTML in the plugin output (obsoleted by urlize)"
3451msgstr "" 3745msgstr ""
3452 3746
3453#: plugins/check_ping.c:585 3747#: plugins/check_ping.c:587
3454msgid "THRESHOLD is <rta>,<pl>% where <rta> is the round trip average travel" 3748msgid "THRESHOLD is <rta>,<pl>% where <rta> is the round trip average travel"
3455msgstr "" 3749msgstr ""
3456 3750
3457#: plugins/check_ping.c:586 3751#: plugins/check_ping.c:588
3458msgid "time (ms) which triggers a WARNING or CRITICAL state, and <pl> is the" 3752msgid "time (ms) which triggers a WARNING or CRITICAL state, and <pl> is the"
3459msgstr "" 3753msgstr ""
3460 3754
3461#: plugins/check_ping.c:587 3755#: plugins/check_ping.c:589
3462msgid "percentage of packet loss to trigger an alarm state." 3756msgid "percentage of packet loss to trigger an alarm state."
3463msgstr "" 3757msgstr ""
3464 3758
3465#: plugins/check_ping.c:590 3759#: plugins/check_ping.c:592
3466msgid "" 3760msgid ""
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"
3468msgstr "" 3762msgstr ""
3469 3763
3470#: plugins/check_ping.c:591 3764#: plugins/check_ping.c:593
3471msgid "" 3765msgid ""
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"
3474msgstr "" 3768msgstr ""
3475 3769
3476#: plugins/check_ping.c:592 3770#: plugins/check_ping.c:594
3477msgid "" 3771msgid ""
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"
3479msgstr "" 3773msgstr ""
3480 3774
3481#: plugins/check_ping.c:593 3775#: plugins/check_ping.c:595
3482msgid "the contrib area of the downloads section at http://www.nagios.org/" 3776msgid "the contrib area of the downloads section at http://www.nagios.org/"
3483msgstr "" 3777msgstr ""
3484 3778
3485#: plugins/check_procs.c:159 3779#: plugins/check_procs.c:193
3486#, c-format 3780#, c-format
3487msgid "CMD: %s\n" 3781msgid "CMD: %s\n"
3488msgstr "" 3782msgstr ""
3489 3783
3490#: plugins/check_procs.c:164 3784#: plugins/check_procs.c:198
3491msgid "System call sent warnings to stderr" 3785msgid "System call sent warnings to stderr"
3492msgstr "" 3786msgstr ""
3493 3787
3494#: plugins/check_procs.c:265 3788#: plugins/check_procs.c:326
3495#, c-format 3789#, c-format
3496msgid "Not parseable: %s" 3790msgid "Not parseable: %s"
3497msgstr "" 3791msgstr ""
3498 3792
3499#: plugins/check_procs.c:270 3793#: plugins/check_procs.c:331
3500#, c-format 3794#, c-format
3501msgid "Unable to read output\n" 3795msgid "Unable to read output\n"
3502msgstr "" 3796msgstr ""
3503 3797
3504#: plugins/check_procs.c:287 3798#: plugins/check_procs.c:348
3505#, c-format 3799#, c-format
3506msgid "%d warn out of " 3800msgid "%d warn out of "
3507msgstr "" 3801msgstr ""
3508 3802
3509#: plugins/check_procs.c:292 3803#: plugins/check_procs.c:353
3510#, c-format 3804#, c-format
3511msgid "%d crit, %d warn out of " 3805msgid "%d crit, %d warn out of "
3512msgstr "" 3806msgstr ""
3513 3807
3514#: plugins/check_procs.c:298 3808#: plugins/check_procs.c:359
3515#, c-format 3809#, c-format
3516msgid " with %s" 3810msgid " with %s"
3517msgstr "" 3811msgstr ""
3518 3812
3519#: plugins/check_procs.c:380 3813#: plugins/check_procs.c:453
3520msgid "Critical Process Count must be an integer!"
3521msgstr ""
3522
3523#: plugins/check_procs.c:392
3524msgid "Warning Process Count must be an integer!"
3525msgstr ""
3526
3527#: plugins/check_procs.c:400
3528msgid "Parent Process ID must be an integer!" 3814msgid "Parent Process ID must be an integer!"
3529msgstr "" 3815msgstr ""
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
3533msgid "%s%sSTATE = %s" 3819msgid "%s%sSTATE = %s"
3534msgstr "" 3820msgstr ""
3535 3821
3536#: plugins/check_procs.c:415 3822#: plugins/check_procs.c:468
3537msgid "UID was not found" 3823msgid "UID was not found"
3538msgstr "" 3824msgstr ""
3539 3825
3540#: plugins/check_procs.c:421 3826#: plugins/check_procs.c:474
3541msgid "User name was not found" 3827msgid "User name was not found"
3542msgstr "" 3828msgstr ""
3543 3829
3544#: plugins/check_procs.c:436 3830#: plugins/check_procs.c:489
3545#, c-format 3831#, c-format
3546msgid "%s%scommand name '%s'" 3832msgid "%s%scommand name '%s'"
3547msgstr "" 3833msgstr ""
3548 3834
3549#: plugins/check_procs.c:471 3835#: plugins/check_procs.c:524
3550msgid "RSS must be an integer!" 3836msgid "RSS must be an integer!"
3551msgstr "" 3837msgstr ""
3552 3838
3553#: plugins/check_procs.c:478 3839#: plugins/check_procs.c:531
3554msgid "VSZ must be an integer!" 3840msgid "VSZ must be an integer!"
3555msgstr "" 3841msgstr ""
3556 3842
3557#: plugins/check_procs.c:486 3843#: plugins/check_procs.c:539
3558msgid "PCPU must be a float!" 3844msgid "PCPU must be a float!"
3559msgstr "" 3845msgstr ""
3560 3846
3561#: plugins/check_procs.c:510 3847#: plugins/check_procs.c:563
3562msgid "Metric must be one of PROCS, VSZ, RSS, CPU, ELAPSED!" 3848msgid "Metric must be one of PROCS, VSZ, RSS, CPU, ELAPSED!"
3563msgstr "" 3849msgstr ""
3564 3850
3565#: plugins/check_procs.c:546 3851#: plugins/check_procs.c:694
3566#, c-format
3567msgid "wmax (%d) cannot be greater than cmax (%d)\n"
3568msgstr ""
3569
3570#: plugins/check_procs.c:550
3571#, c-format
3572msgid "wmin (%d) cannot be less than cmin (%d)\n"
3573msgstr ""
3574
3575#: plugins/check_procs.c:687
3576msgid "" 3852msgid ""
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"
3579msgstr "" 3855msgstr ""
3580 3856
3581#: plugins/check_procs.c:688 3857#: plugins/check_procs.c:695
3582msgid "" 3858msgid ""
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"
3585msgstr "" 3861msgstr ""
3586 3862
3587#: plugins/check_procs.c:689 3863#: plugins/check_procs.c:696
3588msgid "" 3864msgid ""
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."
3590msgstr "" 3866msgstr ""
3591 3867
3592#: plugins/check_procs.c:698 3868#: plugins/check_procs.c:705
3593msgid "Generate warning state if metric is outside this range" 3869msgid "Generate warning state if metric is outside this range"
3594msgstr "" 3870msgstr ""
3595 3871
3596#: plugins/check_procs.c:700 3872#: plugins/check_procs.c:707
3597msgid "Generate critical state if metric is outside this range" 3873msgid "Generate critical state if metric is outside this range"
3598msgstr "" 3874msgstr ""
3599 3875
3600#: plugins/check_procs.c:702 3876#: plugins/check_procs.c:709
3601msgid "Check thresholds against metric. Valid types:" 3877msgid "Check thresholds against metric. Valid types:"
3602msgstr "" 3878msgstr ""
3603 3879
3604#: plugins/check_procs.c:703 3880#: plugins/check_procs.c:710
3605msgid "PROCS - number of processes (default)" 3881msgid "PROCS - number of processes (default)"
3606msgstr "" 3882msgstr ""
3607 3883
3608#: plugins/check_procs.c:704 3884#: plugins/check_procs.c:711
3609msgid "VSZ - virtual memory size" 3885msgid "VSZ - virtual memory size"
3610msgstr "" 3886msgstr ""
3611 3887
3612#: plugins/check_procs.c:705 3888#: plugins/check_procs.c:712
3613msgid "RSS - resident set memory size" 3889msgid "RSS - resident set memory size"
3614msgstr "" 3890msgstr ""
3615 3891
3616#: plugins/check_procs.c:706 3892#: plugins/check_procs.c:713
3617msgid "CPU - percentage CPU" 3893msgid "CPU - percentage CPU"
3618msgstr "" 3894msgstr ""
3619 3895
3620#: plugins/check_procs.c:709 3896#: plugins/check_procs.c:716
3621msgid "ELAPSED - time elapsed in seconds" 3897msgid "ELAPSED - time elapsed in seconds"
3622msgstr "" 3898msgstr ""
3623 3899
3624#: plugins/check_procs.c:714 3900#: plugins/check_procs.c:721
3625msgid "Extra information. Up to 3 verbosity levels" 3901msgid "Extra information. Up to 3 verbosity levels"
3626msgstr "" 3902msgstr ""
3627 3903
3628#: plugins/check_procs.c:719 3904#: plugins/check_procs.c:724
3905msgid "Filter own process the traditional way by PID instead of /proc/pid/exe"
3906msgstr ""
3907
3908#: plugins/check_procs.c:729
3629msgid "Only scan for processes that have, in the output of `ps`, one or" 3909msgid "Only scan for processes that have, in the output of `ps`, one or"
3630msgstr "" 3910msgstr ""
3631 3911
3632#: plugins/check_procs.c:720 3912#: plugins/check_procs.c:730
3633msgid "more of the status flags you specify (for example R, Z, S, RS," 3913msgid "more of the status flags you specify (for example R, Z, S, RS,"
3634msgstr "" 3914msgstr ""
3635 3915
3636#: plugins/check_procs.c:721 3916#: plugins/check_procs.c:731
3637msgid "RSZDT, plus others based on the output of your 'ps' command)." 3917msgid "RSZDT, plus others based on the output of your 'ps' command)."
3638msgstr "" 3918msgstr ""
3639 3919
3640#: plugins/check_procs.c:723 3920#: plugins/check_procs.c:733
3641msgid "Only scan for children of the parent process ID indicated." 3921msgid "Only scan for children of the parent process ID indicated."
3642msgstr "" 3922msgstr ""
3643 3923
3644#: plugins/check_procs.c:725 3924#: plugins/check_procs.c:735
3645msgid "Only scan for processes with VSZ higher than indicated." 3925msgid "Only scan for processes with VSZ higher than indicated."
3646msgstr "" 3926msgstr ""
3647 3927
3648#: plugins/check_procs.c:727 3928#: plugins/check_procs.c:737
3649msgid "Only scan for processes with RSS higher than indicated." 3929msgid "Only scan for processes with RSS higher than indicated."
3650msgstr "" 3930msgstr ""
3651 3931
3652#: plugins/check_procs.c:729 3932#: plugins/check_procs.c:739
3653msgid "Only scan for processes with PCPU higher than indicated." 3933msgid "Only scan for processes with PCPU higher than indicated."
3654msgstr "" 3934msgstr ""
3655 3935
3656#: plugins/check_procs.c:731 3936#: plugins/check_procs.c:741
3657msgid "Only scan for processes with user name or ID indicated." 3937msgid "Only scan for processes with user name or ID indicated."
3658msgstr "" 3938msgstr ""
3659 3939
3660#: plugins/check_procs.c:733 3940#: plugins/check_procs.c:743
3661msgid "Only scan for processes with args that contain STRING." 3941msgid "Only scan for processes with args that contain STRING."
3662msgstr "" 3942msgstr ""
3663 3943
3664#: plugins/check_procs.c:735 3944#: plugins/check_procs.c:745
3665msgid "Only scan for processes with args that contain the regex STRING." 3945msgid "Only scan for processes with args that contain the regex STRING."
3666msgstr "" 3946msgstr ""
3667 3947
3668#: plugins/check_procs.c:737 3948#: plugins/check_procs.c:747
3669msgid "Only scan for exact matches of COMMAND (without path)." 3949msgid "Only scan for exact matches of COMMAND (without path)."
3670msgstr "" 3950msgstr ""
3671 3951
3672#: plugins/check_procs.c:739 3952#: plugins/check_procs.c:749
3953msgid "Only scan for non kernel threads (works on Linux only)."
3954msgstr ""
3955
3956#: plugins/check_procs.c:751
3673#, c-format 3957#, c-format
3674msgid "" 3958msgid ""
3675"\n" 3959"\n"
@@ -3679,7 +3963,7 @@ msgid ""
3679"\n" 3963"\n"
3680msgstr "" 3964msgstr ""
3681 3965
3682#: plugins/check_procs.c:744 3966#: plugins/check_procs.c:756
3683#, c-format 3967#, c-format
3684msgid "" 3968msgid ""
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"
3691msgstr "" 3975msgstr ""
3692 3976
3693#: plugins/check_procs.c:753 3977#: plugins/check_procs.c:765
3694msgid "Warning if not two processes with command name portsentry." 3978msgid "Warning if not two processes with command name portsentry."
3695msgstr "" 3979msgstr ""
3696 3980
3697#: plugins/check_procs.c:754 3981#: plugins/check_procs.c:766
3698msgid "Critical if < 2 or > 1024 processes" 3982msgid "Critical if < 2 or > 1024 processes"
3699msgstr "" 3983msgstr ""
3700 3984
3701#: plugins/check_procs.c:756 3985#: plugins/check_procs.c:768
3702msgid "Warning alert if > 10 processes with command arguments containing" 3986msgid "Warning alert if > 10 processes with command arguments containing"
3703msgstr "" 3987msgstr ""
3704 3988
3705#: plugins/check_procs.c:757 3989#: plugins/check_procs.c:769
3706msgid "'/usr/local/bin/perl' and owned by root" 3990msgid "'/usr/local/bin/perl' and owned by root"
3707msgstr "" 3991msgstr ""
3708 3992
3709#: plugins/check_procs.c:759 3993#: plugins/check_procs.c:771
3710msgid "Alert if VSZ of any processes over 50K or 100K" 3994msgid "Alert if VSZ of any processes over 50K or 100K"
3711msgstr "" 3995msgstr ""
3712 3996
3713#: plugins/check_procs.c:761 3997#: plugins/check_procs.c:773
3714#, c-format 3998#, c-format
3715msgid "Alert if CPU of any processes over 10%% or 20%%" 3999msgid "Alert if CPU of any processes over 10%% or 20%%"
3716msgstr "" 4000msgstr ""
@@ -3839,7 +4123,7 @@ msgid ""
3839msgstr "" 4123msgstr ""
3840 4124
3841#: plugins/check_radius.c:373 4125#: plugins/check_radius.c:373
3842msgid "in a process listing. This risk is exacerbated because nagios will" 4126msgid "in a process listing. This risk is exacerbated because the monitor will"
3843msgstr "" 4127msgstr ""
3844 4128
3845#: plugins/check_radius.c:374 4129#: plugins/check_radius.c:374
@@ -3869,7 +4153,7 @@ msgstr ""
3869msgid "Invalid REAL response received from host on port %d\n" 4153msgid "Invalid REAL response received from host on port %d\n"
3870msgstr "" 4154msgstr ""
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
3874msgid "No data received from host\n" 4158msgid "No data received from host\n"
3875msgstr "" 4159msgstr ""
@@ -3879,11 +4163,11 @@ msgstr ""
3879msgid "REAL %s - %d second response time\n" 4163msgid "REAL %s - %d second response time\n"
3880msgstr "" 4164msgstr ""
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
3883msgid "Warning time must be a positive integer" 4167msgid "Warning time must be a positive integer"
3884msgstr "" 4168msgstr ""
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
3887msgid "Critical time must be a positive integer" 4171msgid "Critical time must be a positive integer"
3888msgstr "" 4172msgstr ""
3889 4173
@@ -3908,7 +4192,7 @@ msgstr ""
3908msgid "This plugin will attempt to open an RTSP connection with the host." 4192msgid "This plugin will attempt to open an RTSP connection with the host."
3909msgstr "" 4193msgstr ""
3910 4194
3911#: plugins/check_real.c:438 plugins/check_smtp.c:827 4195#: plugins/check_real.c:438 plugins/check_smtp.c:830
3912msgid "Successul connects return STATE_OK, refusals and timeouts return" 4196msgid "Successul connects return STATE_OK, refusals and timeouts return"
3913msgstr "" 4197msgstr ""
3914 4198
@@ -3979,450 +4263,453 @@ msgstr ""
3979msgid "SMTP UNKNOWN - Cannot read EHLO response via TLS." 4263msgid "SMTP UNKNOWN - Cannot read EHLO response via TLS."
3980msgstr "" 4264msgstr ""
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
3984msgid "Could Not Compile Regular Expression" 4268msgid "Could Not Compile Regular Expression"
3985msgstr "" 4269msgstr ""
3986 4270
3987#: plugins/check_smtp.c:321 4271#: plugins/check_smtp.c:312
3988#, c-format 4272#, c-format
3989msgid "SMTP %s - Invalid response '%s' to command '%s'\n" 4273msgid "SMTP %s - Invalid response '%s' to command '%s'\n"
3990msgstr "" 4274msgstr ""
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
3994msgid "Execute Error: %s\n" 4278msgid "Execute Error: %s\n"
3995msgstr "" 4279msgstr ""
3996 4280
3997#: plugins/check_smtp.c:339 4281#: plugins/check_smtp.c:330
3998#, c-format
3999msgid "no authuser specified, " 4282msgid "no authuser specified, "
4000msgstr "" 4283msgstr ""
4001 4284
4002#: plugins/check_smtp.c:344 4285#: plugins/check_smtp.c:335
4003#, c-format
4004msgid "no authpass specified, " 4286msgid "no authpass specified, "
4005msgstr "" 4287msgstr ""
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
4010msgid "sent %s\n" 4292msgid "sent %s\n"
4011msgstr "" 4293msgstr ""
4012 4294
4013#: plugins/check_smtp.c:354 4295#: plugins/check_smtp.c:345
4014#, c-format
4015msgid "recv() failed after AUTH LOGIN, " 4296msgid "recv() failed after AUTH LOGIN, "
4016msgstr "" 4297msgstr ""
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
4021msgid "received %s\n" 4302msgid "received %s\n"
4022msgstr "" 4303msgstr ""
4023 4304
4024#: plugins/check_smtp.c:363 4305#: plugins/check_smtp.c:354
4025#, c-format
4026msgid "invalid response received after AUTH LOGIN, " 4306msgid "invalid response received after AUTH LOGIN, "
4027msgstr "" 4307msgstr ""
4028 4308
4029#: plugins/check_smtp.c:377 4309#: plugins/check_smtp.c:367
4030#, c-format
4031msgid "recv() failed after sending authuser, " 4310msgid "recv() failed after sending authuser, "
4032msgstr "" 4311msgstr ""
4033 4312
4034#: plugins/check_smtp.c:385 4313#: plugins/check_smtp.c:375
4035#, c-format
4036msgid "invalid response received after authuser, " 4314msgid "invalid response received after authuser, "
4037msgstr "" 4315msgstr ""
4038 4316
4039#: plugins/check_smtp.c:398 4317#: plugins/check_smtp.c:387
4040#, c-format
4041msgid "recv() failed after sending authpass, " 4318msgid "recv() failed after sending authpass, "
4042msgstr "" 4319msgstr ""
4043 4320
4044#: plugins/check_smtp.c:406 4321#: plugins/check_smtp.c:395
4045#, c-format
4046msgid "invalid response received after authpass, " 4322msgid "invalid response received after authpass, "
4047msgstr "" 4323msgstr ""
4048 4324
4049#: plugins/check_smtp.c:413 4325#: plugins/check_smtp.c:402
4050#, c-format
4051msgid "only authtype LOGIN is supported, " 4326msgid "only authtype LOGIN is supported, "
4052msgstr "" 4327msgstr ""
4053 4328
4054#: plugins/check_smtp.c:437 4329#: plugins/check_smtp.c:426
4055#, c-format 4330#, c-format
4056msgid "SMTP %s - %s%.3f sec. response time%s%s|%s\n" 4331msgid "SMTP %s - %s%.3f sec. response time%s%s|%s\n"
4057msgstr "" 4332msgstr ""
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
4061msgid "Could not realloc() units [%d]\n" 4336msgid "Could not realloc() units [%d]\n"
4062msgstr "" 4337msgstr ""
4063 4338
4064#: plugins/check_smtp.c:608 4339#: plugins/check_smtp.c:556
4340msgid "Critical time must be a positive"
4341msgstr ""
4342
4343#: plugins/check_smtp.c:564
4344msgid "Warning time must be a positive"
4345msgstr ""
4346
4347#: plugins/check_smtp.c:611
4065msgid "SSL support not available - install OpenSSL and recompile" 4348msgid "SSL support not available - install OpenSSL and recompile"
4066msgstr "" 4349msgstr ""
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
4070msgid "Connection closed by server before sending QUIT command\n" 4353msgid "Connection closed by server before sending QUIT command\n"
4071msgstr "" 4354msgstr ""
4072 4355
4073#: plugins/check_smtp.c:691 4356#: plugins/check_smtp.c:694
4074#, c-format 4357#, c-format
4075msgid "recv() failed after QUIT." 4358msgid "recv() failed after QUIT."
4076msgstr "" 4359msgstr ""
4077 4360
4078#: plugins/check_smtp.c:693 4361#: plugins/check_smtp.c:696
4079#, c-format 4362#, c-format
4080msgid "Connection reset by peer." 4363msgid "Connection reset by peer."
4081msgstr "" 4364msgstr ""
4082 4365
4083#: plugins/check_smtp.c:781 4366#: plugins/check_smtp.c:784
4084msgid "This plugin will attempt to open an SMTP connection with the host." 4367msgid "This plugin will attempt to open an SMTP connection with the host."
4085msgstr "" 4368msgstr ""
4086 4369
4087#: plugins/check_smtp.c:795 4370#: plugins/check_smtp.c:798
4088#, c-format 4371#, c-format
4089msgid " String to expect in first line of server response (default: '%s')\n" 4372msgid " String to expect in first line of server response (default: '%s')\n"
4090msgstr "" 4373msgstr ""
4091 4374
4092#: plugins/check_smtp.c:797 4375#: plugins/check_smtp.c:800
4093msgid "SMTP command (may be used repeatedly)" 4376msgid "SMTP command (may be used repeatedly)"
4094msgstr "" 4377msgstr ""
4095 4378
4096#: plugins/check_smtp.c:799 4379#: plugins/check_smtp.c:802
4097msgid "Expected response to command (may be used repeatedly)" 4380msgid "Expected response to command (may be used repeatedly)"
4098msgstr "" 4381msgstr ""
4099 4382
4100#: plugins/check_smtp.c:801 4383#: plugins/check_smtp.c:804
4101msgid "FROM-address to include in MAIL command, required by Exchange 2000" 4384msgid "FROM-address to include in MAIL command, required by Exchange 2000"
4102msgstr "" 4385msgstr ""
4103 4386
4104#: plugins/check_smtp.c:803 4387#: plugins/check_smtp.c:806
4105msgid "FQDN used for HELO" 4388msgid "FQDN used for HELO"
4106msgstr "" 4389msgstr ""
4107 4390
4108#: plugins/check_smtp.c:806 plugins/check_tcp.c:630 4391#: plugins/check_smtp.c:809 plugins/check_tcp.c:665
4109msgid "Minimum number of days a certificate has to be valid." 4392msgid "Minimum number of days a certificate has to be valid."
4110msgstr "" 4393msgstr ""
4111 4394
4112#: plugins/check_smtp.c:808 4395#: plugins/check_smtp.c:811
4113msgid "Use STARTTLS for the connection." 4396msgid "Use STARTTLS for the connection."
4114msgstr "" 4397msgstr ""
4115 4398
4116#: plugins/check_smtp.c:812 4399#: plugins/check_smtp.c:815
4117msgid "SMTP AUTH type to check (default none, only LOGIN supported)" 4400msgid "SMTP AUTH type to check (default none, only LOGIN supported)"
4118msgstr "" 4401msgstr ""
4119 4402
4120#: plugins/check_smtp.c:814 4403#: plugins/check_smtp.c:817
4121msgid "SMTP AUTH username" 4404msgid "SMTP AUTH username"
4122msgstr "" 4405msgstr ""
4123 4406
4124#: plugins/check_smtp.c:816 4407#: plugins/check_smtp.c:819
4125msgid "SMTP AUTH password" 4408msgid "SMTP AUTH password"
4126msgstr "" 4409msgstr ""
4127 4410
4128#: plugins/check_smtp.c:818 4411#: plugins/check_smtp.c:821
4129msgid "Ignore failure when sending QUIT command to server" 4412msgid "Ignore failure when sending QUIT command to server"
4130msgstr "" 4413msgstr ""
4131 4414
4132#: plugins/check_smtp.c:828 4415#: plugins/check_smtp.c:831
4133msgid "STATE_CRITICAL, other errors return STATE_UNKNOWN. Successful" 4416msgid "STATE_CRITICAL, other errors return STATE_UNKNOWN. Successful"
4134msgstr "" 4417msgstr ""
4135 4418
4136#: plugins/check_smtp.c:829 4419#: plugins/check_smtp.c:832
4137msgid "connects, but incorrect reponse messages from the host result in" 4420msgid "connects, but incorrect reponse messages from the host result in"
4138msgstr "" 4421msgstr ""
4139 4422
4140#: plugins/check_smtp.c:830 4423#: plugins/check_smtp.c:833
4141msgid "STATE_WARNING return values." 4424msgid "STATE_WARNING return values."
4142msgstr "" 4425msgstr ""
4143 4426
4144#: plugins/check_snmp.c:298 4427#: plugins/check_snmp.c:169 plugins/check_snmp.c:582
4428msgid "Cannot malloc"
4429msgstr ""
4430
4431#: plugins/check_snmp.c:356
4145#, c-format 4432#, c-format
4146msgid "External command error: %s\n" 4433msgid "External command error: %s\n"
4147msgstr "" 4434msgstr ""
4148 4435
4149#: plugins/check_snmp.c:303 4436#: plugins/check_snmp.c:361
4150#, c-format 4437#, c-format
4151msgid "External command error with no output (return code: %d)\n" 4438msgid "External command error with no output (return code: %d)\n"
4152msgstr "" 4439msgstr ""
4153 4440
4154#: plugins/check_snmp.c:406 4441#: plugins/check_snmp.c:464
4155msgid "No valid data returned" 4442#, c-format
4443msgid "No valid data returned (%s)\n"
4156msgstr "" 4444msgstr ""
4157 4445
4158#: plugins/check_snmp.c:413 4446#: plugins/check_snmp.c:475
4159msgid "Time duration between plugin calls is invalid" 4447msgid "Time duration between plugin calls is invalid"
4160msgstr "" 4448msgstr ""
4161 4449
4162#: plugins/check_snmp.c:509 4450#: plugins/check_snmp.c:588
4163msgid "Cannot malloc"
4164msgstr ""
4165
4166#: plugins/check_snmp.c:515
4167msgid "Cannot asprintf()" 4451msgid "Cannot asprintf()"
4168msgstr "" 4452msgstr ""
4169 4453
4170#: plugins/check_snmp.c:521 4454#: plugins/check_snmp.c:594
4171msgid "Cannot realloc()" 4455msgid "Cannot realloc()"
4172msgstr "" 4456msgstr ""
4173 4457
4174#: plugins/check_snmp.c:537 4458#: plugins/check_snmp.c:610
4175msgid "No previous data to calculate rate - assume okay" 4459msgid "No previous data to calculate rate - assume okay"
4176msgstr "" 4460msgstr ""
4177 4461
4178#: plugins/check_snmp.c:676 4462#: plugins/check_snmp.c:751
4179msgid "Retries interval must be a positive integer" 4463msgid "Retries interval must be a positive integer"
4180msgstr "" 4464msgstr ""
4181 4465
4182#: plugins/check_snmp.c:738 4466#: plugins/check_snmp.c:831
4183#, c-format 4467#, c-format
4184msgid "Could not reallocate labels[%d]" 4468msgid "Could not reallocate labels[%d]"
4185msgstr "" 4469msgstr ""
4186 4470
4187#: plugins/check_snmp.c:750 4471#: plugins/check_snmp.c:844
4188msgid "Could not reallocate labels\n" 4472msgid "Could not reallocate labels\n"
4189msgstr "" 4473msgstr ""
4190 4474
4191#: plugins/check_snmp.c:767 4475#: plugins/check_snmp.c:860
4192#, c-format 4476#, c-format
4193msgid "Could not reallocate units [%d]\n" 4477msgid "Could not reallocate units [%d]\n"
4194msgstr "" 4478msgstr ""
4195 4479
4196#: plugins/check_snmp.c:779 4480#: plugins/check_snmp.c:872
4197msgid "Could not realloc() units\n" 4481msgid "Could not realloc() units\n"
4198msgstr "" 4482msgstr ""
4199 4483
4200#: plugins/check_snmp.c:796 4484#: plugins/check_snmp.c:889
4201msgid "Rate multiplier must be a positive integer" 4485msgid "Rate multiplier must be a positive integer"
4202msgstr "" 4486msgstr ""
4203 4487
4204#: plugins/check_snmp.c:848 4488#: plugins/check_snmp.c:947
4205msgid "No host specified\n" 4489msgid "No host specified\n"
4206msgstr "" 4490msgstr ""
4207 4491
4208#: plugins/check_snmp.c:852 4492#: plugins/check_snmp.c:951
4209msgid "No OIDs specified\n" 4493msgid "No OIDs specified\n"
4210msgstr "" 4494msgstr ""
4211 4495
4212#: plugins/check_snmp.c:874 4496#: plugins/check_snmp.c:973
4213msgid "Invalid seclevel" 4497msgid "Invalid seclevel"
4214msgstr "" 4498msgstr ""
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
4218msgid "Required parameter: %s\n" 4502msgid "Required parameter: %s\n"
4219msgstr "" 4503msgstr ""
4220 4504
4221#: plugins/check_snmp.c:923 4505#: plugins/check_snmp.c:1022
4222msgid "Invalid SNMP version" 4506msgid "Invalid SNMP version"
4223msgstr "" 4507msgstr ""
4224 4508
4225#: plugins/check_snmp.c:940 4509#: plugins/check_snmp.c:1039
4226msgid "Unbalanced quotes\n" 4510msgid "Unbalanced quotes\n"
4227msgstr "" 4511msgstr ""
4228 4512
4229#: plugins/check_snmp.c:989 4513#: plugins/check_snmp.c:1088
4230msgid "Check status of remote machines and obtain system information via SNMP" 4514msgid "Check status of remote machines and obtain system information via SNMP"
4231msgstr "" 4515msgstr ""
4232 4516
4233#: plugins/check_snmp.c:1002 4517#: plugins/check_snmp.c:1101
4234msgid "Use SNMP GETNEXT instead of SNMP GET" 4518msgid "Use SNMP GETNEXT instead of SNMP GET"
4235msgstr "" 4519msgstr ""
4236 4520
4237#: plugins/check_snmp.c:1004 4521#: plugins/check_snmp.c:1103
4238msgid "SNMP protocol version" 4522msgid "SNMP protocol version"
4239msgstr "" 4523msgstr ""
4240 4524
4241#: plugins/check_snmp.c:1006 4525#: plugins/check_snmp.c:1105
4242msgid "SNMPv3 securityLevel" 4526msgid "SNMPv3 securityLevel"
4243msgstr "" 4527msgstr ""
4244 4528
4245#: plugins/check_snmp.c:1008 4529#: plugins/check_snmp.c:1107
4246msgid "SNMPv3 auth proto" 4530msgid "SNMPv3 auth proto"
4247msgstr "" 4531msgstr ""
4248 4532
4249#: plugins/check_snmp.c:1010 4533#: plugins/check_snmp.c:1109
4250msgid "SNMPv3 priv proto (default DES)" 4534msgid "SNMPv3 priv proto (default DES)"
4251msgstr "" 4535msgstr ""
4252 4536
4253#: plugins/check_snmp.c:1014 4537#: plugins/check_snmp.c:1113
4254msgid "Optional community string for SNMP communication" 4538msgid "Optional community string for SNMP communication"
4255msgstr "" 4539msgstr ""
4256 4540
4257#: plugins/check_snmp.c:1015 4541#: plugins/check_snmp.c:1114
4258msgid "default is" 4542msgid "default is"
4259msgstr "" 4543msgstr ""
4260 4544
4261#: plugins/check_snmp.c:1017 4545#: plugins/check_snmp.c:1116
4262msgid "SNMPv3 username" 4546msgid "SNMPv3 username"
4263msgstr "" 4547msgstr ""
4264 4548
4265#: plugins/check_snmp.c:1019 4549#: plugins/check_snmp.c:1118
4266msgid "SNMPv3 authentication password" 4550msgid "SNMPv3 authentication password"
4267msgstr "" 4551msgstr ""
4268 4552
4269#: plugins/check_snmp.c:1021 4553#: plugins/check_snmp.c:1120
4270msgid "SNMPv3 privacy password" 4554msgid "SNMPv3 privacy password"
4271msgstr "" 4555msgstr ""
4272 4556
4273#: plugins/check_snmp.c:1025 4557#: plugins/check_snmp.c:1124
4274msgid "Object identifier(s) or SNMP variables whose value you wish to query" 4558msgid "Object identifier(s) or SNMP variables whose value you wish to query"
4275msgstr "" 4559msgstr ""
4276 4560
4277#: plugins/check_snmp.c:1027 4561#: plugins/check_snmp.c:1126
4278msgid "" 4562msgid ""
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'"
4280msgstr "" 4564msgstr ""
4281 4565
4282#: plugins/check_snmp.c:1028 4566#: plugins/check_snmp.c:1127
4283msgid "for symbolic OIDs.)" 4567msgid "for symbolic OIDs.)"
4284msgstr "" 4568msgstr ""
4285 4569
4286#: plugins/check_snmp.c:1030 4570#: plugins/check_snmp.c:1129
4287msgid "Delimiter to use when parsing returned data. Default is" 4571msgid "Delimiter to use when parsing returned data. Default is"
4288msgstr "" 4572msgstr ""
4289 4573
4290#: plugins/check_snmp.c:1031 4574#: plugins/check_snmp.c:1130
4291msgid "Any data on the right hand side of the delimiter is considered" 4575msgid "Any data on the right hand side of the delimiter is considered"
4292msgstr "" 4576msgstr ""
4293 4577
4294#: plugins/check_snmp.c:1032 4578#: plugins/check_snmp.c:1131
4295msgid "to be the data that should be used in the evaluation." 4579msgid "to be the data that should be used in the evaluation."
4296msgstr "" 4580msgstr ""
4297 4581
4298#: plugins/check_snmp.c:1036 4582#: plugins/check_snmp.c:1135
4299msgid "Warning threshold range(s)" 4583msgid "Warning threshold range(s)"
4300msgstr "" 4584msgstr ""
4301 4585
4302#: plugins/check_snmp.c:1038 4586#: plugins/check_snmp.c:1137
4303msgid "Critical threshold range(s)" 4587msgid "Critical threshold range(s)"
4304msgstr "" 4588msgstr ""
4305 4589
4306#: plugins/check_snmp.c:1040 4590#: plugins/check_snmp.c:1139
4307msgid "Enable rate calculation. See 'Rate Calculation' below" 4591msgid "Enable rate calculation. See 'Rate Calculation' below"
4308msgstr "" 4592msgstr ""
4309 4593
4310#: plugins/check_snmp.c:1042 4594#: plugins/check_snmp.c:1141
4311msgid "" 4595msgid ""
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"
4313msgstr "" 4597msgstr ""
4314 4598
4315#: plugins/check_snmp.c:1046 4599#: plugins/check_snmp.c:1143
4600msgid "Add/substract the specified OFFSET to numeric sensor data"
4601msgstr ""
4602
4603#: plugins/check_snmp.c:1147
4316msgid "Return OK state (for that OID) if STRING is an exact match" 4604msgid "Return OK state (for that OID) if STRING is an exact match"
4317msgstr "" 4605msgstr ""
4318 4606
4319#: plugins/check_snmp.c:1048 4607#: plugins/check_snmp.c:1149
4320msgid "" 4608msgid ""
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"
4322msgstr "" 4610msgstr ""
4323 4611
4324#: plugins/check_snmp.c:1050 4612#: plugins/check_snmp.c:1151
4325msgid "" 4613msgid ""
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"
4327msgstr "" 4615msgstr ""
4328 4616
4329#: plugins/check_snmp.c:1052 4617#: plugins/check_snmp.c:1153
4330msgid "Invert search result (CRITICAL if found)" 4618msgid "Invert search result (CRITICAL if found)"
4331msgstr "" 4619msgstr ""
4332 4620
4333#: plugins/check_snmp.c:1056 4621#: plugins/check_snmp.c:1157
4334msgid "Prefix label for output from plugin" 4622msgid "Prefix label for output from plugin"
4335msgstr "" 4623msgstr ""
4336 4624
4337#: plugins/check_snmp.c:1058 4625#: plugins/check_snmp.c:1159
4338msgid "Units label(s) for output data (e.g., 'sec.')." 4626msgid "Units label(s) for output data (e.g., 'sec.')."
4339msgstr "" 4627msgstr ""
4340 4628
4341#: plugins/check_snmp.c:1060 4629#: plugins/check_snmp.c:1161
4342msgid "Separates output on multiple OID requests" 4630msgid "Separates output on multiple OID requests"
4343msgstr "" 4631msgstr ""
4344 4632
4345#: plugins/check_snmp.c:1064 4633#: plugins/check_snmp.c:1165
4346msgid "Number of retries to be used in the requests" 4634msgid "Number of retries to be used in the requests"
4347msgstr "" 4635msgstr ""
4348 4636
4349#: plugins/check_snmp.c:1069 4637#: plugins/check_snmp.c:1168
4638msgid "Label performance data with OIDs instead of --label's"
4639msgstr ""
4640
4641#: plugins/check_snmp.c:1173
4350msgid "" 4642msgid ""
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."
4352msgstr "" 4644msgstr ""
4353 4645
4354#: plugins/check_snmp.c:1070 4646#: plugins/check_snmp.c:1174
4355msgid "" 4647msgid ""
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"
4357msgstr "" 4649msgstr ""
4358 4650
4359#: plugins/check_snmp.c:1071 4651#: plugins/check_snmp.c:1175
4360msgid "http://net-snmp.sourceforge.net before you can use this plugin." 4652msgid "http://net-snmp.sourceforge.net before you can use this plugin."
4361msgstr "" 4653msgstr ""
4362 4654
4363#: plugins/check_snmp.c:1075 4655#: plugins/check_snmp.c:1179
4364msgid "" 4656msgid ""
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"
4367msgstr "" 4658msgstr ""
4368 4659
4369#: plugins/check_snmp.c:1076 4660#: plugins/check_snmp.c:1180
4370msgid "internal spaces must be quoted). Maximum:" 4661msgid "list (lists with internal spaces must be quoted)."
4371msgstr "" 4662msgstr ""
4372 4663
4373#: plugins/check_snmp.c:1076 4664#: plugins/check_snmp.c:1184
4374msgid "OIDs."
4375msgstr ""
4376
4377#: plugins/check_snmp.c:1080
4378msgid "" 4665msgid ""
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'"
4381msgstr "" 4668msgstr ""
4382 4669
4383#: plugins/check_snmp.c:1081 4670#: plugins/check_snmp.c:1185
4384msgid "- Note that only one string and one regex may be checked at present" 4671msgid "- Note that only one string and one regex may be checked at present"
4385msgstr "" 4672msgstr ""
4386 4673
4387#: plugins/check_snmp.c:1082 4674#: plugins/check_snmp.c:1186
4388msgid "" 4675msgid ""
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"
4390msgstr "" 4677msgstr ""
4391 4678
4392#: plugins/check_snmp.c:1083 4679#: plugins/check_snmp.c:1187
4393msgid "returned from the SNMP query is an unsigned integer." 4680msgid "returned from the SNMP query is an unsigned integer."
4394msgstr "" 4681msgstr ""
4395 4682
4396#: plugins/check_snmp.c:1086 4683#: plugins/check_snmp.c:1190
4397msgid "Rate Calculation:" 4684msgid "Rate Calculation:"
4398msgstr "" 4685msgstr ""
4399 4686
4400#: plugins/check_snmp.c:1087 4687#: plugins/check_snmp.c:1191
4401msgid "In many places, SNMP returns counters that are only meaningful when" 4688msgid "In many places, SNMP returns counters that are only meaningful when"
4402msgstr "" 4689msgstr ""
4403 4690
4404#: plugins/check_snmp.c:1088 4691#: plugins/check_snmp.c:1192
4405msgid "calculating the counter difference since the last check. check_snmp" 4692msgid "calculating the counter difference since the last check. check_snmp"
4406msgstr "" 4693msgstr ""
4407 4694
4408#: plugins/check_snmp.c:1089 4695#: plugins/check_snmp.c:1193
4409msgid "saves the last state information in a file so that the rate per second" 4696msgid "saves the last state information in a file so that the rate per second"
4410msgstr "" 4697msgstr ""
4411 4698
4412#: plugins/check_snmp.c:1090 4699#: plugins/check_snmp.c:1194
4413msgid "can be calculated. Use the --rate option to save state information." 4700msgid "can be calculated. Use the --rate option to save state information."
4414msgstr "" 4701msgstr ""
4415 4702
4416#: plugins/check_snmp.c:1091 4703#: plugins/check_snmp.c:1195
4417msgid "" 4704msgid ""
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."
4419msgstr "" 4706msgstr ""
4420 4707
4421#: plugins/check_snmp.c:1092 4708#: plugins/check_snmp.c:1196
4422msgid "The state is uniquely determined by the arguments to the plugin, so" 4709msgid "The state is uniquely determined by the arguments to the plugin, so"
4423msgstr "" 4710msgstr ""
4424 4711
4425#: plugins/check_snmp.c:1093 4712#: plugins/check_snmp.c:1197
4426msgid "changing the arguments will create a new state file." 4713msgid "changing the arguments will create a new state file."
4427msgstr "" 4714msgstr ""
4428 4715
@@ -4541,101 +4828,105 @@ msgstr ""
4541msgid "On AIX, if -a is specified, uses lsps -a, otherwise uses lsps -s." 4828msgid "On AIX, if -a is specified, uses lsps -a, otherwise uses lsps -s."
4542msgstr "" 4829msgstr ""
4543 4830
4544#: plugins/check_tcp.c:197 4831#: plugins/check_tcp.c:206
4545msgid "CRITICAL - Generic check_tcp called with unknown service\n" 4832msgid "CRITICAL - Generic check_tcp called with unknown service\n"
4546msgstr "" 4833msgstr ""
4547 4834
4548#: plugins/check_tcp.c:221 4835#: plugins/check_tcp.c:230
4549msgid "With UDP checks, a send/expect string must be specified." 4836msgid "With UDP checks, a send/expect string must be specified."
4550msgstr "" 4837msgstr ""
4551 4838
4552#: plugins/check_tcp.c:415 4839#: plugins/check_tcp.c:431
4553msgid "No arguments found" 4840msgid "No arguments found"
4554msgstr "" 4841msgstr ""
4555 4842
4556#: plugins/check_tcp.c:516 4843#: plugins/check_tcp.c:534
4557msgid "Maxbytes must be a positive integer" 4844msgid "Maxbytes must be a positive integer"
4558msgstr "" 4845msgstr ""
4559 4846
4560#: plugins/check_tcp.c:534 4847#: plugins/check_tcp.c:552
4561msgid "Refuse must be one of ok, warn, crit" 4848msgid "Refuse must be one of ok, warn, crit"
4562msgstr "" 4849msgstr ""
4563 4850
4564#: plugins/check_tcp.c:544 4851#: plugins/check_tcp.c:562
4565msgid "Mismatch must be one of ok, warn, crit" 4852msgid "Mismatch must be one of ok, warn, crit"
4566msgstr "" 4853msgstr ""
4567 4854
4568#: plugins/check_tcp.c:550 4855#: plugins/check_tcp.c:568
4569msgid "Delay must be a positive integer" 4856msgid "Delay must be a positive integer"
4570msgstr "" 4857msgstr ""
4571 4858
4572#: plugins/check_tcp.c:578 4859#: plugins/check_tcp.c:613
4573msgid "You must provide a server address" 4860msgid "You must provide a server address"
4574msgstr "" 4861msgstr ""
4575 4862
4576#: plugins/check_tcp.c:580 4863#: plugins/check_tcp.c:615
4577msgid "Invalid hostname, address or socket" 4864msgid "Invalid hostname, address or socket"
4578msgstr "" 4865msgstr ""
4579 4866
4580#: plugins/check_tcp.c:594 4867#: plugins/check_tcp.c:629
4581#, c-format 4868#, c-format
4582msgid "" 4869msgid ""
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"
4585msgstr "" 4872msgstr ""
4586 4873
4587#: plugins/check_tcp.c:607 4874#: plugins/check_tcp.c:642
4588msgid "" 4875msgid ""
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"
4591msgstr "" 4878msgstr ""
4592 4879
4593#: plugins/check_tcp.c:608 4880#: plugins/check_tcp.c:643
4594msgid "Default: nothing added to send, \\r\\n added to end of quit" 4881msgid "Default: nothing added to send, \\r\\n added to end of quit"
4595msgstr "" 4882msgstr ""
4596 4883
4597#: plugins/check_tcp.c:610 4884#: plugins/check_tcp.c:645
4598msgid "String to send to the server" 4885msgid "String to send to the server"
4599msgstr "" 4886msgstr ""
4600 4887
4601#: plugins/check_tcp.c:612 4888#: plugins/check_tcp.c:647
4602msgid "String to expect in server response" 4889msgid "String to expect in server response"
4603msgstr "" 4890msgstr ""
4604 4891
4605#: plugins/check_tcp.c:612 4892#: plugins/check_tcp.c:647
4606msgid "(may be repeated)" 4893msgid "(may be repeated)"
4607msgstr "" 4894msgstr ""
4608 4895
4609#: plugins/check_tcp.c:614 4896#: plugins/check_tcp.c:649
4610msgid "All expect strings need to occur in server response. Default is any" 4897msgid "All expect strings need to occur in server response. Default is any"
4611msgstr "" 4898msgstr ""
4612 4899
4613#: plugins/check_tcp.c:616 4900#: plugins/check_tcp.c:651
4614msgid "String to send server to initiate a clean close of the connection" 4901msgid "String to send server to initiate a clean close of the connection"
4615msgstr "" 4902msgstr ""
4616 4903
4617#: plugins/check_tcp.c:618 4904#: plugins/check_tcp.c:653
4618msgid "Accept TCP refusals with states ok, warn, crit (default: crit)" 4905msgid "Accept TCP refusals with states ok, warn, crit (default: crit)"
4619msgstr "" 4906msgstr ""
4620 4907
4621#: plugins/check_tcp.c:620 4908#: plugins/check_tcp.c:655
4622msgid "" 4909msgid ""
4623"Accept expected string mismatches with states ok, warn, crit (default: warn)" 4910"Accept expected string mismatches with states ok, warn, crit (default: warn)"
4624msgstr "" 4911msgstr ""
4625 4912
4626#: plugins/check_tcp.c:622 4913#: plugins/check_tcp.c:657
4627msgid "Hide output from TCP socket" 4914msgid "Hide output from TCP socket"
4628msgstr "" 4915msgstr ""
4629 4916
4630#: plugins/check_tcp.c:624 4917#: plugins/check_tcp.c:659
4631msgid "Close connection once more than this number of bytes are received" 4918msgid "Close connection once more than this number of bytes are received"
4632msgstr "" 4919msgstr ""
4633 4920
4634#: plugins/check_tcp.c:626 4921#: plugins/check_tcp.c:661
4635msgid "Seconds to wait between sending string and polling for response" 4922msgid "Seconds to wait between sending string and polling for response"
4636msgstr "" 4923msgstr ""
4637 4924
4638#: plugins/check_tcp.c:632 4925#: plugins/check_tcp.c:666
4926msgid "1st is #days for warning, 2nd is critical (if not specified - 0)."
4927msgstr ""
4928
4929#: plugins/check_tcp.c:668
4639msgid "Use SSL for the connection." 4930msgid "Use SSL for the connection."
4640msgstr "" 4931msgstr ""
4641 4932
@@ -4697,7 +4988,6 @@ msgid "Response time (sec.) necessary to result in critical status"
4697msgstr "" 4988msgstr ""
4698 4989
4699#: plugins/check_ups.c:144 4990#: plugins/check_ups.c:144
4700#, c-format
4701msgid "On Battery, Low Battery" 4991msgid "On Battery, Low Battery"
4702msgstr "" 4992msgstr ""
4703 4993
@@ -4750,7 +5040,6 @@ msgid ", Unknown"
4750msgstr "" 5040msgstr ""
4751 5041
4752#: plugins/check_ups.c:324 5042#: plugins/check_ups.c:324
4753#, c-format
4754msgid "UPS does not support any available options\n" 5043msgid "UPS does not support any available options\n"
4755msgstr "" 5044msgstr ""
4756 5045
@@ -4865,281 +5154,281 @@ msgstr ""
4865msgid "http://www.networkupstools.org" 5154msgid "http://www.networkupstools.org"
4866msgstr "" 5155msgstr ""
4867 5156
4868#: plugins/check_users.c:92 5157#: plugins/check_users.c:110
4869#, c-format 5158#, c-format
4870msgid "# users=%d" 5159msgid "# users=%d"
4871msgstr "" 5160msgstr ""
4872 5161
4873#: plugins/check_users.c:115 5162#: plugins/check_users.c:133
4874msgid "Unable to read output" 5163msgid "Unable to read output"
4875msgstr "" 5164msgstr ""
4876 5165
4877#: plugins/check_users.c:122 5166#: plugins/check_users.c:140
4878#, c-format 5167#, c-format
4879msgid "USERS %s - %d users currently logged in |%s\n" 5168msgid "USERS %s - %d users currently logged in |%s\n"
4880msgstr "" 5169msgstr ""
4881 5170
4882#: plugins/check_users.c:207 5171#: plugins/check_users.c:219
4883msgid "This plugin checks the number of users currently logged in on the local" 5172msgid "This plugin checks the number of users currently logged in on the local"
4884msgstr "" 5173msgstr ""
4885 5174
4886#: plugins/check_users.c:208 5175#: plugins/check_users.c:220
4887msgid "" 5176msgid ""
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."
4889msgstr "" 5178msgstr ""
4890 5179
4891#: plugins/check_users.c:218 5180#: plugins/check_users.c:230
4892msgid "Set WARNING status if more than INTEGER users are logged in" 5181msgid "Set WARNING status if more than INTEGER users are logged in"
4893msgstr "" 5182msgstr ""
4894 5183
4895#: plugins/check_users.c:220 5184#: plugins/check_users.c:232
4896msgid "Set CRITICAL status if more than INTEGER users are logged in" 5185msgid "Set CRITICAL status if more than INTEGER users are logged in"
4897msgstr "" 5186msgstr ""
4898 5187
4899#: plugins/check_ide_smart.c:229 5188#: plugins/check_ide_smart.c:256
4900#, c-format 5189#, c-format
4901msgid "CRITICAL - Couldn't open device %s: %s\n" 5190msgid "CRITICAL - Couldn't open device %s: %s\n"
4902msgstr "" 5191msgstr ""
4903 5192
4904#: plugins/check_ide_smart.c:234 5193#: plugins/check_ide_smart.c:261
4905#, c-format 5194#, c-format
4906msgid "CRITICAL - SMART_CMD_ENABLE\n" 5195msgid "CRITICAL - SMART_CMD_ENABLE\n"
4907msgstr "" 5196msgstr ""
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
4911msgid "CRITICAL - SMART_READ_VALUES: %s\n" 5200msgid "CRITICAL - SMART_READ_VALUES: %s\n"
4912msgstr "" 5201msgstr ""
4913 5202
4914#: plugins/check_ide_smart.c:364 5203#: plugins/check_ide_smart.c:421
4915#, c-format 5204#, c-format
4916msgid "CRITICAL - %d Harddrive PreFailure%cDetected! %d/%d tests failed.\n" 5205msgid "CRITICAL - %d Harddrive PreFailure%cDetected! %d/%d tests failed.\n"
4917msgstr "" 5206msgstr ""
4918 5207
4919#: plugins/check_ide_smart.c:372 5208#: plugins/check_ide_smart.c:429
4920#, c-format 5209#, c-format
4921msgid "WARNING - %d Harddrive Advisor%s Detected. %d/%d tests failed.\n" 5210msgid "WARNING - %d Harddrive Advisor%s Detected. %d/%d tests failed.\n"
4922msgstr "" 5211msgstr ""
4923 5212
4924#: plugins/check_ide_smart.c:380 5213#: plugins/check_ide_smart.c:437
4925#, c-format 5214#, c-format
4926msgid "OK - Operational (%d/%d tests passed)\n" 5215msgid "OK - Operational (%d/%d tests passed)\n"
4927msgstr "" 5216msgstr ""
4928 5217
4929#: plugins/check_ide_smart.c:384 5218#: plugins/check_ide_smart.c:441
4930#, c-format 5219#, c-format
4931msgid "ERROR - Status '%d' unkown. %d/%d tests passed\n" 5220msgid "ERROR - Status '%d' unknown. %d/%d tests passed\n"
4932msgstr "" 5221msgstr ""
4933 5222
4934#: plugins/check_ide_smart.c:417 5223#: plugins/check_ide_smart.c:474
4935#, c-format 5224#, c-format
4936msgid "OffLineStatus=%d {%s}, AutoOffLine=%s, OffLineTimeout=%d minutes\n" 5225msgid "OffLineStatus=%d {%s}, AutoOffLine=%s, OffLineTimeout=%d minutes\n"
4937msgstr "" 5226msgstr ""
4938 5227
4939#: plugins/check_ide_smart.c:423 5228#: plugins/check_ide_smart.c:480
4940#, c-format 5229#, c-format
4941msgid "OffLineCapability=%d {%s %s %s}\n" 5230msgid "OffLineCapability=%d {%s %s %s}\n"
4942msgstr "" 5231msgstr ""
4943 5232
4944#: plugins/check_ide_smart.c:429 5233#: plugins/check_ide_smart.c:486
4945#, c-format 5234#, c-format
4946msgid "SmartRevision=%d, CheckSum=%d, SmartCapability=%d {%s %s}\n" 5235msgid "SmartRevision=%d, CheckSum=%d, SmartCapability=%d {%s %s}\n"
4947msgstr "" 5236msgstr ""
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
4951msgid "CRITICAL - %s: %s\n" 5240msgid "CRITICAL - %s: %s\n"
4952msgstr "" 5241msgstr ""
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
4956msgid "CRITICAL - SMART_READ_THRESHOLDS: %s\n" 5245msgid "CRITICAL - SMART_READ_THRESHOLDS: %s\n"
4957msgstr "" 5246msgstr ""
4958 5247
4959#: plugins/check_ide_smart.c:486 5248#: plugins/check_ide_smart.c:599
4960#, c-format 5249#, c-format
4961msgid "" 5250msgid ""
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]."
4964msgstr "" 5253msgstr ""
4965 5254
4966#: plugins/check_ide_smart.c:496 5255#: plugins/check_ide_smart.c:609
4967msgid "Select device DEVICE" 5256msgid "Select device DEVICE"
4968msgstr "" 5257msgstr ""
4969 5258
4970#: plugins/check_ide_smart.c:497 5259#: plugins/check_ide_smart.c:610
4971msgid "" 5260msgid ""
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"
4974msgstr "" 5263msgstr ""
4975 5264
4976#: plugins/check_ide_smart.c:499 5265#: plugins/check_ide_smart.c:612
4977msgid "Perform immediately offline tests" 5266msgid "Perform immediately offline tests"
4978msgstr "" 5267msgstr ""
4979 5268
4980#: plugins/check_ide_smart.c:501 5269#: plugins/check_ide_smart.c:614
4981msgid "Returns the number of failed tests" 5270msgid "Returns the number of failed tests"
4982msgstr "" 5271msgstr ""
4983 5272
4984#: plugins/check_ide_smart.c:503 5273#: plugins/check_ide_smart.c:616
4985msgid "Turn on automatic offline tests" 5274msgid "Turn on automatic offline tests"
4986msgstr "" 5275msgstr ""
4987 5276
4988#: plugins/check_ide_smart.c:505 5277#: plugins/check_ide_smart.c:618
4989msgid "Turn off automatic offline tests" 5278msgid "Turn off automatic offline tests"
4990msgstr "" 5279msgstr ""
4991 5280
4992#: plugins/check_ide_smart.c:507 5281#: plugins/check_ide_smart.c:620
4993msgid "Output suitable for Nagios" 5282msgid "Output suitable for the monitoring system"
4994msgstr "" 5283msgstr ""
4995 5284
4996#: plugins/negate.c:96 5285#: plugins/negate.c:99
4997msgid "No data returned from command\n" 5286msgid "No data returned from command\n"
4998msgstr "" 5287msgstr ""
4999 5288
5000#: plugins/negate.c:167 5289#: plugins/negate.c:170
5001msgid "" 5290msgid ""
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)."
5004msgstr "" 5293msgstr ""
5005 5294
5006#: plugins/negate.c:171 5295#: plugins/negate.c:174
5007msgid "" 5296msgid ""
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)."
5010msgstr "" 5299msgstr ""
5011 5300
5012#: plugins/negate.c:177 5301#: plugins/negate.c:180
5013msgid "" 5302msgid ""
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)."
5016msgstr "" 5305msgstr ""
5017 5306
5018#: plugins/negate.c:182 5307#: plugins/negate.c:185
5019msgid "" 5308msgid ""
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)."
5022msgstr "" 5311msgstr ""
5023 5312
5024#: plugins/negate.c:187 5313#: plugins/negate.c:190
5025msgid "" 5314msgid ""
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)."
5028msgstr "" 5317msgstr ""
5029 5318
5030#: plugins/negate.c:214 5319#: plugins/negate.c:217
5031msgid "Require path to command" 5320msgid "Require path to command"
5032msgstr "" 5321msgstr ""
5033 5322
5034#: plugins/negate.c:243 5323#: plugins/negate.c:246
5035msgid "" 5324msgid ""
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)."
5037msgstr "" 5326msgstr ""
5038 5327
5039#: plugins/negate.c:244 5328#: plugins/negate.c:247
5040msgid "Additional switches can be used to control which state becomes what." 5329msgid "Additional switches can be used to control which state becomes what."
5041msgstr "" 5330msgstr ""
5042 5331
5043#: plugins/negate.c:253 5332#: plugins/negate.c:256
5044msgid "Keep timeout longer than the plugin timeout to retain CRITICAL status." 5333msgid "Keep timeout longer than the plugin timeout to retain CRITICAL status."
5045msgstr "" 5334msgstr ""
5046 5335
5047#: plugins/negate.c:255 5336#: plugins/negate.c:258
5048msgid "Custom result on Negate timeouts; see below for STATUS definition\n" 5337msgid "Custom result on Negate timeouts; see below for STATUS definition\n"
5049msgstr "" 5338msgstr ""
5050 5339
5051#: plugins/negate.c:261 5340#: plugins/negate.c:264
5052#, c-format 5341#, c-format
5053msgid "" 5342msgid ""
5054" STATUS can be 'OK', 'WARNING', 'CRITICAL' or 'UNKNOWN' without single\n" 5343" STATUS can be 'OK', 'WARNING', 'CRITICAL' or 'UNKNOWN' without single\n"
5055msgstr "" 5344msgstr ""
5056 5345
5057#: plugins/negate.c:262 5346#: plugins/negate.c:265
5058#, c-format 5347#, c-format
5059msgid "" 5348msgid ""
5060" quotes. Numeric values are accepted. If nothing is specified, permutes\n" 5349" quotes. Numeric values are accepted. If nothing is specified, permutes\n"
5061msgstr "" 5350msgstr ""
5062 5351
5063#: plugins/negate.c:263 5352#: plugins/negate.c:266
5064#, c-format 5353#, c-format
5065msgid " OK and CRITICAL.\n" 5354msgid " OK and CRITICAL.\n"
5066msgstr "" 5355msgstr ""
5067 5356
5068#: plugins/negate.c:265 5357#: plugins/negate.c:268
5069#, c-format 5358#, c-format
5070msgid "" 5359msgid ""
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"
5072msgstr "" 5361msgstr ""
5073 5362
5074#: plugins/negate.c:270 5363#: plugins/negate.c:273
5075msgid "Run check_ping and invert result. Must use full path to plugin" 5364msgid "Run check_ping and invert result. Must use full path to plugin"
5076msgstr "" 5365msgstr ""
5077 5366
5078#: plugins/negate.c:272 5367#: plugins/negate.c:275
5079msgid "This will return OK instead of WARNING and UNKNOWN instead of CRITICAL" 5368msgid "This will return OK instead of WARNING and UNKNOWN instead of CRITICAL"
5080msgstr "" 5369msgstr ""
5081 5370
5082#: plugins/negate.c:275 5371#: plugins/negate.c:278
5083msgid "" 5372msgid ""
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."
5085msgstr "" 5374msgstr ""
5086 5375
5087#: plugins/negate.c:276 5376#: plugins/negate.c:279
5088msgid "The full path of the plugin must be provided." 5377msgid "The full path of the plugin must be provided."
5089msgstr "" 5378msgstr ""
5090 5379
5091#: plugins/negate.c:277 5380#: plugins/negate.c:280
5092msgid "If the wrapped plugin returns OK, the wrapper will return CRITICAL." 5381msgid "If the wrapped plugin returns OK, the wrapper will return CRITICAL."
5093msgstr "" 5382msgstr ""
5094 5383
5095#: plugins/negate.c:278 5384#: plugins/negate.c:281
5096msgid "If the wrapped plugin returns CRITICAL, the wrapper will return OK." 5385msgid "If the wrapped plugin returns CRITICAL, the wrapper will return OK."
5097msgstr "" 5386msgstr ""
5098 5387
5099#: plugins/negate.c:279 5388#: plugins/negate.c:282
5100msgid "Otherwise, the output state of the wrapped plugin is unchanged." 5389msgid "Otherwise, the output state of the wrapped plugin is unchanged."
5101msgstr "" 5390msgstr ""
5102 5391
5103#: plugins/negate.c:281 5392#: plugins/negate.c:284
5104msgid "" 5393msgid ""
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"
5106msgstr "" 5395msgstr ""
5107 5396
5108#: plugins/negate.c:282 5397#: plugins/negate.c:285
5109msgid "plugin by setting the negate timeout a bit lower." 5398msgid "plugin by setting the negate timeout a bit lower."
5110msgstr "" 5399msgstr ""
5111 5400
5112#: plugins/netutils.c:48 5401#: plugins/netutils.c:49
5113#, c-format 5402#, c-format
5114msgid "%s - Socket timeout after %d seconds\n" 5403msgid "%s - Socket timeout after %d seconds\n"
5115msgstr "" 5404msgstr ""
5116 5405
5117#: plugins/netutils.c:50 5406#: plugins/netutils.c:51
5118#, c-format 5407#, c-format
5119msgid "%s - Abnormal timeout after %d seconds\n" 5408msgid "%s - Abnormal timeout after %d seconds\n"
5120msgstr "" 5409msgstr ""
5121 5410
5122#: plugins/netutils.c:78 plugins/netutils.c:280 5411#: plugins/netutils.c:79 plugins/netutils.c:281
5123msgid "Send failed" 5412msgid "Send failed"
5124msgstr "" 5413msgstr ""
5125 5414
5126#: plugins/netutils.c:95 plugins/netutils.c:295 5415#: plugins/netutils.c:96 plugins/netutils.c:296
5127msgid "No data was received from host!" 5416msgid "No data was received from host!"
5128msgstr "" 5417msgstr ""
5129 5418
5130#: plugins/netutils.c:203 plugins/netutils.c:239 5419#: plugins/netutils.c:204 plugins/netutils.c:240
5131msgid "Socket creation failed" 5420msgid "Socket creation failed"
5132msgstr "" 5421msgstr ""
5133 5422
5134#: plugins/netutils.c:232 5423#: plugins/netutils.c:233
5135msgid "Supplied path too long unix domain socket" 5424msgid "Supplied path too long unix domain socket"
5136msgstr "" 5425msgstr ""
5137 5426
5138#: plugins/netutils.c:304 5427#: plugins/netutils.c:305
5139msgid "Receive failed" 5428msgid "Receive failed"
5140msgstr "" 5429msgstr ""
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
5144msgid "Invalid hostname/address - %s" 5433msgid "Invalid hostname/address - %s"
5145msgstr "" 5434msgstr ""
@@ -5177,18 +5466,19 @@ msgid ""
5177msgstr "" 5466msgstr ""
5178 5467
5179#: plugins/urlize.c:169 5468#: plugins/urlize.c:169
5180msgid "This plugin wraps the text output of another command (plugin)" 5469msgid ""
5470"This plugin wraps the text output of another command (plugin) in HTML <A>"
5181msgstr "" 5471msgstr ""
5182 5472
5183#: plugins/urlize.c:170 5473#: plugins/urlize.c:170
5184msgid "" 5474msgid ""
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"
5187msgstr "" 5477msgstr ""
5188 5478
5189#: plugins/urlize.c:171 5479#: plugins/urlize.c:171
5190msgid "" 5480msgid ""
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."
5193msgstr "" 5483msgstr ""
5194 5484
@@ -5221,27 +5511,31 @@ msgstr ""
5221msgid "urlize http://example.com/ \"check_http -H example.com -r 'two words'\"" 5511msgid "urlize http://example.com/ \"check_http -H example.com -r 'two words'\""
5222msgstr "" 5512msgstr ""
5223 5513
5224#: plugins/utils.c:171 5514#: plugins/utils.c:174
5225#, c-format 5515#, c-format
5226msgid "%s - Plugin timed out after %d seconds\n" 5516msgid "%s - Plugin timed out after %d seconds\n"
5227msgstr "" 5517msgstr ""
5228 5518
5229#: plugins/utils.c:466 5519#: plugins/utils.c:469
5230msgid "failed realloc in strpcpy\n" 5520msgid "failed realloc in strpcpy\n"
5231msgstr "" 5521msgstr ""
5232 5522
5233#: plugins/utils.c:508 5523#: plugins/utils.c:511
5234msgid "failed malloc in strscat\n" 5524msgid "failed malloc in strscat\n"
5235msgstr "" 5525msgstr ""
5236 5526
5237#: plugins/utils.h:140 5527#: plugins/utils.c:531
5528msgid "failed malloc in xvasprintf\n"
5529msgstr ""
5530
5531#: plugins/utils.h:137
5238#, c-format 5532#, c-format
5239msgid "" 5533msgid ""
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"
5242msgstr "" 5536msgstr ""
5243 5537
5244#: plugins/utils.h:144 5538#: plugins/utils.h:141
5245msgid "" 5539msgid ""
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"
5252msgstr "" 5546msgstr ""
5253 5547
5254#: plugins/utils.h:151 5548#: plugins/utils.h:148
5255#, c-format 5549#, c-format
5256msgid "" 5550msgid ""
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"
5261msgstr "" 5555msgstr ""
5262 5556
5263#: plugins/utils.h:157 5557#: plugins/utils.h:154
5264msgid "" 5558msgid ""
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"
5269msgstr "" 5563msgstr ""
5270 5564
5271#: plugins/utils.h:163 5565#: plugins/utils.h:160
5272msgid "" 5566msgid ""
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"
5275msgstr "" 5570msgstr ""
5276 5571
5277#: plugins/utils.h:167 5572#: plugins/utils.h:165
5278msgid "" 5573msgid ""
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"
5283msgstr "" 5578msgstr ""
5284 5579
5285#: plugins/utils.h:173 5580#: plugins/utils.h:171
5286msgid "" 5581msgid ""
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"
5291msgstr "" 5586msgstr ""
5292 5587
5293#: plugins/utils.h:179 5588#: plugins/utils.h:177
5294#, c-format 5589#, c-format
5295msgid "" 5590msgid ""
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"
5298msgstr "" 5593msgstr ""
5299 5594
5300#: plugins/utils.h:184 5595#: plugins/utils.h:182
5301msgid "" 5596msgid ""
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"
5305msgstr "" 5601msgstr ""
5306 5602
5307#: plugins/utils.h:192 5603#: plugins/utils.h:190
5308msgid "" 5604msgid ""
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"
5313msgstr "" 5608msgstr ""
5314 5609
5315#: plugins/utils.h:197 5610#: plugins/utils.h:195
5316msgid "" 5611msgid ""
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"
5322msgstr "" 5617msgstr ""
5323 5618
5324#: plugins/utils.h:202 5619#: plugins/utils.h:200
5325msgid "" 5620msgid ""
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"
5330msgstr "" 5626msgstr ""
@@ -5355,52 +5651,52 @@ msgstr ""
5355msgid "Error: Couldn't get hardware address from %s. sysctl 2 error - %s.\n" 5651msgid "Error: Couldn't get hardware address from %s. sysctl 2 error - %s.\n"
5356msgstr "" 5652msgstr ""
5357 5653
5358#: plugins-root/check_dhcp.c:383 5654#: plugins-root/check_dhcp.c:388
5359#, c-format 5655#, c-format
5360msgid "" 5656msgid ""
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"
5363msgstr "" 5659msgstr ""
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
5367msgid "" 5663msgid ""
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"
5370msgstr "" 5666msgstr ""
5371 5667
5372#: plugins-root/check_dhcp.c:406 5668#: plugins-root/check_dhcp.c:411
5373#, c-format 5669#, c-format
5374msgid "" 5670msgid ""
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"
5376msgstr "" 5672msgstr ""
5377 5673
5378#: plugins-root/check_dhcp.c:425 5674#: plugins-root/check_dhcp.c:430
5379#, c-format 5675#, c-format
5380msgid "Error: Cannot determine IP address of interface %s\n" 5676msgid "Error: Cannot determine IP address of interface %s\n"
5381msgstr "" 5677msgstr ""
5382 5678
5383#: plugins-root/check_dhcp.c:433 5679#: plugins-root/check_dhcp.c:438
5384#, c-format 5680#, c-format
5385msgid "Error: Cannot get interface IP address on this platform.\n" 5681msgid "Error: Cannot get interface IP address on this platform.\n"
5386msgstr "" 5682msgstr ""
5387 5683
5388#: plugins-root/check_dhcp.c:438 5684#: plugins-root/check_dhcp.c:443
5389#, c-format 5685#, c-format
5390msgid "Pretending to be relay client %s\n" 5686msgid "Pretending to be relay client %s\n"
5391msgstr "" 5687msgstr ""
5392 5688
5393#: plugins-root/check_dhcp.c:523 5689#: plugins-root/check_dhcp.c:528
5394#, c-format 5690#, c-format
5395msgid "DHCPDISCOVER to %s port %d\n" 5691msgid "DHCPDISCOVER to %s port %d\n"
5396msgstr "" 5692msgstr ""
5397 5693
5398#: plugins-root/check_dhcp.c:575 5694#: plugins-root/check_dhcp.c:580
5399#, c-format 5695#, c-format
5400msgid "Result=ERROR\n" 5696msgid "Result=ERROR\n"
5401msgstr "" 5697msgstr ""
5402 5698
5403#: plugins-root/check_dhcp.c:581 5699#: plugins-root/check_dhcp.c:586
5404#, c-format 5700#, c-format
5405msgid "Result=OK\n" 5701msgid "Result=OK\n"
5406msgstr "" 5702msgstr ""
@@ -5493,234 +5789,234 @@ msgstr ""
5493msgid "Requested server address: %s\n" 5789msgid "Requested server address: %s\n"
5494msgstr "" 5790msgstr ""
5495 5791
5496#: plugins-root/check_dhcp.c:881 5792#: plugins-root/check_dhcp.c:882
5497#, c-format 5793#, c-format
5498msgid "Lease Time: Infinite\n" 5794msgid "Lease Time: Infinite\n"
5499msgstr "" 5795msgstr ""
5500 5796
5501#: plugins-root/check_dhcp.c:883 5797#: plugins-root/check_dhcp.c:884
5502#, c-format 5798#, c-format
5503msgid "Lease Time: %lu seconds\n" 5799msgid "Lease Time: %lu seconds\n"
5504msgstr "" 5800msgstr ""
5505 5801
5506#: plugins-root/check_dhcp.c:885 5802#: plugins-root/check_dhcp.c:886
5507#, c-format 5803#, c-format
5508msgid "Renewal Time: Infinite\n" 5804msgid "Renewal Time: Infinite\n"
5509msgstr "" 5805msgstr ""
5510 5806
5511#: plugins-root/check_dhcp.c:887 5807#: plugins-root/check_dhcp.c:888
5512#, c-format 5808#, c-format
5513msgid "Renewal Time: %lu seconds\n" 5809msgid "Renewal Time: %lu seconds\n"
5514msgstr "" 5810msgstr ""
5515 5811
5516#: plugins-root/check_dhcp.c:889 5812#: plugins-root/check_dhcp.c:890
5517#, c-format 5813#, c-format
5518msgid "Rebinding Time: Infinite\n" 5814msgid "Rebinding Time: Infinite\n"
5519msgstr "" 5815msgstr ""
5520 5816
5521#: plugins-root/check_dhcp.c:890 5817#: plugins-root/check_dhcp.c:891
5522#, c-format 5818#, c-format
5523msgid "Rebinding Time: %lu seconds\n" 5819msgid "Rebinding Time: %lu seconds\n"
5524msgstr "" 5820msgstr ""
5525 5821
5526#: plugins-root/check_dhcp.c:918 5822#: plugins-root/check_dhcp.c:919
5527#, c-format 5823#, c-format
5528msgid "Added offer from server @ %s" 5824msgid "Added offer from server @ %s"
5529msgstr "" 5825msgstr ""
5530 5826
5531#: plugins-root/check_dhcp.c:919 5827#: plugins-root/check_dhcp.c:920
5532#, c-format 5828#, c-format
5533msgid " of IP address %s\n" 5829msgid " of IP address %s\n"
5534msgstr "" 5830msgstr ""
5535 5831
5536#: plugins-root/check_dhcp.c:986 5832#: plugins-root/check_dhcp.c:987
5537#, c-format 5833#, c-format
5538msgid "DHCP Server Match: Offerer=%s" 5834msgid "DHCP Server Match: Offerer=%s"
5539msgstr "" 5835msgstr ""
5540 5836
5541#: plugins-root/check_dhcp.c:987 5837#: plugins-root/check_dhcp.c:988
5542#, c-format 5838#, c-format
5543msgid " Requested=%s" 5839msgid " Requested=%s"
5544msgstr "" 5840msgstr ""
5545 5841
5546#: plugins-root/check_dhcp.c:989 5842#: plugins-root/check_dhcp.c:990
5547#, c-format 5843#, c-format
5548msgid " (duplicate)" 5844msgid " (duplicate)"
5549msgstr "" 5845msgstr ""
5550 5846
5551#: plugins-root/check_dhcp.c:990 5847#: plugins-root/check_dhcp.c:991
5552#, c-format 5848#, c-format
5553msgid "\n" 5849msgid "\n"
5554msgstr "" 5850msgstr ""
5555 5851
5556#: plugins-root/check_dhcp.c:1038 5852#: plugins-root/check_dhcp.c:1039
5557#, c-format 5853#, c-format
5558msgid "No DHCPOFFERs were received.\n" 5854msgid "No DHCPOFFERs were received.\n"
5559msgstr "" 5855msgstr ""
5560 5856
5561#: plugins-root/check_dhcp.c:1042 5857#: plugins-root/check_dhcp.c:1043
5562#, c-format 5858#, c-format
5563msgid "Received %d DHCPOFFER(s)" 5859msgid "Received %d DHCPOFFER(s)"
5564msgstr "" 5860msgstr ""
5565 5861
5566#: plugins-root/check_dhcp.c:1045 5862#: plugins-root/check_dhcp.c:1046
5567#, c-format 5863#, c-format
5568msgid ", %s%d of %d requested servers responded" 5864msgid ", %s%d of %d requested servers responded"
5569msgstr "" 5865msgstr ""
5570 5866
5571#: plugins-root/check_dhcp.c:1048 5867#: plugins-root/check_dhcp.c:1049
5572#, c-format 5868#, c-format
5573msgid ", requested address (%s) was %soffered" 5869msgid ", requested address (%s) was %soffered"
5574msgstr "" 5870msgstr ""
5575 5871
5576#: plugins-root/check_dhcp.c:1048 5872#: plugins-root/check_dhcp.c:1049
5577msgid "not " 5873msgid "not "
5578msgstr "" 5874msgstr ""
5579 5875
5580#: plugins-root/check_dhcp.c:1050 5876#: plugins-root/check_dhcp.c:1051
5581#, c-format 5877#, c-format
5582msgid ", max lease time = " 5878msgid ", max lease time = "
5583msgstr "" 5879msgstr ""
5584 5880
5585#: plugins-root/check_dhcp.c:1052 5881#: plugins-root/check_dhcp.c:1053
5586#, c-format 5882#, c-format
5587msgid "Infinity" 5883msgid "Infinity"
5588msgstr "" 5884msgstr ""
5589 5885
5590#: plugins-root/check_dhcp.c:1233 5886#: plugins-root/check_dhcp.c:1234
5591#, c-format 5887#, c-format
5592msgid "Error: DLPI stream API failed to get MAC in check_ctrl: %s.\n" 5888msgid "Error: DLPI stream API failed to get MAC in check_ctrl: %s.\n"
5593msgstr "" 5889msgstr ""
5594 5890
5595#: plugins-root/check_dhcp.c:1245 5891#: plugins-root/check_dhcp.c:1246
5596#, c-format 5892#, c-format
5597msgid "Error: DLPI stream API failed to get MAC in put_ctrl/putmsg(): %s.\n" 5893msgid "Error: DLPI stream API failed to get MAC in put_ctrl/putmsg(): %s.\n"
5598msgstr "" 5894msgstr ""
5599 5895
5600#: plugins-root/check_dhcp.c:1258 5896#: plugins-root/check_dhcp.c:1259
5601#, c-format 5897#, c-format
5602msgid "Error: DLPI stream API failed to get MAC in put_both/putmsg().\n" 5898msgid "Error: DLPI stream API failed to get MAC in put_both/putmsg().\n"
5603msgstr "" 5899msgstr ""
5604 5900
5605#: plugins-root/check_dhcp.c:1270 5901#: plugins-root/check_dhcp.c:1271
5606#, c-format 5902#, c-format
5607msgid "" 5903msgid ""
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"
5609msgstr "" 5905msgstr ""
5610 5906
5611#: plugins-root/check_dhcp.c:1294 5907#: plugins-root/check_dhcp.c:1295
5612#, c-format 5908#, c-format
5613msgid "Error: DLPI stream API failed to get MAC in dl_bind/check_ctrl(): %s.\n" 5909msgid "Error: DLPI stream API failed to get MAC in dl_bind/check_ctrl(): %s.\n"
5614msgstr "" 5910msgstr ""
5615 5911
5616#: plugins-root/check_dhcp.c:1373 5912#: plugins-root/check_dhcp.c:1374
5617#, c-format 5913#, c-format
5618msgid "Hardware address: " 5914msgid "Hardware address: "
5619msgstr "" 5915msgstr ""
5620 5916
5621#: plugins-root/check_dhcp.c:1389 5917#: plugins-root/check_dhcp.c:1390
5622msgid "This plugin tests the availability of DHCP servers on a network." 5918msgid "This plugin tests the availability of DHCP servers on a network."
5623msgstr "" 5919msgstr ""
5624 5920
5625#: plugins-root/check_dhcp.c:1401 5921#: plugins-root/check_dhcp.c:1402
5626msgid "IP address of DHCP server that we must hear from" 5922msgid "IP address of DHCP server that we must hear from"
5627msgstr "" 5923msgstr ""
5628 5924
5629#: plugins-root/check_dhcp.c:1403 5925#: plugins-root/check_dhcp.c:1404
5630msgid "IP address that should be offered by at least one DHCP server" 5926msgid "IP address that should be offered by at least one DHCP server"
5631msgstr "" 5927msgstr ""
5632 5928
5633#: plugins-root/check_dhcp.c:1405 5929#: plugins-root/check_dhcp.c:1406
5634msgid "Seconds to wait for DHCPOFFER before timeout occurs" 5930msgid "Seconds to wait for DHCPOFFER before timeout occurs"
5635msgstr "" 5931msgstr ""
5636 5932
5637#: plugins-root/check_dhcp.c:1407 5933#: plugins-root/check_dhcp.c:1408
5638msgid "Interface to to use for listening (i.e. eth0)" 5934msgid "Interface to to use for listening (i.e. eth0)"
5639msgstr "" 5935msgstr ""
5640 5936
5641#: plugins-root/check_dhcp.c:1409 5937#: plugins-root/check_dhcp.c:1410
5642msgid "MAC address to use in the DHCP request" 5938msgid "MAC address to use in the DHCP request"
5643msgstr "" 5939msgstr ""
5644 5940
5645#: plugins-root/check_dhcp.c:1411 5941#: plugins-root/check_dhcp.c:1412
5646msgid "Unicast testing: mimic a DHCP relay, requires -s" 5942msgid "Unicast testing: mimic a DHCP relay, requires -s"
5647msgstr "" 5943msgstr ""
5648 5944
5649#: plugins-root/check_icmp.c:1288 5945#: plugins-root/check_icmp.c:1295
5650msgid "specify a target" 5946msgid "specify a target"
5651msgstr "" 5947msgstr ""
5652 5948
5653#: plugins-root/check_icmp.c:1290 5949#: plugins-root/check_icmp.c:1297
5654msgid "warning threshold (currently " 5950msgid "warning threshold (currently "
5655msgstr "" 5951msgstr ""
5656 5952
5657#: plugins-root/check_icmp.c:1293 5953#: plugins-root/check_icmp.c:1300
5658msgid "critical threshold (currently " 5954msgid "critical threshold (currently "
5659msgstr "" 5955msgstr ""
5660 5956
5661#: plugins-root/check_icmp.c:1296 5957#: plugins-root/check_icmp.c:1303
5662msgid "specify a source IP address or device name" 5958msgid "specify a source IP address or device name"
5663msgstr "" 5959msgstr ""
5664 5960
5665#: plugins-root/check_icmp.c:1298 5961#: plugins-root/check_icmp.c:1305
5666msgid "number of packets to send (currently " 5962msgid "number of packets to send (currently "
5667msgstr "" 5963msgstr ""
5668 5964
5669#: plugins-root/check_icmp.c:1301 5965#: plugins-root/check_icmp.c:1308
5670msgid "max packet interval (currently " 5966msgid "max packet interval (currently "
5671msgstr "" 5967msgstr ""
5672 5968
5673#: plugins-root/check_icmp.c:1304 5969#: plugins-root/check_icmp.c:1311
5674msgid "max target interval (currently " 5970msgid "max target interval (currently "
5675msgstr "" 5971msgstr ""
5676 5972
5677#: plugins-root/check_icmp.c:1307 5973#: plugins-root/check_icmp.c:1314
5678msgid "number of alive hosts required for success" 5974msgid "number of alive hosts required for success"
5679msgstr "" 5975msgstr ""
5680 5976
5681#: plugins-root/check_icmp.c:1310 5977#: plugins-root/check_icmp.c:1317
5682msgid "TTL on outgoing packets (currently " 5978msgid "TTL on outgoing packets (currently "
5683msgstr "" 5979msgstr ""
5684 5980
5685#: plugins-root/check_icmp.c:1313 5981#: plugins-root/check_icmp.c:1320
5686msgid "timeout value (seconds, currently " 5982msgid "timeout value (seconds, currently "
5687msgstr "" 5983msgstr ""
5688 5984
5689#: plugins-root/check_icmp.c:1316 5985#: plugins-root/check_icmp.c:1323
5690msgid "Number of icmp data bytes to send" 5986msgid "Number of icmp data bytes to send"
5691msgstr "" 5987msgstr ""
5692 5988
5693#: plugins-root/check_icmp.c:1317 5989#: plugins-root/check_icmp.c:1324
5694msgid "Packet size will be data bytes + icmp header (currently" 5990msgid "Packet size will be data bytes + icmp header (currently"
5695msgstr "" 5991msgstr ""
5696 5992
5697#: plugins-root/check_icmp.c:1319 5993#: plugins-root/check_icmp.c:1326
5698msgid "verbose" 5994msgid "verbose"
5699msgstr "" 5995msgstr ""
5700 5996
5701#: plugins-root/check_icmp.c:1323 5997#: plugins-root/check_icmp.c:1330
5702msgid "The -H switch is optional. Naming a host (or several) to check is not." 5998msgid "The -H switch is optional. Naming a host (or several) to check is not."
5703msgstr "" 5999msgstr ""
5704 6000
5705#: plugins-root/check_icmp.c:1325 6001#: plugins-root/check_icmp.c:1332
5706msgid "" 6002msgid ""
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%"
5708msgstr "" 6004msgstr ""
5709 6005
5710#: plugins-root/check_icmp.c:1326 6006#: plugins-root/check_icmp.c:1333
5711msgid "packet loss. The default values should work well for most users." 6007msgid "packet loss. The default values should work well for most users."
5712msgstr "" 6008msgstr ""
5713 6009
5714#: plugins-root/check_icmp.c:1327 6010#: plugins-root/check_icmp.c:1334
5715msgid "" 6011msgid ""
5716"You can specify different RTA factors using the standardized abbreviations" 6012"You can specify different RTA factors using the standardized abbreviations"
5717msgstr "" 6013msgstr ""
5718 6014
5719#: plugins-root/check_icmp.c:1328 6015#: plugins-root/check_icmp.c:1335
5720msgid "" 6016msgid ""
5721"us (microseconds), ms (milliseconds, default) or just plain s for seconds." 6017"us (microseconds), ms (milliseconds, default) or just plain s for seconds."
5722msgstr "" 6018msgstr ""
5723 6019
5724#: plugins-root/check_icmp.c:1334 6020#: plugins-root/check_icmp.c:1341
5725msgid "The -v switch can be specified several times for increased verbosity." 6021msgid "The -v switch can be specified several times for increased verbosity."
5726msgstr "" 6022msgstr ""
diff --git a/test.pl.in b/test.pl.in
index 85ac19da..01a97ec0 100755
--- a/test.pl.in
+++ b/test.pl.in
@@ -9,9 +9,9 @@ use Getopt::Long;
9 9
10use NPTest qw(DetermineTestHarnessDirectory TestsFrom); 10use NPTest qw(DetermineTestHarnessDirectory TestsFrom);
11 11
12my $tstdir; 12my @tstdir;
13 13
14if ( ! GetOptions( "testdir:s" => \$tstdir ) ) 14if ( ! 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}
26else 26else
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
39if ( ! scalar( @tests ) ) 42if ( ! scalar( @tests ) )
diff --git a/tools/README b/tools/README
index 98c243b0..825ee56c 100644
--- a/tools/README
+++ b/tools/README
@@ -1,8 +1,8 @@
1The tools subdirectory contains anciliary files that can be used to configure 1The tools subdirectory contains anciliary files that can be used to configure
2or test the plugins. 2or test the plugins.
3 3
41. setup - used to get the configuration initialized after a CVS download 41. setup - used for initialization after cloning the Git repository
52. tango - 52. tango -
63. mini_epn/p1.pl - used to test perl plugins for functionality under embedded 63. mini_epn/p1.pl - used to test perl plugins for functionality under embedded
7 perl 7 perl
84. distclean - used to clean the sources leaving only original CVS files 84. distclean - used to clean the sources leaving only original Git files
diff --git a/tools/distclean b/tools/distclean
index f4ec20bd..961cc801 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
8if [ ! -f tools/distclean ]; then 8if [ ! -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
11fi 11fi
12 12
diff --git a/tools/generate-change-log b/tools/generate-change-log
index 03321fd8..3a6b38e7 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 85142965..ff59d39d 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 db9ad9ef..c822a63b 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
3prefix="${0%/*}/notifications" # $GIT_DIR/hooks/notifications 3prefix="${0%/*}/notifications" # $GIT_DIR/hooks/notifications
4recipient='Nagios Plugin Commits <nagiosplug-checkins@lists.sourceforge.net>' 4recipient='Monitoring Plugins Commits <commits@monitoring-plugins.org>'
5maxcommits=100 5maxcommits=100
6maxdiffsize=$((300 * 1024)) 6maxdiffsize=$((300 * 1024))
7project='nagiosplug' 7project='monitoring-plugins'
8gitweburl='http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug' 8gitweburl='https://github.com/monitoring-plugins/monitoring-plugins'
9gitnotify="$prefix/git-notify.pl" 9gitnotify="$prefix/git-notify.pl"
10statefile="$prefix/git-notify.dat" 10statefile="$prefix/git-notify.dat"
11 11
diff --git a/tools/tango b/tools/tango
index 7f418d73..2737166e 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
17my $PACKAGE = 'Nagios Plugins'; 17my $PACKAGE = 'Monitoring Plugins';
18my $RELEASE = '1.3'; 18my $RELEASE = '1.3';
19my $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"; 19my $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
21my $version = undef; 21my $version = undef;
22my $help = undef; 22my $help = undef;
diff --git a/tools/tinderbox_build b/tools/tinderbox_build
index 12528d9b..48836b1e 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
34my $Tinderbox_server = '-p 1022 -o StrictHostKeyChecking=no tinderbox2@tinderbox.opsera.com'; 34my $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
37my $BuildTree = 'nagiosplug'; 37my $BuildTree = 'monitoringplug';
38my $BuildName = ''; 38my $BuildName = '';
39my $ConfigureArgs = $ENV{CONFIGURE_ARGS}; 39my $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)$/) {