# This is an example configuration file for the landscape client.
# It is not meant to be machine-readable, but to list all the existing configuration
# options it recognises so that you can create a valid, machine-readable configuration
# file (typically as /etc/landscape/client.conf).

# All lines starting with a pound sign should be considered comments.
# Values given are the default.

[client]

# GENERAL OPTIONS

# The directory in which landscape-client will store data files in.
data_path = /var/lib/landscape/client/

# If set to True, do not log to standard output.
quiet = False

# The directory in which to store log files.
log_dir = /var/log/landscape/

# The log level at which to log events.
# Values can be one of: "debug", "info", "warning", "error", "critical"
log_level = info

# The main URL for the landscape server to connect this client to. If you
# purchased a Landscape Dedicated Server (LDS), change this to point to your
# server instead. This needs to point to the message-system URL.
#
# Please pay special attention to the protocol used here, since it is a common
# source of error.
#
# Example:
#   url = https://landscape.example.com/message-system
url = https://landscape.canonical.com/message-system

# The ping url you want this client to report to.
#
# If you have purchased a Landscape Dedicated Server (LDS), change this to
# point to your server instead.
#
# Example:
#   ping_url = http://landscape.example.com/ping
ping_url = http://landscape.canonical.com/ping

# The public SSL certificate file against which the connection to the landscape
# server (set in "url") will be checked.
#
# This configuration entry is not set by default.
#
#ssl_public_key

# If set to True interrupt (SIGINT) signals will be ignored by the
# landscape-client daemon.
ignore_sigint = False

# If set to True, user signal 1 (SIGUSR1) will be ignored by the landscape
# client daemon.
# SIGUSR1 is used to force rotating logs.
ignore_sigusr1 = False

# MONITOR OPTIONS

# A comma-separated list of monitor plugins to use.
#
# Currently available monitor plugins are:
#
#   ActiveProcessInfo - lists active processes
#   ComputerInfo - various information
#   HardwareInventory - information provided by the "lshw" command
#   LoadAverage - load information
#   MemoryInfo - memory information
#   MountInfo - information about mount points (space available, used)
#   ProcessorInfo - type, speed, instruction sets
#   Temperature - temperature sensors information
#   PackageMonitor - packages installed, available, versions
#   UserMonitor - users, groups
#   RebootRequired - whether a reboot is required or not
#   NetworkActivity - network information (TX, RX)
#   NetworkDevice - a list of connected network devices
#   UpdateManager - controls when distribution upgrades are prompted
#
# The special value "ALL" is an alias for the full list of plugins.
monitor_plugins = ALL

# The number of seconds between monitor flushes.
flush_interval = 300 # 5 minutes

# BROKER OPTIONS

# The account name this computer belongs to.
# This configuration option has no default value.
#
# It is required that you define a value for this entry.
account_name = dummy

# An optional account-wide key used to register clients.
# You can define a registration key in your account settings.
# There is no key defined by default.
#registration_key = secret-key

# The computer title to report to the landscape server as identifying this
# computer.
#
# It is required that you define a value for this entry.
#computer_title = Database Server 1

# The number of seconds between server exchanges
exchange_interval = 900 # 15 minutes

# The number of seconds between urgent exchanges with the server.
urgent_exchange_interval = 60 # 1 minute

# The number of seconds between pings.
ping_interval = 30

# The number of seconds between apt update calls.
apt_update_interval = 21600

# The number of seconds between package monitor runs.
package_monitor_interval = 1800

# The URL of the http proxy to use, if any.
# This value is optional.
#
#http_proxy=http://my-proxy.example.com:8080

# The URL of the https proxy to use, if any.
# This value is optional.
#https_proxy=https://my-proxy.example.com:8081

# If set, your machine will be marked as a cloud instance.
cloud = True

# The One Time Password (OTP) that was given by cloud-init, to be used during
# registration.
#
# This has no default.
#otp = ABCD1234

# A comma-separated list of tags to attach to this computer.
#
# Example:
#   tags = servers, oneiric, database, production
#tags = example

# MANAGER OPTIONS

# A comma-separated list of monitor plugins to use.
#
# Currently available monitor plugins are:
#
#   ProcessKiller
#   PackageManager
#   UserManager
#   ShutdownManager
#   AptSources
#   HardwareInfo
#
# The special vale "ALL" is an alias for the full list of plugins.
manager_plugins = ALL

# A comma-separated list of usernames that scripts can run as.
#
# By default, all usernames are allowed.
script_users = ALL
