many emails from SMART Email Notifications

devrimer

Member
Mar 19, 2022
24
8
8
Sofia
devrimer.co
Hello,

I am getting this email constantly.
How can I fix this.
or is there possible to disable smartd emails ?

This is the email I got many times:

This message was generated by the smartd daemon running on:

host name: nasserver
DNS domain:

The following warning/error was logged by the smartd daemon:

Device: /dev/sdb [SAT], Failed SMART usage Attribute: 190 Airflow_Temperature_Cel.

Device info:
ST1000NM0033, S/N:###, WWN:5-000c50-066eaff88, FW:SN06, 1.00 TB

For details see host's SYSLOG.
 
So I follow those steps to disable the notifications.
run this command to find your disks information
Code:
smartctl -a /dev/sda

get your problematic disk info. mine is like that ata-ST1000NM0033-9ZM173_Z1W49C71
so copy that info merge with this text: /dev/disk/by-id/ata-ST1000NM0033-9ZM173_Z1W49C71 -I 190
info: 190 code is for temperature issue code. so you can use it for another code like 194 or 197

after that run those commands to edit file
Code:
cd /etc
nano smartd.conf

and add this line to end of editing conf file: /dev/disk/by-id/ata-ST1000NM0033-9ZM173_Z1W49C71 -I 190

save it with control+O and exit with control+X

and reboot the server.

done.