Skip to content
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 plugin doesn't collect vendor-specific data with nvme-cli v1.14+ #10149

Closed
KubaTrojan opened this issue Nov 23, 2021 · 0 comments · Fixed by #10150
Closed

SMART plugin doesn't collect vendor-specific data with nvme-cli v1.14+ #10149

KubaTrojan opened this issue Nov 23, 2021 · 0 comments · Fixed by #10150
Labels
area/smart bug unexpected problem or unintended behavior

Comments

@KubaTrojan
Copy link
Contributor

Relevent telegraf.conf

[[inputs.smart]]
  path_smartctl = "/usr/sbin/smartctl"
  path_nvme = "/usr/sbin/nvme"
  enable_extensions = [ "Intel" ]
  use_sudo = true
  nocheck = "never"
  attributes = true
  devices = ["/dev/nvme0n1"]

System info

Telegraf 1.20.4, Ubuntu 18.04, nvme-cli 1.14

Docker

No response

Steps to reproduce

  1. Run Telegraf with SMART plugin enabled.
  2. Observe metrics.

Expected behavior

Telegraf successfully collects SMART metrics from nvme devices.

Actual behavior

When running Telegraf with a config with SMART plugin's Intel extension enabled, Intel specific metrics are not being reported for nvme drive.

Additional info

The output format of nvme-cli (v1.14+) has been changed, and SMART plugin doesn't read properly from it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/smart bug unexpected problem or unintended behavior
Projects
None yet
1 participant