Sensu-Plugins-puppet
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
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
.