/usr/share/check_mk/checks-man/cpu.loads is in check-mk-server 1.2.6p12-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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | title: CPU load
agents: linux, aix, freebsd, macosx, netbsd, openbsd, solaris
catalog: os/kernel
license: GPL
distribution: check_mk
description:
This check measures and checks the averaged CPU load. The values
for 1, 5 and 15 minute average are sent, although the PNP template
shipped with check_mk only displays the 1 and 15 min average load.
Note: The CPU load is the average number of processes that are
currently in the state "running". Do not mix this up with the
CPU "utiliziation" (which measures the current usage of the CPU
in percent).
examples:
# Set default levels to a load of 4 and 8 per CPU
cpuload_default_levels = (4.0, 8.0).
checks = [
# Use levels 4 per CPU (warning) and 8 per CPU (critical)
# on all hosts with the tag "linux"
(["linux"], ALL_HOSTS, "cpu.loads", None, (4, 8)),
]
perfdata:
Three values: The load average for 1, 5 and 15 minutes.
inventory:
Automatically.
[parameters]
warning (int): 15 minute average load {per processor} at which a
warning is triggered. If you set this value to 2 on a 16 CPU
machine, then a warning will be reached at a load of 32.
critical (int): 15 minute average load per processor at which
a critical state is triggered.
[configuration]
cpuload_default_levels (int, int): A pair of floats or integers: The default
levels. These levels are used for inventorized checks. This variable
is preset to {(5, 10)}
|