blob: 5e7215b4676aaad24bbedaad9f688a150830d5e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
class site_check_mk::agent::haproxy {
include site_check_mk::agent::package::nagios_plugins_contrib
# local nagios plugin checks via mrpe
augeas { 'haproxy':
incl => '/etc/check_mk/mrpe.cfg',
lens => 'Spacevars.lns',
changes => [
'rm /files/etc/check_mk/mrpe.cfg/Haproxy',
'set Haproxy \'/usr/lib/nagios/plugins/check_haproxy -u "http://localhost:8000/haproxy;csv"\'' ];
}
}
|