ansible-nas/roles/stats/defaults/main.yml
2023-03-10 22:00:37 +01:00

51 lines
1.8 KiB
YAML

---
stats_enabled: false
stats_internet_speed_test_enabled: false
stats_prometheus_available_externally: false
stats_grafana_available_externally: false
# directories
stats_telegraf_config_directory: "{{ docker_home }}/stats/telegraf/config"
stats_prometheus_data_directory: "{{ docker_home }}/stats/prometheus/data"
stats_prometheus_config_directory: "{{ docker_home }}/stats/prometheus/config"
stats_grafana_data_directory: "{{ docker_home }}/stats/grafana/data"
stats_grafana_config_directory: "{{ docker_home }}/stats/grafana/config"
# network
stats_prometheus_port: "9090"
stats_telegraf_port: "9273"
stats_telegraf_influxdb_port: "8086"
stats_prometheus_smartctl_port: "9902"
stats_speedtest_exporter_port: "9798"
stats_prometheus_hostname: "prometheus"
stats_grafana_port: "3000"
stats_grafana_hostname: "grafana"
# docker:
stats_grafana_container_name: "stats-grafana"
stats_grafana_image_name: "grafana/grafana"
stats_grafana_image_version: "latest"
stats_prometheus_container_name: "stats-prometheus"
stats_prometheus_image_name: "prom/prometheus"
stats_prometheus_image_version: "latest"
stats_telegraf_container_name: "stats-telegraf"
stats_telegraf_image_name: "telegraf"
stats_telegraf_image_version: "latest"
stats_smartctl_container_name: "stats-smartctl"
stats_smartctl_docker_image_name: "matusnovak/prometheus-smartctl"
stats_smartctl_docker_image_version: "latest"
stats_speedtest_container_name: "stats-speedtest"
stats_speedtest_docker_image_name: "miguelndecarvalho/speedtest-exporter"
stats_speedtest_docker_image_version: "latest"
# specs
stats_telegraf_memory: 1g
stats_prometheus_memory: 1g
stats_prometheus_smartctl_memory: 1g
stats_speedtest_exporter_memory: 256m
stats_grafana_memory: 1g
# config
stats_prometheus_retention_time: 365d
stats_prometheus_retention_size: 30GB
stats_collection_interval: 15s