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:
I successfully tested it on the following operating systems (no modifications or additional installations are necessary):
- Solaris 10
- Open Solaris 11
- 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.
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:
--> not found :-(
AWS Android Ansible Apache Apple Atlassian BSD Backup Bash Bluecoat CMS Chef Cloud Coding Consul Container Containers CouchDB DB DNS Database Docker ELK Elasticsearch Filebeat FreeBSD Galera GlusterFS Grafana Graphics HAProxy HTML Hacks Hardware Icinga Icingaweb2 InfluxDB Internet Java KVM Kibana Kodi Kubernetes LTS 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 Redis SSL Samba Seafile Security Shell SmartOS Solaris Surveillance SystemD Systemd TLS Tomcat Ubuntu Unix VMWare VMware Varnish Virtualization Windows Wireless Wordpress Wyse ZFS Zoneminder