Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 1.01 KB

README.md

File metadata and controls

26 lines (16 loc) · 1.01 KB

pfsense_zfs_check

Health check script for pfSense on ZFS.

This job will check all ZFS pools to confirm health state of them, trigger a scrub of the pool, and check if usage of the pool has not reached configurable value (default 50%)

Config file

By default the script will produce a warning when drive space is at 50% or greater. If you want to change this modify the following line

max_capacity=50

Usage

Setup a cron job under pfSense GUI: Services -> Cron -> Settings

Here is an example for a weekly job run

0 0 * * 0 root /root/pfsense_zfs_check.sh

Requirements

  • pfSense
  • Notifications setup under: System -> Advanced -> Notifications

Donation

If you find this useful and you would like to support please the use option below.

paypal