2018-06-01 20:29:11 +00:00
|
|
|
# Increase log verbosity
|
|
|
|
log_level = "DEBUG"
|
|
|
|
|
|
|
|
# Setup data dir
|
|
|
|
data_dir = "/tmp/client2"
|
|
|
|
|
|
|
|
# Give the agent a unique name. Defaults to hostname
|
|
|
|
name = "client2"
|
|
|
|
|
2019-05-06 19:44:55 +00:00
|
|
|
# Enable debugging
|
|
|
|
enable_debug = true
|
|
|
|
|
2018-06-01 20:29:11 +00:00
|
|
|
# Enable the client
|
|
|
|
client {
|
|
|
|
enabled = true
|
2019-07-20 14:55:07 +00:00
|
|
|
|
2018-06-01 20:29:11 +00:00
|
|
|
server_join {
|
|
|
|
retry_join = ["127.0.0.1:4647", "127.0.0.1:5647", "127.0.0.1:6647"]
|
|
|
|
}
|
2019-07-20 14:55:07 +00:00
|
|
|
|
2019-04-12 14:21:25 +00:00
|
|
|
meta {
|
|
|
|
tag = "foo"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
plugin "raw_exec" {
|
|
|
|
config {
|
|
|
|
enabled = true
|
|
|
|
}
|
2018-06-01 20:29:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ports {
|
|
|
|
http = 8646
|
|
|
|
}
|