Skip to content

clara-j/pfsense_zfs_check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

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

About

Health check script for pfSense on ZFS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages