summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/check-mirrors38
-rw-r--r--etc/nginx.conf21
-rwxr-xr-xlibexec/git-notify7
-rw-r--r--web/input/download.md4
-rw-r--r--web/input/impressum.md4
-rw-r--r--web/input/news/release-3-0-0.md80
-rw-r--r--web/macros.py2
7 files changed, 108 insertions, 48 deletions
diff --git a/bin/check-mirrors b/bin/check-mirrors
index 9048640..badcb83 100755
--- a/bin/check-mirrors
+++ b/bin/check-mirrors
@@ -17,9 +17,7 @@ mirrors='
17 https://ftp.lysator.liu.se/pub/monitoring-plugins/ 17 https://ftp.lysator.liu.se/pub/monitoring-plugins/
18 https://ftp.belnet.be/mirror/nagios-plugins.org/ 18 https://ftp.belnet.be/mirror/nagios-plugins.org/
19 https://ftp.cc.uoc.gr/mirrors/monitoring-plugins/ 19 https://ftp.cc.uoc.gr/mirrors/monitoring-plugins/
20 https://mirrors.fe.up.pt/pub/monitoring-plugins/
21 https://ftp2.osuosl.org/pub/monitoring-plugins/ 20 https://ftp2.osuosl.org/pub/monitoring-plugins/
22 https://mirror.bytemark.co.uk/monitoring-plugins/
23 http://mirror.mephi.ru/nagios-plugins/ 21 http://mirror.mephi.ru/nagios-plugins/
24 https://ftp.kaist.ac.kr/nagios-plugins/ 22 https://ftp.kaist.ac.kr/nagios-plugins/
25 https://mirrors.ustc.edu.cn/monitoring-plugins/ 23 https://mirrors.ustc.edu.cn/monitoring-plugins/
@@ -105,25 +103,6 @@ mirrors='
105# Home page: 103# Home page:
106# - http://www.en.uoc.gr/ 104# - http://www.en.uoc.gr/
107# 105#
108# PORTUGAL
109#
110# URLs:
111# - ftp://mirrors.fe.up.pt/pub/monitoring-plugins/
112# - http://mirrors.fe.up.pt/pub/monitoring-plugins/
113# - https://mirrors.fe.up.pt/pub/monitoring-plugins/
114#
115# Features:
116# - IPv4
117# - IPv6
118# - Updated daily
119#
120# Contacts:
121# - Mirror Admins <mirrors AT fe.up.pt>
122# - Filipe Carvalho <filipec AT sp.up.pt>
123#
124# Home page:
125# - http://www.sp.up.pt/
126#
127# UNITED STATES 106# UNITED STATES
128# 107#
129# URLs: 108# URLs:
@@ -142,23 +121,6 @@ mirrors='
142# - http://osuosl.org/ 121# - http://osuosl.org/
143# 122#
144# 123#
145# UNITED KINGDOM
146#
147# URLs:
148# - http://mirror.bytemark.co.uk/monitoring-plugins/
149# - https://mirror.bytemark.co.uk/monitoring-plugins/
150#
151# Features:
152# - IPv4
153# - IPv6
154# - Updated twice a day
155#
156# Contacts:
157# - James Lawrie <support AT support.bytemark.co.uk>
158#
159# Home page:
160# - http://www.bytemark.co.uk/
161#
162# RUSSIA 124# RUSSIA
163# 125#
164# URLs: 126# URLs:
diff --git a/etc/nginx.conf b/etc/nginx.conf
index 1a6687f..f8e61bf 100644
--- a/etc/nginx.conf
+++ b/etc/nginx.conf
@@ -21,7 +21,7 @@ ssl_dhparam /home/plugins/etc/ssl/dh-parameters.pem;
21server { 21server {
22 listen 130.133.8.40:443 ssl http2; 22 listen 130.133.8.40:443 ssl http2;
23 listen 130.133.8.40:444 ssl http2; 23 listen 130.133.8.40:444 ssl http2;
24 server_name monitoring-plugins.org www.monitoring-plugins.org; 24 server_name www.monitoring-plugins.org;
25 root /home/plugins/web/port-$server_port; 25 root /home/plugins/web/port-$server_port;
26 ssl_certificate /home/plugins/etc/ssl/monitoring-plugins.crt; 26 ssl_certificate /home/plugins/etc/ssl/monitoring-plugins.crt;
27 ssl_certificate_key /home/plugins/etc/ssl/monitoring-plugins.key; 27 ssl_certificate_key /home/plugins/etc/ssl/monitoring-plugins.key;
@@ -149,6 +149,25 @@ server {
149} 149}
150 150
151# 151#
152# Add "www" prefix. Ditto for the test instance.
153#
154server {
155 listen 130.133.8.40:443 ssl http2;
156 server_name monitoring-plugins.org;
157 ssl_certificate /home/plugins/etc/ssl/monitoring-plugins.crt;
158 ssl_certificate_key /home/plugins/etc/ssl/monitoring-plugins.key;
159 return 301 https://www.monitoring-plugins.org$request_uri;
160}
161
162server {
163 listen 130.133.8.40:444 ssl http2;
164 server_name monitoring-plugins.org;
165 ssl_certificate /home/plugins/etc/ssl/monitoring-plugins.crt;
166 ssl_certificate_key /home/plugins/etc/ssl/monitoring-plugins.key;
167 return 301 https://www.monitoring-plugins.org:444$request_uri;
168}
169
170#
152# Outdated domains. Can be deleted in 2026. 171# Outdated domains. Can be deleted in 2026.
153# 172#
154server { 173server {
diff --git a/libexec/git-notify b/libexec/git-notify
index 0e50229..228c7d6 100755
--- a/libexec/git-notify
+++ b/libexec/git-notify
@@ -4,6 +4,7 @@
4# 4#
5# Copyright 2005 Alexandre Julliard 5# Copyright 2005 Alexandre Julliard
6# Copyright 2009, 2013 Nagios Plugins Development Team 6# Copyright 2009, 2013 Nagios Plugins Development Team
7# Copyright 2024, 2025 Monitoring Plugins Development Team
7# 8#
8# This program is free software; you can redistribute it and/or 9# This program is free software; you can redistribute it and/or
9# modify it under the terms of the GNU General Public License as 10# modify it under the terms of the GNU General Public License as
@@ -452,7 +453,7 @@ sub send_commit_notice($$)
452 my ($ref,$obj) = @_; 453 my ($ref,$obj) = @_;
453 my %info = get_object_info($obj); 454 my %info = get_object_info($obj);
454 my @notice = (); 455 my @notice = ();
455 my ($url,$subject,$obj_string); 456 my ($url,$from,$subject,$obj_string);
456 457
457 if ($gitweb_url) 458 if ($gitweb_url)
458 { 459 {
@@ -518,8 +519,8 @@ sub send_commit_notice($$)
518 } 519 }
519 520
520 $subject .= truncate_str(${$info{"log"}}[0],50); 521 $subject .= truncate_str(${$info{"log"}}[0],50);
521 mail_notification("$info{'committer_name'} <$from_address>", $commitlist_address, $subject, 522 $from = encode("MIME-Q",$info{'committer_name'}) . " <$from_address>";
522 "text/plain; charset=UTF-8", @notice); 523 mail_notification($from, $commitlist_address, $subject, "text/plain; charset=UTF-8", @notice);
523} 524}
524 525
525# send a commit notice to the CIA server 526# send a commit notice to the CIA server
diff --git a/web/input/download.md b/web/input/download.md
index 26424b4..4758175 100644
--- a/web/input/download.md
+++ b/web/input/download.md
@@ -19,8 +19,7 @@ See the [release history][news] for an overview of changes between earlier
19versions. Old releases can be found in the [download area][download]. There 19versions. Old releases can be found in the [download area][download]. There
20are mirrors available in [Belgium][mirror-be], [China][mirror-cn], 20are mirrors available in [Belgium][mirror-be], [China][mirror-cn],
21[Germany][mirror-de], [Greece][mirror-gr], [Korea][mirror-kr], 21[Germany][mirror-de], [Greece][mirror-gr], [Korea][mirror-kr],
22[Portugal][mirror-pt], [Russia][mirror-ru], [Sweden][mirror-se], the 22[Russia][mirror-ru], [Sweden][mirror-se], and the [USA][mirror-us].
23[UK][mirror-uk], and the [USA][mirror-us].
24 23
25### Development Snapshot 24### Development Snapshot
26 25
@@ -53,7 +52,6 @@ Old versions can be found [within][mib] the [download area][download].
53[mirror-de]: https://ftp.fu-berlin.de/unix/network/monitoring-plugins/ "Mirror in Germany" 52[mirror-de]: https://ftp.fu-berlin.de/unix/network/monitoring-plugins/ "Mirror in Germany"
54[mirror-gr]: https://ftp.cc.uoc.gr/mirrors/monitoring-plugins/ "Mirror in Greece" 53[mirror-gr]: https://ftp.cc.uoc.gr/mirrors/monitoring-plugins/ "Mirror in Greece"
55[mirror-kr]: https://ftp.kaist.ac.kr/nagios-plugins/ "Mirror in Korea" 54[mirror-kr]: https://ftp.kaist.ac.kr/nagios-plugins/ "Mirror in Korea"
56[mirror-pt]: https://mirrors.fe.up.pt/pub/monitoring-plugins/ "Mirror in Portugal"
57[mirror-ru]: http://mirror.mephi.ru/nagios-plugins/ "Mirror in Russia" 55[mirror-ru]: http://mirror.mephi.ru/nagios-plugins/ "Mirror in Russia"
58[mirror-se]: https://ftp.lysator.liu.se/pub/monitoring-plugins/ "Mirror in Sweden" 56[mirror-se]: https://ftp.lysator.liu.se/pub/monitoring-plugins/ "Mirror in Sweden"
59[mirror-uk]: https://mirror.bytemark.co.uk/monitoring-plugins/ "Mirror in the United Kingdom" 57[mirror-uk]: https://mirror.bytemark.co.uk/monitoring-plugins/ "Mirror in the United Kingdom"
diff --git a/web/input/impressum.md b/web/input/impressum.md
index 0152f04..d79ea74 100644
--- a/web/input/impressum.md
+++ b/web/input/impressum.md
@@ -9,12 +9,12 @@ parent: Home
9Responsible for the content of this site: 9Responsible for the content of this site:
10 10
11Holger Weiß 11Holger Weiß
12Gutsmuthsstr. 19 12Buggestr. 11
1312163 Berlin 1312163 Berlin
14Germany 14Germany
15 15
16**Phone:** 16**Phone:**
17&emsp; +49 30 61286685 17&emsp; +49 160 7282852
18 18
19**Email:** 19**Email:**
20&emsp; holger@zedat.fu-berlin.de 20&emsp; holger@zedat.fu-berlin.de
diff --git a/web/input/news/release-3-0-0.md b/web/input/news/release-3-0-0.md
new file mode 100644
index 0000000..85c7982
--- /dev/null
+++ b/web/input/news/release-3-0-0.md
@@ -0,0 +1,80 @@
1title: Version 3.0.0-rc1 Released
2author: Lorenz Kästle
3date: 2025-12-03
4---
5
6The Monitoring Plugins Development Team announces version 3.0.0-rc1 of
7the Monitoring Plugins!
8This release is different in several regards to previous releases.
9Due the a significant refactoring and the unintented side effect this
10may have, the "real" release will be following release candidates which
11are intented to for early adapters and testing.
12<end-of-teaser>
13
14The core parts of this release are significant changes to the C part of this
15project, which should be mostly internal and not change the results in a
16significant way (meaning the input parameters mostly stay as they are and the
17exit code should remain the same if the parameters are the same in the old
18version and context did not change).
19The reality is, that big changes have
20unintented consequences which are not covered in the test cases or some
21consequences were not in our scope at all.
22For the list of notable changes in this release, see below.
23
24You can get the tarball from our [download page][download].
25
26### General changes
27* In the C part of the project
28 * Heavy refactoring to simplify and unify the code base
29 * Introduction of a generalized output mechanism for most plugins
30 * Standardized code formatting via `clang-format`
31
32### Specific changes
33#### check_curl
34`check_curl` received a lot of changes which improve the documentation and
35fix several bugs.
36It is also not considered experimental anymore.
37
38Additionaly `check_curl` can now be configured to handle cookies internally
39without saving cookies to the filesystem.
40
41#### check_http
42`check_http` is now considered deprecated and will not receive attention any
43more. It is replaced by `check_curl`
44
45#### check_snmp
46`check_snmp` does not execute `snmpget` or `snmpgetnext` anymore but executes
47the net-snmp calls natively now.
48
49#### check_nwstat
50`check_nwstat` was removed, due to its perceived insignificance in the current
51IT world. This reduces the maintenance load and ressource consumption in
52general.
53
54#### check_by_ssh
55`check_by_ssh` ignores output on `stderr` by default now. This should
56avoid false positives for warnings by the OpenSSH client (especially
57about the server missing Post-Quantum cryptography.
58
59#### check_dns
60`check_dns` now ignores CNAMES in reverse DNS mode.
61
62#### check_fping
63If during compilation `fping` 5.2, 5.3 or higher are present, `check_fping`
64will be able to use new options which were introduced with these versions.
65These options are (equivalent to the ones with the same name in `fping`)
66`--fwmark`, `--icmp-timestamp` and `--check-source`.
67The older flags `--dontfrag` and `--random` were also added.
68
69Also the `-4` and `-6` flags may not have worked as intented and should be
70fixed now.
71
72#### check_mysql
73`check_mysql` should now be able to correctly detect whether a replica is
74attached and working correctly.
75Changes were necessary here to adapt to changes in the naming convention in
76MySQL.
77
78[download]: /download.html
79
80<!--% # vim:set filetype=markdown textwidth=78 joinspaces expandtab: # %-->
diff --git a/web/macros.py b/web/macros.py
index 5536f3f..3eb1046 100644
--- a/web/macros.py
+++ b/web/macros.py
@@ -3,7 +3,7 @@ import math
3import os.path 3import os.path
4import time 4import time
5 5
6plugins_release = '2.4.0' 6plugins_release = '3.0.0-rc1'
7mib_release = '1.0.1' 7mib_release = '1.0.1'
8release_notes = 'news/release-%s.html' % plugins_release.replace('.', '-') 8release_notes = 'news/release-%s.html' % plugins_release.replace('.', '-')
9site_url = 'https://www.monitoring-plugins.org/' 9site_url = 'https://www.monitoring-plugins.org/'