9

Munin graphs is very small. That makes some multigrpahs useless for me. Is it possible to increase graph image size?

John
  • 532
  • 5
  • 14

2 Answers2

8

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.

MadHatter
  • 78,442
  • 20
  • 178
  • 229
  • 1
    don't know why, but "graph_width" doesn't work for "Disk IOs", "Disk latency", "Disk utilization" graphs, only height is changed. – John Feb 25 '11 at 09:21
  • 2
    @John: If you look at thee `diskstats` plugin, it says the graph width is set dynamically and has a default of 400 unless you override `env.graph_width` in the plugin config. – tjwallace Mar 30 '11 at 16:11
  • Is there a way to change this for all graphs? – Wouter Lievens Apr 06 '12 at 10:00
  • 1
    Not 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 Apr 06 '12 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 Jul 04 '12 at 23:17
4

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.

iustin
  • 193
  • 6