rfmoz / grafana-dashboards

Grafana dashboards

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disk Space Used doesn't list all mounted drives

pieterhelsen opened this issue · comments

First off, this is such a great Dashboard. As a total noob to both Prometheus and Grafana, I got all of this setup in under 30 minutes.
One of the things I would like to do is list the disk space for all my drives.

While Disk Ops lists all drives:
image

Disk Usage only lists /boot/efi and /
image

Most likely something on my end, could it be permission related? 🤔

I've found these options in /etc/default/prometheus-node-exporter:

  • --collector.diskstats.ignored-devices="^(ram|loop|fd|(h|s|v|xv)d[a-z]|nvme\\d+n\\d+p)\\d+$"
  • --collector.filesystem.ignored-mount-points="^/(dev|proc|run|sys|mnt|media|var/lib/docker)($|/)"

Changing these to

  • --collector.diskstats.ignored-devices="^(ram|loop|fd|)\\d+$"
  • --collector.filesystem.ignored-mount-points="^/(dev|proc|run|sys|media|var/lib/docker)($|/)"

Sufficed to get it up and running for my use case :)