Collect and export metrics on Fail2Ban
Go to file
Hector 4f18bf35a8 feat: add cli parameters for db path and metrics port (#4)
Add support for configuring CLI parameters in the application using a new
`cfg` package. The `cfg` package exports an `AppSettings` struct that
contains the settings the application was run with.
Update the application to use the new CLI parameters to set the db to open
and the port to use for the metrics server.
Add support for setting the app version during build. The app includes a
`-version` flag to print the stored version data.
2021-02-06 15:17:35 +00:00
cfg feat: add cli parameters for db path and metrics port (#4) 2021-02-06 15:17:35 +00:00
db feat: add cli parameters for db path and metrics port (#4) 2021-02-06 15:17:35 +00:00
.gitignore initial commit 2021-02-05 22:49:47 +00:00
.gitlab-ci.yml initial commit 2021-02-05 22:49:47 +00:00
exporter.go feat: add cli parameters for db path and metrics port (#4) 2021-02-06 15:17:35 +00:00
go.mod feat: connect to fail2ban db and extract total bad ips 2021-02-06 11:50:13 +00:00
go.sum feat: connect to fail2ban db and extract total bad ips 2021-02-06 11:50:13 +00:00
LICENSE initial commit 2021-02-05 22:49:47 +00:00
Makefile initial commit 2021-02-05 22:49:47 +00:00
README.md initial commit 2021-02-05 22:49:47 +00:00

Fail2Ban Prometheus Exporter

Go tool to collect and export metrics on Fail2Ban