forked from Sysdeploy/monitoring
54 lines
1.8 KiB
Plaintext
54 lines
1.8 KiB
Plaintext
[agent]
|
|
interval = "10s"
|
|
round_interval = true
|
|
metric_batch_size = 1000
|
|
metric_buffer_limit = 10000
|
|
collection_jitter = "0s"
|
|
flush_interval = "10s"
|
|
flush_jitter = "0s"
|
|
precision = ""
|
|
debug = false
|
|
quiet = false
|
|
logtarget = "stderr"
|
|
hostname = ""
|
|
omit_hostname = false
|
|
|
|
[[inputs.socket_listener]]
|
|
service_address = "udp://:25826"
|
|
|
|
## Data format to consume.
|
|
## Each data format has its own unique set of configuration options, read
|
|
## more about them here:
|
|
## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md
|
|
data_format = "collectd"
|
|
|
|
## Authentication file for cryptographic security levels
|
|
collectd_auth_file = "/etc/collectd/collectd.auth"
|
|
## One of none (default), sign, or encrypt
|
|
collectd_security_level = "sign"
|
|
## Path of to TypesDB specifications
|
|
collectd_typesdb = ["/usr/share/collectd_types.db", "/usr/share/collectd_custom_types.db"]
|
|
|
|
## Multi-value plugins can be handled two ways.
|
|
## "split" will parse and store the multi-value plugin data into separate measurements
|
|
## "join" will parse and store the multi-value plugin as a single multi-value measurement.
|
|
## "split" is the default behavior for backward compatability with previous versions of influxdb.
|
|
collectd_parse_multivalue = "split"
|
|
|
|
[[outputs.influxdb_v2]]
|
|
## The URLs of the InfluxDB cluster nodes.
|
|
##
|
|
## Multiple URLs can be specified for a single cluster, only ONE of the
|
|
## urls will be written to each interval.
|
|
## urls exp: http://127.0.0.1:8086
|
|
urls = ["http://influxdb:8086"]
|
|
|
|
## Token for authentication.
|
|
token = "$DOCKER_INFLUXDB_INIT_ADMIN_TOKEN"
|
|
|
|
## Organization is the name of the organization you wish to write to; must exist.
|
|
organization = "$DOCKER_INFLUXDB_INIT_ORG"
|
|
|
|
## Destination bucket to write into.
|
|
bucket = "$DOCKER_INFLUXDB_INIT_BUCKET"
|