BackupPC-users

Re: [BackupPC-users] The graph is not showing on the main backuppc page

2016-08-31 09:08:15
Subject: Re: [BackupPC-users] The graph is not showing on the main backuppc page
From: Alexander Moisseev <moiseev AT mezonplus DOT ru>
To: backuppc-users AT lists.sourceforge DOT net
Date: Wed, 31 Aug 2016 16:07:29 +0300
On 31.08.2016 13:41, Orazio Di nino wrote:
> Hi there,
>
> 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.
>

You didn't mention the problem you have.

Assuming you see image placeholders instead of empty graphs in the CGI:
1. Check current $LogDir and pool.rrd permissions with `ls -l` command. 
pool.rrd should be writable for backuppc user and readable for CGI user 
(commonly the same as backuppc user).
2. Modify the permissions appropriately using chown, chgrp, chmod.

In case you see empty graphs in the CGI after BackupPC installation - there is 
nothing to graph yet. Just wait for 2-3 days.

--
Alexander


------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>