Created
May 24, 2013 08:36
-
-
Save aortmannm/5642137 to your computer and use it in GitHub Desktop.
request zpool status in zabbix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Create zfs.conf in /usr/local/etc/zabbix_agentd.conf.d/ | |
vi /usr/local/etc/zabbix_agentd.conf.d/zfs.conf | |
## Copy into zfs.conf | |
UserParameter=zpool.health[*],zpool list -H -o health $1 | |
## in zabbix_agentd.conf include the conf.d directory | |
vi /usr/local/etc/zabbix_agentd.conf | |
Include=/usr/local/etc/zabbix_agentd.conf.d/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment