blob: ef71f5790ee9e34efff27ca1167525beb8a4ce19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# munin plugins for puppet
class tor::munin {
tor::daemon::control{
'control_port_for_munin':
port => 19051,
cookie_authentication => 1,
cookie_auth_file => '/var/run/tor/control.authcookie',
}
Munin::Plugin::Deploy {
config => "user debian-tor\n env.cookiefile /var/run/tor/control.authcookie\n env.port 19051"
}
munin::plugin::deploy {
'tor_openfds':
config => 'user root',
source => 'tor/munin/tor_openfds';
'tor_routers':
source => 'tor/munin/tor_routers';
'tor_traffic':
source => 'tor/munin/tor_traffic';
}
}
|