I performed the following tests to verify problems with rrdtools
$ su
>># cd $LogDir
>># rrdtool info pool.rrd
>># rrdtool dump pool.rrd | more
$ su
# sh
# cd $LogDir
# rrdtool graph /tmp/image.png --imgformat=PNG --start=end-4w
--end=-300 --title="BackupPC Pool Size (4 weeks)" --base=1000
--height=100 --width=600 --alt-autoscale-max --lower-limit=0
--vertical-label="" --slope-mode --font TITLE:10:Times --font
AXIS:8:Times --font LEGEND:8:Times --font UNIT:8:Times -c BACK#FFFFFF
DEF:ao="pool.rrd":ckb:AVERAGE CDEF:a=ao,1024,* AREA:a#95B8DB:"CPool in
bytes" GPRINT:a:LAST:"Current\\:%8.2lf %s"
GPRINT:a:AVERAGE:"Average\\:%8.2lf %s" GPRINT:a:MAX:"Maximum\\:%8.2lf
%s\\n"
I did the above and that worked just fine...created a file called
image.png and shows an empty graph.
I read in some post that CGI who should have permissions to read the file pool.rdd. But how do I assign permissions ?
thank you.