/cc @glinton Re: #5765
Relevant telegraf.conf:
System info:
Telegraf 1.10.3 (via telegraf:alpine docker container)
smartctl 6.6 2017-11-05 r4594 (installed via Alpine apk)
Example drive: Samsung SSD 850 PRO 256GB
Steps to reproduce:
- Use a device such as a Samsung SSD 850 which reports a temperature reading at SMART attribute 190 instead of the more typical attribute 194.
Expected behavior:
temp_c would be populated as for other drives
Actual behavior:
temp_c is not populated for this drive
Additional info:
Link to documented purpose of attribute 190 for a Samsung EVO 840: http://downloadcenter.samsung.com/content/UM/201711/20171115113444860/Samsung_SSD_White_Paper.pdf
ID # 190 Air Flow temperature
The current temperature of the area surrounding the NAND chips inside of the SSD
This attribute 190 is also listed in issue #3540 for a drive model INTEL SSDSC2KB038T7 where it appears to likewise contain a valid Celsius temperature comparable in range to that drive's reported attribute 194 temperature.
Other examples of drives which report temperature at attribute 190 instead of the more typical 194 include this family of Samsung SSDs (see white paper link above: appears to be a temperature probe near the NAND array), as well as a few Hitachi HDDs. These can be found in the drive database for the tool hddtemp, such as Gentoo's maintained table here: https://gitweb.gentoo.org/repo/gentoo.git/tree/app-admin/hddtemp/files/hddgentoo.db
Gentoo's table mentions the following drives:
"Hitachi HTS725050A9A364" 190 C "Hitachi Travelstar 7K500 500GB SATA2 7200RPM 16MB"
"Samsung SSD 850 EVO" 190 C "Samsung SSD 850 EVO Series"
"Samsung SSD 840 Series" 190 C "Samsung SSD 840 Series"
"Samsung SSD 840 PRO Series" 190 C "Samsung SSD 840 Pro Series"
"Samsung SSD 840 EVO" 190 C "Samsung SSD 840 EVO Series"
"SAMSUNG SSD 830 Series" 190 C "Samsung SSD 830 Series"
"Hitachi HTS547575A9E384" 190 C "Hitachi Travelstar 5K750 750GB SATA2 5400RPM 8MB"
"Samsung SSD 850 PRO 128G" 190 C "Samsung SSD 850 PRO 128G"
For the example drives in my system, here is the detailed output of smartctl --info --attributes --health --format=brief:
# smartctl --info --attributes --health --format=brief /dev/sdf
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.18.20-unRAID] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Samsung based SSDs
Device Model: Samsung SSD 850 PRO 256GB
Serial Number: [cut]
LU WWN Device Id: [cut]
Firmware Version: EXM02B6Q
User Capacity: 256,060,514,304 bytes [256 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2, ATA8-ACS T13/1699-D revision 4c
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Wed May 1 02:45:49 2019 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE
5 Reallocated_Sector_Ct PO--CK 100 100 010 - 0
9 Power_On_Hours -O--CK 096 096 000 - 19962
12 Power_Cycle_Count -O--CK 099 099 000 - 55
177 Wear_Leveling_Count PO--C- 098 098 000 - 70
179 Used_Rsvd_Blk_Cnt_Tot PO--C- 100 100 010 - 0
181 Program_Fail_Cnt_Total -O--CK 100 100 010 - 0
182 Erase_Fail_Count_Total -O--CK 100 100 010 - 0
183 Runtime_Bad_Block PO--C- 100 100 010 - 0
187 Uncorrectable_Error_Cnt -O--CK 100 100 000 - 0
190 Airflow_Temperature_Cel -O--CK 077 066 000 - 23
195 ECC_Error_Rate -O-RC- 200 200 000 - 0
199 CRC_Error_Count -OSRCK 100 100 000 - 0
235 POR_Recovery_Count -O--C- 099 099 000 - 15
241 Total_LBAs_Written -O--CK 099 099 000 - 7826941661
||||||_ K auto-keep
|||||__ C event count
||||___ R error rate
|||____ S speed/performance
||_____ O updated online
|______ P prefailure warning
/cc @glinton Re: #5765
Relevant telegraf.conf:
System info:
Telegraf 1.10.3 (via
telegraf:alpinedocker container)smartctl 6.6 2017-11-05 r4594 (installed via Alpine
apk)Example drive: Samsung SSD 850 PRO 256GB
Steps to reproduce:
Expected behavior:
temp_cwould be populated as for other drivesActual behavior:
temp_cis not populated for this driveAdditional info:
Link to documented purpose of attribute 190 for a Samsung EVO 840: http://downloadcenter.samsung.com/content/UM/201711/20171115113444860/Samsung_SSD_White_Paper.pdf
This attribute 190 is also listed in issue #3540 for a drive model
INTEL SSDSC2KB038T7where it appears to likewise contain a valid Celsius temperature comparable in range to that drive's reported attribute 194 temperature.Other examples of drives which report temperature at attribute 190 instead of the more typical 194 include this family of Samsung SSDs (see white paper link above: appears to be a temperature probe near the NAND array), as well as a few Hitachi HDDs. These can be found in the drive database for the tool
hddtemp, such as Gentoo's maintained table here: https://gitweb.gentoo.org/repo/gentoo.git/tree/app-admin/hddtemp/files/hddgentoo.dbGentoo's table mentions the following drives:
For the example drives in my system, here is the detailed output of
smartctl --info --attributes --health --format=brief: