Xymon Mailing List Archive search

Xymon Reports hostgraphs.sh graph size

list Gonzalo Fernandez Ordas
Fri, 08 Mar 2013 17:10:15 +0000
Message-Id: <user-87c1a166620f@xymon.invalid>

Brilliant!
Thanks very much for that.

On 08/03/2013 02:21, Jeremy Laidman wrote:
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 <user-5e10259081b2@xymon.invalid <mailto:user-5e10259081b2@xymon.invalid>> 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