Dashboards disappearing

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
bdouglass
Posts: 28
Joined: Tue Apr 24, 2012 9:27 am

Dashboards disappearing

Post by bdouglass »

Twice now I've gotten errors when creating a new dashboard, only to have all existing dashboards (save home and screen) disappear. This is using 5.2.3 on RHEL 6. Also, I can't find any reference to where they are stored (config file or database) so I don't know what would need to be restored to get them back, if that is indeed possible.

I've attached the system profile.


Bill Douglass
AISD
Last edited by hsmith on Fri Feb 12, 2016 10:17 am, edited 1 time in total.
Reason: We have downloaded the copy of your profile, and removed it from this post. We don't like to leave profiles sitting on the forum due to sensitive information possibly being inside of them.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Dashboards disappearing

Post by rkennedy »

To help try and troubleshoot this, what browser are you using? Also, what error are you receiving when you try to create a new dashboard?

Please let me know if you have any further information you can provide, so that we can try to recreate this on our end.
Former Nagios Employee
bdouglass
Posts: 28
Joined: Tue Apr 24, 2012 9:27 am

Re: Dashboards disappearing

Post by bdouglass »

I've been using Firefox on Windows and Ubuntu. I didn't record the exact error message, but it essentially was saying it couldn't find the dashboard with that specific ID.

I'm using the RRD graphs, not highcharts. I also have about 4 custom URL dashlets that are essentially a horizontal line to separate sections of the screen.

Bill
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Dashboards disappearing

Post by lmiltchev »

So far I haven't been able to recreate the issue.
Are you having issues with adding new dashboards or deploying them? Can you clarify? A detailed description of all of the steps you took, and a few screenshots would help.
What is the user that you are logged in as when creating dashboards? Are the users you are deploying dashboards to authorized to view the information? Are these local or AD/LDAP users? Are you selecting the "Keep Synced" check-box when deploying dashboards?
Be sure to check out our Knowledgebase for helpful articles and solutions!
bdouglass
Posts: 28
Joined: Tue Apr 24, 2012 9:27 am

Re: Dashboards disappearing

Post by bdouglass »

The issue is with creating new dashboards, or more specifically, keeping them around. It is very sporadic, so I don't have a method for reliably triggering the issue.

The basic steps are to create a new dashboard, then try to add a graph to it. That's when I get an error about an invalid dashboard. After I dismiss the dialog, all custom dashboards are gone. If it happens again, I'll grab a snapshot.

I'm logged in as myself, but I have full administrator rights. The users I'm deploying to are authorized to view these charts. And "Keep Synced" is selected for all dashboards.

All users are from our AD domain.

Let me know what else I can provide.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Dashboards disappearing

Post by tgriep »

The Dashboard settings are stored in the Postgress database. Can you go to this folder and look in these files to see if there are any errors?

Code: Select all

/var/lib/pgsql/data/pg_log
Be sure to check out our Knowledgebase for helpful articles and solutions!
bdouglass
Posts: 28
Joined: Tue Apr 24, 2012 9:27 am

Re: Dashboards disappearing

Post by bdouglass »

I'm running 5.2.3, so no Postgres database. Is there a MySQL database log somewhere that might have it?

BTW, it just happened again. I clicked on "Add New Dashboard" and got the following error:

========================================================================
Bad Dashboard

Unfortunately for you, that dashboard is not valid... Too bad. Dashboard ID: gj8gjk0d
========================================================================

I've added a screenshot of the browser window as well. As you can see, there is nothing listed under "My Dashboards".
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Dashboards disappearing

Post by ssax »

If you refresh the entire page do they come back?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Dashboards disappearing

Post by ssax »

In addition to my previous post, if they don't come back, run this when it's broken and post the output:

Code: Select all

echo "select * from xi_usermeta where keyname like '%dash%';" | mysql -uroot -pnagiosxi nagiosxi
Thank you
bdouglass
Posts: 28
Joined: Tue Apr 24, 2012 9:27 am

Re: Dashboards disappearing

Post by bdouglass »

> If you refresh the entire page do they come back?
No.

>In addition to my previous post, if they don't come back, run this when it's broken and post the output:
The query returns 20 rows. I've attached the output.
You do not have the required permissions to view the files attached to this post.
Locked