<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monitoring-plugins/plugins/tests/check_procs.t, branch 3.0.0-rc3</title>
<subtitle>Monitoring Plugins
</subtitle>
<id>https://www.monitoring-plugins.org/repositories/monitoring-plugins/atom?h=3.0.0-rc3</id>
<link rel='self' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/atom?h=3.0.0-rc3'/>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/'/>
<updated>2023-03-21T10:49:08Z</updated>
<entry>
<title>check_procs: add a test for the newly added -X option.</title>
<updated>2023-03-21T10:49:08Z</updated>
<author>
<name>Christian Kujau</name>
<email>lists@nerdbynature.de</email>
</author>
<published>2023-03-21T10:26:03Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=3e3e225b3f962993a6139bf5a2c22009b9e9cd32'/>
<id>urn:sha1:3e3e225b3f962993a6139bf5a2c22009b9e9cd32</id>
<content type='text'>
$ make test
[...]
perl -I .. -I .. ../test.pl
No application (check_curl) found for test harness (check_curl.t)
No application (check_snmp) found for test harness (check_snmp.t)
./t/check_procs.t ...... ok
./tests/check_nt.t ..... ok
./tests/check_procs.t .. ok
All tests successful.
Files=4, Tests=73,  8 wallclock secs ( 0.05 usr  0.02 sys +  0.38 cusr
0.22 csys =  0.67 CPU)
Result: PASS

Signed-off-by: Christian Kujau &lt;lists@nerdbynature.de&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_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>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>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>
<entry>
<title>tests: check_proc tests fail if uid -2 does not map to nobody</title>
<updated>2014-06-13T13:57:21Z</updated>
<author>
<name>Sven Nierlein</name>
<email>Sven.Nierlein@consol.de</email>
</author>
<published>2014-06-13T13:57:21Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=4102eaae0e50d514eb277e12c9ab382aed3a888c'/>
<id>urn:sha1:4102eaae0e50d514eb277e12c9ab382aed3a888c</id>
<content type='text'>
so make sure our tests only run if -2 maps to nobody

Signed-off-by: Sven Nierlein &lt;Sven.Nierlein@consol.de&gt;
</content>
</entry>
<entry>
<title>tests: parts of the check_procs test only work when uid -2 exists</title>
<updated>2014-06-12T09:45:49Z</updated>
<author>
<name>Sven Nierlein</name>
<email>Sven.Nierlein@consol.de</email>
</author>
<published>2014-06-12T09:45:49Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=3529d7465d31234ec634939ed1a6bdc915b73ccd'/>
<id>urn:sha1:3529d7465d31234ec634939ed1a6bdc915b73ccd</id>
<content type='text'>
skip those tests if the uid does not exist

Signed-off-by: Sven Nierlein &lt;Sven.Nierlein@consol.de&gt;
</content>
</entry>
<entry>
<title>check_procs test fails if there is no user with uid 501</title>
<updated>2014-02-18T15:20:11Z</updated>
<author>
<name>Sven Nierlein</name>
<email>Sven.Nierlein@consol.de</email>
</author>
<published>2014-02-18T15:20:11Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=385340a4ef89e0feac915e2154b7e3d155f42b73'/>
<id>urn:sha1:385340a4ef89e0feac915e2154b7e3d155f42b73</id>
<content type='text'>
thats because check_procs verifys there is a user for a
given uid filter. So even we use sample data for this
test, we still need a real user.

Signed-off-by: Sven Nierlein &lt;Sven.Nierlein@consol.de&gt;
</content>
</entry>
<entry>
<title>Add perfdata in check_proc output tests</title>
<updated>2014-01-31T18:00:53Z</updated>
<author>
<name>Thomas Guyot-Sionnest</name>
<email>dermoth@aei.ca</email>
</author>
<published>2014-01-31T18:00:53Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=f3078c33f6fd90faba50ebad35acad2df037b450'/>
<id>urn:sha1:f3078c33f6fd90faba50ebad35acad2df037b450</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Enable tests in tests/ subdirs</title>
<updated>2014-01-31T13:54:44Z</updated>
<author>
<name>Thomas Guyot-Sionnest</name>
<email>dermoth@aei.ca</email>
</author>
<published>2014-01-31T13:54:44Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=1dd0e4c96376f2c28590dad683161ee8c57c0508'/>
<id>urn:sha1:1dd0e4c96376f2c28590dad683161ee8c57c0508</id>
<content type='text'>
</content>
</entry>
</feed>
