summaryrefslogtreecommitdiff
path: root/manifests/agent/mrpe.pp
blob: 749550a9a226268b7dab41efe84138c360af45ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class check_mk::agent::mrpe {
  # check_mk can use standard nagios plugins using
  # a wrapper called mrpe
  # see http://mathias-kettner.de/checkmk_mrpe.html
  # this subclass is provided to be included by checks that use mrpe

  # FIXME: this is Debian specific and should be made more generic
  package { 'nagios-plugins-basic':
    ensure => latest,
  }

  # ensure the config file exists, individual checks will add lines to it
  file { '/etc/check_mk/mrpe.cfg':
    ensure  => present,
    require => Package['check-mk-agent']
  }
}