From 51bd741155fdbfcdd2a3b67d575d00c2fe1e6fbe Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 22 Sep 2020 17:57:44 +0100 Subject: [PATCH] Set scrape URI for nginx monitoring --- cookbooks/nginx/recipes/default.rb | 1 + 1 file changed, 1 insertion(+) 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 -- 2.43.2