[rrd-users] Help needed - tell me what I am doing wrong :-(

Eduardo Bragatto eduardo at bragatto.com
Sat Jan 15 15:36:10 CET 2011


On Jan 15, 2011, at 12:29 PM, Philip Peake wrote:

> Ok ... added -X 0
> rrdtool graph hour/req.png -X 0 -a PNG --title="Production Directory  
> Server Operations Requested" \
> --vertical-label="Operations/sec" -w 700 -h 200 -s -7200 \
> 'DEF:centos=db/req.rrd:centos:LAST' \
> 'LINE1:centos#0000ff:centos'
> which generates this graph:
>
> <req.png>
>
> Not certain that a graph with all zeros on the Y axis is much of an  
> improvement :-)

It rounded 0.033 to 0.0, I didn't think that would happen.

I believe if you also use "-L 4" to specify how many digits RRD may  
use in the Y axis, it will display correctly.

I can't run any tests right now, so I might be wrong here, but -X 0 -L  
4 seems to be what you're looking for. If that doesn't work please  
read the manual carefully (that link from my previous e-mail), I'm  
sure it's not a complicated issue.

Best regards,
Eduardo Bragatto.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20110115/4b479036/attachment.htm 


More information about the rrd-users mailing list