X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5249011cc0b8e52dc8b7c2f2d655404f738c7ebe..d0df16b1ad827a1bf5be089798db8ceadb737196:/cookbooks/apache/recipes/default.rb?ds=inline 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"