[zfs-discuss] Best practices for monitoring ZFS filesystem/pool with nagios

Bond Masuda bond.masuda at jlbond.com
Thu Feb 11 23:01:10 EST 2016


Thanks for that! I'll look over the plugin code! Do you monitor anything 
from "zpool iostat -v" or something like that? Any monitoring of ZIL or 
L2ARC?

On 02/11/2016 03:26 PM, Omen Wild wrote:
> Quoting Bond Masuda via zfs-discuss <zfs-discuss at list.zfsonlinux.org> on Thu, Feb 11 13:25:
>> I'm looking into how to monitor ZFS health with nagios plugins. I see there
>> are some older deprecated Nagios plugins, and some new ones. I was wondering
>> if those more experienced in using ZFS on Linux in a production environment
>> can share some of their best practices regarding monitoring, and especially
>> if you're using Nagios for monitoring.
> I have attached the one I modified from https://exchange.icinga.org/.
> I expanded it to return performance data and to be pretty verbose in
> what it returns via NRPE.
>
> CRITICAL: ZFS on YourHost: YourHost is DEGRADED [raidz3-2: scsi-SATA_ST3000DM001-1CH_W1F28V5K(UNAVAIL)]
>
> I call it like this:
> /usr/lib/nagios/plugins/check_zfs --checkzpool --mounted --performance -p
>



More information about the zfs-discuss mailing list