We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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?
The text was updated successfully, but these errors were encountered:
Thanks! I'll take a look.
Sorry, something went wrong.
@tuxis-ie Try https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/zfs.
https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/zfs
Just looking at the current code and this should be handled.
@tuxis-ie BTW what does /proc/spl/kstat/zfs/arcstats look like?
No branches or pull requests
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:
Not sure if that is completly correct, but maybe something to look at?
The text was updated successfully, but these errors were encountered: