# /etc/sysconfig/ldmsd -- shared defaults for every ldmsd@<instance>.
#
# Read by ldmsd@.service. For per-instance overrides, create
# /etc/sysconfig/ldmsd-<instance> (e.g. ldmsd-aggregator); it is read after this
# file and wins. Anything left commented out here falls back to the
# Environment= defaults compiled into the unit.

# Transport for the listening socket: sock, rdma, or fabric.
# rdma and fabric require the ovis-ldms-transports subpackage.
LDMSD_XPRT=sock

# Listening port. 411 is LDMS's registered default.
LDMSD_PORT=411

# Authentication plugin. munge is the CARC default and the reason this build
# exists -- it reuses the same munged the Slurm cluster already runs, so no
# separate LDMS key distribution is needed. Set to `none` only for local
# testing.
LDMSD_AUTH=munge

# Pre-allocated metric-set memory. 512M is generous for a sampler; an
# aggregator needs roughly (nodes) x (sets per node) x 4k, so override this in
# /etc/sysconfig/ldmsd-aggregator rather than raising it cluster-wide.
LDMSD_MEM=512M

# Log destination and verbosity. Use the literal string `syslog` to log to
# syslog instead of a file. Levels: DEBUG, INFO, WARN, ERROR, CRITICAL, QUIET.
#LDMSD_LOG=/var/log/ldms/ldmsd-sampler.log
LDMSD_LOG_LEVEL=INFO

# Any extra ldmsd arguments, appended verbatim. Example: pin the daemon name
# that appears in aggregated metric sets.
#LDMSD_OPTIONS="-n ${HOSTNAME}"
