[rrd-users] Y axis unit problem

Petteri Matilainen pmatil at gmail.com
Tue Dec 25 22:26:47 CET 2007


Good to hear that you got it to work. The -X option was a good idea, as 
normally the y-axis unit will be scaled to appropriate units. With -X, 
the -Y may work too, but manual scaling and grid lines are a safer bet, 
in my opinion.

Lennart Koopmann wrote:
> On Tue, 25 Dec 2007, Petteri Matilainen wrote:
>
>   
>> It's the -Y option (see rrdgraph manpage). Try setting the Y-axis scale
>> and gridlines manually, without -Y. Using both at the same time could
>> result in messed up labels.
>>     
>
> Thank you Petteri!
>
> I now use this command to generate the graph:
>
> /usr/bin/rrdtool graph 
> /home/lennart/Projekte/scopeport-interface-web/rrd/loadavg.png --start 
> 1198589209 --end N 
> DEF:cpu1=/home/lennart/Projekte/scopeport-interface-web/rrd/loadavg.rrd:cpu1:AVERAGE 
> AREA:cpu1#fbcf00:'CPU load average, last minute' 
> DEF:cpu5=/home/lennart/Projekte/scopeport-interface-web/rrd/loadavg.rrd:cpu5:AVERAGE 
> LINE2:cpu5#ff7800:'CPU load average, last 5 minutes' 
> DEF:cpu15=/home/lennart/Projekte/scopeport-interface-web/rrd/loadavg.rrd:cpu15:AVERAGE 
> LINE1:cpu15#ff0000:'CPU load average, last 15 minutes' 
> VRULE:1198589149#A0A0A0 VRULE:1198607158#A0A0A0:'Client startup' -t 'CPU 
> load [sundaysister]' -c FONT#c4a100 -c BACK#000000 -c CANVAS#292827 -c 
> GRID#696969 -c MGRID#877254 -c AXIS#bdbdbd -c ARROW#bdbdbd -y 0.2:1 -X 1
>
> It looks good. I used "-X 1" because without it i get a "0, 200m, 400m, 
> 600m, 800m, 1000m" - Was that a good idea? Or is there something else 
> wrong that causes this problem?
>
> Thank you.
> Lennart Koopmann
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>   



More information about the rrd-users mailing list