BackupPC-users

Re: [BackupPC-users] backuppc 3.1.0-4/debian: rrd graph missing

2009-04-23 23:28:59
Subject: Re: [BackupPC-users] backuppc 3.1.0-4/debian: rrd graph missing
From: "Kenneth L. Owen" <tx836519 AT bellsouth DOT net>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Thu, 23 Apr 2009 23:22:05 -0400
Hi Jonas,

I am still pretty much a newbie at Linux, but I am getting better each
day.  I am currently running a small network of less than ten machines
and have one machine that is my Archiver running BackupPC 3.0.0-4
Ubuntu1.  I, too, wanted to have a graphical representation of my
backuppc strorage drive.  I run gkrellm to monitor machine parameters
such as voltages, fans and temperatures.  It also allows me to monitor
my drive space both internal drives and remote shares.

While this does not answer your question about the graphing in the cgi
interface, it does give you an easy work-around until you get the issue
resolved.  -- ken

On Fri, 2009-04-24 at 03:23 +0200, Jonas Meurer wrote:
> Hello,
> 
> I use backuppc 3.1.0-4 on a debian/lenny system to backup four remote
> hosts. According to changelog and source, some graph with information
> about the pool size should be displayed in the webinterface.
> Unfortunately, this is not the case.
> 
> 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?
> 
> greetings,
>  jonas
> 
> ------------------------------------------------------------------------------
> Crystal Reports &#45; New Free Runtime and 30 Day Trial
> Check out the new simplified licensign option that enables unlimited
> royalty&#45;free distribution of the report engine for externally facing 
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> 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/


------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
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/