Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_zfs
168973
File | Description |
---|---|
check_zfs.tar.gz | Version 0.9.2 |
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!
The plugin is designed only to monitor the status of Sun Microsystems ZFS zpools, and whether they are ONLINE (which is good) or DEGRADED (which is not good) or worse (which will result in a critical alert). The plugin can be told to only display the overall zpool health, or include the status of virtual and real devices as well.
The plugin accepts two arguments -- namely, The name of the zpool you are monitoring, and the level of verbose output you want shown in Nagios.
Usage: check_zfs (zpool name) (verbosity level 1-3)
(Example: check_zfs tank 2)
Verbose levels:-
(1) Display only zpool health and pool size statistics
(2) In addition, display problem devices when zpool health is not OK
(3) Display all zpool related device status regardless of zpool health
The plugin returns an OK result if the zpool is functioning OK. In the case of a disk failure or zpool device disappearance, as long as the zpool itself is still reliably holding data even in a DEGRADED mode, Nagios will display WARNINGS. CRITICAL events will typically only occur when your zpool has failed or is unavailable (or was never there to begin with!)
You MAY want to ensure that WARNINGs produced by this plug-in send out alerts. Refer to Nagios documentation.
(Please note that check_zfs and indeed, the zpool command, need root privileges under FreeBSD 7.0-RELEASE in order to poll ZFS pools. In this case, you will have to set up nagios and/or nrpe to call the plugin via sudo. Refer to Nagios documentation for how to do this.)
check_zfs also works if called from nrpe, too.
The plugin accepts two arguments -- namely, The name of the zpool you are monitoring, and the level of verbose output you want shown in Nagios.
Usage: check_zfs (zpool name) (verbosity level 1-3)
(Example: check_zfs tank 2)
Verbose levels:-
(1) Display only zpool health and pool size statistics
(2) In addition, display problem devices when zpool health is not OK
(3) Display all zpool related device status regardless of zpool health
The plugin returns an OK result if the zpool is functioning OK. In the case of a disk failure or zpool device disappearance, as long as the zpool itself is still reliably holding data even in a DEGRADED mode, Nagios will display WARNINGS. CRITICAL events will typically only occur when your zpool has failed or is unavailable (or was never there to begin with!)
You MAY want to ensure that WARNINGs produced by this plug-in send out alerts. Refer to Nagios documentation.
(Please note that check_zfs and indeed, the zpool command, need root privileges under FreeBSD 7.0-RELEASE in order to poll ZFS pools. In this case, you will have to set up nagios and/or nrpe to call the plugin via sudo. Refer to Nagios documentation for how to do this.)
check_zfs also works if called from nrpe, too.
Reviews (1)
Good plugin to check ZFS. I fixed some small issues and added some new ones - see http://karlsbakk.net/nagios/check_zfs
roy
roy