summaryrefslogtreecommitdiffstats
path: root/config_test
diff options
context:
space:
mode:
authorBernd Arnold <wopfel@gmail.com>2018-06-13 16:56:22 +0200
committerBernd Arnold <wopfel@gmail.com>2018-06-13 16:56:22 +0200
commitdb499b6f5b82aff65171ac4cfa5b936ba1e5e5ad (patch)
tree4148af2ebf8c8a7c67f65a9961bbf668127c97a6 /config_test
parenta784b19d6fc193e4c98ec6b2248bf4e252a9a0d7 (diff)
downloadmonitoring-plugins-db499b6f5b82aff65171ac4cfa5b936ba1e5e5ad.tar.gz
Introducing ranges for warning and critical
Works as before: -w 1w -c 2w New (as before, but also warn if uptime < 5m, and crit if uptime < 2m): -w 5m:1w -c 2m:2w (idea by @sni) Also refactored the time calculation, if a suffix is present: New sub calc_as_seconds($)
Diffstat (limited to 'config_test')
0 files changed, 0 insertions, 0 deletions