-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Smart_attributes not written to influxdb on NVME drive #6032
Comments
Thanks @coccobill1, could you also add the output of |
|
Looks like we are not setting tags correctly on the nvme device, for example this metric should have the
|
Yeah, also any idea why it only lists 4 attributes when there should be, um, 19? |
Or actually just 2 attributes twice (PoH and temp), for /dev/sde and /dev/nvme0. |
We have limited support for info in the NVMe log as it's not formatted in the same way as the normal attribute table, which look more like this:
I assume |
They are the same device yes, but yeah that's not an issue at all. Just really a shame if the only smart_attributes parsed are temperature (which already comes with the smart_device data) and power cycle count. Should I make a separate feature request for some key pre-fail attributes? I'd like to be able to pull at least "Media and Data Integrity Errors" and "Power On Hours". Sadly the drive doesn't report reallocated sectors, wear leveling count or uncorrectable errors for some reason. |
Yeah, could you open a new issue? |
Relevant telegraf.conf:
System info:
telegraf-1.11.0_windows_amd64
Windows 10 Pro
Smartmontools 7.0-1.win32
Samsung 970 EVO NVME drive
Steps to reproduce:
Expected behavior:
Smart_attribute data is written to influxdb.
Actual behavior:
It is not. :)
Smart_device data however is written as expected.
Additional info:
C:\Program Files\smartmontools\bin>smartctl --scan
/dev/sda -d ata # /dev/sda, ATA device
/dev/sdb -d ata # /dev/sdb, ATA device
/dev/sdc -d ata # /dev/sdc, ATA device
/dev/sdd -d ata # /dev/sdd, ATA device
/dev/sde -d nvme # /dev/sde, NVMe device
/dev/nvme0 -d nvme # /dev/nvme0, NVMe device
C:\Program Files\smartmontools\bin>smartctl --info --health --attributes --tolerance=verypermissive --nocheck never --format=brief -d nvme /dev/sde
smartctl 7.0 2018-12-30 r4883 [x86_64-w64-mingw32-w10-1803] (sf-7.0-1)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Number: Samsung SSD 970 EVO 500GB
Serial Number: S466NX0KA31720Y
Firmware Version: 2B2QEXE7
PCI Vendor/Subsystem ID: 0x144d
IEEE OUI Identifier: 0x002538
Total NVM Capacity: 500 107 862 016 [500 GB]
Unallocated NVM Capacity: 0
Controller ID: 4
Number of Namespaces: 1
Namespace 1 Size/Capacity: 500 107 862 016 [500 GB]
Namespace 1 Utilization: 295 934 984 192 [295 GB]
Namespace 1 Formatted LBA Size: 512
Namespace 1 IEEE EUI-64: 002538 5a81b10565
Local Time is: Sat Jun 22 02:41:21 2019 FLEDT
=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
SMART/Health Information (NVMe Log 0x02)
Critical Warning: 0x00
Temperature: 56 Celsius
Available Spare: 100%
Available Spare Threshold: 10%
Percentage Used: 0%
Data Units Read: 21 774 922 [11,1 TB]
Data Units Written: 15 592 894 [7,98 TB]
Host Read Commands: 183 297 031
Host Write Commands: 251 173 273
Controller Busy Time: 1 054
Power Cycles: 5
Power On Hours: 3 824
Unsafe Shutdowns: 2
Media and Data Integrity Errors: 0
Error Information Log Entries: 22
Warning Comp. Temperature Time: 0
Critical Comp. Temperature Time: 0
Temperature Sensor 1: 56 Celsius
Temperature Sensor 2: 69 Celsius
The text was updated successfully, but these errors were encountered: