summaryrefslogtreecommitdiff
path: root/puppet/modules/site_check_mk
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-04-03 16:05:01 +0200
committerAzul <azul@riseup.net>2016-04-03 16:06:23 +0200
commit90e1d3ec113d2644b659fd6ed9af7d2b94393407 (patch)
tree225256585255da43ab5f580989981e04394e9c76 /puppet/modules/site_check_mk
parentb256733c944d65d0af339c472fcb28237f570ed1 (diff)
check_mk: monitor webapp log for response code 500
Diffstat (limited to 'puppet/modules/site_check_mk')
-rw-r--r--puppet/modules/site_check_mk/files/agent/logwatch/webapp.cfg2
1 files changed, 2 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
index 008e9e09..337d9ec6 100644
--- a/puppet/modules/site_check_mk/files/agent/logwatch/webapp.cfg
+++ b/puppet/modules/site_check_mk/files/agent/logwatch/webapp.cfg
@@ -1,5 +1,7 @@
/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