Suppress log messages about 3ware disk temperature changes on CentOS?
- by Stefan Lasiewski
I have a number of CentOS 5 servers which use 3ware RAID controllers.
These servers are bugging my team with messages about minor temperature changes, like this:
Jun 8 12:32:39 HOST smartd[1231]: Device: /dev/twa0 [3ware_disk_01], SMART Usage Attribute: 194 Temperature_Celsius changed from 119 to 118
Jun 8 12:32:39 HOST smartd[1231]: Device: /dev/twa0 [3ware_disk_03], SMART Usage Attribute: 194 Temperature_Celsius changed from 122 to 121
How can I suppress these messages?
According to man smartd.conf :
To disable any of the 3 reports, set the corresponding limit to 0. Trailing zero arguments may be omitted. By default, all temperature reports are disabled (´-W 0´).
On my systems, smartd is reporting about temperature changes by default.
I tried a manual approach. In /etc/smartd.conf, I have the following:
/dev/twa0 -d 3ware,1 -a -W 0
/dev/twa0 -d 3ware,3 -a -W 0
But this still does not suppress the messages.
Since these messages show up in /var/log/messages, LogWatch is sending unnecessary emails every night.