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)
|
|
|
|
- the TCP port 7634 openned on your local Firewall (if it is enabled on your system)
|
|
|
|
|
2021-05-18 09:31:36 +03:00
|
|
|
For example on a CentOS/Redhat Linux operating system, you have to:
|
|
|
|
|
|
|
|
```
|
|
|
|
sudo yum install hddtemp
|
2021-05-18 09:31:52 +03:00
|
|
|
|
2021-05-18 09:31:36 +03:00
|
|
|
sudo systemctl enable hddtemp
|
2021-05-18 09:31:52 +03:00
|
|
|
|
2021-05-18 09:31:36 +03:00
|
|
|
sudo systemctl enable hddtemp
|
|
|
|
```
|
|
|
|
|
|
|
|
Test it in the console:
|
|
|
|
|
|
|
|
```
|
|
|
|
$ hddtemp
|
2021-05-18 09:31:52 +03:00
|
|
|
|
2021-05-18 09:31:36 +03:00
|
|
|
/dev/sda: TOSHIBA MQ01ACF050: 41°C
|
2021-05-18 09:31:52 +03:00
|
|
|
|
2021-05-18 09:31:36 +03:00
|
|
|
/dev/sdb: ST1000LM044 HN-M101SAD: 38°C
|
|
|
|
```
|
|
|
|
|
|
|
|
It should appears in the sensors plugin.
|
|
|
|
|
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.
|