Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jrottenberg/check_puppet
Uses foreman api to check if all nodes are behaving correctly
https://github.com/jrottenberg/check_puppet
Last synced: 19 days ago
JSON representation
Uses foreman api to check if all nodes are behaving correctly
- Host: GitHub
- URL: https://github.com/jrottenberg/check_puppet
- Owner: jrottenberg
- Created: 2012-02-25T23:26:12.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2018-07-23T04:12:07.000Z (over 6 years ago)
- Last Synced: 2024-04-14T02:22:16.590Z (9 months ago)
- Language: Python
- Homepage:
- Size: 19.5 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Check\_Puppet\_*
================### Usage
#### Command line
You can test it quickly with :
./check_puppet.py -w 30 -c 60 -H server1.example.com -F foreman_host
Will make sure server1.example has successfully ran puppet and reported back within 30 min (one hour for a critical)
#### Nagios
##### Define a command
# check puppet
# Note : we have ssl ON by default on our foreman installation
define command{
command_name check_puppet
command_line $USER2$/check_puppet.py -S -H $HOSTNAME$ -F foreman.example.com -w $ARG1$ -c $ARG2$
}##### Then a service
define service{
use generic-service
service_description check_puppet
check_command check_puppet!60!120!
host_name puppet-client1.example.com
}[![Build Status](https://secure.travis-ci.org/jrottenberg/check_puppet.png)](http://travis-ci.org/jrottenberg/check_puppet)