From a0d6ea1213c19026a743c86932af6e371ae0ad25 Mon Sep 17 00:00:00 2001 From: Lorenz Kästle Date: Fri, 2 Jan 2026 16:35:54 +0100 Subject: Release Candidate 3.0.0-rc2 --- web/input/news/release-3-0-0-rc2.md | 43 +++++++++++++++++++++++++++++++++++++ web/macros.py | 13 +++++++++-- 2 files changed, 54 insertions(+), 2 deletions(-) create mode 100644 web/input/news/release-3-0-0-rc2.md (limited to 'web') diff --git a/web/input/news/release-3-0-0-rc2.md b/web/input/news/release-3-0-0-rc2.md new file mode 100644 index 0000000..79746bd --- /dev/null +++ b/web/input/news/release-3-0-0-rc2.md @@ -0,0 +1,43 @@ +title: Version 3.0.0-rc2 Released +author: Lorenz Kästle +date: 2026-01-02 +--- + +The Monitoring Plugins Development Team announces version 3.0.0-rc2 of +the Monitoring Plugins! + +This is the second release candidate for version 3.0.0. + +It contains mostly fixes to the 3.0.0-rc1 version and is also not a full release, +but serves as a basis for test until we are mostly sure not to break production +setups. + +### Changes +* check_nt was removed + check_nt is no long useful in current setups and hasn't been for some time. + Therefore it was removed without a replacement. +* check_ntp was removed + check_ntp was marked as deprecated for a long time due to systematic problems. + It should not be in use anywhere and gets now removed to reduce code size and + avoid misleading users. + The replacements are check_ntp_time and check_ntp_peer +* Bugfix for check_ntp_time + An errournous change in check_ntp_time made it fail in almost all use cases. + This has been fixed +* Properly separate perfdata from different subchecks + A missing separator caused errors in perfdata strings (from C plugins) where + two different data points where not properly separated and showed up as a single + invalid data point +* check_curl: append the query string from parsed uri + When using the old style follow method (`-f follow`) with check_curl the query string was not + appended to the new target after redirect. This was fixed. (Thanks Ahmet Oeztuerk) +* Fixing different problems on OpenBSD + A few different things did prevent proper compilation and usage on OpenBSD, partly due + to different naming conventions there. These are hopefully fixed now. Thanks to Alvar Penning + and Stuart Henderson. +* Gnulib update to stable-202507 + + +[download]: /download.html + + diff --git a/web/macros.py b/web/macros.py index 3eb1046..eab21bc 100644 --- a/web/macros.py +++ b/web/macros.py @@ -3,7 +3,7 @@ import math import os.path import time -plugins_release = '3.0.0-rc1' +plugins_release = '3.0.0-rc2' mib_release = '1.0.1' release_notes = 'news/release-%s.html' % plugins_release.replace('.', '-') site_url = 'https://www.monitoring-plugins.org/' @@ -52,6 +52,7 @@ _RSS_ITEM = """ """ + def hook_postconvert_rss(): items = [] posts = [p for p in pages if 'date' in p] @@ -75,6 +76,7 @@ def hook_postconvert_rss(): # News # + def hook_preconvert_news(): posts_per_page = 10 posts = [p for p in pages if 'date' in p] @@ -97,6 +99,7 @@ def hook_preconvert_news(): parent='News') pages.append(p) + def make_news_page(posts, current_index): marker = '' if current_index == 0: @@ -121,6 +124,7 @@ def make_news_page(posts, current_index): p['parent'] = title return '\n'.join(teaser) + '\n\n' + def make_news_footer(n_news_pages, current_index): if n_news_pages == 1: return '' @@ -142,6 +146,7 @@ def make_news_footer(n_news_pages, current_index): footer.append('[Last](news/%d.html)' % n_news_pages) return ' '.join(footer) + '\n{: #news-footer }\n' + def next_news_chunk(posts, posts_per_page): index = 0 while len(posts[index:]) > 0: @@ -152,6 +157,7 @@ def next_news_chunk(posts, posts_per_page): # Menu and Breadcrumb Navigation # + def menu(): menu_pages = [p for p in pages if 'menu' in p] menu_pages.sort(key=lambda p: int(p['menu'])) @@ -161,9 +167,10 @@ def menu(): else: print('%s' % (p.url, hx(p.title))) + def breadcrumb(): stable = 'Stable release: %s' \ - % (release_notes, plugins_release) + % (release_notes, plugins_release) parents = {p.title: (p.url, p.get('parent')) for p in pages} title = page.title crumbs = hx(title) @@ -179,11 +186,13 @@ def breadcrumb(): # Miscellaneous # + def list_kids(): kids = [(p.url, p.title) for p in pages if p.get('parent') == page.title] for kid in sorted(kids): print('* [%s](%s)' % (kid[1], kid[0])) + def copyright_years(since=None): this_year = time.gmtime().tm_year if since is not None and int(since) != this_year: -- cgit v1.2.3-74-g34f1