Skip to content

Commit

Permalink
[report] updating README.
Browse files Browse the repository at this point in the history
  • Loading branch information
truthbk committed Jul 28, 2016
1 parent 5fbd59f commit 8c7ad63
Showing 1 changed file with 38 additions and 23 deletions.
61 changes: 38 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,40 +70,55 @@ Reporting
---------
To enable reporting of changes to the Datadog timeline, enable the report
processor on your Puppet master, and enable reporting for your clients.
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.
The clients will send a run report after each check-in back to the master.

Please specify what clients/hosts you'd like to submit puppet run reports
for by setting the puppet_run_reports option to true in the node configuration
manifest.

In your Puppet master `/etc/puppet/puppet.conf`, add these configuration options:

[main]
# No need to modify this section
```ruby
class { "datadog-agent":
api_key => "<your_api_key>",
puppet_run_reports => true
# ...
}
```

[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
# ...
In your Puppet master `/etc/puppet/puppet.conf`, add these configuration options:

[agent]
# ...
pluginsync=true
report=true
```ini
[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:

[agent]
# ...
report=true

```ini
[agent]
# ...
report=true
```

If you get

err: Could not send report:
Error 400 on SERVER: Could not autoload datadog_reports:
Class Datadog_reports is already defined in Puppet::Reports
```
err: Could not send report:
Error 400 on SERVER: Could not autoload datadog_reports:
Class Datadog_reports is already defined in Puppet::Reports
```

Make sure `reports=datadog_reports` is defined in **[master]**, not **[main]**.

Expand Down

0 comments on commit 8c7ad63

Please sign in to comment.