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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
class tozt::monitoring {
include munin::node
include munin::duplicati
include munin::tarsnap
include munin::archlinux
include munin::certbot
file { "/etc/munin/plugin-conf.d/tozt":
source => "puppet:///modules/tozt/munin-plugin-conf",
require => Package["munin-node"],
notify => Service["munin-node"];
}
munin::plugin {
[
'cpu',
'df',
'df_inode',
'forks',
'load',
'memory',
'ntp_offset',
'processes',
'swap',
'threads',
'uptime',
'users',
'vmstat',
]:
}
munin::plugin {
[
'fail2ban',
'munin_stats',
'munin_update',
]:
}
munin::plugin {
[
'if_algo',
'if_eth0',
]:
source => 'if_',
}
munin::plugin {
[
'if_err_algo',
'if_err_eth0',
]:
source => 'if_err_',
}
munin::plugin {
[
'duplicati_duration',
'duplicati_file_count',
'duplicati_file_size',
'duplicati_last_run',
]:
}
munin::plugin {
[
'tarsnap',
'tarsnap_last_run',
]:
}
munin::plugin {
[
'package_updates',
]:
}
munin::plugin {
[
'certbot',
]:
}
include tick::client::base_plugins
tick::client::plugin { "postgresql":
opts => {
address => "user=postgres",
}
}
class {
[
"tick::client::plugin::certbot",
"tick::client::plugin::fail2ban",
"tick::client::plugin::tarsnap",
]:
}
}
|