Software

check_puppet_agent

Description:

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

Compatible With

  • Nagios 3.x

License

Other


Project Notes
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.
Reviews (1) Add a Review
Comments
by rrobert, September 30, 2013

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.



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
2 (1)
Favorites
0
Views
144,011