Page 1 of 1

Dashboards crashing when loading from alerts

Posted: Mon Jun 01, 2015 5:17 pm
by Jklre
I have a little over 200 alerts created in the dashboard currently. I started noticing that when I click on the "show alert in dashboard" button or the link that's generated via the alert emails. The dashboard is crashing the browser. Just to be safe I tested this is 2 different browsers and on 2 different systems to make sure its not a local issue with my system.

It seems to effect random alerts in the list, but not all of them.

This is what I'm seeing. Any ideas on what may be causing this? Thanks in advance.

A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue.

Script: http://pnagios05lxv/nagioslogs….js?ver= ... nagios3:29
ss2.jpg
ss3.jpg
ss1.jpg

Re: Dashboards crashing when loading from alerts

Posted: Tue Jun 02, 2015 10:42 am
by jolson
Does this error stop the page from loading entirely?
Does the URL of the 'bad' alerts differ at all from the URL of the 'normal' alerts?

Re: Dashboards crashing when loading from alerts

Posted: Tue Jun 02, 2015 12:14 pm
by Jklre
jolson wrote:Does this error stop the page from loading entirely?
Does the URL of the 'bad' alerts differ at all from the URL of the 'normal' alerts?
In chrome it totally kills the page. In firefox I need to skill the script in order for the page to finish loading.

Here is a few examples of the URLS of both working and not working alerts. Note: The alerting functionality works fine. Its just loading these dashboards to view the queries that is not.

Let me know if you need any additional information. Thank you.

Working:
http://pnagios05lxv/nagioslogserver/ind ... zmPuPziI7Q

http://pnagios05lxv/nagioslogserver/ind ... 1%5D%7D%7D

http://pnagios05lxv/nagioslogserver/ind ... oLz88zmWyw

http://pnagios05lxv/nagioslogserver/ind ... 4%5D%7D%7D

not working:

http://pnagios05lxv/nagioslogserver/ind ... xtUqKkGnaQ

http://pnagios05lxv/nagioslogserver/ind ... 1%5D%7D%7D


http://pnagios05lxv/nagioslogserver/ind ... wKLVQhO-uQ

http://pnagios05lxv/nagioslogserver/ind ... 2%5D%7D%7D

Re: Dashboards crashing when loading from alerts

Posted: Tue Jun 02, 2015 12:41 pm
by jolson
It looks like your working alerts always have 'm' as a suffix, while your non-working alerts do not. To show you what I mean:
Excerpt from working:

Code: Select all

logserver.js?from=60m
Non-working:

Code: Select all

logserver.js?from=50
I suggest taking a look at the non-working alerts and throwing an 'm' on them - they may be missing that suffix.

Re: Dashboards crashing when loading from alerts

Posted: Tue Jun 02, 2015 12:44 pm
by Jklre
jolson wrote:It looks like your working alerts always have 'm' as a suffix, while your non-working alerts do not. To show you what I mean:
Excerpt from working:

Code: Select all

logserver.js?from=60m
Non-working:

Code: Select all

logserver.js?from=50
I suggest taking a look at the non-working alerts and throwing an 'm' on them - they may be missing that suffix.
Well that's simple. I just modified one of the non working alerts for the loop back period to change from 50 to 50m and now its loading.

Let me play around with the other ones but it looks like thats it.

Re: Dashboards crashing when loading from alerts

Posted: Tue Jun 02, 2015 1:05 pm
by jolson
Sounds good - I'll keep this thread open and wait for your response. Thanks!

Re: Dashboards crashing when loading from alerts

Posted: Tue Jun 02, 2015 5:32 pm
by Jklre
jolson wrote:Sounds good - I'll keep this thread open and wait for your response. Thanks!
Looks like that did it. Thanks you can close this thread if you need to. All of the alerts are loading properly.