From: Philip J. H. <hol...@sc...> - 2007-05-30 19:55:06
|
On 05/28/07, Philip J. Hollenback wrote: > I'm running munin 1.3.2 and monitoring about 50 hosts. It seems to > work pretty well except the html display is not so great. > > The problem is on the service detail page (i.e. the page that shows > hourly, weekly, monthly, and yearly graphs for a particular service). > The table holding the graphs is set to 100% page width which works until > you are monitoring a lot of nodes. Then the list of other nodes at the > bottom of this page causes the page width to increase so much that the > right-hand graphs (weekly and yearly) are completely off the right side > of the page and you have to scroll over to see them. > > Does anyone have an easy fix for this, perhaps some small tweak to the > templates? Has this been addressed in the cvs version? I resolved this issue and am replying to my message in case anyone else has a similar complaint. I think that anyone using munin with more than twenty or so machines will have this same issue. I chose to remove the list of systems from the bottom of every munin page. My logic there is that you can always hit the back button in your browser to go to the main page anyway. To make this change, edit the files in /etc/munin/templates and remove the tables of class "linkbox" at the end of each file. These contain TMPL_LOOP tags which iterate through the list of nodes to display each node. Note that the one file that still needs this table is munin-domainview.tmpl because this is used to generate the main page of all nodes. Other than that it can be safely removed from all templates. After you make this change, on the next munin run (every 5 minutes) the display pages will be regenerated without node lists at the bottom. This will eliminate the graph spacing issues. There should probably be a setting in the munin config file to enable or disable this as it tends to just get in the way with larger munin installations. Thanks, P. -- Phil Hollenback hol...@sc... Schrodinger, Inc. |