summaryrefslogtreecommitdiff
path: root/puppet/modules/site_check_mk/files/agent/logwatch/webapp.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_check_mk/files/agent/logwatch/webapp.cfg')
-rw-r--r--puppet/modules/site_check_mk/files/agent/logwatch/webapp.cfg8
1 files changed, 8 insertions, 0 deletions
diff --git a/puppet/modules/site_check_mk/files/agent/logwatch/webapp.cfg b/puppet/modules/site_check_mk/files/agent/logwatch/webapp.cfg
new file mode 100644
index 00000000..337d9ec6
--- /dev/null
+++ b/puppet/modules/site_check_mk/files/agent/logwatch/webapp.cfg
@@ -0,0 +1,8 @@
+/var/log/leap/webapp.log
+# check for webapp errors
+ C Completed 500
+# couch connection issues
+ C webapp.*Could not connect to couch database messages due to 401 Unauthorized: {"error":"unauthorized","reason":"You are not a server admin."}
+# ignore RoutingErrors that rails throw when it can't handle a url
+# see https://leap.se/code/issues/5173
+ I webapp.*ActionController::RoutingError