Branch: refs/heads/2.0.0
Home: https://github.com/tribe29/checkmk
Commit: eee064c6b844780240b4899dc908f374f17a5871
https://github.com/tribe29/checkmk/commit/eee064c6b844780240b4899dc908f374f…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M tests/testlib/containers.py
Log Message:
-----------
Integration tests: Fix broken .venv reuse
During 2.0 development we had multiple virtual environments
which were persisted from image creation and reused during
testing.
* We only deal with a single .venv now which was previously
persisted correctly. Only the reuse of this venv was not
working anymore. Fixed this.
* Renamed the functions from plural to singular since we now
deal with only a single venv.
* Added some more doc strings to explain the inteded behaviour.
Change-Id: Idd300d6764ae4570111520d064fcb0d532d12e6c
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 69a48a90bb3b78e3b159f3623bc4e79c61388aea
https://github.com/tribe29/checkmk/commit/69a48a90bb3b78e3b159f3623bc4e79c6…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
A .werks/12830
M cmk/gui/plugins/cron/user_sync.py
M cmk/gui/userdb.py
M tests/unit/cmk/gui/test_background_job.py
M tests/unit/cmk/gui/test_cron.py
M tests/unit/cmk/gui/test_userdb.py
Log Message:
-----------
12830 Cleanup abandoned user profile directories after 30 days
Each user that is able to log into the Checkmk GUI gets a user profile
directory created below <tt>var/check_mk/web/[user_id]</tt>.
During deletion of a user, the profile directory is not deleted automatically.
This is done to prevent loss of user configurations when users are deleted
accidentally and recreated later.
While this is helpful for the case mentioned above, this may result in
abandoned user profile directories. Especially in the case where a large number
of users was created (e.g. by an LDAP synchronization) and later removed, this
could lead to a large number of directories. With a large number of
directories, this may even affect the performance of different parts of the
GUI.
The now introduced housekeeping logic will detect all directories not belonging
to an existing user. For each of these directories it will find the most recent
modified file. In case this file modification is older than 30 days, the
profile directory will be deleted.
Change-Id: Idbbe40144f7ef3aba4751d47cd72ad84b5288f36
Branch: refs/heads/2.0.0
Home: https://github.com/tribe29/checkmk
Commit: 44365383361190fed01e384aeefbaa85bd0bc083
https://github.com/tribe29/checkmk/commit/44365383361190fed01e384aeefbaa85b…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M cmk/special_agents/agent_activemq.py
M tests/unit/cmk/special_agents/test_agent_activemq_.py
Log Message:
-----------
agent_activemq: align names of cmd line args with names of variables
Change-Id: I61e1cff1082b37e68374bc4a846967ea6a4ff690
Commit: 64254475d0bc0c454fe5d0cb7f00aa3da2cd887b
https://github.com/tribe29/checkmk/commit/64254475d0bc0c454fe5d0cb7f00aa3da…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M checks/agent_activemq
M cmk/special_agents/agent_activemq.py
M tests/unit/agents/special/test_special_agent_args.py
M tests/unit/checks/test_agent_activemq.py
M tests/unit/cmk/special_agents/test_agent_activemq_.py
Log Message:
-----------
agent_activemq: switch to argparse
Change-Id: I524cadd358b22b6a25812530de627b63fca85618
Commit: 84dc92f6eb9a5727a70df1caecd2124939baa71c
https://github.com/tribe29/checkmk/commit/84dc92f6eb9a5727a70df1caecd212493…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
A .werks/12830
M cmk/gui/plugins/cron/user_sync.py
M cmk/gui/userdb.py
M tests/unit/cmk/gui/test_background_job.py
M tests/unit/cmk/gui/test_cron.py
M tests/unit/cmk/gui/test_userdb.py
Log Message:
-----------
12830 Cleanup abandoned user profile directories after 30 days
Each user that is able to log into the Checkmk GUI gets a user profile
directory created below <tt>var/check_mk/web/[user_id]</tt>.
During deletion of a user, the profile directory is not deleted automatically.
This is done to prevent loss of user configurations when users are deleted
accidentally and recreated later.
While this is helpful for the case mentioned above, this may result in
abandoned user profile directories. Especially in the case where a large number
of users was created (e.g. by an LDAP synchronization) and later removed, this
could lead to a large number of directories. With a large number of
directories, this may even affect the performance of different parts of the
GUI.
The now introduced housekeeping logic will detect all directories not belonging
to an existing user. For each of these directories it will find the most recent
modified file. In case this file modification is older than 30 days, the
profile directory will be deleted.
Change-Id: Idbbe40144f7ef3aba4751d47cd72ad84b5288f36
Compare: https://github.com/tribe29/checkmk/compare/81711ceb955f...84dc92f6eb9a
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 22a3b5618dfa665cd6785245ac0c7dd9bfd589fa
https://github.com/tribe29/checkmk/commit/22a3b5618dfa665cd6785245ac0c7dd9b…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M tests/unit/cmk/ec/test_rule_matching.py
Log Message:
-----------
refactoring: clear up site mocks in tests
* we already have an autouse site mocking fixture, which should
be used everywhere.
Change-Id: Ie2dbeb7053b6f3b022e6b36d70bd3e84e30a8d7e
Commit: 0ca1b6944df7cc23fdeae59bb846bc127322bd14
https://github.com/tribe29/checkmk/commit/0ca1b6944df7cc23fdeae59bb846bc127…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M .pre-commit-config.yaml
Log Message:
-----------
pre-commit: ignore missing trailing newline in werks
Change-Id: I2c33d547dd72d9acc79b1dca2cc237b8bea4961d
Commit: 42ed2c16c940cbaf790c3dbe083d2177d88b9591
https://github.com/tribe29/checkmk/commit/42ed2c16c940cbaf790c3dbe083d2177d…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M werk
Log Message:
-----------
werk: improve "werk pick"
* if pre-commit hooks fail, the "werk pick" can now be continued
with "git cherry-pick --continue"
* if the sha given to "werk pick" isn't a werk, it will work like
"git cherry-pick", but it doesn't support the same command line
parameters.
Change-Id: I32ae2032b0ba8298706d537e33573f35065426d7
Commit: 1a3c48b9cf0de1a2c62b14b7efa43f966d93dbfd
https://github.com/tribe29/checkmk/commit/1a3c48b9cf0de1a2c62b14b7efa43f966…
Author: Óscar Nájera <oscar.najera(a)tribe29.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
A .werks/12491
Log Message:
-----------
12491 No autorefresh in Custom Graph editor
The custom graph editor in a pursuit of convenience would save changes and
refresh the page on every change. This convenience resulted in a high
performance penalty when editing graphs with multiple metrics, as the entire
page would need to be rendered again, and specially recollecting data from the
RRD files.
With this Werk, the custom graph editor does not execute the page reload upon
changes. The user is now responsible for this interaction. Following our UX
project, now there is an "Apply" button on the top left corner of the editor to
save and apply the changes to the graph. This allows users to place multiple
changes at once, without incurring in a performance penalty, due to the constant
refreshing of the editor.
Users do need to press the "Apply" button to save changes, it is now not enough
to just do changes and leave the editor.
Change-Id: Ibd3e8f44859300fe9e2de895884348621c877245
Compare: https://github.com/tribe29/checkmk/compare/a19552902837...1a3c48b9cf0d
Branch: refs/heads/2.0.0
Home: https://github.com/tribe29/checkmk
Commit: c2e1181b21627bc5c7cd6ceb7db07f57b9ec3feb
https://github.com/tribe29/checkmk/commit/c2e1181b21627bc5c7cd6ceb7db07f57b…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M tests/unit/cmk/ec/test_rule_matching.py
Log Message:
-----------
refactoring: clear up site mocks in tests
* we already have an autouse site mocking fixture, which should
be used everywhere.
Change-Id: Ie2dbeb7053b6f3b022e6b36d70bd3e84e30a8d7e
Commit: 81711ceb955fb38723a71a6651c735a7407a693f
https://github.com/tribe29/checkmk/commit/81711ceb955fb38723a71a6651c735a74…
Author: Sofia Colakovic <sofia.colakovic(a)tribe29.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
A .werks/12203
M agents/plugins/ibm_mq
Log Message:
-----------
12203 FIX ibm_mq: Agent doesn't return a version
Agent ibm_mq didn't return a version which resulted with a CRIT state.
Cmk version is now returned from an agent.
Change-Id: Ib5c93162132bb8909f2a59e722b2bfae168dd8a9
Compare: https://github.com/tribe29/checkmk/compare/727021fdffe9...81711ceb955f
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 3d9708a731edbd963986b72c0eff1db8399f0448
https://github.com/tribe29/checkmk/commit/3d9708a731edbd963986b72c0eff1db83…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
A .werks/11942
M cmk/gui/plugins/webapi/webapi.py
M tests/unit/cmk/gui/test_webapi_unit.py
Log Message:
-----------
11942 FIX webapi: fix TypeError when formatting tags
When formatting an error message, the formatting
code crashed when the tag contained "None" as a value.
This behavior has been fixed. No further action is needed.
Change-Id: Ibf1c2a7a81c8ca69e1db47effdd225c53169004c
Commit: a1955290283781cdf4e24269f638636bf82ad018
https://github.com/tribe29/checkmk/commit/a1955290283781cdf4e24269f638636bf…
Author: Timotheus Bachinger <timotheus.bachinger(a)tribe29.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M Makefile
M buildscripts/scripts/test-gerrit.jenkins
M doc/documentation/Makefile
Log Message:
-----------
Test SW documentation generation in Gerrit
Change-Id: I84bf483dd2f9019fcf378fd7e2f7517d0eaee02e
Compare: https://github.com/tribe29/checkmk/compare/a02e80a5e1ee...a19552902837