Munin graphs is very small. That makes some multigrpahs useless for me. Is it possible to increase graph image size?
2 Answers
The documentation makes reference to two global attributes, graph_width and graph_height. Have you tried changing them? Note that these are global for a particular plugin, not for the whole munin installation; you will need to set them in the config output of a single plugin (or in munin.conf) for them to take effect.
Just to check, I put the following lines into my munin.conf:
load.graph_width 1200 load.graph_height 1000 and my load graph got absolutely massive, so I expect this will work for you, too.
- 1don't know why, but "graph_width" doesn't work for "Disk IOs", "Disk latency", "Disk utilization" graphs, only height is changed.John– John2011-02-25 09:21:45 +00:00Commented Feb 25, 2011 at 9:21
- 2@John: If you look at thee
diskstatsplugin, it says the graph width is set dynamically and has a default of 400 unless you overrideenv.graph_widthin the plugin config.tjwallace– tjwallace2011-03-30 16:11:18 +00:00Commented Mar 30, 2011 at 16:11 - Is there a way to change this for all graphs?Wouter Lievens– Wouter Lievens2012-04-06 10:00:36 +00:00Commented Apr 6, 2012 at 10:00
- 1Not to my knowledge, though note that you can set it on a plugin-by-plugin basis in
munin.conf, which is at least centralised.MadHatter– MadHatter2012-04-06 16:02:45 +00:00Commented Apr 6, 2012 at 16:02 - you can also add them on the node or group level: graph_height 1200. It has the same issue for the graphs with dynamic graph width.Joseph Tanenbaum– Joseph Tanenbaum2012-07-04 23:17:11 +00:00Commented Jul 4, 2012 at 23:17
For the record, it seems that with munin 2.0.6 it is possible to set these on the global level, with two caveats:
- if using CGI graphs (as munin 2.x does by default), updates to the munin.conf file are not picked up automatically, so restarting all the munin-cgi-graph processes is necessary
- sometime, munin-cgi-graph seems to "forget" these and revert to the default; a restart, again, helps
Tested on Debian sid with munin 2.0.6-1.