nodiesorg / nodies_monitoring

6 stars 3 forks source link

Add path.rootfs arg to cli arg list #20

Closed fortsoftware closed 1 year ago

fortsoftware commented 1 year ago

Issue ticket number and link

None

Description

Looking at the 'Machine metrics' I realized that it wasn't getting all the partitions in my system when I looked at the 'Disk space usage' metric. It was just getting / and /home.

Not being an expert, I decided to google and also went into trial-error mode. I found https://grafana.com/docs/grafana-cloud/quickstart/docker-compose-linux/ and noticed that in the config used for the tool, the --path.rootfs=/rootfs CLI argument is missing. So I added and then it started working. Note that in the screenshot below, you can see the transition before adding the CLI arguemtn and then after adding it. The next chunk in the graph shows more colors.

image

If for some reason the intention was to not show all of the partitions in the system, feel free to drop this PR.

Type of change

Please delete option that is not relevant.