diff --git a/elk_metrics_6x/roles/elastic_metricbeat/templates/metricbeat.yml.j2 b/elk_metrics_6x/roles/elastic_metricbeat/templates/metricbeat.yml.j2 index b800d1e1..41c1a15f 100644 --- a/elk_metrics_6x/roles/elastic_metricbeat/templates/metricbeat.yml.j2 +++ b/elk_metrics_6x/roles/elastic_metricbeat/templates/metricbeat.yml.j2 @@ -415,7 +415,7 @@ metricbeat.modules: period: 30s # Nginx hosts - hosts: ["http://127.0.1.1:18181"] + hosts: ["http://127.0.1.1:18182"] # Path to server status. Default server-status server_status_path: "server-status" diff --git a/elk_metrics_6x/roles/elastic_metricbeat/templates/nginx-status.conf.j2 b/elk_metrics_6x/roles/elastic_metricbeat/templates/nginx-status.conf.j2 index e518f92f..47291c4a 100644 --- a/elk_metrics_6x/roles/elastic_metricbeat/templates/nginx-status.conf.j2 +++ b/elk_metrics_6x/roles/elastic_metricbeat/templates/nginx-status.conf.j2 @@ -1,5 +1,5 @@ server { - listen 127.0.1.1:18181; + listen 127.0.1.1:18182; location /server-status { stub_status on; access_log off;