freebsd-ports/sysutils/ganglia-webfrontend/files/patch-conf.php
Brooks Davis ba2f18c6ae Upgrade to 3.0.1 (mostly just includes fixes we previously installed
via patches).

Submitted by:	Michael Fuckner <michael at fuckner dot net>
PR:		ports/79770
2005-04-15 22:24:50 +00:00

20 lines
513 B
PHP

$FreeBSD$
--- conf.php.orig
+++ conf.php
@@ -18,12 +18,12 @@
#
# Where gmetad stores the rrd archives.
-$gmetad_root = "/var/lib/ganglia";
+$gmetad_root = "/var/db/ganglia";
$rrds = "$gmetad_root/rrds";
# Leave this alone if rrdtool is installed in $gmetad_root,
# otherwise, change it if it is installed elsewhere (like /usr/bin)
-define("RRDTOOL", "/usr/bin/rrdtool");
+define("RRDTOOL", "%%LOCALBASE%%/bin/rrdtool");
#
# If you want to grab data from a different ganglia source specify it here.