forked from pool/collectd
8c70fab9da
Update to 5.8.1 Add patch to fix the psql detection on Factory builds. OBS-URL: https://build.opensuse.org/request/show/694073 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=154
24 lines
706 B
Diff
24 lines
706 B
Diff
diff --git a/contrib/collection.cgi b/contrib/collection.cgi
|
|
index 5ff259f..e0848e0 100755
|
|
--- a/contrib/collection.cgi
|
|
+++ b/contrib/collection.cgi
|
|
@@ -32,7 +32,7 @@ use URI::Escape ('uri_escape');
|
|
use RRDs ();
|
|
use Data::Dumper ();
|
|
|
|
-our $Config = "/etc/collection.conf";
|
|
+our $Config = "/etc/collectd/collection.conf";
|
|
our @DataDirs = ();
|
|
our @DontShowTypes = ();
|
|
our $LibDir;
|
|
diff --git a/contrib/collection.conf b/contrib/collection.conf
|
|
index e8444f5..063141f 100644
|
|
--- a/contrib/collection.conf
|
|
+++ b/contrib/collection.conf
|
|
@@ -1,3 +1,2 @@
|
|
-datadir: "/opt/collectd/var/lib/collectd/rrd/"
|
|
-libdir: "/opt/collectd/lib/collectd/"
|
|
-
|
|
+datadir: "/var/lib/collectd/"
|
|
+libdir: "@@LIBDIR@@/collectd/"
|