49 lines
1.2 KiB
Plaintext
49 lines
1.2 KiB
Plaintext
# Telegraf configuration
|
|
|
|
[global_tags]
|
|
station = "station000"
|
|
|
|
[agent]
|
|
interval = "1s"
|
|
round_interval = true
|
|
metric_batch_size = 1000
|
|
metric_buffer_limit = 10000
|
|
collection_jitter = "0s"
|
|
flush_interval = "1s"
|
|
flush_jitter = "0s"
|
|
precision = "0s"
|
|
debug = false
|
|
quiet = true
|
|
logfile = "/var/log/telegraf/telegraf.log"
|
|
logfile_rotation_interval = "1d"
|
|
logfile_rotation_max_size = "128MB"
|
|
logfile_rotation_max_archives = 7
|
|
log_with_timezone = "local"
|
|
omit_hostname = true
|
|
skip_processors_after_aggregators = true
|
|
|
|
[[outputs.influxdb_v2]]
|
|
urls = ["http://192.168.46.100:8086"]
|
|
token = "kKtMhMj5ISrnrCAO1ugvL4D4c_HrbAv4HzSHGA3Ai1AeBIEmGbQpQY0qSwjaXYluOmuDAv0zAvFCRRqEWQ0zJw=="
|
|
organization = "eCL3000"
|
|
bucket = "ssuBucket"
|
|
|
|
[[inputs.cl_kafka_consumer]]
|
|
brokers = ["localhost:9092"]
|
|
kafka_version = "3.9.0"
|
|
topics = ["ssu000_Phasor"]
|
|
topic_tag = "device"
|
|
consumer_group = "telegraf_phasor_consumers"
|
|
compression_codec = 4
|
|
max_message_len = 1000000
|
|
data_format = "phasor_binary"
|
|
|
|
[[inputs.cl_104]]
|
|
service_address = "tcp://:8899"
|
|
path_cl = "/api/104"
|
|
path_up = "/api/104up"
|
|
pong_wait = "60s"
|
|
ping_period = "54s"
|
|
write_waite = "10s"
|
|
data_format = "cl_104"
|