We configured this fail2ban exporter to export metrics. We followed instructions to install it as a system service.Everything seems to work properly with the following configuration
The problem we are experiencing is that the metric is never printed
...
# HELP process_max_fds Maximum number of open file descriptors.
# TYPE process_max_fds gauge
process_max_fds 1024.0
# HELP fail2ban_banned_ip IP banned by fail2ban
# TYPE fail2ban_banned_ip gauge
Even when whe have some IP banned
Status for the jail: sshd
|- Filter
| |- Currently failed: 0
| |- Total failed: 20
| `- File list: /var/log/auth.log
`- Actions
|- Currently banned: 1
|- Total banned: 1
`- Banned IP list: 172.22.5.71
Hi,
We configured this fail2ban exporter to export metrics. We followed instructions to install it as a system service.Everything seems to work properly with the following configuration
Note the custom location of the database, both the exporter and fail2ban are pointing to this file.
Config file is located under /opt/vpn-vol/fail2ban_exporter/env/conf.yml
Service configuration is as follows
The problem we are experiencing is that the metric is never printed
Even when whe have some IP banned
What are we doing wrong?