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 [email protected] ++41 62 775 9902 / sb: -9900 _______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
