[BUG] Graphs on mobile view do not work

CMK version: 2.1.0p11
OS version: Debian 11.5

On default CMK GUI all is working fine, including graphs. But when using mobile view, there are no graphs displayed for services. I can see a spinner, claiming to load graphs, but that spinner never stops. Looking at the developer tools of Chrome, I can see an Javascript error message:

ajax.js:133 Uncaught ReferenceError: global_csrf_token is not defined
    at Object.s (ajax.js:133:63)
    at do_load_graph_content (graphs.js:164:5)
    at Module.load_graph_content (graphs.js:128:9)
    at mobile_view.py?host=idrac.myserver&service=Fan+System+Board+Fan2A&site=mon&view_name=mobile_service:2:12
s @ ajax.js:133
do_load_graph_content @ graphs.js:164
load_graph_content @ graphs.js:128
(anonymous) @ mobile_view.py?host=idrac.myserver&service=Fan+System+Board+Fan2A&site=mon&view_name=mobile_service:2

No solution for this!?

I’ve updated to CMK 2.1.0p13 yesterday, but problem still persists.

I can only yes this is a bug inside the Javascript of the mobile GUI.
This is some information for @_rb or @robin.gierse

1 Like

thanks, we are on it

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.