diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/input/doc/extra-opts.md | 10 | ||||
-rw-r--r-- | web/input/news/release-2-0.md | 96 | ||||
-rw-r--r-- | web/macros.py | 2 |
3 files changed, 102 insertions, 6 deletions
diff --git a/web/input/doc/extra-opts.md b/web/input/doc/extra-opts.md index 1c21575..7bf3b7f 100644 --- a/web/input/doc/extra-opts.md +++ b/web/input/doc/extra-opts.md | |||
@@ -4,11 +4,11 @@ parent: Documentation | |||
4 | 4 | ||
5 | # Extra-Opts | 5 | # Extra-Opts |
6 | 6 | ||
7 | Starting with the 1.4.12 release, most Nagios Plugins (those written in C) | 7 | Starting with the 1.4.12 release, most Monitoring Plugins (those written in C) |
8 | support reading options from a configuration file. This needs to be enabled | 8 | support reading options from a configuration file. Since version 2.0, this is |
9 | at compile-time for now (`--enable-extra-opts`) and will be enabled by default | 9 | enabled by default (but can be disabled at compile-time by specifying the |
10 | in the future. Perl plugins using the [Monitoring::Plugin][module] module have | 10 | `--disable-extra-opts` option). Perl plugins using the |
11 | this support since version 0.16. | 11 | [Monitoring::Plugin][module] module have this support since version 0.16. |
12 | 12 | ||
13 | You can easily know if a plugin supports *Extra-Opts* by checking the `--help` | 13 | You can easily know if a plugin supports *Extra-Opts* by checking the `--help` |
14 | output for the `--extra-opts` option. Once compiled in, the `--extra-opts` | 14 | output for the `--extra-opts` option. Once compiled in, the `--extra-opts` |
diff --git a/web/input/news/release-2-0.md b/web/input/news/release-2-0.md new file mode 100644 index 0000000..c804c7d --- /dev/null +++ b/web/input/news/release-2-0.md | |||
@@ -0,0 +1,96 @@ | |||
1 | title: Version 2.0 Released | ||
2 | author: Holger Weiß | ||
3 | date: 2014-07-11 | ||
4 | --- | ||
5 | |||
6 | The Monitoring Plugins Development Team is proud to announce the first release | ||
7 | under the new project name: Version 2.0 of the Monitoring Plugins! This | ||
8 | release comes with various enhancements and fixes provided by more than twenty | ||
9 | contributors. Many thanks to all of you! <end-of-teaser> | ||
10 | |||
11 | Let me also take the chance to welcome our newest team member, Sam | ||
12 | Kottler. He already did lots of patch review for this release, and his | ||
13 | expertise will no doubt help us a lot in the future, so we're really | ||
14 | happy to have him on board! | ||
15 | |||
16 | One of the significant changes in the new release is that the Extra-Opts | ||
17 | feature is now enabled by default. This lets you use a configuration | ||
18 | file to specify plugin options. See [the documentation][extra-opts] for | ||
19 | details. | ||
20 | |||
21 | For the list of other major changes in this release, see below. Note that a | ||
22 | few of them might break certain configurations (hence the major version bump). | ||
23 | Those are mentioned at [the bottom of that list][warnings], so please be sure | ||
24 | to check whether they might affect you. | ||
25 | |||
26 | You can get the tarball from our [download page][download]. | ||
27 | |||
28 | ## Enhancements | ||
29 | |||
30 | * `check_mailq` now supports auto detection of *qmail*, *postfix*, *exim* and | ||
31 | *nullmailer* with fallback to *sendmail* | ||
32 | * `check_ide_smart` now defaults to plugin output, original output appended | ||
33 | with `-v` | ||
34 | * [Extra-Opts][extra-opts] are now enabled by default | ||
35 | * `check_swap` now supports a configurable state when there is no swap | ||
36 | * `check_radius` now supports the [FreeRADIUS Client library][freeradius-lib] | ||
37 | * New `check_mysql_query` `-f` option to specify a client options file | ||
38 | * New `check_mysql_query` `-g` option to specify a client options group | ||
39 | * Add performance data to `check_mysql_query` | ||
40 | * New `check_file_age` `-i`/`--ignore-missing` option to return `OK` on | ||
41 | nonexistent files | ||
42 | * Make `check_ping`, `check_users`, and `check_disk` work on | ||
43 | [Windows][windows] | ||
44 | * New `check_ssh` `-P` option to specify the expected SSH protocol version | ||
45 | * `check_dns` now emits the warning and critical thresholds with the | ||
46 | performance data | ||
47 | |||
48 | ## Fixes | ||
49 | |||
50 | * Don't let e.g. `check_http`'s `-C` option reset SSL version if e.g. `-S` `1` | ||
51 | `-C` `5` is specified | ||
52 | * Don't have `check_http`'s `-N` option expect an argument | ||
53 | * `check_ide_smart` could disable offline auto-tests but could not re-enable | ||
54 | them. For this reason all SMART command modes have been disabled | ||
55 | * `check_dig`: fix wrong IPv6 arguments order (Stéphane Bortzmeyer) | ||
56 | * `check_dig`: make sure not to give up too early when a timeout is specified | ||
57 | with `-t` | ||
58 | * `check_log`: don't stumble over log lines that include a `%` character | ||
59 | * `check_nt`: add `UPTIME` to perfdata | ||
60 | * Handle SNMPv3 `noAuthNoPriv` properly with `check_snmp` | ||
61 | * Fix compilation with [GnuTLS][gnutls] | ||
62 | |||
63 | ## Warnings | ||
64 | |||
65 | * New default installation prefix: `/usr/local` instead of `/usr/local/nagios` | ||
66 | * `check_snmp` now evaluates negative values properly, which means it might | ||
67 | return `CRITICAL` in cases where it used to return `OK`. If this is | ||
68 | undesired, the warning/critical threshold(s) must be fixed by specifying | ||
69 | e.g. `~:100` instead of `100` | ||
70 | * `check_procs` now ignores its parent process to avoid unexpected results | ||
71 | when invoked via certain shells | ||
72 | * `utils.sh` no longer defines `ECH` | ||
73 | * `check_ide_smart` `-q`/`--quiet` and `-n`/`--nagios` (Nagios-compatible | ||
74 | output) are now deprecated but accepted for backward-compatibility | ||
75 | * `check_ide_smart` `-0`/`--auto-off`, `-1`/`--auto-on` and | ||
76 | `-i`/`--immediate`: options have been disabled because they were broken | ||
77 | * State retention: the `NAGIOS_PLUGIN_STATE_DIRECTORY` environment variablew | ||
78 | has been renamed `MP_STATE_PATH`. The old variable will continue to work in | ||
79 | v2.0.x | ||
80 | * Add the UID of the invoking user to the state retention file path. This | ||
81 | helps solving permission issues when different users run the same plugin | ||
82 | * `check_swap` used to allow returning `OK` on a system without swap when only | ||
83 | percent thresholds were used. This is no longer the case and one must now | ||
84 | use `-n`/`--no-swap=<state>` | ||
85 | * The Perl and Shell plugins now use the `PATH` specified via `./configure`'s | ||
86 | `--trusted-path` option, or | ||
87 | `/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin` by default | ||
88 | |||
89 | [download]: /download.html | ||
90 | [warnings]: #warnings | ||
91 | [extra-opts]: /doc/extra-opts.html | ||
92 | [freeradius-lib]: http://freeradius.org/freeradius-client/ | ||
93 | [gnutls]: http://www.gnutls.org/ | ||
94 | [windows]: http://windows.microsoft.com/ | ||
95 | |||
96 | <!--% # vim:set filetype=markdown textwidth=78 joinspaces expandtab: # %--> | ||
diff --git a/web/macros.py b/web/macros.py index dbb4e93..1539093 100644 --- a/web/macros.py +++ b/web/macros.py | |||
@@ -2,7 +2,7 @@ import email.utils | |||
2 | import os.path | 2 | import os.path |
3 | import time | 3 | import time |
4 | 4 | ||
5 | plugins_release = '1.5' | 5 | plugins_release = '2.0' |
6 | mib_release = '1.0.1' | 6 | mib_release = '1.0.1' |
7 | release_notes = 'news/release-%s.html' % plugins_release.replace('.', '-') | 7 | release_notes = 'news/release-%s.html' % plugins_release.replace('.', '-') |
8 | site_url = 'https://www.monitoring-plugins.org/' | 8 | site_url = 'https://www.monitoring-plugins.org/' |