X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5249011cc0b8e52dc8b7c2f2d655404f738c7ebe..366f2c3039f3115f856906fc19cc1fbae348fffc:/cookbooks/apache/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/apache/recipes/default.rb b/cookbooks/apache/recipes/default.rb index f47d500b5..4d91da140 100644 --- a/cookbooks/apache/recipes/default.rb +++ b/cookbooks/apache/recipes/default.rb @@ -97,6 +97,13 @@ munin_plugin "apache_accesses" munin_plugin "apache_processes" munin_plugin "apache_volume" +template "/var/lib/prometheus/node-exporter/apache.prom" do + source "apache.prom.erb" + owner "root" + group "root" + mode "644" +end + prometheus_exporter "apache" do port 9117 options "--scrape_uri=http://localhost/server-status?auto"