@cryptotaxi247 / netdata-1 / commits / d86653a1d

fail2ban plugin: regex update; fixes #2118

Ilya committed Apr 23, 2017 at 19:57 UTC d86653a1d5768fbc6d6ac53f806f8b827ba1e02c
1 file changed +2 -2
python.d/fail2ban.chart.py
+2 -2
@@ -11,8 +11,8 @@ from base import LogService
11
12 priority = 60000
13 retries = 60
14 -REGEX_JAILS = r_compile(r'\[([A-Za-z-_]+)][^\[\]]*?(?<!# )enabled = (?:(true|false))')
15 -REGEX_DATA = r_compile(r'\[(?P<jail>[a-z]+)\] (?P<action>[A-Z])[a-z]+ (?P<ipaddr>\d{1,3}(?:\.\d{1,3}){3})')
14 +REGEX_JAILS = r_compile(r'\[([A-Za-z-_0-9]+)][^\[\]]*?(?<!# )enabled = (?:(true|false))')
15 +REGEX_DATA = r_compile(r'\[(?P<jail>[A-Za-z-_0-9]+)\] (?P<action>[A-Z])[a-z]+ (?P<ipaddr>\d{1,3}(?:\.\d{1,3}){3})')
16 ORDER = ['jails_bans', 'jails_in_jail']
17
18