Dashboard with Trend Repots dashlet

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
rbsinclair
Posts: 11
Joined: Wed Feb 03, 2010 10:22 am

Dashboard with Trend Repots dashlet

Post by rbsinclair »

Greetings --

Is there a way to create a dashboard that contains dashlet(s) that contains trend reports(s) for hosts/services?
The URL dashlet looks as though this may be possible, but I can not figure out how to link the URL for the reports.

Bruce Sinclair
ECHO Labs
Thanks

Bruce Sinclair
ECHO Labs
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Dashboard with Trend Repots dashlet

Post by mguthrie »

Most of the information in Nagios is accessed by URL arguments. If you're looking to access trends for a particular host or service, that should be a piece of cake. Try this as your URL and let me know how it works.

http://<yourserver>/nagiosxi/includes/components/nagioscore/ui/trends.php?host=<hostname>&noheader
rbsinclair
Posts: 11
Joined: Wed Feb 03, 2010 10:22 am

Re: Dashboard with Trend Repots dashlet

Post by rbsinclair »

Mguthrie --

Thanks for the quick response.

I may not have fully detailed my request.

I have created a separate dashboard, within that dashboard I want to have a dashlet that will display trend reports for hosts and/or services.
Which dashlet should I use to display this, or is this possible?

Thanks
Bruce Sinclair
ECHO Labs
Thanks

Bruce Sinclair
ECHO Labs
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Dashboard with Trend Repots dashlet

Post by mguthrie »

Ok, I see what you're saying. I was thinking that the URL dashlet could take a URL as an argument, but it look like that needs to be hardcoded in.

Making a dashlet that does this wouldn't be terribly hard. Would it work if there was a URL dashlet where you can enter the URL for it when it's created? That way you can pretty much paste just about any internal link in Nagios and have it as a dashlet. Thoughts?
rbsinclair
Posts: 11
Joined: Wed Feb 03, 2010 10:22 am

Re: Dashboard with Trend Repots dashlet

Post by rbsinclair »

OK, looks like we are on the same page now.
What you propose would be nice. Even better, since we are getting there, an ideal dashlet would provide "up-to-date" data. Sounds a bit more difficult but would be more useful.

Thanks for the quick responses.
Thanks

Bruce Sinclair
ECHO Labs
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Dashboard with Trend Repots dashlet

Post by mguthrie »

I'll see if I can take a stab at that in the next week or two. I'll probably keep it simple, but if it's simply calling an internal URL within Nagios, the actual page that it's calling should be doing the work for keeping the data fresh, but I'll see what I can do.
rbsinclair
Posts: 11
Joined: Wed Feb 03, 2010 10:22 am

Re: Dashboard with Trend Repots dashlet

Post by rbsinclair »

Thanks, look forward to your effort.
Happy Holidays.
Thanks

Bruce Sinclair
ECHO Labs
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Dashboard with Trend Repots dashlet

Post by mguthrie »

Ok, so I'm working on a simple "URL Dashlet Builder," where you can create as many URL dashlets as you want (and they can be selected from the list of available dashlets. Do you have any interest in helping test this once I get it close to ready?
rbsinclair
Posts: 11
Joined: Wed Feb 03, 2010 10:22 am

Re: Dashboard with Trend Repots dashlet

Post by rbsinclair »

I would be interested in testing.
Thanks

Bruce Sinclair
ECHO Labs
User avatar
admin
Site Admin
Posts: 256
Joined: Mon Oct 12, 2009 8:21 am

Re: Dashboard with Trend Repots dashlet

Post by admin »

Right click in the report window and select "Open Frame in New Window". You can then see the URL that could be used to directly access the report and embed it in a URL dashlet.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Ethan Galstad
President
Locked