Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_zfs_linux_py
2.0
2020-12-12
- Nagios 3.x
- Nagios 4.x
GPL
9439
File | Description |
---|---|
check_zfs.py | check_zfs python script for Linux |
LICENSE | GPL License |
README.md | README file |
CHANGELOG.md | CHANGELOG file |
check_zfs_py.te | SELinux configuration file |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
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.
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.
Reviews (0)
Be the first to review this listing!