
Hi!
Not sure if other have the same issue, but my Collectd graphs show up occupying just half of the size compared to normal Observium graphs, plus the font size is so tiny that you can't really read it.
I found in /opt/observium/html/includes/collectd/config.php that the following control the size of the graphs, and if I multiply the variable with 2 like in the example below, I get pretty close to the right size :
// Array of paths when collectd's rrdtool plugin writes RRDs $config['datadirs'] = array($config['collectd_dir']); // Width of graph to be generated by rrdgraph if(isset($_GET['width'])) { $config['rrd_width'] = $_GET['width'] ** 2*; } else { $config['rrd_width'] = 270; }
// Height of graph to be generated by rrdgraph if(isset($_GET['height'])) { $config['rrd_height'] = $_GET['height'] ** 2*; } else { $config['rrd_height'] = 120; }
Clearly there should be a more precise way than just multiply with 2....I guess someone this list may know the proper way to solve this ?
The other thing that I have not yet solved is the font size. How do I control the size so I can set it to something similar to what Observium uses itself for RRD graphs ?
/Jesper
participants (1)
-
Jesper Frank Nemholt