monitoring-plugins/plugins-scripts/t
Bernd Arnold db499b6f5b 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($)
2018-06-13 16:56:22 +02:00
..
check_disk_smb.t tests: check_disk_smb may exit with critical for unresponsive hosts too 2014-07-31 11:43:47 +02:00
check_file_age.t add range checking to check_file_age 2017-02-14 15:19:18 +00:00
check_ifoperstatus.t Fixed testcases for check_snmp, check_ifstatus and check_ifoperstatus when no snmp community is specified 2009-06-13 18:13:49 +02:00
check_ifstatus.t Fixed testcases for check_snmp, check_ifstatus and check_ifoperstatus when no snmp community is specified 2009-06-13 18:13:49 +02:00
check_rpc.t change exit code to unknown on help and version info 2015-10-04 19:24:30 +02:00
check_uptime.t Introducing ranges for warning and critical 2018-06-13 16:56:22 +02:00
utils.t script tests: fix relative lib path in utils test 2017-03-13 13:27:03 +01:00