summaryrefslogtreecommitdiffstats
path: root/plugins/tests/check_procs.t
AgeCommit message (Collapse)AuthorFilesLines
2021-11-17Merge pull request #1654 from wolfgangkarall/masterRincewindsHat1-1/+1
check_procs -- exchange needle and haystack in strstr() for proper st…
2021-11-01check_procs: add test for elapsed timeSven Nierlein1-2/+11
2021-11-01check_procs: improve ps args autodetectionSven Nierlein1-4/+7
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 toorefs/pull/1654/headWolfgang Karall-Ahlborn1-1/+1
2014-06-13tests: check_proc tests fail if uid -2 does not map to nobodySven Nierlein1-0/+1
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 existsSven Nierlein1-12/+16
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 501Sven Nierlein1-9/+17
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 testsThomas Guyot-Sionnest1-15/+15
2014-01-31Enable tests in tests/ subdirsThomas Guyot-Sionnest1-0/+0
2011-01-21Fix for regex input of '|', being output causing problems with Nagios' ↵Ton Voon1-1/+5
parsing of performance data. Now replaced with ','
2008-03-18Include test for check_procs, using input fileTon Voon1-0/+115
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1955 f882894a-f735-0410-b71e-b25c423dba1c