Skip to Main Content
Puppet Reporting and Monitoring
book

Puppet Reporting and Monitoring

by Michael Duffy
June 2014
Beginner to intermediate content levelBeginner to intermediate
186 pages
4h 31m
English
Packt Publishing
Content preview from Puppet Reporting and Monitoring

Querying PuppetDB for report information

Essentially, we're going to use the same techniques that we learned in the previous examples, but the way we process the data is going to change. One thing you'll almost immediately notice is that each endpoint has its own particular format; although they all return JSON output, sometimes, it's a JSON array, other times, a flat JSON document, and so on. When working with PuppetDB, it's worth reviewing the documentation for the endpoints, as it contains an excellent rundown of what to expect. Again, you can find the documentation at https://docs.puppetlabs.com/puppetdb/latest/.

Tip

One tool that can be enormously helpful when exploring data such as the PuppetDB API is the pp library that ships with Ruby. The ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Puppet: Mastering Infrastructure Automation

Puppet: Mastering Infrastructure Automation

Felix Frank, Martin Alfke, Alessandro Franceschi, Jaime Soriano Pastor, Thomas Uphillis

Publisher Resources

ISBN: 9781783981427Supplemental Content