mateothegreat.prometheus_exporter_node
Prometheus 的 node_exporter Ansible 角色
此角色将安装和配置 Prometheus 的 node exporter。
变量
prometheus_exporter_node:
version: "0.18.1"
user: "exporters"
group: "exporters"
install_path: "/usr/local/bin"
install_binary_name: "prometheus-exporter-node"
listen_address: "0.0.0.0:9100"
示例用法
将以下内容添加到一个名为 playbook.yaml
的文件中:
- hosts: monitoring
roles:
- role: "mateothegreat.prometheus"
var:
prometheus_exporter_node:
version: "0.18.1"
user: "exporters"
group: "exporters"
install_path: "/usr/local/bin"
install_binary_name: "prometheus-exporter-node"
listen_address: "0.0.0.0:9100"
运行命令:ansible-playbook -i <你的清单文件> playbook.yaml
。
安装
ansible-galaxy install mateothegreat.prometheus_exporter_node
许可证
Unknown
下载
125
拥有者
🚀 ☞ Senior Software Architect, Cloud Engineer & DevOps Advocate. ✌