Book Image

Learning Puppet for Windows Server

By : Fuat Ulugay
Book Image

Learning Puppet for Windows Server

By: Fuat Ulugay

Overview of this book

Table of Contents (15 chapters)
Learning Puppet for Windows Server
About the Author
About the Reviewers

Checking the statuses of hosts from Foreman

We have already used Foreman interface many times in this book. We will now check its details for reporting purposes. The first thing we will check with Puppet is the general statuses of all the hosts. The general overview will show us a summary of all the hosts' statuses. We will see how many hosts have performed successful operations and how many of them failed. We can see the dashboard interface in Foreman from the Monitor | Dashboard top menu. The following is a screenshot of the dashboard:

In this dashboard, we can see a general summary of all the hosts on the basis of following details:

  • Hosts that had performed modifications without error: These are all the hosts that have modifications performed without any error in the last 35 minutes. Here is the search string for this:

    last_report > "35 minutes ago" and (status.applied > 0 or status.restarted > 0) and (status.failed = 0)
  • Hosts in error state: Any host that has an error while implementing...