On-Premise Agent Server
The on-premise agent comes equipped with an optional http server. This server is default off, but it can be enabled via the config. This server contains an endpoint/info that displays information about the current on-premise agent environment and Lumos connectivity status.
Agent Configuration
The http server and its port are configurable through the various config methods the on-premise agent provides. The server is default disabled; when the server is enabled, the default port is 10002.settings.toml file
Within the settings.toml file that exists in the decompressed Lumos On-Premise Agent files, set the keys to your desired value:
Environment Variable
For both Windows and Linux Agents, the environment variables areLUMOS_ON_PREMISE_AGENT_HTTP_ENABLE_SERVER and LUMOS_ON_PREMISE_AGENT_HTTP_SERVER_PORT
On-Premise Agent Info
The http server has aninfo endpoint that returns information about the target agent.
Example On-Premise Agent Info Response
- connected (boolean) - True if the agent has a connection to lumos, False if not
- domain_name (string) - This is the domain name that the agent was last connected to
- cluster_id (string) - This is the cluster identifier if a
cluster_idis set for the agent - operation_mode (string) - This is the current operation mode set for the agent.
- connectors (dict) - This is a registry of the all the connectors that the agent recognizes. Each registry entry contains the connector name as the
app_idand the version of the connector - version (string) - This is the version of the agent