From b6fac90b5a57934749f30a0f9c626b075fcf51d8 Mon Sep 17 00:00:00 2001 From: Jordi Sanfeliu Date: Wed, 14 Apr 2021 11:46:23 +0200 Subject: [PATCH] Update monitorix --- fail2ban/tests/files/logs/monitorix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/fail2ban/tests/files/logs/monitorix b/fail2ban/tests/files/logs/monitorix index 3166dbd3..e6ad6dc6 100644 --- a/fail2ban/tests/files/logs/monitorix +++ b/fail2ban/tests/files/logs/monitorix @@ -1,10 +1,8 @@ +# failJSON: { "time": "2021-04-14T08:11:01", "match": false, "desc": "should be ignored: successful request" } Wed Apr 14 08:11:01 2021 - OK - [127.0.0.1] "GET /monitorix-cgi/monitorix.cgi - Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0" -Wed Apr 14 08:11:01 2021 - OK - [127.0.0.1] "GET /monitorix/css/black.css - Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0" -Wed Apr 14 08:11:01 2021 - OK - [127.0.0.1] "GET /monitorix/imgs/fs01.1day.png - Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0" -Wed Apr 14 08:11:02 2021 - OK - [127.0.0.1] "GET /monitorix/imgs/fs03.1day.png - Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0" -Wed Apr 14 08:11:02 2021 - OK - [127.0.0.1] "GET /monitorix/imgs/fs04.1day.png - Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0" -Wed Apr 14 08:11:02 2021 - OK - [127.0.0.1] "GET /monitorix/imgs/fs02.1day.png - Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0" +# failJSON: { "time": "2021-04-14T08:54:22", "match": true, "host": "127.0.0.1", "desc": "file does not exist" } Wed Apr 14 08:54:22 2021 - NOTEXIST - [127.0.0.1] File does not exist: /manager/html +# failJSON: { "time": "2021-04-14T11:24:31", "match": true, "host": "127.0.0.1", "desc": "access not allowed" } Wed Apr 14 11:24:31 2021 - NOTALLOWED - [127.0.0.1] Access not allowed: /monitorix/ +# failJSON: { "time": "2021-04-14T11:26:08", "match": true, "host": "127.0.0.1", "desc": "authentication error" } Wed Apr 14 11:26:08 2021 - AUTHERR - [127.0.0.1] Authentication error: /monitorix/ -Wed Apr 14 11:26:09 2021 - AUTHERR - [127.0.0.1] Authentication error: /monitorix/