diff options
| -rwxr-xr-x | bin/check-mirrors | 38 | ||||
| -rw-r--r-- | etc/nginx.conf | 21 | ||||
| -rwxr-xr-x | libexec/git-notify | 7 | ||||
| -rw-r--r-- | web/input/download.md | 4 | ||||
| -rw-r--r-- | web/input/impressum.md | 4 | ||||
| -rw-r--r-- | web/input/news/release-3-0-0.md | 80 | ||||
| -rw-r--r-- | web/macros.py | 2 |
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; | |||
| 21 | server { | 21 | server { |
| 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 | # | ||
| 154 | server { | ||
| 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 | |||
| 162 | server { | ||
| 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 | # |
| 154 | server { | 173 | server { |
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 | |||
| 19 | versions. Old releases can be found in the [download area][download]. There | 19 | versions. Old releases can be found in the [download area][download]. There |
| 20 | are mirrors available in [Belgium][mirror-be], [China][mirror-cn], | 20 | are 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 | |||
| 9 | Responsible for the content of this site: | 9 | Responsible for the content of this site: |
| 10 | 10 | ||
| 11 | Holger Weiß | 11 | Holger Weiß |
| 12 | Gutsmuthsstr. 19 | 12 | Buggestr. 11 |
| 13 | 12163 Berlin | 13 | 12163 Berlin |
| 14 | Germany | 14 | Germany |
| 15 | 15 | ||
| 16 | **Phone:** | 16 | **Phone:** |
| 17 |   +49 30 61286685 | 17 |   +49 160 7282852 |
| 18 | 18 | ||
| 19 | **Email:** | 19 | **Email:** |
| 20 |   holger@zedat.fu-berlin.de | 20 |   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 @@ | |||
| 1 | title: Version 3.0.0-rc1 Released | ||
| 2 | author: Lorenz Kästle | ||
| 3 | date: 2025-12-03 | ||
| 4 | --- | ||
| 5 | |||
| 6 | The Monitoring Plugins Development Team announces version 3.0.0-rc1 of | ||
| 7 | the Monitoring Plugins! | ||
| 8 | This release is different in several regards to previous releases. | ||
| 9 | Due the a significant refactoring and the unintented side effect this | ||
| 10 | may have, the "real" release will be following release candidates which | ||
| 11 | are intented to for early adapters and testing. | ||
| 12 | <end-of-teaser> | ||
| 13 | |||
| 14 | The core parts of this release are significant changes to the C part of this | ||
| 15 | project, which should be mostly internal and not change the results in a | ||
| 16 | significant way (meaning the input parameters mostly stay as they are and the | ||
| 17 | exit code should remain the same if the parameters are the same in the old | ||
| 18 | version and context did not change). | ||
| 19 | The reality is, that big changes have | ||
| 20 | unintented consequences which are not covered in the test cases or some | ||
| 21 | consequences were not in our scope at all. | ||
| 22 | For the list of notable changes in this release, see below. | ||
| 23 | |||
| 24 | You 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 | ||
| 35 | fix several bugs. | ||
| 36 | It is also not considered experimental anymore. | ||
| 37 | |||
| 38 | Additionaly `check_curl` can now be configured to handle cookies internally | ||
| 39 | without saving cookies to the filesystem. | ||
| 40 | |||
| 41 | #### check_http | ||
| 42 | `check_http` is now considered deprecated and will not receive attention any | ||
| 43 | more. It is replaced by `check_curl` | ||
| 44 | |||
| 45 | #### check_snmp | ||
| 46 | `check_snmp` does not execute `snmpget` or `snmpgetnext` anymore but executes | ||
| 47 | the net-snmp calls natively now. | ||
| 48 | |||
| 49 | #### check_nwstat | ||
| 50 | `check_nwstat` was removed, due to its perceived insignificance in the current | ||
| 51 | IT world. This reduces the maintenance load and ressource consumption in | ||
| 52 | general. | ||
| 53 | |||
| 54 | #### check_by_ssh | ||
| 55 | `check_by_ssh` ignores output on `stderr` by default now. This should | ||
| 56 | avoid false positives for warnings by the OpenSSH client (especially | ||
| 57 | about the server missing Post-Quantum cryptography. | ||
| 58 | |||
| 59 | #### check_dns | ||
| 60 | `check_dns` now ignores CNAMES in reverse DNS mode. | ||
| 61 | |||
| 62 | #### check_fping | ||
| 63 | If during compilation `fping` 5.2, 5.3 or higher are present, `check_fping` | ||
| 64 | will be able to use new options which were introduced with these versions. | ||
| 65 | These options are (equivalent to the ones with the same name in `fping`) | ||
| 66 | `--fwmark`, `--icmp-timestamp` and `--check-source`. | ||
| 67 | The older flags `--dontfrag` and `--random` were also added. | ||
| 68 | |||
| 69 | Also the `-4` and `-6` flags may not have worked as intented and should be | ||
| 70 | fixed now. | ||
| 71 | |||
| 72 | #### check_mysql | ||
| 73 | `check_mysql` should now be able to correctly detect whether a replica is | ||
| 74 | attached and working correctly. | ||
| 75 | Changes were necessary here to adapt to changes in the naming convention in | ||
| 76 | MySQL. | ||
| 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 | |||
| 3 | import os.path | 3 | import os.path |
| 4 | import time | 4 | import time |
| 5 | 5 | ||
| 6 | plugins_release = '2.4.0' | 6 | plugins_release = '3.0.0-rc1' |
| 7 | mib_release = '1.0.1' | 7 | mib_release = '1.0.1' |
| 8 | release_notes = 'news/release-%s.html' % plugins_release.replace('.', '-') | 8 | release_notes = 'news/release-%s.html' % plugins_release.replace('.', '-') |
| 9 | site_url = 'https://www.monitoring-plugins.org/' | 9 | site_url = 'https://www.monitoring-plugins.org/' |
