### Flowcap configuration file  -*- sh -*-
##
## The canonical pathname for this file is ${prefix}/etc/flowcap.conf
##
## RCSIDENT("$SiLK: flowcap.conf.in 13332 2009-01-09 18:35:26Z mthomas $")

# Set to non-empty value to enable flowcap
ENABLED=

# These are convenience variables for setting other values in this
# configuration file; their use is not required.
prefix=/usr/local
exec_prefix=${prefix}
statedirectory=${prefix}/var/lib/flowcap

# If CREATE_DIRECTORIES is set to "yes", the directories named in this
# file will be created automatically if they do not already exist
CREATE_DIRECTORIES=no

# Full path of the directory containing the "flowcap" program
FLOWCAP_BIN=${exec_prefix}/sbin

# Full path to sensor configuration file
SENSOR_CONFIG=

# Location of site configuration file.  Sets the --silk-config-file
# option for flowcap.  See the flowcap(8) man page for details about
# where flowcap will look for this file if SITE_CONFIG is left blank.
SITE_CONFIG=

# List of probes to use from the sensor configuration file.  Comma
# separated, no spaces.  Leave blank if all probe definitions should
# be used.
PROBES=

# Amount of disk space before file quanta times out
MAX_FILE_SIZE=1M

# Number of seconds before file quanta time out
TIMEOUT=60

# Which mode to run in, "local" or "server"
MODE=local


### Local storage mode options

# Location where flowcap files will be created
DESTINATION_DIR=${statedirectory}/destination

# Minimum amount of free space on disk until we stop
FREESPACE_MIN=1g

# Maximum percentage of the disk to use
FULLSPACE_MAX=98.00


### Deprecated server-mode options

# Port upon which flowcap is listening for client connections
PORT=

# Address of host from which to accept client connections
CLIENT_ADDR=

# Disk storage directory
DISK_DIR=${statedirectory}/disk

# Amount of space (in bytes) disk storage has
DISK_SPACE=100G

# Ram disk mount point
RAM_DIR=${statedirectory}/ram

# Amount of space (in bytes) ram disk has
RAM_SPACE=0


###

# The type of logging to use.  Valid values are "legacy" and "syslog".
LOG_TYPE=syslog

# The lowest level of logging to actually log.  Valid values are:
# emerg, alert, crit, err, warning, notice, info, debug
LOG_LEVEL=info

# The full path of the directory where the log files will be written
# when LOG_TYPE is "legacy".
LOG_DIR=${statedirectory}/log

# The full path of the directory where the PID file will be written
PID_DIR=${LOG_DIR}

# The user this program runs as; root permission is required only when
# flowcap listens on a privileged port.
USER=root

# Extra options to pass to flowcap
EXTRA_OPTIONS=
