Even stricter monit regex, now covers entire line

pull/697/head
Jason Martin 2014-04-22 21:29:52 -07:00
parent 72bfd14330
commit 9c3cb31862
1 changed files with 2 additions and 2 deletions

View File

@ -4,6 +4,6 @@
[Definition]
failregex = \]\s*error\s*:\s*Warning:\s+Client '<HOST>' supplied unknown user '\w+' accessing monit httpd$
\]\s*error\s*:\s*Warning:\s+Client '<HOST>' supplied wrong password for user '\w+' accessing monit httpd$
failregex = ^\[[A-Z]+\s+\]\s*error\s*:\s*Warning:\s+Client '<HOST>' supplied unknown user '\w+' accessing monit httpd$
^\[[A-Z]+\s+\]\s*error\s*:\s*Warning:\s+Client '<HOST>' supplied wrong password for user '\w+' accessing monit httpd$