summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2014-02-28 00:41:44 +0100
committervarac <varacanero@zeromail.org>2014-03-03 17:36:39 +0100
commit08f0fa4c8b1853db04835f407350c052ccfdb3d8 (patch)
tree86d655773c86a0ddc6f4ff047cdd461366d0f18a
parent89c5fd126f73dff0bd4258ec51ad03f523d64ade (diff)
don't displa ycontext for errors in bigcouch.log (reported too many context lines), ignore patterns first
-rw-r--r--puppet/modules/site_check_mk/files/agent/logwatch/bigcouch.cfg12
1 files changed, 6 insertions, 6 deletions
diff --git a/puppet/modules/site_check_mk/files/agent/logwatch/bigcouch.cfg b/puppet/modules/site_check_mk/files/agent/logwatch/bigcouch.cfg
index a1eb1312..92c5eb5a 100644
--- a/puppet/modules/site_check_mk/files/agent/logwatch/bigcouch.cfg
+++ b/puppet/modules/site_check_mk/files/agent/logwatch/bigcouch.cfg
@@ -1,4 +1,9 @@
-/opt/bigcouch/var/log/bigcouch.log
+/opt/bigcouch/var/log/bigcouch.log nocontext=1
+# ignore requests that are fine
+ I undefined - -.*200$
+ I undefined - -.*201$
+ I 127.0.0.1 undefined.* ok
+ I 127.0.0.1 localhost:5984 .* ok
C Uncaught error in HTTP request: {exit,
C Uncaught error in HTTP request: {exit,normal}
C Uncaught error in HTTP request: {error,
@@ -8,8 +13,3 @@
C error
C Connection attempt from disallowed node
W Shutting down group server
-# ignore requests that are fine
- I undefined - -.*200$
- I undefined - -.*201$
- I 127.0.0.1 undefined.* ok
- I 127.0.0.1 localhost:5984 .* ok