Dashboard deployment for new user Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
hoegh
Posts: 201
Joined: Thu Jan 04, 2018 7:48 am

Dashboard deployment for new user Nagios XI

Post by hoegh »

Hi Team,

I'm trying to make new dashboard fro new user.
I'm able to add & deploy dashlets from ServiecGroup / Hostgroup overview by clicking "Add this to a Dashboard" option.

But when user is logging into his account, instead of added Host/Services its displaying random host/services in users newly created dashboard.

I tried deleting & recreating user & dashboard but didn't work well.

Please help.

Thanks
Hoegh
Thanks
Höegh
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Dashboard deployment for new user Nagios XI

Post by cdienger »

What are the exact steps you are taking and can you provide screenshots? What are the permissions set on the the new account? Typically users are only able to see hosts and services that have them as a contact which may explain why the user doesn't see what you see.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
hoegh
Posts: 201
Joined: Thu Jan 04, 2018 7:48 am

Re: Dashboard deployment for new user Nagios XI

Post by hoegh »

HI @cdienger,

I've attached steps i followed to deploy dashboard.

Thanks
Hoegh
You do not have the required permissions to view the files attached to this post.
Thanks
Höegh
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Dashboard deployment for new user Nagios XI

Post by cdienger »

Login as the user and go to Dashboards > My Dashboards, right click the VMS: Dashboard link, and select Copy Link address. This should copy a link like: http://nagiosxi_ip/nagiosxi/dashboards/dashboard.php?id=DFJUN2. Then click the username link in top right corner and go to My Account > Home Page Options, and select Custom URL for the "Home Page Destination" and enter the path of the URL for the "Custom URL" - /nagiosxi/dashboards/dashboard.php?id=DFJUN2. Update settings and that should do it.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
hoegh
Posts: 201
Joined: Thu Jan 04, 2018 7:48 am

Re: Dashboard deployment for new user Nagios XI

Post by hoegh »

Thanks @cdienger,
but it's not working.
1. When i'm logging as user & going to dashboard, not all Servers are visible in VMS-Dashboard which are originally added
2. It's displaying only servers which are from those 22 random server list.
3. I'm not getting any "Home Page Options" under My Account neither in nagiosadmin account nor newly created read only user account.
4. The Dashboard creation steps i've shared, I followed those steps in earlier & it worked well, so why it's not working now?

Please help, i need it fixed as soon as possible.

Thanks
HOegh
Thanks
Höegh
User avatar
hoegh
Posts: 201
Joined: Thu Jan 04, 2018 7:48 am

Re: Dashboard deployment for new user Nagios XI

Post by hoegh »

Please reply on this thread on priority, Need to fix this issue.
Thanks
Höegh
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Dashboard deployment for new user Nagios XI

Post by lmiltchev »

1. When i'm logging as user & going to dashboard, not all Servers are visible in VMS-Dashboard which are originally added
2. It's displaying only servers which are from those 22 random server list.
Is the user authorized to see all of the objects? Have you tried editing testuser's permissions (for testing purposes) by selecting the "Can see all hosts and services" checkbox, and clicking on "Update User"? Do numbers match now?

Do you see any errors / crashed tables in the mysqld.log (mariadb.log)?

Code: Select all

tail /var/log/mysqld.log
tail /var/log/mariadb/mariadb.log
3. I'm not getting any "Home Page Options" under My Account neither in nagiosadmin account nor newly created read only user account.
Go to Admin > System Extensions > Manage Components > Home Page Modification > Edit Settings, select the "Allow users to override their default home page settings" check-box, and click on "Apply Settings". Did this help?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
hoegh
Posts: 201
Joined: Thu Jan 04, 2018 7:48 am

Re: Dashboard deployment for new user Nagios XI

Post by hoegh »

lmiltchev wrote:Is the user authorized to see all of the objects? Have you tried editing testuser's permissions (for testing purposes) by selecting the "Can see all hosts and services" checkbox, and clicking on "Update User"? Do numbers match now?
No, numbers are not matching Total host & service list are coming, but when i'm trying to set custom URL of dashboard for Homepage then it's working but it's not appropriate.
Also we don't want to provide any access to the user except ReadOnly.
Do you see any errors / crashed tables in the mysqld.log (mariadb.log)?
tail /var/log/mysqld.log
[root@OSLMSnagios libexec]# tail /var/log/mysqld.log
190312 14:57:05 [Note] /usr/libexec/mysqld: Shutdown complete

190312 14:57:05 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
190312 14:57:07 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
190312 14:57:07 InnoDB: Initializing buffer pool, size = 8.0M
190312 14:57:07 InnoDB: Completed initialization of buffer pool
190312 14:57:07 InnoDB: Started; log sequence number 0 448185360
190312 14:57:07 [Note] Event Scheduler: Loaded 0 events
190312 14:57:07 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.1.73' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution

tail /var/log/mariadb/mariadb.log
[root@OSLMSnagios libexec]# tail /var/log/mariadb/mariadb.log
tail: cannot open `/var/log/mariadb/mariadb.log' for reading: No such file or directory


Go to Admin > System Extensions > Manage Components > Home Page Modification > Edit Settings, select the "Allow users to override their default home page settings" check-box, and click on "Apply Settings". Did this help?
Yes it works.

but i want read only user with customised Dashboard access.


Additionally I've restarted Nagios server & Nagios, repaired database but still not worked. Please help.
Thanks
Höegh
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Dashboard deployment for new user Nagios XI

Post by lmiltchev »

You deployed the "VMS : Dashboard" to the "testuser"
example01.PNG
and expect numbers of hosts/services in the "Link" servicegroup to match, however you are looking at the "Home Dashboard" of the "testuser", NOT at the "VMS : Dashboard"...
example02.PNG
If testuser were added as a monitoring contact to let's say 22 hosts, he/she would be able to see 22 hosts on the Home Dashboard under "Host Status Summary". However, under the "VMS : Dashboard", testuser should see less number of hosts (as the results are filtered based on the servicegroup objects).

Is "testuser" added as a monitoring contact to ALL 13 hosts that show up under the "Link" servicegroup? What are the numbers on the "VMS : Dashboard" page?
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
hoegh
Posts: 201
Joined: Thu Jan 04, 2018 7:48 am

Re: Dashboard deployment for new user Nagios XI

Post by hoegh »

HI @lmiltchev,

I'll check this way & will let you know.
Thanks
Höegh
Locked