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
Dashboards crashing when loading from alerts
Dashboards crashing when loading from alerts
You do not have the required permissions to view the files attached to this post.
Re: Dashboards crashing when loading from alerts
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?
Does the URL of the 'bad' alerts differ at all from the URL of the 'normal' alerts?
Re: Dashboards crashing when loading from alerts
In chrome it totally kills the page. In firefox I need to skill the script in order for the page to finish loading.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?
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
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:
Non-working:
I suggest taking a look at the non-working alerts and throwing an 'm' on them - they may be missing that suffix.
Excerpt from working:
Code: Select all
logserver.js?from=60mCode: Select all
logserver.js?from=50Re: Dashboards crashing when loading from alerts
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.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:Non-working:Code: Select all
logserver.js?from=60mI suggest taking a look at the non-working alerts and throwing an 'm' on them - they may be missing that suffix.Code: Select all
logserver.js?from=50
Let me play around with the other ones but it looks like thats it.
Re: Dashboards crashing when loading from alerts
Sounds good - I'll keep this thread open and wait for your response. Thanks!
Re: Dashboards crashing when loading from alerts
Looks like that did it. Thanks you can close this thread if you need to. All of the alerts are loading properly.jolson wrote:Sounds good - I'll keep this thread open and wait for your response. Thanks!