Home Directory Plugins Software check_puppet_agent

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_puppet_agent

Current Version
2
Last Release Date
2015-09-17
Compatible With
  • Nagios 3.x
Owner
License
Other
Hits
144101
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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.
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)
byrrobert, September 13, 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.
Owner's reply

@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.