aboutsummaryrefslogtreecommitdiff
path: root/plugins/tests/check_snmp.t
diff options
context:
space:
mode:
authorGravatar Sebastian Harl <sh@teamix.net> 2011-04-08 10:18:48 +0200
committerGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2012-11-14 20:45:44 +0100
commit2bac48c02742dba92fc09d60fc211f60f10e9223 (patch)
treefee4e56cf35cd5b15987111c303169314237596c /plugins/tests/check_snmp.t
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 'plugins/tests/check_snmp.t')
0 files changed, 0 insertions, 0 deletions