ansible-ffibk/roles/service-prometheus/defaults/main.yml

37 lines
1.5 KiB
YAML
Raw Normal View History

2017-12-05 05:58:34 +01:00
---
#
# user-configurable defaults
#
prometheus_components:
- "node_exporter"
prometheus_user: prometheus
prometheus_group: prometheus
2019-04-17 10:44:37 +02:00
prometheus_version: 2.9.1
2018-12-21 11:59:02 +01:00
node_exporter_version: 0.17.0
2019-04-05 09:29:11 +02:00
blackbox_exporter_version: 0.14.0
2019-04-17 10:44:37 +02:00
alertmanager_version: 0.16.2
2017-12-05 05:58:34 +01:00
2018-09-25 10:33:52 +02:00
prometheus_url_external: "{{ http_prometheus_prefix }}.{{ http_domain_external }}"
prometheus_url_internal: "{{ http_prometheus_prefix }}.{{ http_domain_internal }}"
2017-12-05 05:58:34 +01:00
prometheus_install_path: /opt/prometheus
prometheus_config_path: /etc/prometheus
prometheus_rule_path: "{{ prometheus_config_path }}/rules"
prometheus_rule_files: [ "alert.rules" ]
2017-12-05 05:58:34 +01:00
prometheus_file_sd_config_path: "{{ prometheus_config_path }}/tgroups"
prometheus_db_path: /var/lib/prometheus
alertmanager_db_path: /var/lib/alertmanager
prometheus_download_path: /tmp
prometheus_workdir: "{{ prometheus_download_path }}/prometheus_workdir"
prometheus_goroot: "{{ prometheus_workdir }}/go"
prometheus_gopath: "{{ prometheus_workdir }}/gopath"
prometheus_default_opts: "--web.listen-address=localhost:9090 --config.file={{ prometheus_config_path }}/prometheus.yml --storage.tsdb.path={{ prometheus_db_path }}"
alertmanager_default_opts: "--web.listen-address=localhost:9093 --config.file={{ prometheus_config_path }}/alertmanager.yml --storage.path={{ alertmanager_db_path }}"
node_exporter_default_opts: "--web.listen-address=localhost:9100"
blackbox_default_opts: "--web.listen-address=localhost:9115 --config.file={{ prometheus_config_path }}/blackbox.yml"