Skip to content

Communication link

The communication between lmio-collector and lmio-receiver is named "commlink", short for the Communication Link.

Production setup

The production setup is that Collector (lmio-collector) connects over HTTPS via NGINX server to Receiver (lmio-receiver).

graph LR
  lmio-collector -- "websocket & SSL" --> n[NGINX]
  n[NGINX] --> lmio-receiver

Diagram: Production setup

The Communication Link is protected by the mutual SSL authorization. It means that each lmio-collector is equipped by the private key and the client SSL certificate. These are used to authenticate the collector. This mechanism also provide a strong encryption of the traffic between the collector and the central part of the

The websocket is used as a primary communication protocol but HTTPS calls from the collector are also utilized. The collector keeps the websocket connection to the receiver open for a long period of a time. When the communication link from the collector is terminated, the collector tries to reconnect periodically.

Non-production setup

The direct connection from lmio-collector to lmio-receiver is also supported. It is suitable for non-production setups such as testing or development.

graph LR
  lmio-collector -- "websocket & SSL" --> lmio-receiver

Diagram: Non-production setup