Page 1 of 1
Some scheduled reports showing the loading circle instead of content
Posted: Mon Aug 21, 2023 4:07 pm
by ScottMc
Up until recently we've only used simple reports (like a single service status). I've created a few reports using some dashboards as well as some with just a host_group summary and I'm seeing the loading circle appearing where content should be. The dashboard loads correctly in under 4 seconds but the reports don't contain the data (see comparison screenshot). We're running 5.11.1 in multiple environments and have the same problem in both. Any help would be appreciated. Thanks!
Screenshot 2023-08-21 170502.jpg
Re: Some scheduled reports showing the loading circle instead of content
Posted: Mon Aug 21, 2023 4:49 pm
by danderson
Hi
@ScottMc, thanks for reaching out,
This is a bug we noticed that will be fixed in the next release.
If you want to fix it now, you can go into /usr/local/nagiosxi/html/includes/js/core.js and go to around line 161 and change
Code: Select all
let msg_id = $(this).attr('data-id');
to
Code: Select all
var msg_id = $(this).attr('data-id');
Re: Some scheduled reports showing the loading circle instead of content
Posted: Tue Aug 22, 2023 1:03 pm
by ScottMc
That fixed it for me. Thanks for the assist!
Re: Some scheduled reports showing the loading circle instead of content
Posted: Wed Aug 23, 2023 5:10 am
by drewposey
danderson wrote: ↑Mon Aug 21, 2023 4:49 pm
Hi
@ScottMc, thanks for reaching out,
This is a bug we noticed that will be fixed in the next release.
If you want to fix it now, you can go into /usr/local/nagiosxi/html/includes/js/core.js and go to around line 161 and change
Code: Select all
let msg_id = $(this).attr('data-id');
to
bloxd io
Code: Select all
var msg_id = $(this).attr('data-id');
Your code is also effective with my issues. Many thanks.