Re: [BackupPC-users] backuppc 3.1.0-4/debian: rrd graph missing
2009-04-29 11:41:35
On 29/04/2009 Ludovic Drolez wrote:
> On Thu, Apr 23, 2009 at 11:22:05PM -0400, Kenneth L. Owen wrote:
> > > rrdtool (1.3.1-4) is installed and the rrd-file at
> > > /var/lib/backuppc/log/pool.rrd seems to be updated regularly as well.
> > >
> > > I even checked the command to create the graph image, which is used at
> > > /usr/share/backuppc/lib/BackupPC/CGI/GeneralInfo.pm, and it seems to
> > > work:
> > >
> > > $ /usr/bin/rrdtool graph - --imgformat=PNG --start=end-7w --end=-300
> > > --title="BackupPC Pool Size (7 weeks)" --base=1000 --height=100
> > > --width=600 --alt-autoscale-max --lower-limit=0 --vertical-label=""
> > > --slope-mode --font TITLE:10: --font AXIS:8: --font LEGEND:8: --font
> > > UNIT:8: -c BACK#FFFFFF
> > > DEF:ao="/var/lib/backuppc/log/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" > graph.png
> > > (process:14825): Pango-CRITICAL **: pango_context_load_font: assertion
> > > `pango_font_description_get_family (desc) != NULL' failed
> > >
> > > (process:14825): Pango-CRITICAL **: pango_context_load_font: assertion
> > > `pango_font_description_get_family (desc) != NULL' failed
> > > $ file graph.png
> > > graph.png: PNG image, 687 x 180, 8-bit/color RGBA, non-interlaced
> > >
> > > So I wonder why the image doesn't occur in the webinterface. Does
> > > anybody have similar issues?
>
> What do you get if you enter this url in the browser:
>
> http://localhost_or_your_bcphost/backuppc/index.cgi?image=5
>
> Do you see any error messages ? If you save this page to a file, what
> do you see (error messages) ?
Intererestingly I do see the correct graph image. It's up-to-date and
displayed correctly. I wonder why it's not included into the backuppc.
greetings,
jonas
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
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/
|
|
|