Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: babb8dd712a4c1acda099de37f3426797c75b022
https://github.com/tribe29/checkmk/commit/babb8dd712a4c1acda099de37f3426797…
Author: Andreas Umbreit <andreas.umbreit(a)tribe29.com>
Date: 2022-02-02 (Wed, 02 Feb 2022)
Changed paths:
M agents/cmk-agent-ctl/src/cli.rs
M agents/cmk-agent-ctl/src/constants.rs
M agents/cmk-agent-ctl/src/main.rs
M agents/cmk-agent-ctl/src/pull.rs
M agents/cmk-agent-ctl/src/tls_server.rs
Log Message:
-----------
CMK-9405: Daemonize cmk-agent-ctl
- 'cmk-agent-ctl daemon' runs forever and handles pull and push
connections in seperate threads
- pull thread listens on port 6556 and handles incoming requests
one-at-a-time.
- push thread repeadetly handles registered push connections every
60 seconds.
- Replace systemd-pull socket by new cmk-agent-ctl daemon service.
- IP limitations and MaxConnections not implemented yet in cmk-agent-ctl.
- This is rather inefficient yet, as all connections are handled
synchronously.
Change-Id: I5a2acd0677f16e31328447b4c8cc75e7e840ac3d