Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 44e4b1a77d3aeee4bc835d3858fcc1bb00b80072
https://github.com/tribe29/checkmk/commit/44e4b1a77d3aeee4bc835d3858fcc1bb0…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-09-29 (Tue, 29 Sep 2020)
Changed paths:
A .werks/11495
R cmk/gui/plugins/sidebar/wiki.py
A doc/treasures/wiki_sidebar_snapin.py
M omd/.gitignore
M omd/Makefile
M omd/packages/check_mk/MULTISITE_COOKIE_AUTH
R omd/packages/dokuwiki/.gitignore
R omd/packages/dokuwiki/DOKUWIKI_AUTH
R omd/packages/dokuwiki/authmultisite/auth.php
R omd/packages/dokuwiki/authmultisite/plugin.info.txt
R omd/packages/dokuwiki/dokuwiki-2018-04-22b.tgz
R omd/packages/dokuwiki/dokuwiki.make
R omd/packages/dokuwiki/patches/0001-style-arctic.dif
R omd/packages/dokuwiki/patches/0002-pdflink.dif
R omd/packages/dokuwiki/patches/0003-style-dokuwiki.dif
R omd/packages/dokuwiki/patches/0010-acl.auth.php.skel_patch
R omd/packages/dokuwiki/plugins/plugin-bookcreator.tgz
R omd/packages/dokuwiki/plugins/plugin-changes.tgz
R omd/packages/dokuwiki/plugins/plugin-dokuteaser.tgz
R omd/packages/dokuwiki/plugins/plugin-include.tgz
R omd/packages/dokuwiki/plugins/plugin-indexmenu.tgz
R omd/packages/dokuwiki/plugins/plugin-pagelist.tgz
R omd/packages/dokuwiki/preload.php
R omd/packages/dokuwiki/skel.permissions
R omd/packages/dokuwiki/skel/etc/apache/conf.d/dokuwiki.conf
R omd/packages/dokuwiki/skel/etc/dokuwiki/apache.conf
R omd/packages/dokuwiki/skel/etc/dokuwiki/local.php
R omd/packages/dokuwiki/skel/etc/dokuwiki/local.protected.php
R omd/packages/dokuwiki/skel/etc/dokuwiki/msg
R omd/packages/dokuwiki/skel/etc/dokuwiki/plugins.local.php
R omd/packages/dokuwiki/skel/etc/dokuwiki/users.auth.php
R omd/packages/dokuwiki/skel/local/share/dokuwiki/htdocs/.gitignore
R omd/packages/dokuwiki/skel/tmp/dokuwiki/.gitignore
R omd/packages/dokuwiki/skel/var/dokuwiki/data/.gitignore
R omd/packages/dokuwiki/skel/var/dokuwiki/data/.htaccess
R omd/packages/dokuwiki/skel/var/dokuwiki/data/_dummy
R omd/packages/dokuwiki/skel/var/dokuwiki/data/attic/.gitignore
R omd/packages/dokuwiki/skel/var/dokuwiki/data/attic/_dummy
R omd/packages/dokuwiki/skel/var/dokuwiki/data/cache/.gitignore
R omd/packages/dokuwiki/skel/var/dokuwiki/data/cache/_dummy
R omd/packages/dokuwiki/skel/var/dokuwiki/data/index/.gitignore
R omd/packages/dokuwiki/skel/var/dokuwiki/data/index/_dummy
R omd/packages/dokuwiki/skel/var/dokuwiki/data/locks/.gitignore
R omd/packages/dokuwiki/skel/var/dokuwiki/data/locks/_dummy
R omd/packages/dokuwiki/skel/var/dokuwiki/data/media/.gitignore
R omd/packages/dokuwiki/skel/var/dokuwiki/data/media/wiki/dokuwiki-128.png
R omd/packages/dokuwiki/skel/var/dokuwiki/data/media_attic/.gitignore
R omd/packages/dokuwiki/skel/var/dokuwiki/data/media_meta/.gitignore
R omd/packages/dokuwiki/skel/var/dokuwiki/data/meta/.gitignore
R omd/packages/dokuwiki/skel/var/dokuwiki/data/meta/_dummy
R omd/packages/dokuwiki/skel/var/dokuwiki/data/pages/.gitignore
R omd/packages/dokuwiki/skel/var/dokuwiki/data/pages/playground/playground.txt
R omd/packages/dokuwiki/skel/var/dokuwiki/data/pages/wiki/dokuwiki.txt
R omd/packages/dokuwiki/skel/var/dokuwiki/data/pages/wiki/ebook.txt
R omd/packages/dokuwiki/skel/var/dokuwiki/data/pages/wiki/syntax.txt
R omd/packages/dokuwiki/skel/var/dokuwiki/data/tmp/.gitignore
R omd/packages/dokuwiki/skel/var/dokuwiki/data/tmp/_dummy
R omd/packages/dokuwiki/template-arctictut.tgz
R omd/packages/dokuwiki/template-vector.tgz
M omd/packages/omd/omdlib/main.py
M omd/packages/packages.make
M tests/integration/omd/test_hooks.py
M tests/unit/cmk/base/test_diagnostics.py
M tests/unit/cmk/gui/plugins/sidebar/test_snapins.py
M tests/unit/cmk/gui/test_gui_config.py
Log Message:
-----------
11495 Remove dokuwiki from standard Checkmk packages
Dokuwiki has been delivered with Checkmk since the introduction of OMD. It has
certainly helped some users to quickly create documentation in their monitoring
site. But for Checkmk 2.0 we decided to remove Dokuwiki from the standard
packages.
The Dokuwiki package causes increased effort and complexity because it has to
be maintained by us, including the plugins that have been selected and
implemented. The main problem here is: We support different Linux distros in
different versions. These platforms provide different PHP versions by default
(currently PHP 5.4 to 7). To all these versions we have to keep Dokuwiki and
the plugins compatible. Upstream, however, Dokuwiki has removed support for
such old PHP versions. This would increase the effort for us significantly if
we want to support all platforms equally well.
If you have been using Dokuwiki in a Checkmk site so far, there are ways to do
so. Dokuwiki can be installed into the local hierarchy of a site and run from
there. You are responsible for the installation and maintenance of the
installation yourself. It would even be possible to create an MKP to share the
installation with other users.
The Checkmk sidebar snapin "Wiki" has also been removed from Checkmk. If
you want to use it, you can find it at
"share/doc/check_mk/treasures/wiki_sidebar_snapin.py" in your site. Copy
the file to "local/share/check_mk/web/plugins/sidebar/" and restart your
site apache to make the snapin available to the GUI.
Change-Id: I95b709eac4bdf6df545963f82c6e3d5407582211
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 756cf018911b26d32c1d54ef9f2385c416dc2922
https://github.com/tribe29/checkmk/commit/756cf018911b26d32c1d54ef9f2385c41…
Author: Timotheus Bachinger <timotheus.bachinger(a)tribe29.com>
Date: 2020-09-29 (Tue, 29 Sep 2020)
Changed paths:
A .werks/11345
M cmk/special_agents/agent_aws.py
M tests/unit/cmk/special_agents/agent_aws/test_agent_aws_cloudwatch.py
M tests/unit/cmk/special_agents/agent_aws/test_agent_aws_dynamodb.py
M tests/unit/cmk/special_agents/agent_aws/test_agent_aws_ebs.py
M tests/unit/cmk/special_agents/agent_aws/test_agent_aws_ec2.py
M tests/unit/cmk/special_agents/agent_aws/test_agent_aws_elb.py
M tests/unit/cmk/special_agents/agent_aws/test_agent_aws_elbv2.py
M tests/unit/cmk/special_agents/agent_aws/test_agent_aws_rds.py
M tests/unit/cmk/special_agents/agent_aws/test_agent_aws_s3.py
M tests/unit/cmk/special_agents/agent_aws/test_agent_aws_wafv2.py
Log Message:
-----------
11345 FIX Use correct periods for AWS
The Special Agent for AWS uses the passed time since midnight for the cache interval for some sections.
However AWS does only allow specific values for the periods. This is now ensured with this werk.
Background information:
AWS expects "period" to be an integer and a multiple of 60 for metrics.
For metrics with high resolution, also the values 1, 5, 10, 30 and 60 are allowed.
See: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric…
Change-Id: I5f34544216f82a1c563420a940395fe3ff618c79
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 2c55619fad0012d2b9dd43de2a7d74047b321467
https://github.com/tribe29/checkmk/commit/2c55619fad0012d2b9dd43de2a7d74047…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-09-29 (Tue, 29 Sep 2020)
Changed paths:
M cmk/gui/login.py
M cmk/gui/userdb.py
M tests/unit/cmk/gui/test_userdb.py
Log Message:
-----------
Multiple session infos can now be stored per user
The session info structure will be used not only by the "single user
session" feature anymore. It will be used by default. Since the default
login mechanism allows multiple logins per user at a time, we have to
extend the session_info data structure to be able to store multiple
sessions.
Next steps: Clarify naming of session methods, store user session
information even when "single user session" is not enabled.
CMK-5498
Change-Id: I7272ea68731c18ddc980f7c190fa8541f7434a00
Commit: ef78dc81111d3a334a328489829aeaa861eacac6
https://github.com/tribe29/checkmk/commit/ef78dc81111d3a334a328489829aeaa86…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-09-29 (Tue, 29 Sep 2020)
Changed paths:
M cmk/gui/userdb.py
M tests/unit/cmk/gui/test_userdb.py
Log Message:
-----------
Clarify naming
The methods now load/save multiple sessions. Reflect that in their
names and mark the methods to be private.
CMK-5498
Change-Id: I643762010b4af8bbfd2c00638078c5d20e56ba4d
Commit: 97478fc8d4e8e7b225b30cbc6ea140db5e429c17
https://github.com/tribe29/checkmk/commit/97478fc8d4e8e7b225b30cbc6ea140db5…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-09-29 (Tue, 29 Sep 2020)
Changed paths:
M cmk/gui/userdb.py
M tests/unit/cmk/gui/test_userdb.py
Log Message:
-----------
Always store user session information
Instead of just working with the user sessions when the "single
sessions" feature is enabled, the feature is now always enabled.
The intend is to use invalidate user login sessions not only on client
side (by removing a cookie), but also invalidating the session on the
server side to fully terminate the login session.
CMK-5080
Change-Id: I5023722624a3cdd9d18971d51e0fb60270b1e3de
Commit: a3c281805f4ca4b405e7462edc40c76677c74685
https://github.com/tribe29/checkmk/commit/a3c281805f4ca4b405e7462edc40c7667…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-09-29 (Tue, 29 Sep 2020)
Changed paths:
M cmk/gui/login.py
M cmk/gui/userdb.py
M cmk/gui/wato/user_profile.py
A tests/unit/cmk/gui/test_login.py
M tests/unit/cmk/gui/test_userdb.py
Log Message:
-----------
Add login session ID to auth cookie
Previously we used a separate session cookie named "session_[site]" to
track the user login session ID in case the "single user session"
feature was active.
After we are now always storing and tracking the user sessions, there
was no point in separating both cookies. The session ID has now been
added to the auth cookie.
This change makes the pre 2.0 cookies incompatible with the new ones.
It means that all users will have to login into the GUI after the update
to Checkmk 2.0.
CMK-5499
Change-Id: I55f01ac6f36e78bad2b08f65d1073a62f1537847
Commit: 936140ca48d243207fde6d80e7e2eead6946fb9a
https://github.com/tribe29/checkmk/commit/936140ca48d243207fde6d80e7e2eead6…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-09-29 (Tue, 29 Sep 2020)
Changed paths:
M cmk/gui/login.py
Log Message:
-----------
Use sha256 for signing auth cookie values
Using md5 at this point is not a security problem, but it can be
considered bad practice.
In the past we have put this change on hold because we did not want to
break with the compatibility of cookies of old versions. Now that we
just changed the format incompatibly anyway, we can now also change the
hashing algorithms without additional consequences.
Change-Id: If14ad7b8a8052eb17ac9d7c0b81560d42111a30c
Commit: ee82750fce85d1ed921134be34a5489be43dcede
https://github.com/tribe29/checkmk/commit/ee82750fce85d1ed921134be34a5489be…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-09-29 (Tue, 29 Sep 2020)
Changed paths:
M cmk/gui/userdb.py
M tests/unit/cmk/gui/test_userdb.py
Log Message:
-----------
Cleanup old auth sessions of a user
When authenticating with the GUI, the existing sessions of
a user are loaded and now sanitized.
* Per user we can now have up to: 20 parallel login sessions. Once a
user account reaches the 21st sessions, the session with the
longest inactivity will be invalidated.
* Existing sessions with an inactivity of more than 7 days will be
invalidated.
CMK-5502
Change-Id: I87ecfde9d73de06ef5742cff17c09534ba4249ac
Commit: 5c014299403b64e0417e7b8a073172f36e8ecaf8
https://github.com/tribe29/checkmk/commit/5c014299403b64e0417e7b8a073172f36…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-09-29 (Tue, 29 Sep 2020)
Changed paths:
M .werks/11494
R omd/packages/nagvis/nagvis-1.9.22.tar.gz
A omd/packages/nagvis/nagvis-1.9.23.tar.gz
M omd/packages/nagvis/nagvis.make
Log Message:
-----------
NagVis: Updated to 1.9.23
Change-Id: Ie354bc59f01a3391758a30028172bc6dd3b92b51
Compare: https://github.com/tribe29/checkmk/compare/203748feed3a...5c014299403b
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 7526621b07a82ab1fdeb2885a8a823967122d836
https://github.com/tribe29/checkmk/commit/7526621b07a82ab1fdeb2885a8a823967…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-09-29 (Tue, 29 Sep 2020)
Changed paths:
M cmk/base/api/agent_based/register/section_plugins_legacy.py
Log Message:
-----------
rename table -> string_table
That way the layout_recover_function will become a valid parse function itself, which will be handy in the upcoming commit.
Change-Id: Ifcd322440d9d02f51dd9e3b27c925c2f0d8ad96d
Commit: 42244bac962e7e597a02706be3b1de1756729a7f
https://github.com/tribe29/checkmk/commit/42244bac962e7e597a02706be3b1de175…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-09-29 (Tue, 29 Sep 2020)
Changed paths:
M cmk/base/api/agent_based/register/section_plugins.py
Log Message:
-----------
make ValueError more helpful
Change-Id: Ieeb0360d4ef44ed80bff9441ef59f59d39208543
Commit: 203748feed3a5c38b8b181ddeebf4e9558d85eef
https://github.com/tribe29/checkmk/commit/203748feed3a5c38b8b181ddeebf4e955…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-09-29 (Tue, 29 Sep 2020)
Changed paths:
M cmk/base/api/agent_based/register/export.py
M cmk/base/api/agent_based/register/section_plugins.py
M cmk/base/api/agent_based/register/section_plugins_legacy.py
M cmk/base/api/agent_based/utils.py
M cmk/base/plugins/agent_based/agent_based_api/v1/__init__.py
M cmk/base/plugins/agent_based/checkpoint_vpn_tunnels.py
M cmk/base/plugins/agent_based/dell_hw_info.py
M cmk/base/plugins/agent_based/hp_proliant_systeminfo.py
M cmk/base/plugins/agent_based/infoblox_osinfo.py
M cmk/base/plugins/agent_based/infoblox_systeminfo.py
M cmk/base/plugins/agent_based/inv_cisco_vlans.py
M cmk/base/plugins/agent_based/juniper_info.py
M cmk/base/plugins/agent_based/snmp_extended_info.py
M cmk/base/plugins/agent_based/snmp_os.py
M cmk/base/plugins/agent_based/snmp_quantum_storage_info.py
M tests/unit/cmk/base/checkers/test_data_sources.py
A tests/unit/cmk/base/plugins/agent_based/test_section_properties.py
Log Message:
-----------
Check-API: parse function is optional
To make it easier for beginners to develop their first
check or inventory plugin, we make the parse_function
optional.
As a result, we can remove the no-op parse function from
the API.
However: We do ensure via unit test, that all new sections
in mainline code do have non-trivial parse functions.
Change-Id: I66b7446ebded223e96a3a58de448c08816504ff2
Compare: https://github.com/tribe29/checkmk/compare/6dd6d24058c4...203748feed3a
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 6dd6d24058c45a10fa72f082e26bec1c97a4b0e6
https://github.com/tribe29/checkmk/commit/6dd6d24058c45a10fa72f082e26bec1c9…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-09-29 (Tue, 29 Sep 2020)
Changed paths:
M cmk/base/config.py
Log Message:
-----------
config: properly handle failing automigration
Now that we have migrated all failing plugins, we can send the appropriate messages
to stderr without spamming the console output or destroying our integration tests.
Change-Id: I3ec9e6065e04c1b0c9fa71c44aa9002db0c185c4
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 9549011b15ca4074aa811367d845959597743bb1
https://github.com/tribe29/checkmk/commit/9549011b15ca4074aa811367d84595959…
Author: Lisa Pichler <lisa.pichler(a)tribe29.com>
Date: 2020-09-29 (Tue, 29 Sep 2020)
Changed paths:
M agents/plugins/mk_filestats.py
Log Message:
-----------
mk_filestats: amended configparser import
The 3to2 tool runs for agents that are deployed in python 2.5/2.6,
automatically converting the import to ConfigParser. The try/except
block had to be amended to handle this automatic conversion.
CMK-5637
Change-Id: Ibdc3670707cfa6d9f206a231e371b0590334e933