Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
This script looks if there is a puppet agent process and then it checks the last state summary file and checks when puppet agent last run the catalog.
Current Version
2
Last Release Date
2015-09-17
Owner
Alexander Swen
Website
https://github.com/aswen/nagios-plugins
Download URL
https://raw.github.com/aswen/nagios-plugins/master/check_puppet_agent
License
Other
Compatible With
plugin should be run by rnpe (or similar software) and reports ok. warn or crit back.
This plugin checks some fail counters and warn about them if any of them is greater than 0.
One last thing: I only had the opportunity to test this script on a few CentOS 6 and Debian 7 boxes (both running the puppet agent from the puppetlabs repo's which are at 3.7 at the time I write this). However, David Stirling offered BSD compat a long time ago and today I finally added that, without being able to test on BSD.
Hard-coded paths make this difficult to use. There's not always (and probably shouldn't ever) be a link to the puppet binary in /usr/bin. A simpler option is to use the status option of the puppet init script, i.e, /sbin/service pe-puppet status or /etc/init.d/*puppet status.
@rrobert: Thanks for your comment, excuse me for late response. I totally agree on this and solved that today. See the latest version of this script on github.
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!