Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_puppet.rb (Advanced Nagios Plugins Collection)
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios XI
32970
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!
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.
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)
byBadb0y, August 17, 2015
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 ?
Any idea what is missing from nagios ?