Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Ensure nvme_exporter can work with nvme-cli v2.11#2

Open
BigValen wants to merge 8 commits intofritchie:mainfrom
BigValen:main
Open

Ensure nvme_exporter can work with nvme-cli v2.11#2
BigValen wants to merge 8 commits intofritchie:mainfrom
BigValen:main

Conversation

@BigValen
Copy link

Newer versions of nvme-cli have different output formats to JSON. The JSON can also change, depending on how many nvme controllers are present. This works with all current releases. Added some basic unittests to ensure that conversions/JSON parsing is good.

This also gives the ability to change the temperature exporter, to Kelvin (as per NVMe spec), Celcius (as per Prometheus node_exporter and other tools), and Fahrenheit (used in some environments).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant