summaryrefslogtreecommitdiffstats
path: root/plugins/t/check_procs.t
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2005-11-03 15:13:13 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2005-11-03 15:13:13 (GMT)
commit595b2571a417fd2216071e80979fbe20e5cf1d4f (patch)
tree3202cbfb46415984abfa3b701fc495e6bd96b0cf /plugins/t/check_procs.t
parentf278c817e584ac7ccd3bdfee3daefdbc483398b7 (diff)
downloadmonitoring-plugins-595b2571a417fd2216071e80979fbe20e5cf1d4f.tar.gz
Invalid mount point doesn't make sense because most df implementations
would work out the actual mount point. And fixed typo in check_procs.t git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1271 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/t/check_procs.t')
-rw-r--r--plugins/t/check_procs.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/t/check_procs.t b/plugins/t/check_procs.t
index 91f5c44..b8c2e8a 100644
--- a/plugins/t/check_procs.t
+++ b/plugins/t/check_procs.t
@@ -19,7 +19,7 @@ $t += checkCmd( "./check_procs -w 100000 -c 100000 -s Z", 0, '/^PROCS OK: [0-9
19$t += checkCmd( "./check_procs -w 0 -c 10000000", 1, '/^PROCS WARNING: [0-9]+ process(es)?$/' ); 19$t += checkCmd( "./check_procs -w 0 -c 10000000", 1, '/^PROCS WARNING: [0-9]+ process(es)?$/' );
20$t += checkCmd( "./check_procs -w 0 -c 0", 2, '/^PROCS CRITICAL: [0-9]+ process(es)?$/' ); 20$t += checkCmd( "./check_procs -w 0 -c 0", 2, '/^PROCS CRITICAL: [0-9]+ process(es)?$/' );
21$t += checkCmd( "./check_procs -w 0 -c 0 -s S", 2, '/^PROCS CRITICAL: [0-9]+ process(es)? with /' ); 21$t += checkCmd( "./check_procs -w 0 -c 0 -s S", 2, '/^PROCS CRITICAL: [0-9]+ process(es)? with /' );
22$t += checkCmd( "./check_procs -w 0 -c 10000000 -p 1", 1, "/^PROCS WARNING: [0-9]+ process(es)? with PPID = 1/' ); 22$t += checkCmd( "./check_procs -w 0 -c 10000000 -p 1", 1, '/^PROCS WARNING: [0-9]+ process(es)? with PPID = 1/' );
23 23
24exit(0) if defined($Test::Harness::VERSION); 24exit(0) if defined($Test::Harness::VERSION);
25exit($tests - $t); 25exit($tests - $t);