blob: 87a928be9afba2489323ec7f08ef823a84b04ad5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
class nodo::role::mail {
class { [ 'nodo::role::virtual', 'mail::system' ]: }
# Graph postfix
munin::plugin { [ 'postfix_mailqueue', 'postfix_mailstats' ]:
config => 'user root',
ensure => present,
}
# Graph mysql, needed by munin mysql plugin
package { 'libcache-cache-perl':
ensure => present,
}
munin::plugin { [ 'mysql_queries', 'mysql_slowqueries', 'mysql_bytes', 'mysql_threads' ]:
config => "user root\nenv.mysqlopts --defaults-extra-file=/etc/mysql/debian.cnf",
ensure => present,
}
}
|