[rrd-users] right axis with different start/stop

Tobias Oetiker tobi at oetiker.ch
Tue Jun 9 08:12:38 CEST 2009


Hoi Alexander,

Today Alexander Skwar wrote:

> Hi.
>
> In the manual, I found the --right-axis option and am curious in how
> to use it.
>
> I would like to draw idle CPU usage (with values 0..100) on one y-axis
> (the left one) and some "application performance" values which has
> values 1000..10000.
>
> How would I need to set the scales?
>
> If I'd only have one y-axis, I'd use --upper-limit 10000 and --lower-limit
> 1000.
> But doing that, the CPU values wouldn't be shown; or I'd set the limits
> to 0 and 100 - but then, the app perf. values would be out of range... :(
>
> What would be the best way to go about this, using the current RRDtool
> version on Solaris 10?

note that the right axis has to be configured based on the left
axis, you can shift and scale it ...

as for the content of the graph, you have to use CDEF to adjust
position and size of something like CPU. The reason for this is
that I want the grid to be true for both axis and this is only
possible when they are somehow coupled ...

cheers
tobi


-- 
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