I have just started using Glances and have added them to HASS without issue.
However, I cannot see any way to monitor more than one Disk (FILE SYS) FS as Glances only seems to monitor the first disk: sensor code.
Brilliant, thank you for your examples. I was really struggling with the JSON templates and started to dig myself into a hole. Looking at the glances component it would be great if someone would be able to do a pull request with an aim to modify the code to count the number of hard drives and return the values for all of them in an array-list or equivalent.
I’ve been using this for a while, but now Glances seems to be changing the array index order in which it reports the disks. It hadn’t done this for a while but seems to have changed it twice within a few days. This means the HA sensor is now reading a totally different drive than before.
How can I prevent this or is there better software to use? Has nobody else come across this?
Edit: Couldn’t be bothered to try and fix Glances. It’s easier to just grab the values manually via SSH and then you there’s no messing with ordering etc.