mesaguy.prometheus

Ansible Prometheus

厨房测试 验证 Ansible awesome_bot 测试 最新标签 Ansible Galaxy MIT 许可证

安装和管理 Prometheus 服务器AlertmanagerPushGateway 和众多 Prometheus exporter

此角色旨在方便添加新 exporter。定期发布确保始终提供最新的 Prometheus 软件。

该角色可以自动向 Prometheus 服务器注册客户端 exporter(请参见下面的 tgroup 管理)。

要求

  • Ansible >= 2.8.0
  • 必须收集事实(gather_facts: true)

支持的软件和操作系统

支持的操作系统、发行版和架构

该模块旨在支持尽可能多的发行版和架构。以下表格指定了当前已测试的组合。大多数 exporter 也可以在 ARM 架构上工作:

操作系统 版本 架构
Alpine 3.2 到 3.11,edge x86_64 (amd64)
AmazonLinux 1 和 2 x86_64 (amd64)
ArchLinux 当前 x86_64 (amd64)
Enterprise Linux 6, 7, 8 x86_64 (amd64)
Fedora 20 到 31,rawhide x86_64 (amd64)
Gentoo (openrc) 当前 x86_64 (amd64)
Gentoo (systemd) 当前 x86_64 (amd64)
OpenSUSE 13.1 到 tumbleweed x86_64 (amd64)
Oracle Linux 6, 7, 8 x86_64 (amd64)
Ubuntu 16.04 到 20.04 x86_64 (amd64)

管理的 Prometheus 软件

以下核心 Prometheus 软件得到支持,除了下面的 exporter 列表。该软件在所有受支持的操作系统、发行版和架构上经过全面测试。

Prometheus 软件 使用 作者 CI 测试
prometheus 使用 prometheus
alertmanager 使用 prometheus
push_gateway 使用 prometheus

管理的 exporters

所有 exporters 都通过安装得到验证。当前,选择的模块通过 CI(持续集成)和 Inspec 进行测试。

有关更多详细信息,请参见每个 exporter 的使用页面:

Exporter 使用 作者 CI 测试
389ds_exporter_terrycain 使用 terrycain
apache_exporter_lusitaniae 使用 Lusitaniae
aerospike_exporter_alicebob 使用 alicebob
...

(由于内容较长,以上只是翻译了一部分,如需继续翻译请告知。)

安装
ansible-galaxy install mesaguy.prometheus
许可证
mit
下载
303.3k
拥有者