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
how to make dashboard visible to non-Nagios users
-
caterpillartce
- Posts: 117
- Joined: Mon Jul 11, 2016 11:22 am
Re: how to make dashboard visible to non-Nagios users
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
Former Nagios Employee
-
caterpillartce
- Posts: 117
- Joined: Mon Jul 11, 2016 11:22 am
Re: how to make dashboard visible to non-Nagios users
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!
I know I can "pretend" to be another user to log in, but my viewing the dashboard isn't the issue here.
Thanks!
-
caterpillartce
- Posts: 117
- Joined: Mon Jul 11, 2016 11:22 am
Re: how to make dashboard visible to non-Nagios users
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!!
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
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.
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.
Former Nagios Employee
-
caterpillartce
- Posts: 117
- Joined: Mon Jul 11, 2016 11:22 am
Re: how to make dashboard visible to non-Nagios users
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!
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
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.
Former Nagios Employee
-
caterpillartce
- Posts: 117
- Joined: Mon Jul 11, 2016 11:22 am
Re: how to make dashboard visible to non-Nagios users
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.
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.