Puppet Reporting and Monitoring


Puppet Reporting and Monitoring
eBook: $17.99
Formats: PDF, PacktLib, ePub and Mobi formats
$15.29
save 15%!
Print + free eBook + free PacktLib access to the book: $47.98    Print cover: $29.99
$29.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • Learn how to prepare and setup Puppet to report on a wealth of data
  • Develop your own custom plugins and work with report processor systems
  • Explore compelling ways to utilize and present Puppet data with easy-to-follow examples

Book Details

Language : English
Paperback : 186 pages [ 235mm x 191mm ]
Release Date : June 2014
ISBN : 1783981423
ISBN 13 : 9781783981427
Author(s) : Michael Duffy
Topics and Technologies : All Books, Networking and Servers, Open Source


Table of Contents

Preface
Chapter 1: Setting Up Puppet for Reporting
Chapter 2: Viewing Data in Dashboards
Chapter 3: Introducing Report Processors
Chapter 4: Creating Your Own Report Processor
Chapter 5: Exploring PuppetDB
Chapter 6: Retrieving Data with the PuppetDB API
Chapter 7: Writing Custom Reports with PuppetDB
Chapter 8: Creating Your Own Custom Dashboard
Chapter 9: Looking Back and Looking Forward
Index
  • Chapter 2: Viewing Data in Dashboards
    • Why use a dashboard?
    • The Puppet Dashboard feature list
    • Understanding Puppet Dashboard
    • Exploring Puppet Enterprise Console
      • Event Inspector
      • Puppet Live Management
    • Using The Foreman
      • Reporting with The Foreman
        • Looking at trends in The Foreman
    • Discovering PuppetBoard
    • Summary
  • Chapter 3: Introducing Report Processors
    • Understanding a report processor
    • Utilizing the built-in report processors
      • Storing reports with the store report processor
      • Adding to logfiles with the log report processor
      • Graphing with the rrdgraph processor
      • The tagmail report processor
      • Sending reports with the HTTP report processor
      • The PuppetDB report processor
      • Exploring the power of third-party plugins
    • Getting social with Twitter
    • Staying on top of alerts with PagerDuty
    • Summary
  • Chapter 4: Creating Your Own Report Processor
    • The anatomy of a report processor
      • Creating a basic report processor
        • Registering your report processor
        • Describing your report processor
        • Processing your report
      • Values of the self.status object
      • Alerting with e-mail and Puppet
      • Managing your report processor configuration with Puppet
    • Monitoring changes and alerting with Puppet
    • Logging with MySQL
    • Adding metrics and events to MySQL
    • Raising issues with JIRA
    • A final note on third-party applications
    • Summary
  • Chapter 5: Exploring PuppetDB
    • A brief history of PuppetDB
    • Setting up the PuppetDB server
      • Installing PuppetDB
        • Installing PuppetDB from packages
        • Increasing the JVM heap space
      • Installing PostgreSQL
        • Installing the packages
        • Creating your database user
        • Creating the PostgreSQL database
    • Summary
  • Chapter 6: Retrieving Data with the PuppetDB API
    • Exploring the PuppetDB query API
      • Understanding the command interface
      • Understanding the query API interface
        • A primer on the PuppetDB query language
      • Exploring endpoints
        • Using the facts endpoint
        • Using the resources endpoint
        • Retrieving details about nodes
        • Getting the run details with the catalogs endpoint
        • Understanding the fact-names endpoint
        • Knowing the status of PuppetDB with the metrics endpoint
        • Using the reports endpoint
        • Working with the events endpoint
        • Using the event-counts endpoint
        • Applying the aggregate-event-counts endpoint
        • Using the server-time endpoint
        • The version endpoint
    • Summary
  • Chapter 7: Writing Custom Reports with PuppetDB
    • Creating a basic query application
      • Setting up the basic application
      • Connecting to PuppetDB
      • Outputting results
    • Creating a menu-driven PuppetDB application
      • Setting up the UI
      • Querying PuppetDB's facts endpoint
      • Outputting the hardware report
    • Querying PuppetDB for report information
      • Creating the PuppetDB query method
      • Fetching the event counts
      • Presenting the events data
      • Testing our application
    • Summary
  • Chapter 8: Creating Your Own Custom Dashboard
    • Exploring Dashing
    • Setting up Dashing
      • Exploring the default puppetdash directory layout
      • Running Dashing
    • Creating our dashboard
      • Creating our dashboard layout
    • Feeding data into Dashing
      • Creating new jobs in Dashing
    • Adding trends
    • Adding meters
    • Summary
  • Chapter 9: Looking Back and Looking Forward
    • Looking back at what we've learned
      • Rediscovering dashboards
      • Producing alerts
        • Using Nagios
        • Discovering Icinga and Shinken
      • Compliance monitoring with Puppet
      • Analyzing metrics with StatsD, Graphite, and Etsy Skyline
      • Tracking changes with Puppet and Graphite
      • Using Etsy Skyline to find your normal
      • Using Puppet to drive orchestration
    • Summary

Michael Duffy

Michael Duffy has been working in systems administration and automation for more years than he cares to remember, and is the founder of Stunt Hamster Ltd.; a small but perfectly formed consultancy that helps companies, both small and large, deliver fully automated and scalable infrastructure. He has consulted for companies such as O2 and BSkyB, delivering design, automation, and monitoring of infrastructure for products that serve millions of users.

Michael is a keen advocate of DevOps methodologies and is especially interested in using automation to not only deliver scalable and reliable systems, but also to make sure that people can see what is actually going on under the hood when using reporting tools. If given the chance, he will happily spend hours telling you how fantastic it is that people from the development and operations fields can finally talk and go to the pub together.

Sorry, we don't have any reviews for this title yet.

Code Downloads

Download the code and support files for this book.


Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


Errata

- 2 submitted: last submission 20 Jun 2014

On page 29, in the second paragraph, on the third line,

it is

Once you've got a good grasp of how they are installed and confi,gured

 

it should be

Once you've got a good grasp of how they are installed and configured

On page 141, in the fourth paragraph, on the seventh line,

the link

http://rufus.rubyforge.org/rufus-scheduler/ is not working anymore.

Please refer to

https://github.com/jmettraux/rufus-scheduler

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

Puppet Reporting and Monitoring +    Mastering Web Application Development with AngularJS =
50% Off
the second eBook
Price for both: €24.85

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • Set up Puppet for reporting
  • Utilize the built-in report processors to report, analyze, and alert
  • Learn how to find and install custom report processors
  • Create your own custom report processors
  • Generate reports using PuppetDB's powerful API
  • Create feature-rich dashboards using Puppet and Dashing

In Detail

Starting with the very basics of Puppet, Puppet Reporting and Monitoring will guide you through configuring additional reports and creating new, feature-rich reports using the comprehensive Puppet tool. Packed with practical examples and precise instructions, this book is all you need to start exploring Puppet reports.

You will then learn how to create custom reports and finally understand the best way to present and utilize multitudes of data obtained from different servers under management.

You will learn how to use the built-in report processors and will also gain hands-on experience in creating your very own report processors. With this book, you will learn how to optimize its features such as asynchronous data storage and catalog compilation. You will also delve into using open source tools such as Graphite and Dashing to make attractive and informative dashboards quickly and easily.

Approach

An easy to follow guide with extensive examples to explain Puppet's reporting capabilities to facilitate effective implementation of Puppet in the real world as a reporting tool.

Who this book is for

If you are a Puppet developer or a system administrator using Puppet, and you want to extend your expertise to manage and optimize your server resources, then this book is for you.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software