Not sure if this question is still needing an answer, but I am going to share my success at using NagVis in Dashboards.
This pertains to using Custom URL Dashlet only, in order to display a single html file that contains multiple data sources.
In the html file that will be added, I put an iFrame in for the NagVis map.
I provide a link for them to pop out NagVis to it's own tab, and I use an iframe to display the data. I found using a frame with a width and height made the dashboard experience easier to control.
Code: Select all
<!-- NagVis -->
<!-- the NagVis width is always 1315px (some corporate graphic at top of each page defines this) -->
<A HREF="http://[Nagios Server Name or IP]/nagvis/frontend/nagvis-js/index.php?mod=Map&act=view&show=[Map Name]"
TARGET="_tab">
<B>NagVis</B>
</A>
<BR />
<IFRAME SRC="http://[Nagios Server Name or IP]/nagvis/frontend/nagvis-js/index.php?mod=Map&act=view&show=[Map Name]"
WIDTH="1315px"
HEIGHT="750px">
</IFRAME>
I use the Width and Height to show the NagVis page without scroll bars. Sometimes it takes multiple passes to get it right.
This is just the NagVis piece. I also include a Help Desk software view, 3rd party Graphs, Links to resources, and other data that pertains to the specific NagVis Application I am modelling. So the html page in some cases might have 10 or more iFrames displaying information that the Application Owner finds useful. They like this as it is all in a single location and the Managers just have to look in one place for data. In the html file, I use width and height to eliminate as many scroll bars as I can. Ideally, if done properly, there is a single scroll bar to move vertically and move through the data.
Since the editing of dashboards post creation has been a delete and add scenario, I adopted the single html model where possible. I embed everything I can in the html file that I control, instead of having multiple dashlets added. Then, to make changes, I just edit the single file. It made life easier.
Also, at the bottom of the html, I keep track of the dashlet settings in case I need to make changes. If I have to resize the page for some reason it is good to know what it was before you made changes.
Code: Select all
<!-- CHANGE THESE to remember the Dashboard creation parameters for THIS Dashboard
Heights used
375 X 6 = 2250
Plus 300 grace space
A guide for Height would be to start with all iFrame added together + 220px
Title = Remote Site Bandwidth
W=1360
H=2600
URL=http://[Nagios Server]/[location of html]/SiteView.html
Opacity=100% -->
</BODY>
</HTML>
Thanks
Steve B