Nagios plugin to check Puppet run status through PuppetDB
Project description
check_puppetdb_node
check_puppetdb_node is a Nagios / Icinga plugin that allows you to check the agent/run status by querying PuppetDB. This is more robust and reliable than parsing the report YAML that the agent might store on disk.
- This plugin requires:
Installation
You can install this package from source or from PyPi.
$ pip install check_puppetdb_node
$ git clone https://github.com/daenney/check_puppetdb_node
$ pip install .
If you wish to hack on this, clone the repository as above but instead run:
$ pip install -e .
Usage
Once you have check_puppetdb_node installed simply call the script with the –help argument for more information
Contributing
We welcome contributions to this library. However, there are a few ground rules contributors should be aware of.
License
This project is licensed under the Apache v2.0 License. As such, your contributions, once accepted, are automatically covered by this license.
Copyright (c) 2013-2014 Daniele Sluijters
Commit messages
Write decent commit messages. Don’t use swear words and refrain from uninformative commit messages as ‘fixed typo’.
The preferred format of a commit message:
docs/quickstart: Fixed a typo in the Nodes section. If needed, elaborate further on this commit. Feel free to write a complete blog post here if that helps us understand what this is all about. Fixes #4 and resolves #2.
If you’d like a more elaborate guide on how to write and format your commit messages have a look at this post by Tim Pope.
Tests
This project does not have a test-suite but it will check for PEP-8 style violations. This is done using py.test and the pytest-pep8 plugin.
Changelog
0.0.1
Initial release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file check_puppetdb_node-0.0.1.tar.gz
.
File metadata
- Download URL: check_puppetdb_node-0.0.1.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87bb07eb53dd2989677e40d0b2d06b2ffa9d75ea2ac2d92f99e26cd7e8261e8e |
|
MD5 | 2c4e53e84fd017ac93a968f2eaacb505 |
|
BLAKE2b-256 | 5affabfcb69007a27ae4987e76dc8c3b98aea1deda4bcac720ed41f30515f234 |