blob: 2a01175c17a31464511519f72a02cda63b99737b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# 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" # lint:ignore:80chars
}
munin::plugin::deploy {
'tor_connections':
source => 'tor/munin/tor_connections';
'tor_routers':
source => 'tor/munin/tor_routers';
'tor_traffic':
source => 'tor/munin/tor_traffic';
}
}
|