Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-02-15 | check_uptime: Fix lowercase typo in plugin output | Andreas Motl | 1 | -8/+8 | |
2022-02-15 | check_uptime: Add option to report uptime in days instead of seconds | Andreas Motl | 1 | -1/+7 | |
Currently, the plugin output is: CRITICAL: Uptime is 38829029 seconds. When using the proposed `--days|-d` option, it will be: CRITICAL: Uptime is 449 days. | |||||
2018-06-13 | Added tests for range values | Bernd Arnold | 1 | -1/+57 | |
2018-06-13 | Introducing ranges for warning and critical | Bernd Arnold | 1 | -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-03 | Added test file | Bernd Arnold | 1 | -0/+73 | |