Skip to content
Browse files

Added fix for error 400, reports already loaded.

  • Loading branch information...
1 parent f3ffe3a commit 75ba67eae4311886b7c86c2c45924874d637deb5 @alq666 alq666 committed May 15, 2012
Showing with 28 additions and 14 deletions.
  1. +28 −14 README.md
View
42 README.md
@@ -62,23 +62,37 @@ The clients will send a run report after each check-in back to the master,
and the master will process the reports and send them to the Datadog API.
- In your Puppet master /etc/puppet/puppet.conf, add these config options:
-
- [master]
- ...
- reports="datadog_reports"
-
- [agent]
- ...
- pluginsync=true
- report=true
+In your Puppet master `/etc/puppet/puppet.conf`, add these configuration options:
+ [main]
+ # No need to modify this section
+ # ...
+
+ [master]
+ # Enable reporting to datadog
+ reports=datadog_reports
+ # If you use other reports already, just add datadog_reports at the end
+ # reports=store,log,datadog_reports
+ # ...
+
+ [agent]
+ # ...
+ pluginsync=true
+ report=true
+
+And on all of your Puppet client nodes add:
- And on all of your Puppet client nodes add:
+ [agent]
+ # ...
+ report=true
+
+If you get
- [agent]
- ...
- report=true
+ err: Could not send report:
+ Error 400 on SERVER: Could not autoload datadog_reports:
+ Class Datadog_reports is already defined in Puppet::Reports
+
+Make suer `reports=datadog_reports` is defined in **[master]**, not **[main]**.
Step-by-step
============

0 comments on commit 75ba67e

Please sign in to comment.
Something went wrong with that request. Please try again.