2021-03-13 10:46:40 +03:00
|
|
|
.. _sensors:
|
|
|
|
|
|
|
|
HDD temperature sensor
|
|
|
|
======================
|
|
|
|
|
|
|
|
*Availability: Linux*
|
|
|
|
|
|
|
|
This plugin will add HDD temperature to the sensors plugin.
|
|
|
|
|
2021-05-18 09:06:52 +03:00
|
|
|
On your Linux system, you will need to have:
|
2021-03-13 10:46:40 +03:00
|
|
|
- hddtemp package installed
|
|
|
|
- hddtemp service up and running (check it with systemctl status hddtemp)
|
2021-07-03 11:19:29 +03:00
|
|
|
- the TCP port 7634 opened on your local firewall (if it is enabled on your system)
|
2021-03-13 10:46:40 +03:00
|
|
|
|
2021-05-18 09:31:36 +03:00
|
|
|
For example on a CentOS/Redhat Linux operating system, you have to:
|
|
|
|
|
2021-05-18 09:32:28 +03:00
|
|
|
$ sudo yum install hddtemp
|
2021-07-03 11:19:29 +03:00
|
|
|
|
2021-05-18 09:32:28 +03:00
|
|
|
$ sudo systemctl enable hddtemp
|
2021-07-03 11:19:29 +03:00
|
|
|
|
2021-05-18 09:32:28 +03:00
|
|
|
$ sudo systemctl enable hddtemp
|
2021-05-18 09:31:36 +03:00
|
|
|
|
|
|
|
Test it in the console:
|
|
|
|
|
2021-05-18 09:32:28 +03:00
|
|
|
$ hddtemp
|
2021-07-03 11:19:29 +03:00
|
|
|
|
2021-05-18 09:32:28 +03:00
|
|
|
/dev/sda: TOSHIBA MQ01ACF050: 41°C
|
2021-07-03 11:19:29 +03:00
|
|
|
|
2021-05-18 09:32:28 +03:00
|
|
|
/dev/sdb: ST1000LM044 HN-M101SAD: 38°C
|
2021-05-18 09:31:36 +03:00
|
|
|
|
|
|
|
It should appears in the sensors plugin.
|
|
|
|
|
2021-05-18 09:34:39 +03:00
|
|
|
.. image:: ../_static/hddtemp.png
|
|
|
|
|
2021-03-13 10:46:40 +03:00
|
|
|
There is no alert on this information.
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
Limit values and sensors alias names can be defined in the
|
|
|
|
configuration file under the ``[sensors]`` section.
|