feat(monitoring): add grafana, prometheus, node_exporter roles
- grafana: postgres backend, provisioning (prometheus datasource + node/NUT dashboards) - prometheus: native service, scrape config via host_vars, localhost bind - node_exporter: host metrics exporter (localhost:9100)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
---
|
||||
prometheus_package: prometheus
|
||||
prometheus_user: prometheus
|
||||
prometheus_group: prometheus
|
||||
prometheus_service: prometheus
|
||||
prometheus_config_dir: /etc/prometheus
|
||||
prometheus_data_dir: /var/lib/prometheus
|
||||
prometheus_args_file: /etc/conf.d/prometheus
|
||||
prometheus_args_var: PROMETHEUS_ARGS
|
||||
@@ -0,0 +1,9 @@
|
||||
---
|
||||
prometheus_package: prometheus
|
||||
prometheus_user: prometheus
|
||||
prometheus_group: prometheus
|
||||
prometheus_service: prometheus
|
||||
prometheus_config_dir: /etc/prometheus
|
||||
prometheus_data_dir: /var/lib/prometheus
|
||||
prometheus_args_file: /etc/default/prometheus
|
||||
prometheus_args_var: ARGS
|
||||
Reference in New Issue
Block a user