summaryrefslogtreecommitdiff
path: root/puppet/modules/site_check_mk/files/agent/logwatch/webapp.cfg
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2015-04-15 09:36:30 -0700
committerelijah <elijah@riseup.net>2015-04-15 09:36:30 -0700
commit7f069dc47c318e9047a3ae7a29a90f3471610e34 (patch)
tree125c73282aba7d5910b20883fa957f667b0adbe1 /puppet/modules/site_check_mk/files/agent/logwatch/webapp.cfg
parent00ff465519e2ac6d6c1b9beddbe5e51937d4825a (diff)
fix tapicero & webapp logs: remove heartbeat log check, move to /var/log/tapicero, fix webapp logwatch location.
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.cfg6
1 files changed, 6 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..008e9e09
--- /dev/null
+++ b/puppet/modules/site_check_mk/files/agent/logwatch/webapp.cfg
@@ -0,0 +1,6 @@
+/var/log/leap/webapp.log
+# check for webapp errors
+ 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