Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: f7e746912b436c0768bb0ff75dbd20f7d33cab70
https://github.com/tribe29/checkmk/commit/f7e746912b436c0768bb0ff75dbd20f7d…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-10-21 (Thu, 21 Oct 2021)
Changed paths:
A omd/packages/mk-livestatus/.f12
Log Message:
-----------
Add omd/packages/mk-livestatus/.f12
* copy ./skel/etc/ to etc/ in the site
* replace the ###PLACEHOLDERS### defined in `omd/omdlib/contexts.py`
Note, we use a less usual '|' in the definition of the substitution
because $ROOT is a path that contains the '/' characters.
CMK-8683
Change-Id: I638780808b26cec981abb00ab2f6e2a0a257d031
Commit: d65b5c64414fa50795e426596397c95630aeffc0
https://github.com/tribe29/checkmk/commit/d65b5c64414fa50795e426596397c9563…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-10-21 (Thu, 21 Oct 2021)
Changed paths:
M omd/packages/mk-livestatus/.f12
M omd/packages/mk-livestatus/LIVESTATUS_TCP_ONLY_FROM
M omd/packages/mk-livestatus/LIVESTATUS_TCP_PORT
A omd/packages/mk-livestatus/skel/etc/mk-livestatus/livestatus.socket
A omd/packages/mk-livestatus/skel/etc/mk-livestatus/livestatus@.service
Log Message:
-----------
Convert configuration xinetd -> systemd #1
This patch adds systemd units that are equivalent to our xinetd
configuration as well as the corresponding string replacement.
This can readily be used with:
* f12 under `omd/packages/mk-livestatus`
* (as the site user)
** omd stop
** omd config set LIVESTATUS_TCP on
** omd config set LIVESTATUS_TCP_TLS off
** omd start
** omd stop xinetd
* (as root)
** systemctl enable livestatus.socket
** systemctl start livestatus.socket
* (as the normal user, not necessarily the site user)
** echo "GET hosts\nColumns: name address\n" | netcat 127.0.0.1 6557
CMK-8683
Change-Id: I77a710c562a5be1781c19ae1cb92a17e14deb13c
Commit: c2d8bd6a3455c15b7bdcc17b99267aa6857f6c5e
https://github.com/tribe29/checkmk/commit/c2d8bd6a3455c15b7bdcc17b99267aa68…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-10-21 (Thu, 21 Oct 2021)
Changed paths:
M omd/packages/mk-livestatus/.f12
M omd/packages/mk-livestatus/skel/etc/mk-livestatus/livestatus@.service
Log Message:
-----------
Convert configuration xinetd -> systemd #2
This lets the socket run as the site user.
To start the socket as the site user:
* (as the site user)
** export XDG_RUNTIME_DIR="path=/run/user/$(id -u)"
** loginctl enable-linger $(id -u)
** systemctl --user enable livestatus.socket
** systemctl --user start livestatus.socket
CMK-8683
Change-Id: Ib726cd5a96bfff3952e94119362b464a1c023bf4
Compare:
https://github.com/tribe29/checkmk/compare/a2970ce5ee6b...c2d8bd6a3455