more precise anchored RE (also combining all 3 REs in a single regex)

pull/2679/head
Sergey G. Brester 2021-04-14 13:06:58 +02:00 committed by GitHub
parent b6fac90b5a
commit ab0847e2d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -16,9 +16,7 @@ _daemon = monitorix-httpd
# (?:::f{4,6}:)?(?P<host>\S+) # (?:::f{4,6}:)?(?P<host>\S+)
# Values: TEXT # Values: TEXT
# #
failregex = NOTEXIST - \[<HOST>\] .* failregex = ^(?:\s+-)?\s*(?:NOTEXIST|AUTHERR|NOTALLOWED) - <ADDR>\b
AUTHERR - \[<HOST>\] .*
NOTALLOWED - \[<HOST>\] .*
# Option: ignoreregex # Option: ignoreregex
# Notes.: regex to ignore. If this regex matches, the line is ignored. # Notes.: regex to ignore. If this regex matches, the line is ignored.