Hello, dear community, especially – plugin developers.
Yesterday we had a community call where we talked about Beta 2.2 processes. One of the important changes is that Checkmk would be working differently with MKPs – and it is a breaking change that will affect many plugins.
We have decided that if there is enough interest, we could probably have a call with a developer to explain the changes to adapt the plugins to the new version.
I’m fine with such a session (of course), although I would feel much better if I knew what the main breaking changes are .
I know for sure that we have a poorly defined (virtually non-existing) API to the GUI world, which might lead to incompatibilities. Are there more problems that can be listed explicitly? If we have such a session we should make sure that the most qualified developer is present, and that might not be me .
Maybe in addition to liking the initial post we can collect some problems here (just bullet points, explicitly not addressing the problem in this thread)?
I just comment here because I have written a few lines in the updated MKP articles and want to be informed on such a call to be able to improve the articles. In my opinion, such a session should focus on differences, glitches, pitfalls and improvements due to the new MKP management. API changes probably should not be the topic and be handled separately.
Documentation (e.g. how and which namespace to use for own extensions [hint in init.py:# namespace that can be shadowed/extended using the local/hierarchy.])
Reason: My dashlets (I just finished them for 2.0/2.1) are broken and I have no clue how and where to write them under 2.2 [copying the builtins directly in the /omd/versions directory does not yield new menu entries either]
@foobar the work @_rb mentioned was the one I “stumbled” upon as well. Otherwise, I had no other points that were not in the listed works inside. But I haven’t ported too much to CMK2.2 yet…
Please take a look at the post with the werk above, that is marked as solution. This is the team’s advice on how to resolve some issues discussed, in the form of werk.
my issue (Dashboards/Dashlets) is still open.
They work in 2.0 and 2.1 but not in 2.2 and are not failing because of Werk #14297 (which was listed above).
The documentation how to write own Dashlets is stilll missing. The copy and modify approach did not work here. The problem here is, that it is not only the moved libraries, but a huge change in the structure how dashboards and dashlets are organized (init, register, link).
I know that this looks like a very special edge case, but I would be happy to talk to someone from Checkmk about that case. Perhaps at Checkmk Conference?
I will check with the colleagues who might know more about this and will let you know. The recommendations above are for many cases but, unfortunately, you are correct – they might not cover all the cases.