part 2 - how to make dashboard visible to non-Nagios users
-
caterpillartce
- Posts: 117
- Joined: Mon Jul 11, 2016 11:22 am
part 2 - how to make dashboard visible to non-Nagios users
Hello,
This is a sequel to my previous post " how to make dashboard visible to non-Nagios users".
Now my question is - is there a way to hide the URL and still display the dashboard to users? We have concern for users to see the Nagios URL and be able to modify it to go to the homepage where they can see all hosts and services. Though I locked the auto-login account to read only, if I had a choice, I would rather for them to see just the dashboard.
Thanks!
Jessica Zhang
This is a sequel to my previous post " how to make dashboard visible to non-Nagios users".
Now my question is - is there a way to hide the URL and still display the dashboard to users? We have concern for users to see the Nagios URL and be able to modify it to go to the homepage where they can see all hosts and services. Though I locked the auto-login account to read only, if I had a choice, I would rather for them to see just the dashboard.
Thanks!
Jessica Zhang
Re: part 2 - how to make dashboard visible to non-Nagios use
Built into XI there isn't a way to 'mask' the URL. I went ahead and filed a feature request for this -
I'll tell you what I did for a job one time though in the past, which you may be able to run with. We had a Firewall which had limited access to x subnet and x users, but management wanted access to reports from anywhere.
There was a 'reports' section that everyone was supposed to have access to, but nothing else. This wasn't built into the application, though. (so, similar to XI)
What I did, was used HA proxy as a reverse proxy, to serve the content. I then added in specific regex filters for the locations to allow / deny at this layer, so that anyone using the proxy was restricted on what else they could view, and it essentially 'locked' them in to this section.
Code: Select all
NEW TASK ID 10987 created - Nagios XI Feature Request: Add user option for access to 'only Dashboard' or 'only Reports'
There was a 'reports' section that everyone was supposed to have access to, but nothing else. This wasn't built into the application, though. (so, similar to XI)
What I did, was used HA proxy as a reverse proxy, to serve the content. I then added in specific regex filters for the locations to allow / deny at this layer, so that anyone using the proxy was restricted on what else they could view, and it essentially 'locked' them in to this section.
Former Nagios Employee
-
caterpillartce
- Posts: 117
- Joined: Mon Jul 11, 2016 11:22 am
Re: part 2 - how to make dashboard visible to non-Nagios use
Thanks for the reply. Unfortunately I don't have access to proxy or firewall and the users who wanted to see the dashboard could come from all over the world (i.e. not feasible to restrict per subnet).
I have the following thoughts and would appreciate all the help:
1) can the URL for dashboard be hidden?
2) I see there is schedule function where you can schedule for the dashboard to be emailed to you in jpeg or pdf format. however I tried both formats and the attachment in the email can not be opened. Is there any trick to make this work?
3)is there a way to modify the dashboard to display host alias instead of host names? I am using "Host group status overview" on the dashboard.
4) is there a way to use report to display the same information and schedule for it to run hourly? I see the smallest schedule interval is daily.
Thanks!
I have the following thoughts and would appreciate all the help:
1) can the URL for dashboard be hidden?
2) I see there is schedule function where you can schedule for the dashboard to be emailed to you in jpeg or pdf format. however I tried both formats and the attachment in the email can not be opened. Is there any trick to make this work?
3)is there a way to modify the dashboard to display host alias instead of host names? I am using "Host group status overview" on the dashboard.
4) is there a way to use report to display the same information and schedule for it to run hourly? I see the smallest schedule interval is daily.
Thanks!
-
caterpillartce
- Posts: 117
- Joined: Mon Jul 11, 2016 11:22 am
Re: part 2 - how to make dashboard visible to non-Nagios use
5) is there a way to provide information of the database (table/view) needed by that dashboard to Tableau to create a Tableau report instead?
Thanks
Thanks
Re: part 2 - how to make dashboard visible to non-Nagios use
Within XI, it cannot. You could probably use a URL hider of some sort, or hide it within frames some how.caterpillartce wrote:1) can the URL for dashboard be hidden?
That should be working - could you create a new forum post for this issue and provide a bit more details about it and what you receive?2) I see there is schedule function where you can schedule for the dashboard to be emailed to you in jpeg or pdf format. however I tried both formats and the attachment in the email can not be opened. Is there any trick to make this work?
Can you post a screenshot of this? Off the top of my head, I do not believe so, but there is a feature request for the ability to edit a dashlet -3)is there a way to modify the dashboard to display host alias instead of host names? I am using "Host group status overview" on the dashboard.
Code: Select all
7139 Nagios XI Feature Request: Add function to edit current dashlets
At this time, I don't believe so. I filed a feature request for it though -4) is there a way to use report to display the same information and schedule for it to run hourly? I see the smallest schedule interval is daily.
Code: Select all
NEW TASK ID 11006 created - Nagios XI Feature Request: Add ability to schedule reports hourly
Former Nagios Employee
Re: part 2 - how to make dashboard visible to non-Nagios use
Are you looking for a custom report? Bit confused on this one. If you can provide any more information / screenshots that'll help!caterpillartce wrote:5) is there a way to provide information of the database (table/view) needed by that dashboard to Tableau to create a Tableau report instead?
Thanks
Former Nagios Employee
-
caterpillartce
- Posts: 117
- Joined: Mon Jul 11, 2016 11:22 am
Re: part 2 - how to make dashboard visible to non-Nagios use
No, I am trying to use Tableau to connect to the DB of Nagios and get the data behind the dashboard. Then Tableau can display the data however way we want. Attached please find the screenshot in Tableau where it shows what servers it can connect to and sample information it is asking for. I imagine it also needs table / view name after the initial DB information.rkennedy wrote:Are you looking for a custom report? Bit confused on this one. If you can provide any more information / screenshots that'll help!caterpillartce wrote:5) is there a way to provide information of the database (table/view) needed by that dashboard to Tableau to create a Tableau report instead?
Thanks
Thanks!
You do not have the required permissions to view the files attached to this post.
Re: part 2 - how to make dashboard visible to non-Nagios use
The data is not only stored in the database, but also the RRD files. We cannot support third party applications accessing it at a database level.
I'm not sure what you're after exactly, but the RRD data may have it. This would be located at /usr/local/nagios/share/perfdata/.
I'm not sure what you're after exactly, but the RRD data may have it. This would be located at /usr/local/nagios/share/perfdata/.
Former Nagios Employee
Re: part 2 - how to make dashboard visible to non-Nagios use
what would be the modern way would be an odata interface to stream the data to analytics. Don't think this exists for Nagios XI.
Grumpy Olde IT Guy
Re: part 2 - how to make dashboard visible to non-Nagios use
You are correct, it doesn't exist for XI at this point in time. Just a note, you can write your own API endpoints and also query RRD data through the API, please see here on your server:
Those are the only options we have currently.
Let us know if you have any questions.
Thank you
Code: Select all
http://YOURXISERVER/nagiosxi/help/api-object-reference.php#objects-rrdexport
http://YOURXISERVER/nagiosxi/help/custom-api-endpoints.phpLet us know if you have any questions.
Thank you