[rrd-users] Y axis unit problem

Lennart Koopmann lennart at scopeport.org
Tue Dec 25 21:55:52 CET 2007

Hello everyone,

i have a problem with the units on my Y axis. I plot the load average 
(1,5,15min) and created this RRD:

rrdtool create loadavg.rrd --start 1198589209 --step 60 
DS:cpu1:GAUGE:600:U:U DS:cpu5:GAUGE:600:U:U DS:cpu15:GAUGE:600:U:U 

I fill in the values, generate the graph PNG and everything except the Y 
axis looks great! It 
should have some markers like "1, 2, 3, 4, 5" but it has "0, 200m, 400m, 
600m, 800m" - Why? Where do these unit values come from?

I use this command to generate the graph (generated by a PHP script):

/usr/bin/rrdtool graph 
/home/lennart/Projekte/scopeport-interface-web/rrd/loadavg.png --start 
1198589209 --end N 
AREA:cpu1#fbcf00:'CPU load average, last minute' 
LINE2:cpu5#ff7800:'CPU load average, last 5 minutes' 
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

Thank you!
Lennart Koopmann

More information about the rrd-users mailing list