forked from fidlej/sd-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.cfg.example
83 lines (67 loc) · 3.27 KB
/
config.cfg.example
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
[Main]
# The Server Density account where this device is used.
# Only the account name, e.g. abc not abc.serverdensity.io
sd_account:
# The Server Density agent key to associate your Agent's data with a device
# on your account.
agent_key:
# If you need a proxy to connect to the Internet, provide the settings here
# proxy_host: my-proxy.com
# proxy_port: 3128
# proxy_user: user
# proxy_password: password
# To be used with some proxys that return a 302 which make curl switch from POST to GET
# See http://stackoverflow.com/questions/8156073/curl-violate-rfc-2616-10-3-2-and-switch-from-post-to-get
# proxy_forbid_method_switch: no
# Force the hostname to whatever you want.
#hostname: mymachine.mydomain
# ========================================================================== #
# Plugins
# See https://support.serverdensity.com/hc/en-us/articles/360001082746
# ========================================================================== #
# Leave blank to ignore.
# This setting is used for legacy custom plugins, is deprecated and will soon be removed.
# We recommend using the v2 custom plugin format for all new plugins.
# For more information please see: https://support.serverdensity.com/hc/en-us/articles/360001082746
#
# plugin_directory:
# For v2 custom plugins, configure an additional checks.d dir for your custom plugins.
# additional_checksd: /etc/sd-agent/checks.d/
# ========================================================================== #
# Logging
# See https://support.serverdensity.com/hc/en-us/articles/360001065503
# ========================================================================== #
# log_level: INFO
# collector_log_file: /var/log/sd-agent/collector.log
# forwarder_log_file: /var/log/sd-agent/forwarder.log
# if syslog is enabled but a host and port are not set, a local domain socket
# connection will be attempted
#
# log_to_syslog: yes
# syslog_host:
# syslog_port:
# ========================================================================== #
# SdStats
# See https://support.serverdensity.com/hc/en-us/articles/360001082706
# ========================================================================== #
# To make use of these settings the sd-agent-sdstatsd package must be installed
# If you don't want to enable the SdStatsd server, set this option to no
# use_sdstatsd: yes
# Make sure your client is sending to the same port.
# sdstatsd_port: 8125
# you may want all statsd metrics coming from this host to be namespaced
# in some way; if so, configure your namespace here. a metric that looks
# like `metric.name` will instead become `namespace.metric.name`
# statsd_metric_namespace:
# By default, sdstatsd supports only plain ASCII packets. However, most
# (sd)statsd client support UTF8 by encoding packets before sending them
# this option enables UTF8 decoding in case you need it.
# However, it comes with a performance overhead of ~10% in the sdstatsd
# server.
# utf8_decoding: false
# The number of bytes allocated to the statsd socket receive buffer. By default,
# this value is set to the value of `/proc/sys/net/core/rmem_default`. If you
# need to increase the size of this buffer but keep the OS default value the
# same, you can set sdstats's receive buffer size here. The maximum allowed
# value is the value of `/proc/sys/net/core/rmem_max`.
# statsd_so_rcvbuf: