Page 1 of 2

Dashboards disappearing

Posted: Fri Feb 12, 2016 9:23 am
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

Re: Dashboards disappearing

Posted: Fri Feb 12, 2016 11:00 am
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.

Re: Dashboards disappearing

Posted: Fri Feb 12, 2016 12:51 pm
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

Re: Dashboards disappearing

Posted: Fri Feb 12, 2016 2:54 pm
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?

Re: Dashboards disappearing

Posted: Tue Feb 16, 2016 11:35 am
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.

Re: Dashboards disappearing

Posted: Tue Feb 16, 2016 4:27 pm
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

Re: Dashboards disappearing

Posted: Wed Feb 17, 2016 4:33 pm
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".

Re: Dashboards disappearing

Posted: Wed Feb 17, 2016 5:21 pm
by ssax
If you refresh the entire page do they come back?

Re: Dashboards disappearing

Posted: Wed Feb 17, 2016 5:24 pm
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

Re: Dashboards disappearing

Posted: Thu Feb 18, 2016 2:16 pm
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.