Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_puppet_agent
2
2015-09-17
- Nagios 3.x
Other
144091
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!
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.
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)
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.
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.