diff options
author | Sebastian Harl <sh@teamix.net> | 2011-04-08 10:18:48 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2012-11-14 20:45:44 +0100 |
commit | 2bac48c02742dba92fc09d60fc211f60f10e9223 (patch) | |
tree | fee4e56cf35cd5b15987111c303169314237596c /plugins/tests/var | |
parent | 217a6a7643867ad949c25b5e8ca2d1839ec28133 (diff) | |
download | monitoring-plugins-2bac48c02742dba92fc09d60fc211f60f10e9223.tar.gz |
check_procs: Use the range/threshold support functions from libnagiosplug.
This adds support for @<range> and makes stuff a bit simpler by removing code
duplications.
Note: Previously, the compatibility code for 'check_procs <warn> <max>'
accepted something like 'check_procs -w 10:-1 -c 10:-1 20 50' as well
(treating it as if '-w 10:20 -c 10:50' was specified). This is no longer the
case ... additional arguments are only used as warn/crit thresholds in case
-w/-c is not specified at all.
Diffstat (limited to 'plugins/tests/var')
0 files changed, 0 insertions, 0 deletions