summaryrefslogtreecommitdiff
path: root/puppet/modules/site_check_mk
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2014-02-20 00:31:39 +0100
committervarac <varacanero@zeromail.org>2014-02-20 00:45:14 +0100
commit6bb879a46c754958d07b530cf62d69a01537ccba (patch)
tree867ca45295eb4c67093f2c6447cda0340889e806 /puppet/modules/site_check_mk
parent9d19be450d84e1fd281cbfc0f795ca411a2f5879 (diff)
added tapicero logwatch check
Diffstat (limited to 'puppet/modules/site_check_mk')
-rw-r--r--puppet/modules/site_check_mk/files/agent/logwatch/tapicero.cfg5
-rw-r--r--puppet/modules/site_check_mk/manifests/agent/tapicero.pp4
2 files changed, 9 insertions, 0 deletions
diff --git a/puppet/modules/site_check_mk/files/agent/logwatch/tapicero.cfg b/puppet/modules/site_check_mk/files/agent/logwatch/tapicero.cfg
new file mode 100644
index 00000000..9402de9b
--- /dev/null
+++ b/puppet/modules/site_check_mk/files/agent/logwatch/tapicero.cfg
@@ -0,0 +1,5 @@
+/var/log/syslog
+ C tapicero.*RestClient::InternalServerError:
+ C tapicero.*RestClient::PreconditionFailed:
+ C tapicero.*failed
+ W tapicero.*Couch stream ended unexpectedly.
diff --git a/puppet/modules/site_check_mk/manifests/agent/tapicero.pp b/puppet/modules/site_check_mk/manifests/agent/tapicero.pp
index 2379881c..088900f4 100644
--- a/puppet/modules/site_check_mk/manifests/agent/tapicero.pp
+++ b/puppet/modules/site_check_mk/manifests/agent/tapicero.pp
@@ -1,5 +1,9 @@
class site_check_mk::agent::tapicero {
+ file { '/etc/check_mk/logwatch.d/tapicero.cfg':
+ source => 'puppet:///modules/site_check_mk/agent/logwatch/tapicero.cfg',
+ }
+
# local nagios plugin checks via mrpe
file_line {
'Tapicero_Procs':