/usr/share/check_mk/checks-man/smart.temp 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 30 31 32 33 | title: Temperature of HDDs using S.M.A.R.T
agents: linux
catalog: os/hardware
license: GPL
distribution: check_mk
description:
This check monitors the temperature 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.
The original check has been created by Benjamin Odenthal and provided on Check_MK exchange and
improved, integrated and documented by Lars Michelsen.
inventory:
All devices reported by smartctl which support the temperature value are
automatically inventorized. One service is being created for each HDD.
item:
The device name. Example: {/dev/sda}
perfdata:
One variable: the current temperature in degrees celsius.
examples:
# Set the warning threshold to 40 and critical to 50 degrees celsius.
smart_temp_default_levels = (35, 40)
[parameters]
warning (int): The degrees celsius to trigger a WARNING state
critical (int): The degrees celsius to trigger a CRITICAL state
|