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

Chapter 6. Retrieving Data with the PuppetDB API

In the previous chapter, we learned how to set up PuppetDB. Now, it's time to put it to work. PuppetDB is more than just a storage engine; it also contains a powerful query API that allows you to interactively query data about your Puppet infrastructure. By using a combination of REST calls with the provided query language, you will be able to find enormous amounts of data related to your Puppet-managed infrastructure.

In this chapter, we're going to take a look at the following topics:

  • The hows, whats, and whys; a brief introduction to the query API
  • Exploring and using endpoints
  • Getting acquainted with some basic queries

By the end of this chapter, you should be fully comfortable working with the PuppetDB ...

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