Browse Source

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

pull/2679/head
Sergey G. Brester 4 years ago committed by GitHub
parent
commit
ab0847e2d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      config/filter.d/monitorix.conf

4
config/filter.d/monitorix.conf

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

Loading…
Cancel
Save