12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- [agent]
- interval = "10s"
- round_interval = true
- metric_batch_size = 1000
- metric_buffer_limit = 10000
- collection_jitter = "0s"
- flush_interval = "10s"
- flush_jitter = "0s"
- precision = ""
- hostname = ""
- ## If set to true, do no set the "host" tag in the telegraf agent.
- omit_hostname = false
- logfile = "D:/data/telegraf-client/app/log/telegraf.log"
- logfile_rotation_max_size = "20MB"
- [[inputs.execd]]
- command = ["D:/data/telegraf-client/app/opcda.exe", "-config", "D:/data/telegraf-client/app/opcda.conf"]
- signal = "none"
- restart_delay = "10s"
- data_format = "influx"
- [[outputs.influxdb_v2]]
- urls = ["http://192.168.1.168:8086"]
- token = "zAyO0a0gdTHH8j7lo520TQFsoNuFhMEPkDLiurCr__uTbKrAUPyx1O4hMdwWT5eed-dIiHbKOJHOd7E6JpqifA=="
- ## Organization is the name of the organization you wish to write to; must exist.
- organization = "jd"
- ## Destination bucket to write into.
- bucket = "test"
|