Erstelle Grafana-Rolle
This commit is contained in:
commit
9ecb9985fb
16 changed files with 258 additions and 0 deletions
10
files/fail2ban/filter.conf
Normal file
10
files/fail2ban/filter.conf
Normal file
|
@ -0,0 +1,10 @@
|
|||
[INCLUDES]
|
||||
before = common.conf
|
||||
|
||||
[Definition]
|
||||
failregex = ^ lvl=[a-zA-z]* msg=\"Invalid username or password\" (?:\S*=(?:\".*\"|\S*) )*remote_addr=<HOST>
|
||||
|
||||
ignoreregex =
|
||||
|
||||
[Init]
|
||||
datepattern = ^t=%%Y-%%m-%%dT%%H:%%M:%%S%%z
|
7
files/fail2ban/jail.conf
Normal file
7
files/fail2ban/jail.conf
Normal file
|
@ -0,0 +1,7 @@
|
|||
[grafana]
|
||||
enabled = true
|
||||
findtime = 3600
|
||||
bantime = 3600
|
||||
port = http,https
|
||||
filter = grafana
|
||||
logpath = /var/log/grafana/grafana.log
|
Loading…
Add table
Add a link
Reference in a new issue