Mercurial > hg > release > thermostat-1.6
view distribution/config/agent.properties @ 2034:92de1fab95ec
Make published agent address configurable.
For hosts sitting behind a router, the config
listen address of the agent's command channel
might not be resolvable by Thermostat clients
in front of the router. In those cases it's
useful to be able to configure the address
Thermostat shall publish to storage for clients
to use for establishing command channel
connections to agents.
Reviewed-by: neugens
Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2016-November/021689.html
PR3231
author | Severin Gehwolf <sgehwolf@redhat.com> |
---|---|
date | Mon, 14 Nov 2016 18:07:21 +0100 |
parents | 87c0133216f6 |
children |
line wrap: on
line source
# Indicates if this agent will save its data to the database on exit # or rather will purge the db SAVE_ON_EXIT=true # A netty-based side channel for accepting configuration/tuning # requests from the client will listen for connections on the address # configured here. # If this is removed or commented out, the default port is 127.0.0.1:12000 # If this includes an IPv6 address, enclose it in [ and ] like: # [1fff:0:a88:85a3::ac1f]:12000 CONFIG_LISTEN_ADDRESS=127.0.0.1:12000 # Related to CONFIG_LISTEN_ADDRESS. CONFIG_PUBLISH_ADDRESS will be used # as an address advertised to clients to reach the agent. If not specified # defaults to CONFIG_LISTEN_ADDRESS. This config value is useful if the # listen address of the agent is some local-only resolvable address. # In that case, specify the globally reachable address of the agent via # CONFIG_PUBLISH_ADDRESS. See CONFIG_LISTEN_ADDRESS for supported formats. #CONFIG_PUBLISH_ADDRESS=agent.example.com:12000 # Connection URL to storage. This can be overridden with the -d option # on the command line. DB_URL=http://127.0.0.1:8999/thermostat/storage