i`ll check the code tomorow
Thank you in advance
Hi all,
Thank you for the ongoing feedback regarding custom widgets. With the Checkmk 2.5, we overhauled our dashboarding engine to improve the user experience and as a side effect of this modernization the previous unofficial method for custom widget integration is no longer supported by the new architecture.
After reading your feedback, we’ve been brainstorming a way to enable that extensibility without compromising the stability of the new architecture.
Our current proposition is to use the existing Embed URL widget to embed your custom widget as an iFrame into the new dashboard. To make this powerful enough for your needs, we would build an option to leverage the dashboard’s filters, passing the host and service variables directly to your URL.
Why we’re reaching out: We want to validate this approach with the community before moving into development. We are not promising this as a 1:1 replacement for old behavior, but rather as an alternative for the future.
Does an iFrame-based solution with filter-passing provide the flexibility you need?
Looking forward to your thoughts.
Best,
Mathieu
Hello Mathieu,
Short answer: An iframe doesn’t help.
Long answer: We had an external dashboard (using Plotly Dash) and pulled data from individual livestatus sockets. Then I discovered the posibility to create own dashlets and pulling information directly from our main site. This reduced the complexity of the sockets to ask to one socket. The performance increase was nice. And we had the posibility to use context filters (what sites/hosts/services to show) in our dashlets. User authentication? Was handled by Checkmk. It was a nice time with Checkmk 2.3 and 2.4. Now I reverted everything back to Plotly Dash (with the knowledge I gathered through the time), because the removal of the functionality in Checkmk is a no-go for us. I reuse ~/etc/check_mk/htpasswd in the virtual host of apache for the user authentication now. It will be a little bit of work until the filters work as I want them to work in the future.
Greetings
Stefan
