Flooded messages for temps

ieronymous

Well-Known Member
Apr 1, 2019
285
23
58
45
I am having below type of syslog messages for hdd temps attribute which is both insanely high, when the room is constantly at 19 degrees Celsius and smart data showing all temps of disks between 29 -32 for sas drives and 38-41 for the sata ones

Jun 26 11:37:45 HHprox smartd[4621]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 75 to 74
Jun 26 11:37:45 HHprox smartd[4621]: Device: /dev/sdb [SAT], SMART Usage Attribute: 190 Airflow_Temperature_Cel changed from 57 to 56
Jun 26 11:37:45 HHprox smartd[4621]: Device: /dev/sdb [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 43 to 44
Jun 26 11:37:45 HHprox smartd[4621]: Device: /dev/sdg [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 162 to 157
Jun 26 11:37:45 HHprox smartd[4621]: Device: /dev/sdh [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 171 to 166
Jun 26 11:37:45 HHprox smartd[4621]: Device: /dev/sdi [SAT], SMART Usage Attribute: 190 Airflow_Temperature_Cel changed from 60 to 59
Jun 26 11:37:45 HHprox smartd[4621]: Device: /dev/sdi [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 40 to 41
Jun 26 11:37:45 HHprox smartd[4621]: Device: /dev/sdj [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 71 to 70
Jun 26 11:37:45 HHprox smartd[4621]: Device: /dev/sdk [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 118 to 117

Does someone else have these kind of weird temps flooding syslog window every now and then?
 
Yes, these are normal. These values also often doesn't mean temperatures in degree celsius. Its the "VALUE" and not the "RAW_VALUE". For exmaple here
smartctl -a /dev/sda will show:
Code:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
190 Temperature_Case        0x0022   070   068   000    Old_age   Always       -       30 (Min/Max 21/32)

Then I might see logs like "Device: /dev/sda [SAT], SMART Usage Attribute: 190 Temperature_Case changed from 69 to 70" but that doesn't mean its 70 degree. Its just a VALUE of 70 which relates to 30 degee celsius.

"smartd.conf" got some options to limit logging of temperature ranges you can define. But didn't tested it myself:
https://linux.die.net/man/5/smartd.conf
W DIFF[,INFO[,CRIT]]Report if the current temperature had changed by at least DIFF degrees since last report, or if new min or max temperature is detected. Report or Warn if the temperature is greater or equal than one of INFO or CRIT degrees Celsius. If the limit CRIT is reached, a message with loglevel 'LOG_CRIT' will be logged to syslog and a warning email will be send if '-m' is specified. If only the limit INFO is reached, a message with loglevel 'LOG_INFO' will be logged.
The warning email counter is reset if the temperature dropped below INFO or CRIT-5 if INFO is not specified.

If this directive is used in conjunction with state persistence ('-s' option), the min and max temperature values are preserved across boot cycles. The minimum temperature value is not updated during the first 30 minutes after startup.

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').

To track temperature changes of at least 2 degrees, use:

-W 2

To log informal messages on temperatures of at least 40 degrees, use:-W 0,40

For warning messages/mails on temperatures of at least 45 degrees, use:-W 0,0,45

To combine all of the above reports, use:-W 2,40,45

For ATA devices, smartd interprets Attribute 194 as Temperature Celsius by default. This can be changed to Attribute 9 or 220 by the drive database or by the '-v' directive, see below.
 
Last edited:
Then I might see logs like "Device: /dev/sda [SAT], SMART Usage Attribute: 190 Temperature_Case changed from 69 to 70" but that doesn't mean its 70 degree. Its just a VALUE of 70 which relates to 30 degee celsius
So it is pointless to show these kind of messages in syslog, when they don t reflect real values and the user has to make formulas to calculate the real ones.
"smartd.conf" got some options to limit loging of temperature rages you can define. But didn't tested it myself:
Thank you for this
 
  • Like
Reactions: Kingneutron
there is nothing to worry about
it is the temperature on the Fahrenheit scale
for example:
75F = 24C
85F = 30C
115F = 46C
Worry about the SSD when the temperature reaches:
149F - 65C = attention- check cooling
158F - 70C = critical - replace the drive
 
there is nothing to worry about
it is the temperature on the Fahrenheit scale
for example:
75F = 24C
85F = 30C
115F = 46C
Worry about the SSD when the temperature reaches:
149F - 65C = attention- check cooling
158F - 70C = critical - replace the drive
You realy dont see:
Jun 26 11:37:45 HHprox smartd[4621]: Device: /dev/sdh [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 171 to 166
Celsius !=Fahrenheit

I have same error. My PC reboot. Every time when i get in log same messages.

Help any body.