Collect and export metrics on Fail2Ban
91cba8080c
Export the number of banned IPs stored in the fail2ban database as well as the number of bad IPs. Update the queries used to collect data to better handle cases where the database table for bad/banned IPs is empty. The new query always lists all jails, even when the count is zero. |
||
---|---|---|
db | ||
.gitignore | ||
.gitlab-ci.yml | ||
exporter.go | ||
go.mod | ||
go.sum | ||
LICENSE | ||
Makefile | ||
README.md |
Fail2Ban Prometheus Exporter
Go tool to collect and export metrics on Fail2Ban