#####################################################################
# Example configuration file for perfmon. This file is read by
# /etc/init.d/perfmon and used to construct the command line
# arguments to pass to @BINDIR@/perfmon.

# uncomment lines to enable options.

PERFMON_FLAGS=""

# send lots of debug to /var/log/messages
#PERFMON_FLAGS="$PERFMON_FLAGS --debug"

# change loop time from default of 5 minutes to 1 minute
#PERFMON_FLAGS="$PERFMON_FLAGS --interval=60"

# Tell perfmon to request "5 second averages" from XAPI.  By default
# it requests "60 second averages" from XAPI.  The only valid options
# are 5 or 60.
#PERFMON_FLAGS="$PERFMON_FLAGS --rrdstep=5"

#####################################################################
# Advanced

# run only 10 loops then exit
#PERFMON_FLAGS="$PERFMON_FLAGS --numloops=10"

# Re-read the perfmon configuration for the host and all VMs
# every 10 minutes, instead of the default of every 1/2 hour.
# This increases the slave to master network traffic.
#
# (Note: XenCenter also "pushes" config changes so this is only a 
# failsafe!)
#PERFMON_FLAGS="$PERFMON_FLAGS --config_update_period=600"

# Change the dither on each loop period from the default of 5% to 10%.
# This is purely to prevent slaves becoming synchronised and
# making requests to the master at the same time.
#PERFMON_FLAGS="$PERFMON_FLAGS --interval_percent_dither=10"
