eve icon indicating copy to clipboard operation
eve copied to clipboard

enable CONFIG_NVME_HWMON

Open erkki opened this issue 3 years ago • 4 comments

Use case

Enable CONFIG_NVME_HWMON for monitoring of NVMe drives.

Describe the solution you'd like

CONFIG_NVME_HWMON exposes /sys/class/nvme/nvme0/device/hwmon which enables easier monitoring of NVMe drive health, including from unprivileged containers.

https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.5-NVMe-HWMON-Support

erkki avatar Oct 26 '21 14:10 erkki

Hey @erkki -- this is a good point, but how do you envision using those? I mean, EVE then would have to export this somehow to the controller, right?

rvs avatar Oct 27 '21 20:10 rvs

Our current thinking is to deploy a monitoring container that exposes a scrapeable interface (for other VMs etc to consume).

CONFIG_NVME_HWMON would enable this container to not be a privileged container (which currently works in tandem with nvme-cli)

erkki avatar Oct 29 '21 08:10 erkki

This makes sense @erkki -- would you do the honors by sending us a PR? ;-)

rvs avatar Nov 04 '21 16:11 rvs

Yes, let me take a look :)

erkki avatar Nov 15 '21 07:11 erkki