[monitoring-plugins] New commits on branch master
Git Repository
git at monitoring-plugins.org
Tue Jul 23 23:00:12 CEST 2024
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=ae4294ff5b85b4004c40743bf5330cc1ab2d7ae3
Author: RincewindsHat <12514511+RincewindsHat at users.noreply.github.com>
Date: Sun Jan 7 11:57:13 2024 +0100
Ini Parser: Avoid freeing symbols from text section by remembering where they are from
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=61218b2fdc48a4e0961c18fc2d4d467f7d861d1a
Author: Emmanuel Riviere <emmanuel.riviere at corp.ovh.com>
Date: Thu Feb 1 16:08:16 2024 +0100
check_curl: add haproxy protocol option
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=db93f0eb46b40e94f6e2870bf44ab43912cad4c7
Merge: 7dfddfb 61218b2
Author: Lorenz Kästle <12514511+RincewindsHat at users.noreply.github.com>
Date: Wed Feb 7 09:04:49 2024 +0100
Merge pull request #1985 from emriver/check_curl_haproxy_protocol
check_curl: add haproxy protocol option
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=ff810d907dc801212e3a3e1762ae7b2dfaa7b22a
Merge: db93f0e ae4294f
Author: Lorenz Kästle <12514511+RincewindsHat at users.noreply.github.com>
Date: Wed Feb 7 11:18:30 2024 +0100
Merge pull request #1982 from RincewindsHat/ini_parser_bug
Ini Parser: Avoid freeing symbols from text section
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=d2df0464812e7ccc4381eb8ea41d94194fc36805
Author: Eunice Remoquillo <eremoquillo at itrsgroup.com>
Date: Mon Feb 12 10:59:18 2024 +0800
Improve negate plugin helptext
This commit updates the negate plugin's helptext as it is currently ambiguous.
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=2ab03d5f9c94ebd2ac666b706b3eeff090712dd0
Author: Eunice Remoquillo <eremoquillo at itrsgroup.com>
Date: Mon Feb 12 19:33:38 2024 +0800
Added indentions for readability
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=f6d7bf86563e53aeca1f764a4c61e6025049406a
Merge: ff810d9 2ab03d5
Author: Lorenz Kästle <12514511+RincewindsHat at users.noreply.github.com>
Date: Mon Feb 12 16:26:43 2024 +0100
Merge pull request #1987 from euniceremoquillo/Improve-negate-plugin-helptext
Improve negate plugin helptext
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=0c01f2946ed21f5e7977b5503f9c9f00e72fd708
Author: waja <waja at users.noreply.github.com>
Date: Fri Feb 23 14:25:44 2024 +0100
CI specfile (#1894)
* Adding spec file and github pipeline for testing
* Restructure github pipelines for more clarity
* Add build tests for several RPM based distributions
---------
Co-authored-by: Lorenz Kästle <12514511+RincewindsHat at users.noreply.github.com>
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=117cd8e4b826e471e795536228628d817df33f5a
Author: Sven Nierlein <sven at consol.de>
Date: Fri Feb 23 18:24:28 2024 +0100
check_disk increase alert precision (#1989)
* check_disk increase alert precision
Free disk percentage value was rounded to a full integer meaning it alerted about ~1% percent too early. This is about 10GB on a 1TB disk.
The warning and critical thresholds already support float values, so just the percentage calculation needs to be improved.
old:
./check_disk -w 35% -c 20% -p / -f -vvv
Thresholds(pct) for / warn: 35.000000 crit 20.000000
calling stat on /
For /, used_pct=65 free_pct=35 used_units=286451 free_units=156651 total_units=443102 used_inodes_pct=11 free_inodes_pct=89 fsp.fsu_blocksize=4096 mult=1048576
Freespace_units result=0
Freespace% result=1
Usedspace_units result=0
Usedspace_percent result=0
Usedinodes_percent result=0
Freeinodes_percent result=0
DISK WARNING - free space: WARNING [ / 156651MiB (35% inode=89%)];| /=300365643776B;302006979788;371700898201;0;464626122752
new:
./check_disk -w 35% -c 20% -p / -f -vvv
Thresholds(pct) for / warn: 35.000000 crit 20.000000
calling stat on /
For /, used_pct=64.649722 free_pct=35.350278 used_units=286464 free_units=156637 total_units=443102 used_inodes_pct=10.016183 free_inodes_pct=89.983817 fsp.fsu_blocksize=4096 mult=1048576
Freespace_units result=0
Freespace% result=0
Usedspace_units result=0
Usedspace_percent result=0
Usedinodes_percent result=0
Freeinodes_percent result=0
DISK OK - free space: / 156637MiB (35.4% inode=90%);| /=300379275264B;302006979788;371700898201;0;464626122752
* check_disk: adjust test case to support float precision
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=0488426c7e8018d77734fb0e46328182de28f76a
Author: Sven Nierlein <sven at consol.de>
Date: Wed Feb 28 15:37:27 2024 +0100
check_icmp: keep performance data order in case of none-reachable hosts
For responding hosts nothing changes:
./check_icmp -H 10.0.0.1
OK - 10.0.0.1 rta 0.336ms lost 0%|rta=0.336ms;200.000;500.000;0; rtmax=0.471ms;;;; rtmin=0.000ms;;;; pl=0%;40;80;0;100
In case the host is down, the performance data now contain 'U' according to:
https://www.monitoring-plugins.org/doc/guidelines.html#AEN201
Old:
./check_icmp -H 10.0.0.99
CRITICAL - 10.0.0.99: Host unreachable @ 10.0.1.138. rta nan, lost 100%|pl=100%;40;80;0;100
Old:
./check_icmp -H 10.0.0.99
CRITICAL - 10.0.0.99: Host unreachable @ 10.0.1.138. rta nan, lost 100%|rta=U;;;; rtmax=U;;;; rtmin=U;;;; pl=100%;40;80;0;100
This confuses some performance graphing tools, ex.: pnp.
Signed-off-by: Sven Nierlein <sven at consol.de>
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=93cd51bc6221ffc846c69135f2746120683b44c5
Author: alvar <8402811+oxzi at users.noreply.github.com>
Date: Mon Mar 18 09:05:04 2024 +0000
check_ircd: IPv6 support (#1995)
The prior bindRemote function was restricted to IPv4 by explicitly using
address family specific functions as pack_sockaddr_in or unparametrized
gethostbyname. Since Perl 5.14, released in early 2013, there is
IO::Socket::IP, which supports lookups and connects for a dual stacked
network.
By switching the connection establishment code, the plugin is now able
to establish connections to IPv6-only hosts. Furthermore, additional -4
and -6 flags were introduced to enforce a specific address family.
> $ netstat -p tcp -ln | grep 6667
> tcp6 0 0 *.6667 *.* LISTEN
> $ ./plugins-scripts/check_ircd -H localhost
> IRCD ok - Current Local Users: 4
> $ ./plugins-scripts/check_ircd -H localhost -4
> IRCD UNKNOWN: Could not start socket (Connection refused)
> $ ./plugins-scripts/check_ircd -H localhost -6
> IRCD ok - Current Local Users: 4
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=152acfabcf9faa3600b5ebb80a3fb569cd691ef3
Author: waja <waja at users.noreply.github.com>
Date: Sat Mar 23 11:02:18 2024 +0100
check_nwstat: adds percentage used space (#1183)
* check_nwstat: adds percentage used space
This adds the new VPU parameter to the check_nwstat plugin.
This parameter returns the percentage used space on a Netware volume.
Now you can monitor your Netware volumes easy. We use it with a warning
85% and critical 90%.
eg: check_nwstat -H your.netware.host -v VPUvol1 -c 85 -w 90 returns
324653 MB (95%) used on volume vol1 - total 340212 MB|Used space in percent
on vol1=95;90;80;0;100.
* check_nwstat: Fixing whitespaces and tabs
* Update translation files
* check_nwstat: Use C99 booleans also with the patch
* Some formatting
---------
Co-authored-by: RincewindsHat <12514511+RincewindsHat at users.noreply.github.com>
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=8698a6d976012908ea0af36ca1a520c3111928c7
Author: Lorenz Kästle <12514511+RincewindsHat at users.noreply.github.com>
Date: Sat Mar 23 11:22:06 2024 +0100
check_swap: replace another fake boolen and small improvements (#1996)
* check_swap: Change another fake boolen to a real one
* check_swap: Rename type since *_t is reserved for C standard types
* check_swap: Update copyright
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=66f62dd336832702a1e4f60cbfc4258de2c931cf
Author: Lorenz Kästle <12514511+RincewindsHat at users.noreply.github.com>
Date: Wed Mar 27 00:35:16 2024 +0100
check_ssh: patches from op5 (#1738)
* check_ssh: properly parse a delayed version control string
This resolves an issue with SSH servers which do not respond with their
version control string as the first thing in the SSH protocol version
exchange phase after connection establishment.
This patch also makes sure that we disregard a potential comment in the
version exchange string to avoid nonsense mismatches. In the future, we
might want to add the capability to match against a user specified comment.
In addition, the patch largely improves the communication towards the
server, which adds better protocol adherence.
Of course, new test cases are added to support the trigger and guard
against regressions of the bugs solved by this patch.
This fixes op5#7945 (https://bugs.op5.com/view.php?id=7945)
Signed-off-by: Anton Lofgren <alofgren at op5.com>
* check_ssh.t: Fix a few typos
Signed-off-by: Anton Lofgren <alofgren at op5.com>
* check_ssh: Handle non-alpha software versions
This patch fixes a bug where we would reject version control strings
that do not contain letters, because the assumption is made that they
always do. This is not required by the RFC however, and there exist
implementations that do not contain letters.
I've also added a few references to the RFC to make the process of
parsing the control string more apparent.
This fixes op5#8716 (https://bugs.op5.com/view.php?id=8716)
Signed-off-by: Anton Lofgren <alofgren at op5.com>
* check_ssh: Fix a typo in "remote-protocol parameter
remote-protcol -> remote-protocol
Signed-off-by: Anton Lofgren <alofgren at op5.com>
* Remove unused variable
* Formating fixes
* Update translations
* Remove merge conflict artefact from previous merge
* Set fixed include paths
* Improve code style to be slightly more readable
* Update test cases for different netcat behaviour and reduce sleep time
---------
Signed-off-by: Anton Lofgren <alofgren at op5.com>
Co-authored-by: Anton Lofgren <alofgren at op5.com>
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=d3faf13961c61b3ad69b47960124d3269c5f335e
Author: Lorenz Kästle <12514511+RincewindsHat at users.noreply.github.com>
Date: Wed Mar 27 00:36:41 2024 +0100
check_disk: Fail on missing arguments for --warning and --critical and fix a test case (#1935)
* check_disk: Fail on missing arguments for --warning and --critical
* Add new test function for percentage expressions and use it in check_disk
* Add error abort in tests if they fail to parse output
* Fix typo in test which probably broke the test since forever :-(
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=7da628699564ffb21eade261921b5098728d65f2
Author: Lorenz Kästle <12514511+RincewindsHat at users.noreply.github.com>
Date: Sun Apr 7 02:51:58 2024 +0200
check_load: remove unused code (#1998)
adaugherity noticed in issue #1965, that HAVE_PROC_LOADAVG is never
defined since the symbol was removed from configure quite some time ago.
This commit removes the dead code which would be used when the symbol
would have been defined.
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=4c4031100a4520fe1e9a835e56b00e32b841f63e
Author: Andreas Baumann <mail at andreasbaumann.cc>
Date: Sun Apr 7 19:30:26 2024 +0200
check_curl/check_http: clarified format of POST data (#1978)
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=f29785f5035e489576d2ba74be774273b73dd149
Author: Andreas Baumann <mail at andreasbaumann.cc>
Date: Sun Apr 7 20:01:54 2024 +0200
check_http/check_curl: added a --regex-state option to change the state of a regex check
from the default CRITICAL to something else (#1213)
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=ee0f70486f722e70d56eea2f7f3251a2d435e12a
Author: Napsty <ck at claudiokuenzler.com>
Date: Fri Apr 12 07:51:47 2024 +0200
Possibility to run check_swap without thresholds
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=9b4fab066492ca4065adfdf1080086fe6ffa53c2
Author: Napsty <ck at claudiokuenzler.com>
Date: Fri Apr 12 10:47:55 2024 +0200
Allow single threshold
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=675f208476628af192d1fdee9eeedcc76fbc8d43
Author: Napsty <ck at claudiokuenzler.com>
Date: Fri Apr 12 13:23:58 2024 +0200
Adjust check_swap tests
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=60614121d120b727831fa4201c277e626acb4057
Author: Napsty <ck at claudiokuenzler.com>
Date: Fri Apr 12 13:28:45 2024 +0200
Adjust check_swap tests
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=3deea4cc630d9442b8e5f18c50c5929e7e61333b
Author: Napsty <ck at claudiokuenzler.com>
Date: Fri Apr 12 13:35:55 2024 +0200
Adjust check_swap tests
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=86053441b6a0b7d1a15330fdc23f0411356d1269
Author: Lorenz Kästle <12514511+RincewindsHat at users.noreply.github.com>
Date: Fri Jul 12 16:49:28 2024 +0200
check_ups: additional alarm conditions (#1961)
* check_ups:
* Update copyright
* General refactoring
* code formatting
* Add ALARM state from ups -> Critical
* Set some more states to be warnings
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=fffd13afda80aed72aabdae7b3b4bd584f9ed235
Author: Jan Wagner <waja at cyconet.org>
Date: Tue Jul 23 14:54:06 2024 +0200
Update versions to reflect the actual state, we forgot about this in our last urgent release
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=d215bdf930a593646a728978fc78e8ae30ed089e
Merge: 8605344 fffd13a
Author: waja <waja at users.noreply.github.com>
Date: Tue Jul 23 17:50:27 2024 +0200
Merge pull request #2005 from monitoring-plugins/waja-docu_update_release_version
Update versions to reflect the actual state, we forgot about this in â¦
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=9e6361077b7fd690d00ab8f68ca9f2c435dd81a9
Author: Sven Nierlein <sven at consol.de>
Date: Tue Jul 23 16:22:12 2024 +0200
check_http: replace www.mozilla.com with monitoring-plugins.org
this makes tests more reliable if we test our own sites instead some 3rd party site.
Signed-off-by: Sven Nierlein <sven at consol.de>
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=ea104fa400acfa017e9d7690dea19edef787421f
Author: Sven Nierlein <sven at consol.de>
Date: Tue Jul 23 20:52:59 2024 +0200
tests: always remove ipv6 entry from hosts file
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=562deb749af3943dfcb6582ffcf48afb0b27e074
Merge: f29785f ea104fa
Author: Sven Nierlein <sven at consol.de>
Date: Tue Jul 23 21:09:21 2024 +0200
Merge branch 'master' into check_curl_features
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=1cca389751c78cc5f86da80f942caaf6f6385bbd
Merge: ea104fa 562deb7
Author: waja <waja at users.noreply.github.com>
Date: Tue Jul 23 21:24:45 2024 +0200
Merge pull request #2006 from monitoring-plugins/check_curl_features
Small check_curl fixes
More information about the Commits
mailing list