<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monitoring-plugins/plugins/tests, branch maint-2.3.2</title>
<subtitle>Monitoring Plugins
</subtitle>
<id>https://www.monitoring-plugins.org/repositories/monitoring-plugins/atom?h=maint-2.3.2</id>
<link rel='self' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/atom?h=maint-2.3.2'/>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/'/>
<updated>2022-01-30T11:25:56Z</updated>
<entry>
<title>sslutils: use chain from client certificates</title>
<updated>2022-01-30T11:25:56Z</updated>
<author>
<name>Tobias Wiese</name>
<email>tobias@tobiaswiese.com</email>
</author>
<published>2021-05-22T23:39:15Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=31bdbfce92de2dc7717fe13a8d1ca8e7dbf850d4'/>
<id>urn:sha1:31bdbfce92de2dc7717fe13a8d1ca8e7dbf850d4</id>
<content type='text'>
sslutils used to load only the first certificate when it was given a
client certificate file.

Added tests for check_http to connect to a http server that expects a
client certificate (simple and with chain).

Signed-off-by: Tobias Wiese &lt;tobias@tobiaswiese.com&gt;
</content>
</entry>
<entry>
<title>Merge pull request #1654 from wolfgangkarall/master</title>
<updated>2021-11-17T17:09:25Z</updated>
<author>
<name>RincewindsHat</name>
<email>12514511+RincewindsHat@users.noreply.github.com</email>
</author>
<published>2021-11-17T17:09:25Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=4549a9524349c4384c0a7a2ca8662a418fc8fbe5'/>
<id>urn:sha1:4549a9524349c4384c0a7a2ca8662a418fc8fbe5</id>
<content type='text'>
check_procs -- exchange needle and haystack in strstr() for proper st…</content>
</entry>
<entry>
<title>check_snmp: fix performance thresholds when using multiple oids</title>
<updated>2021-11-17T13:04:09Z</updated>
<author>
<name>Sven Nierlein</name>
<email>sven@nierlein.de</email>
</author>
<published>2021-11-17T10:58:41Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=024d268386353133af1a9ff5c0b5879397c19b1c'/>
<id>urn:sha1:024d268386353133af1a9ff5c0b5879397c19b1c</id>
<content type='text'>
when using check_snmp with multiple oids it simply printed the unparsed content
from -w/-c into the thresholds for each oid. So each oid contained the hole -w
from all oids.

./check_snmp ... -o iso.3.6.1.2.1.25.1.3.0,iso.3.6.1.2.1.25.1.5.0 -w '1,2' -c '3,4'

before:
  SNMP ... | HOST-RESOURCES-MIB::hrSystemInitialLoadDevice.0=393216;1,2;3,4 HOST-RESOURCES-MIB::hrSystemNumUsers.0=24;1,2;3,4

after:
  SNMP ... | HOST-RESOURCES-MIB::hrSystemInitialLoadDevice.0=393216;1;3 HOST-RESOURCES-MIB::hrSystemNumUsers.0=24;2;4

This also applies to fixed thresholds since check_snmp translates negative infinities from: '~:-1' to '@-1:~'
</content>
</entry>
<entry>
<title>check_procs: add test for elapsed time</title>
<updated>2021-11-01T12:35:11Z</updated>
<author>
<name>Sven Nierlein</name>
<email>sven@nierlein.de</email>
</author>
<published>2021-10-26T11:34:02Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=c3abdb9267567ac9b40ef4a8f3b585c7ab87bac6'/>
<id>urn:sha1:c3abdb9267567ac9b40ef4a8f3b585c7ab87bac6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove unused test file</title>
<updated>2021-11-01T12:35:11Z</updated>
<author>
<name>Sven Nierlein</name>
<email>sven@nierlein.de</email>
</author>
<published>2021-10-26T09:16:38Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=1fda28f12424be232ac88399e72e95c2bc2d5421'/>
<id>urn:sha1:1fda28f12424be232ac88399e72e95c2bc2d5421</id>
<content type='text'>
Signed-off-by: Sven Nierlein &lt;sven@nierlein.de&gt;
</content>
</entry>
<entry>
<title>check_procs: improve ps args autodetection</title>
<updated>2021-11-01T12:35:11Z</updated>
<author>
<name>Sven Nierlein</name>
<email>sven@nierlein.de</email>
</author>
<published>2021-10-25T15:28:17Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=282ccd4a8bbaa5d99c7c0cf6eba963ee3c0bff3a'/>
<id>urn:sha1:282ccd4a8bbaa5d99c7c0cf6eba963ee3c0bff3a</id>
<content type='text'>
one of the first ps commands in the configure.ac is `axwo 'stat comm vsz rss user uid pid ppid args'` which
works on most modern linux systems (checked debian 10/11 and centos 7/8). But this test misses the etime
argument. Therefore `check_procs --metric=ELAPSED` does not work.

To fix this, we simply do the same test including etime before that one.

Signed-off-by: Sven Nierlein &lt;sven@nierlein.de&gt;
</content>
</entry>
<entry>
<title>tests: ignore sigpipes in https test daemon</title>
<updated>2021-05-20T18:57:59Z</updated>
<author>
<name>Sven Nierlein</name>
<email>sven@nierlein.de</email>
</author>
<published>2021-05-20T18:57:59Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=b428cc17f75682465e6f1e59b32fdec02b87ceac'/>
<id>urn:sha1:b428cc17f75682465e6f1e59b32fdec02b87ceac</id>
<content type='text'>
check_http closes the connection after checking the certificate with -C. This leads to sigpipe
errors when the ssl daemon wants to send a response and the daemon quits which makes the
subsequent tests fail.
</content>
</entry>
<entry>
<title>tests: increase startup sleep</title>
<updated>2021-05-20T16:04:49Z</updated>
<author>
<name>Sven Nierlein</name>
<email>sven@nierlein.de</email>
</author>
<published>2021-05-20T16:04:49Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=eb75d847ae31a86768b06926bc2323f7c16f07b9'/>
<id>urn:sha1:eb75d847ae31a86768b06926bc2323f7c16f07b9</id>
<content type='text'>
github action might fail from to time otherwise
</content>
</entry>
<entry>
<title>fix check_curl crash if http header contains leading spaces</title>
<updated>2021-03-11T12:33:16Z</updated>
<author>
<name>Sven Nierlein</name>
<email>sven@nierlein.de</email>
</author>
<published>2021-03-11T12:33:16Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=5cfc93d995cfd5cc7d1a469f3c1276c4884da2a2'/>
<id>urn:sha1:5cfc93d995cfd5cc7d1a469f3c1276c4884da2a2</id>
<content type='text'>
check_curl crashes when a (broken) http server returns invalid http header with
leading spaces or double colons. This PR adds a fix and a test case for this.

Signed-off-by: Sven Nierlein &lt;sven@nierlein.de&gt;
</content>
</entry>
<entry>
<title>check_procs -- update test data too</title>
<updated>2021-01-03T11:18:31Z</updated>
<author>
<name>Wolfgang Karall-Ahlborn</name>
<email>office@karall-edv.at</email>
</author>
<published>2021-01-03T11:18:31Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=9076ea36f70dbd643de4102a88dbd2f18847af16'/>
<id>urn:sha1:9076ea36f70dbd643de4102a88dbd2f18847af16</id>
<content type='text'>
</content>
</entry>
</feed>
