From a5db641142e530c52b37d7e5559575bc2f7dfdc1 Mon Sep 17 00:00:00 2001 From: mordash Date: Mon, 3 Jan 2022 14:49:13 +0100 Subject: [PATCH] example_page example_page --- example_file.yml | 96 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 example_file.yml diff --git a/example_file.yml b/example_file.yml new file mode 100644 index 0000000..c0b118c --- /dev/null +++ b/example_file.yml @@ -0,0 +1,96 @@ +--- +prometheus_server_enable: 'true' +prometheus_server_monitor: 'wac' + +prometheus_exporter_packages: + - node + - phpfpm + - apache + +prometheus_node_exporter_targets: + # PPD + - preprod-server1 + # PRD + - prod-server1 + - prod-server2 + +prometheus_phpfpm_exporter_targets: + # PPD + - preprod-server1 + # PRD + - prod-server1 + - prod-server2 + +prometheus_apache_exporter_targets: + # PPD + - preprod-server1 + # PRD + - prod-server1 + - prod-server2 + +prometheus_haproxy_exporter_targets: + # PPD + - preprod-server1 + # PRD + - prod-server1 + - prod-server2 + +prometheus_varnish_exporter_targets: + # PPD + - preprod-server1 + # PRD + - prod-server1 + - prod-server2 + +prometheus_mysqld_exporter_targets: + # PPD + - preprod-server1 + # PRD + - prod-server1 + - prod-server2 + +prometheus_mysqld_exporter_custom: + # PPD + preprod-server1: + environment: 'preprod' + service_name: 'preprod' + cluster: 'preprod' + node_name: preprod-server1 + # PRD + prod-server1: + environment: 'prod' + service_name: 'prod-bdd1' + cluster: 'prod' + node_name: prod-server1 + prod-server2: + environment: 'prod' + service_name: 'prod-bdd2' + cluster: 'prod' + node_name: prod-server2 + +prometheus_redis_multi_instances_exporter_targets: + # PPD + - redis://preprod-server1:6379 + - redis://preprod-server1:6380 + - redis://preprod-server1:6381 + - redis://preprod-server1:6382 + # PROD + - redis://prod-server1:6379 + - redis://prod-server2:6379 + - redis://prod-server2:6380 + +prometheus_redis_exporter_targets: + # PPD + - preprod-server1 + # PRD + - prod-server1 + - prod-server2 + +prometheus_nodes_ip: + # PPD + preprod-server1 : 10.0.1.10 + # PRD + prod-server1 : 10.0.1.11 + prod-server2 : 10.0.1.12 + +prometheus_retention_time: "32d"