# /etc/lowdisk.conf

# Sample config file for the "lowdisk" awk script.
#
# Blank lines and lines beginning with a # are ignored.
# (Lines merely containing a # are parsed normally.  No partial comments.)
# If any duplicate directives are given, the last occurrence is used.
#
# In this sample file, examples are given commented out.

# Maximum percent-used, over which alerts are reported.  Default 80.
#max 70

# One can optionally specify per-filesystem maximums:
#
#	fs <max> <filesystem>
#
# The filesystem specification is a regular expression pattern, given directly
# to awk(1) and checked against the mount-point of each filesystem.
# Thus use start-of-string anchor ^ to match a particular filesystem.
#
# One can use the special value "skip" for <max>, to not check any filesystems
# that matches that directive.
#
# If a mounted filesystem matches multiple "fs" directives, the filesystem
# will only be checked against the value from one directive, but *which* one
# is not defined.
#
# Examples:
#
#fs 50 ^/$
#fs 75 ^/home
#
# Following example would match any filesystem with "home" anywhere in the
# path (so /home or /usr/home or even /usr/tachometer/data/).
#
#fs 75 home
#
# Following example would exclude /run from checking.
#
#fs skip ^/run

# One can specify the disk free command line.  The output of the resulting
# command must match the POSIX format (device size used free percent mount).
# The default command is "df -l -P".
# -l local file systems only
# -P POSIX-portable format
#
# Adjust as needed for local system.  Some examples follow.
#
# For Linux:
#dfcmd df -l -P -x tmpfs
#
# For BSD:
#dfcmd df -l -P -t notmpfs,ptyfs
