Presenting check_zpools - a Nagios plugin to monitor zfs pools

Written by - 2 comments

Published on - Listed in Nagios Solaris BSD Unix Monitoring ZFS


This week I compared several Nagios plugins to monitor zfs pools (see article Monitor zfs pools - which Nagios plugin should be used?). After having compared seven plugins found on exchange.nagios.org,  I finally decided to continue with plugin number 3 (check_zpools), a bash/shell plugin.

Although the plugin already "did its job", I had to make some changes anyway to guarantee compatibility to both Solaris and FreeBSD systems. Besides that I completely revamped the plugin; I added help, options and thresholds for pool usage and changed the "design" of the plugin.

The modified plugin can be found on my github account:
https://raw.githubusercontent.com/Napsty/check_zpools/master/check_zpools.sh

I successfully tested it on the following operating systems (no modifications or additional installations are necessary):
- Solaris 10
- Open Solaris 11
- SmartOS
- FreeBSD 8.3

I asked the author of the last version to merge my modifications, so I think the my adapted version will soon be available on Nagios Exchange.


Add a comment

Show form to leave a comment

Comments (newest first)

ck from wrote on Sep 9th, 2015:

Thanks, Andreas, for the information. Seems that github has changed the URLs for the raw files. New link is: https://raw.githubusercontent.com/Napsty/check_zpools/master/check_zpools.sh
I will update the article.


Andreas from Germany wrote on Sep 9th, 2015:

https://raw.githubusercontent.com/Napsty/nagios-plugins/master/check_zpools/check_zpools.sh
--> not found :-(


RSS feed

Blog Tags:

  AWS   Android   Ansible   Apache   Apple   Atlassian   BSD   Backup   Bash   Bluecoat   CMS   Chef   Cloud   Coding   Consul   Containers   CouchDB   DB   DNS   Database   Databases   Docker   ELK   Elasticsearch   Filebeat   FreeBSD   Galera   Git   GlusterFS   Grafana   Graphics   HAProxy   HTML   Hacks   Hardware   Icinga   Influx   Internet   Java   KVM   Kibana   Kodi   Kubernetes   LVM   LXC   Linux   Logstash   Mac   Macintosh   Mail   MariaDB   Minio   MongoDB   Monitoring   Multimedia   MySQL   NFS   Nagios   Network   Nginx   OSSEC   OTRS   Office   PGSQL   PHP   Perl   Personal   PostgreSQL   Postgres   PowerDNS   Proxmox   Proxy   Python   Rancher   Rant   Redis   Roundcube   SSL   Samba   Seafile   Security   Shell   SmartOS   Solaris   Surveillance   Systemd   TLS   Tomcat   Ubuntu   Unix   VMWare   VMware   Varnish   Virtualization   Windows   Wireless   Wordpress   Wyse   ZFS   Zoneminder