Fixed the config examples.
authorBob Cotton <bob.cotton@rallydev.com>
Fri, 24 Apr 2009 03:08:18 +0000 (21:08 -0600)
committerBob Cotton <bob.cotton@rallydev.com>
Fri, 24 Apr 2009 03:08:18 +0000 (21:08 -0600)
README

diff --git a/README b/README
index 1f0dd97..ff82b87 100644 (file)
--- a/README
+++ b/README
@@ -20,19 +20,20 @@ Quick Start Guide
 3. psql -U <username> -f <path to here>/sql/metrics.sql
 4. psql -U <username> -f <path to here>/sql/create_tables.sql
 5. Add the following to your collectd.conf
- <Plugin perl>
-     IncludeDir "<path to this directory>"
-     BaseName "Collectd::Plugin"
-     LoadPlugin "DBStore"
-     <Plugin DBStore>
-         DBIDriver "Pg"
-         DatabaseHost "<dbhost>"
-         DatabasePort "5432"
-         DatabaseName "<database>"
-         DatabaseUser "<username>"
-         DatabasePassword "<password>"
-      </DBStore>
- </Plugin>
+LoadPlugin perl
+<Plugin perl>
+        IncludeDir "<path to this directory>/perl"
+        BaseName "Collectd::Plugin"
+        LoadPlugin DBStore
+        <Plugin DBStore>
+           DBIDriver "Pg"
+           DatabaseHost "<hostname>"
+           DatabasePort "5432"
+           DatabaseName "<database name>"
+           DatabaseUser "<username>"
+           DatabasePassword "<password>"
+        </Plugin>
+</Plugin>
 6. configure postgres to turn on constrain exclusion.
 
 Rationale and Approach