Differences
This shows you the differences between two versions of the page.
zpool [2015/02/03 14:58] – Søren Klintrup | zpool [2023/12/03 14:33] (current) – Moved to GitHub Søren Klintrup | ||
---|---|---|---|
Line 1: | Line 1: | ||
======= monitor zfs from nagios/NRPE or cron on FreeBSD ======= | ======= monitor zfs from nagios/NRPE or cron on FreeBSD ======= | ||
- | ===== Synopsis | + | ===== MOVED ====== |
- | I wrote this simple check-script | + | The official source |
- | ===== Syntax ====== | + | [[https://github.com/Klintrup/ |
- | + | ||
- | '' | + | |
- | + | ||
- | If no arguments are specified, the script will assume its run for NRPE. | + | |
- | If one or more email addresses are specified, the script will send an email in case an array reports an error. | + | |
- | + | ||
- | ===== Output ====== | + | |
- | '' | + | |
- | + | ||
- | Failed/ | + | |
- | + | ||
- | ==== Output Examples ==== | + | |
- | + | ||
- | ^ output ^ description ^ | + | |
- | | ok | The device is reported as ok by zpool | | + | |
- | | DEGRADED | The RAID volume is degraded, it's still working but without the safety of RAID, and in some cases with severe performance loss. | | + | |
- | | rebuilding | The RAID is rebuilding, will return to OK when done | | + | |
- | | unknown state | Volume is in an unknown state. Please report this to me (soren at klintrup.dk) so I can update the script include the following output '' | + | |
- | + | ||
- | ===== Compability ===== | + | |
- | Should work on all versions of < | + | |
- | + | ||
- | Tested on < | + | |
- | + | ||
- | ===== Download ===== | + | |
- | ==== Latest version ==== | + | |
- | Latest version 1.2 | + | |
- | + | ||
- | {{files: | + | |
- | + | ||
- | ==== Old version ==== | + | |
- | {{files: | + | |
- | + | ||
- | ===== Changelog ===== | + | |
- | + | ||
- | === 1.2 === | + | |
- | o minor output issue with FreeBSD 10+ | + | |
- | === 1.1 === | + | |
- | o Can now email an address of choice, just use email address(es) as arguments to shellscript | + | |
- | o check if zpool command exists on system before running script | + | |
- | === 1.0 === | + | |
- | o Initial public release | + | |
- | Based on my check_smartarray.sh script. | + |