Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Check a ZFS pool for health, fragmentation, capacity, and other statuses and metrics on Linux operating systems.
Current Version
2.0
Last Release Date
2020-12-12
Owner
Zach LaCelle
Website
https://github.com/zlacelle/nagios_check_zfs_linux
Download URL
https://github.com/zlacelle/nagios_check_zfs_linux/releases/latest
License
GPL
Compatible With
check_zfs_linux is a project to create a good Linux ZFS pool checking script for Nagios. I didn't like any of the other ones I found for various reasons (no perfdata, incomplete checks, too simplistic, flat out doesn't work), and I think this one is better.
Note that, if you have the zfs and zpool binaries in a non-standard location (i.e. not in /sbin), you need to modify the paths at the top of the script accordingly.
This script will check at a bare minimum for the HEALTH flag, and report accordingly. It will also report CAPACITY and FRAGMENTATION, which you can threshold for warnings/errors. Finally, it will report SIZE, ALLOC, FREE, and also HEALTH as an integer. All of this is made available through perfdata.
You need to be able to run the zfs and zpool binaries as root. One way is to edit your visudo file, which is documented in the code.
You must be logged in to submit a review.
To:
From: