diff options
author | varac <varacanero@zeromail.org> | 2014-02-13 00:10:09 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2014-02-13 00:16:41 +0100 |
commit | 12cea40d5dffe5aa6e269c05773ed49d9f00a9ea (patch) | |
tree | fd856c0e20d27a561e24175d97308b18344af238 /puppet/modules/site_check_mk | |
parent | 1c8c4f6f3b68ba1da13e6b6374c6c55fe8214789 (diff) |
added site_check_mk::agent::couchdb and site_check_mk::agent::soledad for local checks
Diffstat (limited to 'puppet/modules/site_check_mk')
-rw-r--r-- | puppet/modules/site_check_mk/manifests/agent/couchdb.pp | 17 | ||||
-rw-r--r-- | puppet/modules/site_check_mk/manifests/agent/soledad.pp | 10 |
2 files changed, 27 insertions, 0 deletions
diff --git a/puppet/modules/site_check_mk/manifests/agent/couchdb.pp b/puppet/modules/site_check_mk/manifests/agent/couchdb.pp new file mode 100644 index 00000000..5b50e5a9 --- /dev/null +++ b/puppet/modules/site_check_mk/manifests/agent/couchdb.pp @@ -0,0 +1,17 @@ +class site_check_mk::agent::couchdb { + + # local custom checks + file { '/usr/lib/check_mk_agent/local/check_bigcouch_errors.sh': + ensure => link, + target => '/srv/leap/couchdb/scripts/tests/check_bigcouch_errors.sh', + 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/soledad.pp b/puppet/modules/site_check_mk/manifests/agent/soledad.pp new file mode 100644 index 00000000..d75ae732 --- /dev/null +++ b/puppet/modules/site_check_mk/manifests/agent/soledad.pp @@ -0,0 +1,10 @@ +class site_check_mk::agent::soledad { + + # local nagios plugin checks via mrpe + file_line { + 'Soledad_Procs': + line => 'Soledad_Procs /usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -a soledad', + path => '/etc/check_mk/mrpe.cfg'; + } + +} |