This plugin provides native Puppet instrumentation for monitoring and collecting metrics from Puppet runs.
Ruby
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github
bin
lib
test initial commit May 8, 2015
.gitignore
.rubocop.yml
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
Gemfile
LICENSE initial commit May 8, 2015
README.md
Rakefile
sensu-plugins-puppet.gemspec CVE-2017-8418 - Update rubocop dependency Jan 31, 2018

README.md

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.