forked from canonical/landscape-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.conf
215 lines (176 loc) · 6.53 KB
/
example.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
# 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
# The ratio over which to spread landscape intervals. This is to mitigate
# the impact of restarting the host of multiple landscape-client instances.
# Values range from 0.0 to 1.0, from unstaggered to spreading over
# the full interval.
#
# Default value is 0.1, meaning jobs will start with up to 10% delay
#
# Example:
# stagger_launch = 0.5
# 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
# 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
# AptPreferences - system APT preferences configuration
# NetworkActivity - network information (TX, RX)
# NetworkDevice - a list of connected network devices
# UpdateManager - controls when distribution upgrades are prompted
# CPUUsage - CPU usage information
# SwiftUsage - Swift cluster usage
# CephUsage - Ceph usage information
# ComputerTags - changes in computer tags
# UbuntuProInfo - Ubuntu Pro registration information
# LivePatch - Livepath status information
# UbuntuProRebootRequired - informs if the system needs to be rebooted
# SnapServicesMonitor - manage snap services
#
# 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 number of seconds between snap monitor runs.
snap_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 manager plugins to use.
#
# Currently available manager plugins are:
#
# ProcessKiller
# PackageManager
# UserManager
# ShutdownManager
# AptSources
# HardwareInfo
# KeystoneToken
# SnapManager
# SnapServicesManager
#
# The special value "ALL" is an alias for the entire list of plugins above and is the default.
manager_plugins = ALL
# A comma-separated list of manager plugins to use in addition to the default ones.
#
# The ScriptExecution manager plugin is not enabled by default.
# The following example would enable it.
#include_manager_plugins = ScriptExecution
# A comma-separated list of usernames that scripts can run as.
#
# By default, all usernames are allowed.
#script_users = ALL
# The maximum script output length transmitted to landscape
# Output over this limit is truncated
#
# The default is 512kB
# 2MB is allowed in this example
#script_output_limit=2048
# Whether files in /etc/apt/sources.list.d are removed when a repository
# profile is added to this machine.
#
# The default is True
#manage_sources_list_d = True
# Set this for WSL instances managed by Landscape. The value
# should match the uid assigned to the host machine.
# For all other computers, do not set this parameter.
#hostagent_uid = the-uid-of-the-host-machine