diff options
author | Sebastian Harl <sh@teamix.net> | 2011-04-08 08:18:48 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2012-11-14 19:45:44 (GMT) |
commit | 2bac48c02742dba92fc09d60fc211f60f10e9223 (patch) | |
tree | fee4e56cf35cd5b15987111c303169314237596c /gl/strnlen.c | |
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 'gl/strnlen.c')
0 files changed, 0 insertions, 0 deletions