You can define RRDGRAPHOPTS to have, for example, "--height 60 --width 180". You'd normally do this in xymonserver.cfg, but it applies to all graphs. If you wanted it to only apply to Metrics Report graphs, you could either adjust showgraph.sh or (preferably) cgioptions.cfg by adding the following:
echo "$HTTP_REFERER" | grep "/hostgraphs.sh\?" >/dev/null && RRDGRAPHOPTS="--height 60 --width 180" export RRDGRAPHOPTS
J
On 7 March 2013 21:39, Gonzalo Fernandez Ordas <g.fer.ordas at unicyber.co.uk>wrote:
Hi
I have been looking into the possibility of resizing the graphs generated by the "Metrics Report" but I cannot see a way of doing it?
The generated graphs got a fix size and the scripts do not seem to show a way of customizing that
Any idea?
Many thanks
______________________________**_________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/**mailman/listinfo/xymon<http://lists.xymon.com/mailman/listinfo/xymon>