forked from coderanger/chef-collectd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.rb
24 lines (22 loc) · 972 Bytes
/
default.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#
# Cookbook: collectd
# License: Apache 2.0
#
# Copyright 2010, Atari, Inc.
# Copyright 2015, Bloomberg Finance L.P.
#
default['collectd']['service_name'] = 'collectd'
default['collectd']['service_user'] = 'collectd'
default['collectd']['service_group'] = 'collectd'
if node['platform'] == 'ubuntu'
default['collectd']['service']['package_name'] = 'collectd-core'
else
default['collectd']['service']['package_name'] = 'collectd'
end
default['collectd']['service']['config_directory'] = '/etc/collectd.d'
default['collectd']['service']['configuration']['plugin_dir'] = '/usr/lib/collectd'
default['collectd']['service']['configuration']['types_d_b'] = '/usr/share/collectd/types.db'
default['collectd']['service']['configuration']['interval'] = 10
default['collectd']['service']['configuration']['read_threads'] = 5
default['collectd']['service']['configuration']['write_threads'] = 5
default['collectd']['service']['configuration']['collect_internal_stats'] = true