From: Tom Hughes Date: Tue, 22 Sep 2020 16:57:44 +0000 (+0100) Subject: Set scrape URI for nginx monitoring X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/51bd741155fdbfcdd2a3b67d575d00c2fe1e6fbe Set scrape URI for nginx monitoring --- diff --git a/cookbooks/nginx/recipes/default.rb b/cookbooks/nginx/recipes/default.rb index 1cc5e5b46..d215e51c8 100644 --- a/cookbooks/nginx/recipes/default.rb +++ b/cookbooks/nginx/recipes/default.rb @@ -64,6 +64,7 @@ munin_plugin "nginx_status" prometheus_exporter "nginx" do port 9113 + options "--nginx.scrape-uri=http://localhost:8050/nginx_status" end template "/usr/local/bin/nginx-old-cache-cleanup" do