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