|
|
|
@ -13,7 +13,7 @@ before = common.conf
|
|
|
|
|
|
|
|
|
|
[Definition]
|
|
|
|
|
|
|
|
|
|
#_daemon = mysqld
|
|
|
|
|
_daemon = mysqld
|
|
|
|
|
|
|
|
|
|
# Option: failregex
|
|
|
|
|
# Notes.: regex to match the password failures messages in the logfile. The
|
|
|
|
@ -22,7 +22,8 @@ before = common.conf
|
|
|
|
|
# (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
|
|
|
|
|
# Values: TEXT
|
|
|
|
|
# 130322 11:26:54 [Warning] Access denied for user 'root'@'127.0.0.1' (using password: YES)
|
|
|
|
|
failregex = Access denied for user '\w+'@'<HOST>' (to database '[^']*'|\(using password: (YES|NO)\))*\s*$
|
|
|
|
|
#
|
|
|
|
|
failregex = ^%(__prefix_line)s(\d{6} \s?\d{1,2}:\d{2}:\d{2} )?\[Warning\] Access denied for user '\w+'@'<HOST>' (to database '[^']*'|\(using password: (YES|NO)\))*\s*$
|
|
|
|
|
|
|
|
|
|
# Option: ignoreregex
|
|
|
|
|
# Notes.: regex to ignore. If this regex matches, the line is ignored.
|
|
|
|
|