]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/fail2ban/recipes/default.rb
Add fail2ban exporter for prometheus
[chef.git] / cookbooks / fail2ban / recipes / default.rb
index e0e8e2372748a3d581a357b824972ad4f8bc52ae..3ad626ff021588e2f183b118edea44d2be57d1d4 100644 (file)
@@ -18,6 +18,7 @@
 #
 
 include_recipe "munin"
+include_recipe "prometheus"
 
 package "fail2ban"
 
@@ -42,3 +43,7 @@ service "fail2ban" do
 end
 
 munin_plugin "fail2ban"
+
+prometheus_exporter "fail2ban" do
+  port 9635
+end