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
32
33
34
35
|
# debian way of calling plugins
class mysql::server::munin::debian inherits mysql::server::munin::default {
Munin::Plugin['mysql_bytes']{
config => "user root\nenv.mysqlopts --defaults-file=/etc/mysql/debian.cnf",
require => Package['mysql'],
}
Munin::Plugin['mysql_queries']{
config => "user root\nenv.mysqlopts --defaults-file=/etc/mysql/debian.cnf",
require => Package['mysql'],
}
Munin::Plugin['mysql_slowqueries']{
config => "user root\nenv.mysqlopts --defaults-file=/etc/mysql/debian.cnf",
require => Package['mysql'],
}
Munin::Plugin['mysql_threads']{
config => "user root\nenv.mysqlopts --defaults-file=/etc/mysql/debian.cnf",
require => Package['mysql'],
}
Munin::Plugin::Deploy['mysql_connections']{
config => "user root\nenv.mysqlopts --defaults-file=/etc/mysql/debian.cnf",
require => Package['mysql'],
}
Munin::Plugin::Deploy['mysql_qcache']{
config => "user root\nenv.mysqlopts --defaults-file=/etc/mysql/debian.cnf",
require => Package['mysql'],
}
Munin::Plugin::Deploy['mysql_cache_mem']{
config => "user root\nenv.mysqlopts --defaults-file=/etc/mysql/debian.cnf",
require => Package['mysql'],
}
Munin::Plugin::Deploy['mysql_size_all']{
config => "user root\nenv.mysqlopts --defaults-file=/etc/mysql/debian.cnf",
require => Package['mysql'],
}
}
|