-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZFS Pool IO stats are always 0% #200
Comments
I don't use ZFS so I probably won't be able to add any direct integration with ZFS utilities. Do the devices that make up the pool show up if you run Maybe as a workaround I can add a way for you to map the sum total I/O of multiple devices to the pool. Something like |
Thanks. Yep looks like I can get the individual disk stats with `cat /proc/diskstats'
Disks in ZFS pools (in output above)
The summation is not a bad idea if not too much effort. |
Great, thanks for confirming. I'll add this to the list. I do need to work on a different project for a bit to pay the bills so it will take some time. |
Awesome and totally understand, even as it stands today this has been one of my favorite additions to my homelab environment so thanks again. |
If I my ask @kernelkaribou, how did you reference your zfs pool in your docker compose? By directory or device-name (and if so, what device)? I get 0 data when using the directory method. |
After adding ZFS pools to my disks to monitor, the storage is represented but not IO Stats like "normal" disks. Presume this is due to the ZFS pool being represented as a group and not a single disk.
No expert but believe this is due to iostats being captured separate on ZFS. I only know of
zpool iostat
to produce metrics that show operations and bandwidth.Understanding is that the metrics is an average since boot of machine but can have flags
-y TIME (count)
to pick an average across a time frame and the number of times to capture (otherwise indefinite). Additionally I can get no headers to format and then use awk to get just the bandwidth metricsOne unfortunate behavior I have seen is that the time indicated is the start of the averaging so if you were to want 60 second averages it would need to run for 60 seconds (makes sense) but we cannot get a snapshot otherwise, meaning if 1 second was gathered which happened to be no activity may not represent the best metrics.
Would be nice to have ZFS stats if possible given my OCD and seeing the persistent 0 stat graphs for multiple pools. Alternatively if there was a way to filter those as well, that would be awesome. Not sure if there is the ability to tell the agent which stats to capture or not.
Love the project, thank you.
The text was updated successfully, but these errors were encountered: