Generate nagios configuration with 20,000 items from puppetdb in seconds.

Daniel Lawrence 1b196ebc9c i suck 4 years ago
tests ad25f0aa60 Fixed failing tests 4 years ago
.gitignore 56757ff4c0 updated git ignore 5 years ago
.travis.yml b69d35d3e4 added extra python env 5 years ago
LICENSE.md 08b7595091 Create LICENSE.md 5 years ago
README.md 7f1e4b92c6 Added travis icon into README 5 years ago
config.ini a967895228 Added more complex host group generation 5 years ago
external_naginator.py 5586b62627 Skip hosts that aren't registered in nagios 5 years ago
fabfile.py 87e994226a Updated fabfile to support new API 5 years ago
requirements.txt 5aa9b51a5c first commit of POC 5 years ago
setup.py 029c46a648 Added puppetdb dependency to setup.py 5 years ago
tox.ini 1b196ebc9c i suck 4 years ago

README.md

Travis

Install

mkvirtualenv external_naginator
pip install -r requirements.txt

Configuration

You will need to change the following.

generate_poc.py PUPPET_HOST
fabfile.py      env.host_string

Generate the nagios configuraiton

./generate_poc.py

Generate and push it to your nagios server

$ pip install fabric
$ fab deploy