/usr/share/check_mk/checks-man/uptime is in check-mk-server 1.2.8p16-1ubuntu0.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | title: Uptime of operating system
agents: linux
catalog: os/misc
license: GPL
distribution: check_mk
description:
This check outputs the uptime of the target systems
(when the last boot was and how much time has elapsed since).
This check can go WARN or CRIT when the uptime is below or above certain
configurable levels.
perfdata:
The uptime in seconds.
inventory:
One check per system is created if the agent has a section {<<<uptime>>>}.
[parameters]
parameters (dict): A dictionary with the following optional keys:
{"min"}: Pair of integers of warn and crit: the minimum required uptime
uptime in seconds.
{"max"}: Pair of integers of warn and crit: the maximum allowed uptime
uptime in seconds.
|