zfs-linux has issues on newer versions of ZFS
Opened this issue · 3 comments
tuxis-ie commented
https://github.com/librenms/librenms-agent/blob/master/snmp/zfs-linux errors on newer versions on ZFS because the format of /proc/spl/kstat/zfs/arcstats changed. There is no longer a 'p', but there are 'pm' and 'pd' values.
I now 'fixed' my local version with the following code:
if "p" in STATS:
P = STATS["p"]
else:
P = STATS["pd"]+STATS["pm"]
Not sure if that is completly correct, but maybe something to look at?
VVelox commented
Thanks! I'll take a look.