summaryrefslogtreecommitdiff
path: root/puppet/modules/site_check_mk/manifests/agent
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2014-02-19 15:39:51 +0100
committervarac <varacanero@zeromail.org>2014-02-19 15:39:51 +0100
commit20e1830ab70c2f63d240f909ab5622476b095ec9 (patch)
tree336a94afee0c1196466c43ca76c2c137f7bc6383 /puppet/modules/site_check_mk/manifests/agent
parent6007c2e5b8556460471d4cae9206a950dd184fec (diff)
add site_check_mk::agent::tapicero, site_check_mk::agent::couchdb
Diffstat (limited to 'puppet/modules/site_check_mk/manifests/agent')
-rw-r--r--puppet/modules/site_check_mk/manifests/agent/couchdb.pp12
-rw-r--r--puppet/modules/site_check_mk/manifests/agent/tapicero.pp10
2 files changed, 15 insertions, 7 deletions
diff --git a/puppet/modules/site_check_mk/manifests/agent/couchdb.pp b/puppet/modules/site_check_mk/manifests/agent/couchdb.pp
index 5b50e5a9..c954292a 100644
--- a/puppet/modules/site_check_mk/manifests/agent/couchdb.pp
+++ b/puppet/modules/site_check_mk/manifests/agent/couchdb.pp
@@ -1,5 +1,10 @@
class site_check_mk::agent::couchdb {
+ file { '/etc/check_mk/logwatch.d/couchdb.cfg':
+ source => 'puppet:///modules/site_check_mk/agent/logwatch/couchdb.cfg',
+ }
+
+
# local custom checks
file { '/usr/lib/check_mk_agent/local/check_bigcouch_errors.sh':
ensure => link,
@@ -7,11 +12,4 @@ class site_check_mk::agent::couchdb {
require => Vcsrepo['/srv/leap/couchdb/scripts']
}
- # local nagios plugin checks via mrpe
- file_line {
- 'Tapicero_Procs':
- line => 'Tapicero_Procs /usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -a tapicero',
- path => '/etc/check_mk/mrpe.cfg';
- }
-
}
diff --git a/puppet/modules/site_check_mk/manifests/agent/tapicero.pp b/puppet/modules/site_check_mk/manifests/agent/tapicero.pp
new file mode 100644
index 00000000..2379881c
--- /dev/null
+++ b/puppet/modules/site_check_mk/manifests/agent/tapicero.pp
@@ -0,0 +1,10 @@
+class site_check_mk::agent::tapicero {
+
+ # local nagios plugin checks via mrpe
+ file_line {
+ 'Tapicero_Procs':
+ line => 'Tapicero_Procs /usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -a tapicero',
+ path => '/etc/check_mk/mrpe.cfg';
+ }
+
+}