I’m running Home Assistant in docker on my server. I would like to monitor ZFS statistics like error rates, and ARC/L2ARC Hits/Misses.
I figure there is zpool status and there is arc_summary. I figure I’d probably have to use a command line sensor. But there are things I would need help with.
- I am not familiar with grep.
- Is it possible to pull multiple values from the same response, or will I need to run arc_summary for each value?
- Is there already some sort of integration hidden somewhere that I can use? I didn’t see any in the default list or HACS.
I also thought about doing a python script. Then I could have it collect a wider range of values and send them back. Like SMART data, spnning/not spinning, temperatures etc. But it could be a bit of a pain and a lot of testing and retesting, so I want to make sure there isn’t something for this already.