跳转到主要内容

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 (8.5 kB 查看散列)

上传时间

由以下支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面