X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/388093f9ee3d26472d9a185d6a9acbad30a5ddc9..87655058a50a160829441281f58f5a78441302f4:/cookbooks/nginx/recipes/default.rb diff --git a/cookbooks/nginx/recipes/default.rb b/cookbooks/nginx/recipes/default.rb index 20128a1cb..1cc5e5b46 100644 --- a/cookbooks/nginx/recipes/default.rb +++ b/cookbooks/nginx/recipes/default.rb @@ -19,6 +19,7 @@ include_recipe "apt" include_recipe "munin" +include_recipe "prometheus" include_recipe "ssl" package "nginx" @@ -61,6 +62,10 @@ package "libwww-perl" munin_plugin "nginx_request" munin_plugin "nginx_status" +prometheus_exporter "nginx" do + port 9113 +end + template "/usr/local/bin/nginx-old-cache-cleanup" do source "nginx-old-cache-cleanup.erb" owner "root"