Alexander Moisseev
2013-04-23 10:26:25 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.
This patch originally was written by Ludovic Drolez and Nicholas Hall:
http://sourceforge.net/mailarchive/forum.php?thread_name=20080302014621.GG618%40renesys.com&forum_name=backuppc-users
http://www.mail-archive.com/backuppc-***@lists.sourceforge.net/msg09451.html
I propose enclosed patch with several improvements:
- long code lines splitted to more readable form;
- place graphs at the end of "General Server Information" section. It looks better, IMHO;
- disabled fonts antialiasing;
- added time period to graphs title, like in Debian patch;
- some cosmetic code style corrections.
FYI Debian patch:
http://patch-tracker.debian.org/patch/misc/view/backuppc/3.2.1-5/bin/BackupPC
http://patch-tracker.debian.org/patch/misc/view/backuppc/3.2.1-5/lib/BackupPC/CGI/GeneralInfo.pm
--
Alexander Moisseev
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.
This patch originally was written by Ludovic Drolez and Nicholas Hall:
http://sourceforge.net/mailarchive/forum.php?thread_name=20080302014621.GG618%40renesys.com&forum_name=backuppc-users
http://www.mail-archive.com/backuppc-***@lists.sourceforge.net/msg09451.html
I propose enclosed patch with several improvements:
- long code lines splitted to more readable form;
- place graphs at the end of "General Server Information" section. It looks better, IMHO;
- disabled fonts antialiasing;
- added time period to graphs title, like in Debian patch;
- some cosmetic code style corrections.
FYI Debian patch:
http://patch-tracker.debian.org/patch/misc/view/backuppc/3.2.1-5/bin/BackupPC
http://patch-tracker.debian.org/patch/misc/view/backuppc/3.2.1-5/lib/BackupPC/CGI/GeneralInfo.pm
--
Alexander Moisseev