LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File collectd-fix-config.patch of Package collectd (Project server:monitoring)

--- src/collectd.conf.in.orig	2012-01-26 01:12:16.191115559 +0100
+++ src/collectd.conf.in	2012-01-26 01:13:39.662112590 +0100
@@ -12,10 +12,10 @@
 
 #Hostname    "localhost"
 #FQDNLookup   true
-#BaseDir     "@prefix@/var/lib/@PACKAGE_NAME@"
-#PIDFile     "@prefix@/var/run/@PACKAGE_NAME@.pid"
-#PluginDir   "@prefix@/lib/@PACKAGE_NAME@"
-#TypesDB     "@prefix@/share/@PACKAGE_NAME@/types.db"
+#BaseDir     "/var/lib/@PACKAGE_NAME@"
+#PIDFile     "/var/run/@PACKAGE_NAME@.pid"
+#PluginDir   "@libdir@/@PACKAGE_NAME@"
+#TypesDB     "@libdir@/@PACKAGE_NAME@/types.db"
 #Interval     10
 #Timeout      2
 #ReadThreads  5
@@ -173,7 +173,7 @@
 #<Plugin apache>
 #  <Instance "local">
 #    URL "http://localhost/status?auto"
-#    User "www-user"
+#    User "www"
 #    Password "secret"
 #    CACert "/etc/ssl/ca.crt"
 #  </Instance>
@@ -186,7 +186,7 @@
 
 #<Plugin ascent>
 #	URL "http://localhost/ascent/status/"
-#	User "www-user"
+#	User "www"
 #	Password "secret"
 #	CACert "/etc/ssl/ca.crt"
 #</Plugin>
@@ -211,7 +211,7 @@
 #</Plugin>
 
 #<Plugin csv>
-#	DataDir "@prefix@/var/lib/@PACKAGE_NAME@/csv"
+#	DataDir "/var/lib/@PACKAGE_NAME@/csv"
 #	StoreRates false
 #</Plugin>
 
@@ -324,7 +324,7 @@
 #</Plugin>
 
 #<Plugin email>
-#	SocketFile "@prefix@/var/run/@PACKAGE_NAME@-email"
+#	SocketFile "/var/run/@PACKAGE_NAME@-email"
 #	SocketGroup "collectd"
 #	SocketPerms "0770"
 #	MaxConns 5
@@ -786,13 +786,13 @@
 
 #<Plugin rrdcached>
 #	DaemonAddress "unix:/tmp/rrdcached.sock"
-#	DataDir "@prefix@/var/lib/@PACKAGE_NAME@/rrd"
+#	DataDir "/var/lib/@PACKAGE_NAME@/rrd"
 #	CreateFiles true
 #	CollectStatistics true
 #</Plugin>
 
 #<Plugin rrdtool>
-#	DataDir "@prefix@/var/lib/@PACKAGE_NAME@/rrd"
+#	DataDir "/var/lib/@PACKAGE_NAME@/rrd"
 #	CacheTimeout 120
 #	CacheFlush   900
 #</Plugin>
@@ -913,7 +913,7 @@
 #</Plugin>
 
 #<Plugin unixsock>
-#	SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
+#	SocketFile "/var/run/@PACKAGE_NAME@-unixsock"
 #	SocketGroup "collectd"
 #	SocketPerms "0660"
 #	DeleteSocket false