[rrd-users] Y axis unit problem
Lennart Koopmann
lennart at scopeport.org
Tue Dec 25 22:19:31 CET 2007
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
More information about the rrd-users
mailing list