Page 1 of 1
how to make dashboard visible to non-Nagios users
Posted: Tue Jan 24, 2017 1:51 pm
by caterpillartce
Hello,
Our management is asking to display server status to all. I wonder how to make a dashboard visible to people if they do not have access/account in Nagios? I guess we can use a dedicated monitor at some sites, but we have sites overseas and if there is a way to redirect the dashboard to another web site that everybody has access to, that would be great.
Thanks!
Jessica Zhang
Re: how to make dashboard visible to non-Nagios users
Posted: Tue Jan 24, 2017 5:24 pm
by rkennedy
From the Admin -> Automatic login - you can select to automatically login as x user for anyone at the interface. You can then directly link to a dashboard by using the direct link, such as
http://192.168.47.9/nagiosxi/dashboards ... d=k6vkdeko
Re: how to make dashboard visible to non-Nagios users
Posted: Wed Jan 25, 2017 8:15 am
by caterpillartce
Sorry but I don't understand. I need for people to be able to see the dashboard without logging into Nagios as they do not necessarily have accounts in Nagios.
I know I can "pretend" to be another user to log in, but my viewing the dashboard isn't the issue here.
Thanks!
Re: how to make dashboard visible to non-Nagios users
Posted: Wed Jan 25, 2017 8:25 am
by caterpillartce
I got it! Thanks!
Two further questions:
1. the directlink I got by using "get permalink" function seems to have invalid characters and doesn't work. What is a good way to get a directlink to a dashboard?
2. once I enable auto login, it seems every time a real Nagios user will be logged in as the autologin account first and will have to log out to re login as themselves. This is a hassle, any way to get around it?
Thanks!!
Re: how to make dashboard visible to non-Nagios users
Posted: Wed Jan 25, 2017 10:36 am
by rkennedy
1. Where are you clicking that? I usually just right click under My Dashboards on the link I'd normally click, and then 'Copy Link Location' (which should be something like
http://192.168.3.115/nagiosxi/dashboard ... d=d7mccig7)
2. This is expected, since autologin is enabled, you'll need to logout and login if someone does have an account and wishes to use it.
Re: how to make dashboard visible to non-Nagios users
Posted: Wed Jan 25, 2017 11:10 am
by caterpillartce
I clicked on the icon that has 3 horizontal lines at the top right corner of the screen and in its menu there is one that is called "Get permalink", which gave me a URL that looks like this: http%3A%2F%2FOUR_NAGIOS_SERVER_NAME%2Fnagiosxi%2Fdashboards%2F%3F&xiwindow=http%3A%2F%2F2FOUR_NAGIOS_SERVER_NAME%2Fnagiosxi%2Fdashboards%2Fdashboard.php%3Fid%3D90g4d6sn... but your way seems to be working to get me a valid URL. Thanks!
I created dashboard, deployed it to the autologin user "visitor" (I am not sure if this is needed, but I did it anyway), then logged out as myself, then put in the direct link to the dashboard, but I got below error:
Bad Dashboard
Unfortunately for you, that dashboard is not valid... Too bad. Dashboard ID: 90g4d6sn
I suppose it has something to do with visitor account not having certain access? If I log in as myself, that directlink works fine. I only checked "Has read only access" in its security settings.
Thanks!
Re: how to make dashboard visible to non-Nagios users
Posted: Wed Jan 25, 2017 4:46 pm
by rkennedy
Ah - you would need to use the 'Deploy Dashboards' feature, which will allow you to add access for another user. Otherwise, users are restricted to their own dashboards only.
Re: how to make dashboard visible to non-Nagios users
Posted: Thu Jan 26, 2017 1:25 pm
by caterpillartce
As I said earlier, I already deployed the dashboard to the autologin account "visitor" but still got that error.
After trying different combinations, I figured it out - the URL for the dashboard after it was deployed to "visitor" is different from my original dashboard's URL. Also I need to give "visitor" account "can see all objects" access in its security setting.
thanks for the help and this can be closed.