summaryrefslogtreecommitdiffstats
path: root/lib/tests/test_tcp.c
diff options
context:
space:
mode:
authorSebastian Harl <sh@teamix.net>2011-04-08 08:18:48 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2012-11-14 19:45:44 (GMT)
commit2bac48c02742dba92fc09d60fc211f60f10e9223 (patch)
treefee4e56cf35cd5b15987111c303169314237596c /lib/tests/test_tcp.c
parent217a6a7643867ad949c25b5e8ca2d1839ec28133 (diff)
downloadmonitoring-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 'lib/tests/test_tcp.c')
0 files changed, 0 insertions, 0 deletions