2020-09-24 14:24:39 +02:00
|
|
|
Index: collectd-5.12.0/contrib/collection.cgi
|
|
|
|
===================================================================
|
|
|
|
--- collectd-5.12.0.orig/contrib/collection.cgi
|
|
|
|
+++ collectd-5.12.0/contrib/collection.cgi
|
|
|
|
@@ -32,7 +32,7 @@ use URI::Escape ('uri_escape');
|
2011-02-03 02:08:32 +01:00
|
|
|
use RRDs ();
|
|
|
|
use Data::Dumper ();
|
|
|
|
|
|
|
|
-our $Config = "/etc/collection.conf";
|
2020-09-24 14:24:39 +02:00
|
|
|
+our $Config = "/etc/collectd/collection.conf"
|
2011-02-03 02:08:32 +01:00
|
|
|
our @DataDirs = ();
|
|
|
|
our @DontShowTypes = ();
|
2020-09-24 14:24:39 +02:00
|
|
|
our $LibDir;
|
|
|
|
Index: collectd-5.12.0/contrib/collection.conf
|
|
|
|
===================================================================
|
|
|
|
--- collectd-5.12.0.orig/contrib/collection.conf
|
|
|
|
+++ collectd-5.12.0/contrib/collection.conf
|
2011-02-03 02:08:32 +01:00
|
|
|
@@ -1,3 +1,2 @@
|
|
|
|
-datadir: "/opt/collectd/var/lib/collectd/rrd/"
|
|
|
|
-libdir: "/opt/collectd/lib/collectd/"
|
|
|
|
-
|
|
|
|
+datadir: "/var/lib/collectd/"
|
|
|
|
+libdir: "@@LIBDIR@@/collectd/"
|