[mrtg] Re: Y range on the graphs

Steve Shipway s.shipway at auckland.ac.nz
Mon Jul 24 01:13:23 MEST 2006


> Is there a way to get the Y axis on the graphs to not start 
> at 0? I am graphing temperature that doesn't stray to far 
> from the medium maybe +/- 5 degrees. So I want the Y axis to 
> start at 60 degrees and let the max float.

Yes.  If you are calling RRDTool directly, there are various options to
set the Y-axis - you can read the RRDTool documentation for this.

If you use routers2 as your frontend, then you can pass these options in
the .cfg file.  Make sure you have routers.cgi v2.16b7 or later for
this.

routers.cgi*LowerLimit[xxx]: 5
routers.cgi*UpperLimit[xxx]: 15

will give you a graph with y-range from 5 to 15.  You can also add

routers.cgi*Options[xxx]: rigid unscaled

to make this a hard limit (IE, it won't show outside this range even if
the data lies outside it).

Steve

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list