How do I cut off warnings of syslog generated by smartd?

0

I have a lot of messages like this on the syslog file: smartd[3823]: Device: /dev/sda, failed to read Temperature

When I teste with the smartctl -i /dev/sda:

Temperature Warning: Disabled or Not Supported

I just want to cut off scan of the temperatur (it isn't supported) and I can't desable the whole smartd, because it provides many others resources. I search in the man pages of the smartctl and smartd, all that I got is:

**# Alternative setting to ignore temperature and power-on hours reports in syslog.

DEVICESCAN -d removable -I 194 -I 231 -I 9**

So I wrote: /dev/sda -I 194 -I 231 -I 9, but the log is still generated every single day.

Mauro Matsudo

Posted 2019-04-23T13:18:52.280

Reputation: 41

No answers