Home Directory Plugins Network and Systems Management check_puppet.rb (Advanced Nagios Plugins Collection)

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.rb (Advanced Nagios Plugins Collection)

Rating
1 vote
Favoured:
0
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI
Hits
32854
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!
Puppet various checks

The check_puppet.rb Nagios plugin checks the following:
1. Exactly 1 puppetd process is running
2. Puppet has run successfully recently (state file has been updated)
3. Puppet runs are enabled
4. The puppet version installed
5. The puppet environment the system is in
Part of the Advanced Nagios Plugins Collection, download it here:

https://github.com/harisekhon/nagios-plugins

./check_puppet.rb --help
usage: check_puppet.rb [OPTIONS]

The check_puppet.rb Nagios plugin checks the following:
1. Exactly 1 puppetd process is running
2. Puppet has run successfully recently (state file has been updated)
3. Puppet runs are enabled
4. The puppet version installed
5. The puppet environment the system is in

-C, --config=value Default: /etc/puppet/puppet.conf
-e, --environment=value Default: production
-w, --warning=value Default: 35 minutes
-c, --critical=value Default: 70 minutes
-l, --lockfile=lockfile The lock file
Default: uses puppet config / default
-p, --process=processname The process to check
Default: puppetd
-s, --statefile=statefile The state file
Default: uses puppet config / default
-v, --verbose Verbose mode
Default: off
-V, --version=version The puppet version to expect
Default: none

-h, --help Show this help message.
Reviews (1)
I tried to place the plugin to the nrpe.d, placed the commands in the nrpe.conf, and of course in the nagios directory structures. When I ran it via command line, it works, but in the gui it shows me (null).

Any idea what is missing from nagios ?