Alexander Moisseev
2013-10-08 13:05:18 UTC
This patch adds the pool size graphs on the server status page for privileged users.
RRDtool required to store pool size statistics and show graphs.
If RRDtool not installed, status page looks as usual without graphs.
The graphs updates during the 'backuppc nightly' run.
Main difference from V3:
V3 draws pool+cpool as one area (http://sourceforge.net/mailarchive/message.php?msg_id=30758627);
V4 draws nonempty pools (poolv3, cpoolv3, poolv4, cpoolv4) as stack of areas (see attached BackupPC_Pool_Size.png).
Attachedpatch-4.0.0alpha2-rrd.tar.gz contains patches against bin/BackupPC and lib/BackupPC/CGI/GeneralInfo.pm
Note that RRD data sources (DS) renamed and 3 new DS added.
If you have existing RRD created by BackupPC V3, execute conversion script rrd_2_v4.pl in directory where the pool.rrd resides, usually $LogDir (/var/log/BackupPC). You will need RRD::Simple to run rrd_2_v4.pl.
--
Alexander
RRDtool required to store pool size statistics and show graphs.
If RRDtool not installed, status page looks as usual without graphs.
The graphs updates during the 'backuppc nightly' run.
Main difference from V3:
V3 draws pool+cpool as one area (http://sourceforge.net/mailarchive/message.php?msg_id=30758627);
V4 draws nonempty pools (poolv3, cpoolv3, poolv4, cpoolv4) as stack of areas (see attached BackupPC_Pool_Size.png).
Attachedpatch-4.0.0alpha2-rrd.tar.gz contains patches against bin/BackupPC and lib/BackupPC/CGI/GeneralInfo.pm
Note that RRD data sources (DS) renamed and 3 new DS added.
If you have existing RRD created by BackupPC V3, execute conversion script rrd_2_v4.pl in directory where the pool.rrd resides, usually $LogDir (/var/log/BackupPC). You will need RRD::Simple to run rrd_2_v4.pl.
--
Alexander