Nagios插件,通过PuppetDB检查Puppet运行状态
项目描述
check_puppetdb_node
check_puppetdb_node是一个Nagios / Icinga插件,允许您通过查询PuppetDB来检查代理/运行状态。这比解析代理可能存储在磁盘上的报告YAML更健壮、更可靠。
- 此插件需要
安装
您可以从源代码或从PyPi安装此软件包。
$ pip install check_puppetdb_node
$ git clone https://github.com/daenney/check_puppetdb_node
$ pip install .
如果您想对此进行修改,请按照上述方法克隆仓库,但运行
$ pip install -e .
用法
一旦安装了check_puppetdb_node,只需使用–help参数调用脚本即可获取更多信息
贡献
我们欢迎对该库的贡献。然而,贡献者应该注意以下一些基本规则。
许可协议
该项目受Apache v2.0许可协议的约束。因此,一旦被接受,您的贡献将自动受此许可协议的保护。
版权(c)2013-2014 Daniele Sluijters
提交信息
编写合适的提交信息。不要使用脏话,并避免使用如“fixed typo”等无信息性的提交信息。
提交信息的首选格式
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.
如果您想了解如何编写和格式化您的提交信息,请参阅Tim Pope的这篇文章。
测试
该项目没有测试套件,但它将检查PEP-8样式违规。这是通过py.test和pytest-pep8插件完成的。
变更日志
0.0.1
初始发布。
项目详情
关闭
check_puppetdb_node-0.0.1.tar.gz的散列
算法 | 散列摘要 | |
---|---|---|
SHA256 | 87bb07eb53dd2989677e40d0b2d06b2ffa9d75ea2ac2d92f99e26cd7e8261e8e |
|
MD5 | 2c4e53e84fd017ac93a968f2eaacb505 |
|
BLAKE2b-256 | 5affabfcb69007a27ae4987e76dc8c3b98aea1deda4bcac720ed41f30515f234 |