Skip to content

Smart_attributes not written to influxdb on NVME drive #6032

Closed
@coccobill1

Description

Relevant telegraf.conf:

[[outputs.influxdb]]

[[inputs.smart]]
  attributes = true

System info:

telegraf-1.11.0_windows_amd64
Windows 10 Pro
Smartmontools 7.0-1.win32
Samsung 970 EVO NVME drive

Steps to reproduce:

  1. Set up telegraf to output smart data to influxdb

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

Metadata

Assignees

Labels

area/smartbugunexpected problem or unintended behavior

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions