Erstelle Grafana-Rolle

This commit is contained in:
phil 2022-12-27 10:43:32 +01:00
commit 9ecb9985fb
16 changed files with 258 additions and 0 deletions

View 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
View file

@ -0,0 +1,7 @@
[grafana]
enabled = true
findtime = 3600
bantime = 3600
port = http,https
filter = grafana
logpath = /var/log/grafana/grafana.log