#
# PCP archive logging configuration/control
#
# see pmlogger.control(5) for a description of the format
#

# === VARIABLE ASSIGNMENTS ===
#
# DO NOT REMOVE OR EDIT THE FOLLOWING LINE
$version=1.1

# Uncomment one of the lines below to enable/disable culling behaviour
# that is different to the pmlogger_daily(1) default [14].
# Value is days to keep, older archives are culled, 0 is immediate
# culling once the archive has been completed, "never" or "forever"
# suppresses culling.
#
#$PCP_CULLAFTER=0
#$PCP_CULLAFTER=3
#$PCP_CULLAFTER=never

# Uncomment one of the lines below to enable/disable compression behaviour
# that is different to the pmlogger_daily(1) default.
# Value is days before compressing archives, 0 is immediate compression,
# "never" or "forever" suppresses compression.
#
#$PCP_COMPRESSAFTER=0
#$PCP_COMPRESSAFTER=3
#$PCP_COMPRESSAFTER=never

# === LOGGER CONTROL SPECIFICATIONS ===
#
#Host		P?  S?	directory			args

# local primary pmlogger(1)
LOCALHOSTNAME	y   n	PCP_ARCHIVE_DIR/LOCALHOSTNAME	-r -T24h10m -c config.default -v 100Mb

# primary logpush from a local pmlogger(1) to a remote pmproxy(1)
# if this line is uncommented, the LOCALHOSTNAME line above must be
# commented out, as there can be at most one primary pmlogger(1) on each
# host where pmcd(1) is running
#
#LOCALHOSTNAME	y   n	+PCP_ARCHIVE_DIR/LOCALHOSTNAME	-r -T24h10m -c config.default -v 100Mb http://<remotehost>:44322 
#                       ^ the "+" here is important
#                                                   need to specify your remote pmproxy hostname here ^^^^^^^^^^^^
