[rrd-users] Right Axis in rrdtool 1.2.29

Tobias Oetiker tobi at oetiker.ch
Thu Jan 8 06:30:57 CET 2009


Hi Jeffrey,

you have todo the scaling of the graphs yourself, using CDEF. So if
one line is in the 100 thousands, then you do a CDEF:b=a,1000,/ and
draw b ... along with setting the scaling factor for the right axis
to 0.001

cheers
tobi




Yesterday Jeffrey (Xiu Yan) Zhang wrote:

>
> Hi I noticed that there is a new feature Right Axis in rrdtool 1.2.29 .  But I m not sure what it could be used for practically.
>
> Here is one real case I want to graph but I m afraid the current implementation for Right Axis wont help:
>
> I want to draw SQL execution per min and db box CPU (by minute) in the same graph.  However, these two metrics are not scaled in the same level.
>
> Sql execution/min is usually in the order of 100K while CPU is always under or at 100. I thought rrdtool should have a feature that show CPU number in Left Y Axis and Sql Executions in Right Y Axis.  And They should be displayed clearly in the same graph but just different Left and Right Axis numbers in their own scales (i.e, not the one with logarithmic option).
>
> Does anyone get any insight how to do that ?   I play around the new feature stated earlier but I don't think it could do that.
>
> Thanks for your help.
>
> Jeffrey
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the rrd-users mailing list