15 lines
376 B
Markdown
15 lines
376 B
Markdown
Quick and dirty script to check if ZFS-ZPools are "Online" (e.g. not degraded) or Missing.
|
|
|
|
Requires: Bash
|
|
|
|
Install the ... template.xml in Zabbix
|
|
|
|
|
|
Example crontab:
|
|
```
|
|
*/10 * * * * root /opt/scripts/zbx-zpool.bash main1,bulk1
|
|
```
|
|
First parameter is ","-delimited list of pools to check
|
|
Optional second parameter allows to specifiy an alternate Zabbix-Server-address
|
|
|