Some scheduled reports showing the loading circle instead of content

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
ScottMc
Posts: 32
Joined: Mon Aug 06, 2018 9:35 am

Some scheduled reports showing the loading circle instead of content

Post 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
You do not have the required permissions to view the files attached to this post.
danderson

Re: Some scheduled reports showing the loading circle instead of content

Post 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');
ScottMc
Posts: 32
Joined: Mon Aug 06, 2018 9:35 am

Re: Some scheduled reports showing the loading circle instead of content

Post by ScottMc »

That fixed it for me. Thanks for the assist!
drewposey
Posts: 1
Joined: Wed Aug 23, 2023 5:08 am

Re: Some scheduled reports showing the loading circle instead of content

Post 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');
tobloxd io

Code: Select all

var msg_id = $(this).attr('data-id');
Your code is also effective with my issues. Many thanks.
Post Reply