blob: 5bc5f3312df8b3419ad72fc9c2a07cbdae398f7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
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
if !defined(Package['nagios-plugins-basic']) {
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']
}
}
|