Inline Help Can't be disabled

CMK version: 2.4.0p8
OS version: Ubuntu 22.04

Our CheckMK Enterprise instance (v2.4.0p8) displays inline help across all setup menus, making navigation cumbersome. Toggling Help → Show Inline Help has no effect. This issue closely resembles the post referenced below, but there appears to be no option to disable the inline help.

Perhaps reloading the Webpage with F5 and/or clearing your browser cache will help.

Hi Sean,

have you - or a colleague - ever placed a theme.css in the local/ folder structure or made changes to the checkmk theme.css? We once saw that when a 2.3 theme.css was edited and moved to the local/ folder but then important information for 2.4 were of course missing which creates weird GUI issues like yours :).

Gerd

The inline help sends an AJAX request to the server

Turning it on:

https://[host]/[version]/check_mk/ajax_switch_help.py?enabled=yes&_ajaxid=[timestamp?]

Turning it off:

https://[host]/[version]/check_mk/ajax_switch_help.py?enabled=&_ajaxid=[timestamp?]

I don’t where to locate ajax_switch_help.py to see what the code does. I assume it writes it as a setting somewhere in an user profile.

Theme.css seems ok. I couldn’t seem to get the AJAX request to work. Just says URL not found.

The AJAX request I posted is from my 2.1.0p5.cre server, maybe this functionality has changed over time in various editions/versions.

I can run the request outside of the interface as URL in another browser tab/window. It either gives true or false as result.
image

image

And after reload of interface on Checkmk server, or abort change of a rule and dive back in a rule again, the inline help is on or off.

I found this AJAX request URL by inspecting network in browser when I toggled the inline help on and off.

EDIT:
If this functionality hasn’t changed over time and you get URL not found, that would explain why your toggle isn’t working.

This can also be checked with inspecting network in browser like above. Toggling your inline help, the AJAX requests will probably get a status in the 400 range.

If so, I assume missing files on your Checkmk server, or maybe permission issues?

I can now replicate your AJAX request. It returns true when I set enabled=yes& and false when just enabled=&. It does not turn of the inline help though. All the setup menus look like the following.

This also does nothing.

The crazy thing is I have 3 instances in three different networks. Two exhibit this behaviour, one is fine.

The plot thickens. If you use the light theme, the inline help turns off and on properly. Dark theme seems bugged in 2/3 of our instances.

I digged a bit more, found out that the AJAX request stores the result in ~/var/check_mk/web/[profilename]/help.mk for each user profile.

If I change the contents of that file to either True or False it is reflected in the interface to display inline help yes or no.
Permission of that file is 0660 on my server, where owner/group is the site user/group.