summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/t/check_uptime.t
AgeCommit message (Collapse)AuthorFilesLines
2018-06-13Added tests for range valuesBernd Arnold1-1/+57
2018-06-13Introducing ranges for warning and criticalBernd Arnold1-1/+1
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-03Added test fileBernd Arnold1-0/+73