blob: 65f1e204b10f6f424cf05a5414dfb992806fbe0d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
class lighttpd::munin {
lighttpd::config::file{'status':
content => 'server.modules += ( "mod_status" )
$HTTP["remoteip"] == "127.0.0.1" {
status.status-url = "/server-status"
status.config-url = "/server-config"
}
',
}
munin::plugin::deploy{'lighttpd_':
source => "lighttpd/munin/lighttpd_",
ensure => absent,
require => Lighttpd::Config::File['status'],
}
munin::plugin{'lighttpd_total_accesses':
require => Munin::Plugin::Deploy['lighttpd_'],
ensure => 'lighttpd_',
}
munin::plugin{'lighttpd_total_kbytes':
require => Munin::Plugin::Deploy['lighttpd_'],
ensure => 'lighttpd_',
}
munin::plugin{'lighttpd_uptime':
require => Munin::Plugin::Deploy['lighttpd_'],
ensure => 'lighttpd_',
}
munin::plugin{'lighttpd_busyservers':
require => Munin::Plugin::Deploy['lighttpd_'],
ensure => 'lighttpd_',
}
}
|