phpmyadmin-syslog: removed excess file, fixed test, updated failregex

pull/1872/head
Pavel Mihadyuk 2017-08-23 16:55:16 +03:00
parent d09304b897
commit 4c1abe1cbf
3 changed files with 4 additions and 5 deletions

View File

@ -9,9 +9,10 @@ before = common.conf
_daemon = phpMyAdmin
failregex = ^%(__prefix_line)suser denied: .* \(mysql-denied\) from <HOST>\s*$
failregex = ^%(__prefix_line)suser denied: (?:\S+|.*?) \(mysql-denied\) from <HOST>\s*$
ignoreregex =
# Author: Pavel Mihadyuk
# Regex fixes: Serg G. Brester

View File

@ -1,2 +1,2 @@
# failJSON: { "time": "2017-08-22T14:50:22", "match": true , "host": "81.62.21.201" }
Aug 22 14:50:22 eurostream phpMyAdmin[16358]: user denied: root (mysql-denied) from 81.62.21.201
# failJSON: { "time": "2004-08-22T14:50:22", "match": true , "host": "192.0.2.1" }
Aug 22 14:50:22 eurostream phpMyAdmin[16358]: user denied: root (mysql-denied) from 192.0.2.1

View File

@ -1,2 +0,0 @@
# failJSON: { "time": "2017-08-22T14:50:22", "match": true , "host": "81.62.21.201" }
Aug 22 14:50:22 eurostream phpMyAdmin[16358]: user denied: root (mysql-denied) from 81.62.21.201