Xymon Mailing List Archive search

Xymon Reports hostgraphs.sh graph size

list Jeremy Laidman
Fri, 8 Mar 2013 13:21:02 +1100
Message-Id: <CAAnki7C0Y-OEEvVf2fVdjGkka1FR=user-3783324d634d@xymon.invalid>

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>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 at xymon.com<