summaryrefslogtreecommitdiffstats
path: root/sysutils/ganglia-webfrontend/files/patch-conf.php
blob: 7a58704aab115731aa647435be00bc73a49724cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

$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.
OpenPOWER on IntegriCloud