summaryrefslogtreecommitdiff
path: root/puppet/modules/site_check_mk/manifests/agent/couchdb.pp
blob: 5b50e5a937d693f99a9fafd2111d954d1b9dc110 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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';
  }

}