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

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
30560
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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 ?