Configuring the disk health notifications
Almost all HDD or SSD nowadays have a Self-Monitoring, Analysis and Reporting Technology (S.M.A.R.T.) ability, which can gather valuable data on disk drive health. By using the S.M.A.R.T. monitoring tool, we can avoid premature drive failures by detecting potential problems early on. We can configure each Proxmox node to send e-mail alerts when any problem is detected in any attached drive.
Note
Note that if drives are connected to RAID controllers and configured as some form of an array, then the S.M.A.R.T. tool will not be able to retrieve a drive's health data.
How to do it…
The following steps show how to install S.M.A.R.T monitoring tools in a Proxmox node and configure it to send e-mail nominations:
Log in to a Proxmox node through an SSH Shell or directly from the console.
Run the following command to install the S.M.A.R.T. tool as it is not installed by default in Proxmox:
#apt-get update #apt-get install smartmontools
Retrieve a list of all attached...