aboutsummaryrefslogtreecommitdiff
path: root/plugins/tests/check_procs.t
AgeCommit message (Collapse)Author
2021-11-17Merge pull request #1654 from wolfgangkarall/masterGravatar RincewindsHat
check_procs -- exchange needle and haystack in strstr() for proper st…
2021-11-01check_procs: add test for elapsed timeGravatar Sven Nierlein
2021-11-01check_procs: improve ps args autodetectionGravatar Sven Nierlein
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 <sven@nierlein.de>
2021-01-03check_procs -- update test data tooGravatar Wolfgang Karall-Ahlborn
2014-06-13tests: check_proc tests fail if uid -2 does not map to nobodyGravatar Sven Nierlein
so make sure our tests only run if -2 maps to nobody Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2014-06-12tests: parts of the check_procs test only work when uid -2 existsGravatar Sven Nierlein
skip those tests if the uid does not exist Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2014-02-18check_procs test fails if there is no user with uid 501Gravatar Sven Nierlein
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 <Sven.Nierlein@consol.de>
2014-01-31Add perfdata in check_proc output testsGravatar Thomas Guyot-Sionnest
2014-01-31Enable tests in tests/ subdirsGravatar Thomas Guyot-Sionnest
2011-01-21Fix for regex input of '|', being output causing problems with Nagios' ↵Gravatar Ton Voon
parsing of performance data. Now replaced with ','
2008-03-18Include test for check_procs, using input fileGravatar Ton Voon
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1955 f882894a-f735-0410-b71e-b25c423dba1c