Puppet

This plugin provides native Puppet instrumentation for monitoring and collecting metrics from Puppet runs.

Sensu-Plugins-puppet

Build Status Gem Version Code Climate Test Coverage Dependency Status

Functionality

check-puppet-last-run.rb

Validates Puppet last run. Alerts if last Puppet run was later than threshold or it has errors

check-puppet-errors.rb

Validates only Puppet run errors regardless of the execution time

Files

  • /bin/checkpuppet-last-run.rb
  • /bin/metrics-puppet-run.rb
  • /bin/check-puppet-errors.rb

Installation

Installation and Setup

Notes

As the sensu user doesn't have read access to /opt/puppetlabs/puppet/cache/state/last_run_summary.yaml it is necessary to create an appropriate entry in /etc/sudoers.d and call check-puppet-last-run.rb or metrics-puppet-run.rb using sudo.

Get Integration

Stats

3 stars on GitHub
5 open issues on GitHub
15 open forks on GitHub

Sensu Integrations

Sensu integrations and extensions are available for dozens of modern applications and services.