part 2 - how to make dashboard visible to non-Nagios users

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
caterpillartce
Posts: 117
Joined: Mon Jul 11, 2016 11:22 am

part 2 - how to make dashboard visible to non-Nagios users

Post by caterpillartce »

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
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: part 2 - how to make dashboard visible to non-Nagios use

Post by rkennedy »

Built into XI there isn't a way to 'mask' the URL. I went ahead and filed a feature request for this -

Code: Select all

NEW TASK ID 10987 created - Nagios XI Feature Request: Add user option for access to 'only Dashboard' or 'only Reports'
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.
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

Post by caterpillartce »

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!
caterpillartce
Posts: 117
Joined: Mon Jul 11, 2016 11:22 am

Re: part 2 - how to make dashboard visible to non-Nagios use

Post by caterpillartce »

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
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: part 2 - how to make dashboard visible to non-Nagios use

Post by rkennedy »

caterpillartce wrote:1) can the URL for dashboard be hidden?
Within XI, it cannot. You could probably use a URL hider of some sort, or hide it within frames some how.
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?
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?
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.
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 -

Code: Select all

7139	Nagios XI Feature Request: Add function to edit current dashlets
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.
At this time, I don't believe so. I filed a feature request for it though -

Code: Select all

NEW TASK ID 11006 created - Nagios XI Feature Request: Add ability to schedule reports hourly
One thing to note, this could become pretty heavy on the system depending on how much data you're attempting to sort through, and what all is included in the report.
Former Nagios Employee
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: part 2 - how to make dashboard visible to non-Nagios use

Post by rkennedy »

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
Are you looking for a custom report? Bit confused on this one. If you can provide any more information / screenshots that'll help!
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

Post by caterpillartce »

rkennedy wrote:
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
Are you looking for a custom report? Bit confused on this one. If you can provide any more information / screenshots that'll help!
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.

Thanks!
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: part 2 - how to make dashboard visible to non-Nagios use

Post by rkennedy »

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/.
Former Nagios Employee
User avatar
rseiwert
Posts: 196
Joined: Wed Jun 22, 2011 10:33 pm
Location: Somewhere between Here and Now

Re: part 2 - how to make dashboard visible to non-Nagios use

Post by rseiwert »

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
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: part 2 - how to make dashboard visible to non-Nagios use

Post by ssax »

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:

Code: Select all

http://YOURXISERVER/nagiosxi/help/api-object-reference.php#objects-rrdexport
http://YOURXISERVER/nagiosxi/help/custom-api-endpoints.php
Those are the only options we have currently.

Let us know if you have any questions.


Thank you
Locked