/usr/share/check_mk/checks-man/smart.stats 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 26 27 28 29 | title: HDD health statistics using S.M.A.R.T
agents: linux
catalog: os/hardware
license: GPL
distribution: check_mk
description:
This check monitors health statistics like error counters of HDDs using the
information reported by S.M.A.R.T. This check works only for HDDs which
report the value {Temperature_Celsius} via {smartctl -A <device>}.
The check uses information provided by the Check_MK linux agent which are
available when the agent has been extended with the {smart} agent plugin.
During inventory the current value of all counters is being
snapshotted into the check's parameters. If later one of the value increases
the check gets critical. If will become green again if the check is
being reinventorized.
perfdata:
One variable for each of the known state counters.
inventory:
If there is at least one supported value available for a HDD one service is
inventorized.
[parameters]
params(dict from string to int): A python dictionary which contains
the current values of all counters during the inventory. This paramer is
usually not set manually.
|