Collect and export metrics on Fail2Ban
0b40e5de82
Add dependencies on `sqlite` to allow connecting to the fail2ban database. Add a new `db` module to handle all the database connections and data queries used to generate metrics. Export a new metric for the total number of bad IPs stored in the fail2ban database. |
||
---|---|---|
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