As we’re writing a lot of plugins now, we would like to create an additional sub-section in the “Agent Rules” page in WATO.
Reading the sources, I found the sub-sections being defined in lib/check_mk/gui/cee/plugins/wato/agent_bakery/rulespecs/utils.py
So I tried to create a “my_utils.py” in ~/local/share/check_mk/web/plugins/wato which defines the new sub-section “My fancy plugins”, but with no result.
But… when I add the code for creating the sub-section to a plugin script that consumes the new sub-section (in its “group” at rulespec_registry.register), then it works!
Question: what is the correct way to create this sub-section?