# ::copy::
# ::maintainer::
#
# uses:
#
# \::monitor.min_free_space_sys\::
# \::monitor.min_free_space_data\::
# \::path.datadir\::
# \::contact.sysadmin.email\::
#
[check.auto-check-freespace]
  savestate	false
  interval	60
  test		FREE_SPACE \
  			/ ::monitor.min_free_space_sys:: \
			::path.datadir:: ::monitor.min_free_space_data:: \
			/dev/shm ::monitor.min_free_space_tmpfs::
  action_fail	MAILTO	::contact.sysadmin.email:: \
  			"WARNING: disk/memory low on $(uname -n)!" \
			"$(cat $TEMPDIR/free_space.stats)"
