<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monitoring-plugins/plugins/t, branch maint-2.4</title>
<subtitle>Monitoring Plugins
</subtitle>
<id>https://www.monitoring-plugins.org/repositories/monitoring-plugins/atom?h=maint-2.4</id>
<link rel='self' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/atom?h=maint-2.4'/>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/'/>
<updated>2024-07-23T19:08:57Z</updated>
<entry>
<title>check_http: replace www.mozilla.com with monitoring-plugins.org</title>
<updated>2024-07-23T19:08:57Z</updated>
<author>
<name>Sven Nierlein</name>
<email>sven@consol.de</email>
</author>
<published>2024-07-23T14:22:12Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=9e6361077b7fd690d00ab8f68ca9f2c435dd81a9'/>
<id>urn:sha1:9e6361077b7fd690d00ab8f68ca9f2c435dd81a9</id>
<content type='text'>
this makes tests more reliable if we test our own sites instead some 3rd party site.

Signed-off-by: Sven Nierlein &lt;sven@consol.de&gt;
</content>
</entry>
<entry>
<title>Adjust check_swap tests</title>
<updated>2024-04-12T14:50:15Z</updated>
<author>
<name>Napsty</name>
<email>ck@claudiokuenzler.com</email>
</author>
<published>2024-04-12T11:35:55Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=3deea4cc630d9442b8e5f18c50c5929e7e61333b'/>
<id>urn:sha1:3deea4cc630d9442b8e5f18c50c5929e7e61333b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Adjust check_swap tests</title>
<updated>2024-04-12T14:50:15Z</updated>
<author>
<name>Napsty</name>
<email>ck@claudiokuenzler.com</email>
</author>
<published>2024-04-12T11:28:45Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=60614121d120b727831fa4201c277e626acb4057'/>
<id>urn:sha1:60614121d120b727831fa4201c277e626acb4057</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Adjust check_swap tests</title>
<updated>2024-04-12T14:50:15Z</updated>
<author>
<name>Napsty</name>
<email>ck@claudiokuenzler.com</email>
</author>
<published>2024-04-12T11:23:58Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=675f208476628af192d1fdee9eeedcc76fbc8d43'/>
<id>urn:sha1:675f208476628af192d1fdee9eeedcc76fbc8d43</id>
<content type='text'>
</content>
</entry>
<entry>
<title>check_disk: Fail on missing arguments for --warning and --critical and fix a test case (#1935)</title>
<updated>2024-03-26T23:36:41Z</updated>
<author>
<name>Lorenz Kästle</name>
<email>12514511+RincewindsHat@users.noreply.github.com</email>
</author>
<published>2024-03-26T23:36:41Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=d3faf13961c61b3ad69b47960124d3269c5f335e'/>
<id>urn:sha1:d3faf13961c61b3ad69b47960124d3269c5f335e</id>
<content type='text'>
* 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 :-(</content>
</entry>
<entry>
<title>check_ssh: patches from op5 (#1738)</title>
<updated>2024-03-26T23:35:16Z</updated>
<author>
<name>Lorenz Kästle</name>
<email>12514511+RincewindsHat@users.noreply.github.com</email>
</author>
<published>2024-03-26T23:35:16Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=66f62dd336832702a1e4f60cbfc4258de2c931cf'/>
<id>urn:sha1:66f62dd336832702a1e4f60cbfc4258de2c931cf</id>
<content type='text'>
* 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 &lt;alofgren@op5.com&gt;

* check_ssh.t: Fix a few typos

Signed-off-by: Anton Lofgren &lt;alofgren@op5.com&gt;

* 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 &lt;alofgren@op5.com&gt;

* check_ssh: Fix a typo in "remote-protocol parameter

remote-protcol -&gt; remote-protocol

Signed-off-by: Anton Lofgren &lt;alofgren@op5.com&gt;

* 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 &lt;alofgren@op5.com&gt;
Co-authored-by: Anton Lofgren &lt;alofgren@op5.com&gt;</content>
</entry>
<entry>
<title>check_disk increase alert precision (#1989)</title>
<updated>2024-02-23T17:24:28Z</updated>
<author>
<name>Sven Nierlein</name>
<email>sven@consol.de</email>
</author>
<published>2024-02-23T17:24:28Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=117cd8e4b826e471e795536228628d817df33f5a'/>
<id>urn:sha1:117cd8e4b826e471e795536228628d817df33f5a</id>
<content type='text'>
* 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</content>
</entry>
<entry>
<title>check_disk: fix ignore-missing in combination with includes (fixes #1963)</title>
<updated>2023-11-27T12:04:10Z</updated>
<author>
<name>Sven Nierlein</name>
<email>sven@consol.de</email>
</author>
<published>2023-11-27T12:00:57Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=579db5a93071547f5484c1690b621a60b46b2e1e'/>
<id>urn:sha1:579db5a93071547f5484c1690b621a60b46b2e1e</id>
<content type='text'>
Using --ignore-missing together with regex matching and ignore option lead
to a wrong error message.

    ./check_disk -n -w 10% -c 5% -W 10% -r /dummy -i /dummy2
    DISK UNKNOWN: Paths need to be selected before using -i/-I. Use -A to select all paths explicitly

The use case here is a cluster with fail-over mounts. So it is a valid situation that
the regex match does not find anything in addtition with a ignore which also does not exist.

After this patch:

    ./check_disk -n -w 10% -c 5% -W 10% -r /dummy -i /dummy2
    DISK OK - No disks were found for provided parameters|
</content>
</entry>
<entry>
<title>Enhance tests to check wheter the option validation works</title>
<updated>2023-10-31T00:50:46Z</updated>
<author>
<name>RincewindsHat</name>
<email>12514511+RincewindsHat@users.noreply.github.com</email>
</author>
<published>2023-10-31T00:50:46Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=d9a999de7b182a6dd257f8b6d83067070f51e4c3'/>
<id>urn:sha1:d9a999de7b182a6dd257f8b6d83067070f51e4c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix some more typos</title>
<updated>2023-10-03T20:22:51Z</updated>
<author>
<name>RincewindsHat</name>
<email>12514511+RincewindsHat@users.noreply.github.com</email>
</author>
<published>2023-10-03T20:22:51Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=e1e1291b72e2f1df81d0346d77e65da677e57878'/>
<id>urn:sha1:e1e1291b72e2f1df81d0346d77e65da677e57878</id>
<content type='text'>
</content>
</entry>
</feed>
