User Created Dashboards are Dashboards

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
shoreypu
Posts: 134
Joined: Wed Mar 13, 2019 2:06 pm

User Created Dashboards are Dashboards

Post by shoreypu »

We are having issues with users creating dashboards.

User creates a new dashboard. When they add a new dashlet to the dashboard, it never shows up.
User goes to manage dashboards and notices an ever increasing number of blank dashboards (see the attached screenshot).
User cannot delete any of the dashboards (the screen simply refreshes).

I have been able to replicate this with another user account. I've tried making my test account an admin, but I'm still unable to delete any of the previously created dashboards.

We are running Nagios XI 5.6.8. I am unable to replicate this in our test instance.

Thanks in advance.
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: User Created Dashboards are Dashboards

Post by benjaminsmith »

Hello @shoreypu,

There maybe an underlying database issue here preventing the data from being updated correctly. I have few questions to help troubleshoot this errors.

1. Can you post a screenshot of this user's permission settings? Go to Admin > Users > Manage Users > Click on the user
security-settings.png
2. Run the following tail command, load the manage dashboards page (the page with errors) and post the results.

Code: Select all

tail -f /var/log/httpd/*error.log
3.Download and PM a fresh system profile
To send us your system profile.
Login to the Nagios XI GUI using a web browser
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share this in a private message and then reply to this post to bring it up in the queue.

Thanks.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
shoreypu
Posts: 134
Joined: Wed Mar 13, 2019 2:06 pm

Re: User Created Dashboards are Dashboards

Post by shoreypu »

User_Profile_01.jpg
User_Profile_02.jpg
You do not have the required permissions to view the files attached to this post.
shoreypu
Posts: 134
Joined: Wed Mar 13, 2019 2:06 pm

Re: User Created Dashboards are Dashboards

Post by shoreypu »

There are 1500 lines repeating over and over again. Here is a sampling of the repetitive messages.

Code: Select all

[Sun Mar 29 03:49:12.967288 2020] [lbmethod_heartbeat:notice] [pid 2450] AH02282: No slotmem from mod_heartmonitor
[Sun Mar 29 03:49:13.018949 2020] [mpm_prefork:notice] [pid 2450] AH00163: Apache/2.4.6 () OpenSSL/1.0.2k-fips PHP/5.4.16 configured -- resuming normal operations
[Sun Mar 29 03:49:13.018971 2020] [core:notice] [pid 2450] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'

==> /var/log/httpd/ssl_error_log <==
[Wed Apr 01 14:57:12.814379 2020] [:error] [pid 35749] [client SERVER.IP:56190] PHP Notice:  Undefined index: opts in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 0, referer: https://nagiosxi.DOMAIN/nagiosxi/dashboards/
[Wed Apr 01 14:57:12.814390 2020] [:error] [pid 35749] [client SERVER.IP:56190] PHP Notice:  Undefined index: opts in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 0, referer: https://nagiosxi.DOMAIN/nagiosxi/dashboards/
[Wed Apr 01 14:57:12.814401 2020] [:error] [pid 35749] [client SERVER.IP:56190] PHP Notice:  Undefined index: opts in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 0, referer: https://nagiosxi.DOMAIN/nagiosxi/dashboards/
[Wed Apr 01 14:57:12.814411 2020] [:error] [pid 35749] [client SERVER.IP:56190] PHP Notice:  Undefined index: opts in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 0, referer: https://nagiosxi.DOMAIN/nagiosxi/dashboards/
[Wed Apr 01 14:57:12.814422 2020] [:error] [pid 35749] [client SERVER.IP:56190] PHP Notice:  Undefined index: opts in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 0, referer: https://nagiosxi.DOMAIN/nagiosxi/dashboards/
[Wed Apr 01 14:57:12.832090 2020] [:error] [pid 35749] [client SERVER.IP:56190] PHP Notice:  Undefined index: id in /usr/local/nagiosxi/html/dashboards/manage.php on line 0, referer: https://nagiosxi.DOMAIN/nagiosxi/dashboards/
[Wed Apr 01 14:57:12.832124 2020] [:error] [pid 35749] [client SERVER.IP:56190] PHP Notice:  Undefined index: title in /usr/local/nagiosxi/html/dashboards/manage.php on line 0, referer: https://nagiosxi.DOMAIN/nagiosxi/dashboards/
[Wed Apr 01 14:57:12.832139 2020] [:error] [pid 35749] [client SERVER.IP:56190] PHP Notice:  Undefined index: id in /usr/local/nagiosxi/html/dashboards/manage.php on line 0, referer: https://nagiosxi.DOMAIN/nagiosxi/dashboards/
[Wed Apr 01 14:57:12.832147 2020] [:error] [pid 35749] [client SERVER.IP:56190] PHP Notice:  Undefined index: title in /usr/local/nagiosxi/html/dashboards/manage.php on line 0, referer: https://nagiosxi.DOMAIN/nagiosxi/dashboards/
[Wed Apr 01 14:57:12.833133 2020] [:error] [pid 35749] [client SERVER.IP:56190] PHP Notice:  Undefined index: id in /usr/local/nagiosxi/html/dashboards/manage.php on line 0, referer: https://nagiosxi.DOMAIN/nagiosxi/dashboards/
[Wed Apr 01 14:57:12.833635 2020] [:error] [pid 35749] [client SERVER.IP:56190] PHP Notice:  Undefined index: id in /usr/local/nagiosxi/html/dashboards/manage.php on line 0, referer: https://nagiosxi.DOMAIN/nagiosxi/dashboards/

Last edited by shoreypu on Fri Apr 03, 2020 10:21 am, edited 1 time in total.
shoreypu
Posts: 134
Joined: Wed Mar 13, 2019 2:06 pm

Re: User Created Dashboards are Dashboards

Post by shoreypu »

benjaminsmith, PM sent...Thanks
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: User Created Dashboards are Dashboards

Post by benjaminsmith »

Hello @shoreypu

We think this is an issue with a dashboard being deployed to multiple users and synced with the original copy. Can you locate the original dashboard and try to correct the errors or delete it to see if the issue is resolved. Go to the Dashboards > Deploy Dashboard Menu.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
shoreypu
Posts: 134
Joined: Wed Mar 13, 2019 2:06 pm

Re: User Created Dashboards are Dashboards

Post by shoreypu »

How would I find the dashboard in question? I was able to remove all of the shared dashboards from one of the users experiencing the problem, but the problem is with dashboards that the users create themselves. They are the ones that I'm still unable to delete. Thanks
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: User Created Dashboards are Dashboards

Post by lmiltchev »

...but the problem is with dashboards that the users create themselves. They are the ones that I'm still unable to delete.
Users should be able to delete dashboards that they create (Dashboards > Dashboard Tools > Manage My Dashboards > Remove). When you log in (masquerade in) as a user, you should be able to delete his/her dashboards.

If a dashboard was deployed to a user (with the "Keep Synced" option selected), and you log in as this particular user, you wouldn't be able to delete dashlets from the dashboard as they would reappear on refreshing the page. However, you could still delete the dashboard.

Let's clarify a couple of things:

1. Are you trying to delete dashlets from dashboards, or delete entire dashboards?
2. Are you deleting the "original" dashboards, created by a user or dashboards that were deployed to a user?

Note: I am not sure how your users were able to deploy any dashboards with the permissions they had (from your screenshots). Only admin users can deploy dashboards.
Be sure to check out our Knowledgebase for helpful articles and solutions!
shoreypu
Posts: 134
Joined: Wed Mar 13, 2019 2:06 pm

Re: User Created Dashboards are Dashboards

Post by shoreypu »

So I am able to recreate this issue with my own user account.

I have a dashboard account that I use to create and deploy dashboards to users. There are no issues with these dashboards, that I'm aware of.

This issue is with dashboards that users create themselves. When I user creates a dashboard, they get a blank dashboard with the title, along with a growing number of blank title dashboards. The user cannot add anything to the dashboards and cannot delete the dashboards they've created.

Hope this clarifies.

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

Re: User Created Dashboards are Dashboards

Post by lmiltchev »

Can you PM me your latest profile? We will have to review your configs and logs, and see if we can identify the problem.

Admin > System Profile > Download Profile
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked