/usr/share/check_mk/checks-man/md 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 | title: Linux softraid devices
agents: linux
catalog: os/storage
license: GPL
distribution: check_mk
description:
Checks the current state of a Linux MD raid array. The information
is read by the agent from {/proc/mdstat}. The result is either
OK, if all disks are active or critical in any other case.
item:
The Linux raid device without {/dev/}, for example {"md0"}.
examples:
checks += [
( "somehost", "md", "md0", None )
]
inventory:
All RAID devices except those with raid level 0 are automatically detected.
The RAID 0 devices's output is completely different from the others.
And if a disk crashes you will soon notice anyway...
|