0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-14 17:48:37 +00:00
netdata_netdata/collectors/python.d.plugin/fail2ban
Ilya Mashchenko 56336f5acf
py stuff: change l2isbad to ilyam8 ()
* change l2isbad to ilyam8

* change l2isbad to ilyam8
2019-03-21 12:35:44 +03:00
..
fail2ban.chart.py py stuff: change l2isbad to ilyam8 () 2019-03-21 12:35:44 +03:00
fail2ban.conf python.d.plugin update () 2018-12-07 10:15:03 +01:00
Makefile.inc Fix make dist () 2018-10-16 15:26:28 +03:00
README.md Ga () 2018-12-07 11:30:04 +01:00

fail2ban

Module monitor fail2ban log file to show all bans for all active jails

Requirements:

  • fail2ban.log file MUST BE readable by netdata (A good idea is to add create 0640 root netdata to fail2ban conf at logrotate.d)

It produces one chart with multiple lines (one line per jail)

configuration

Sample:

local:
 log_path: '/var/log/fail2ban.log'
 conf_path: '/etc/fail2ban/jail.local'
 exclude: 'dropbear apache'

If no configuration is given, module will attempt to read log file at /var/log/fail2ban.log and conf file at /etc/fail2ban/jail.local. If conf file is not found default jail is ssh.


analytics