ganglia / monitor-core

Ganglia Monitoring core
BSD 3-Clause "New" or "Revised" License
490 stars 246 forks source link

Handle NVMe devices correctly in diskstat.py #310

Open ashevtsov-mt opened 4 years ago

ashevtsov-mt commented 4 years ago

NVMe device names in AWS EC2 instances end with a digit /dev/nvme[0-26]n1 (see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nvme-ebs-volumes.html). This PR adds correct handling of NVMe devices in diskstat Python module. Otherwise, NVMe disks get ignored and metrics are not collected.