HomeLab/dockercompose/telegraf/mytelegraf.conf

21 lines
700 B
Plaintext

[agent]
Hostname = "ubuntu-server-prod"
[global_tags]
machineAddress = "192.168.1.30"
# Output Configuration for telegraf agent
[[outputs.influxdb_v2]]
## Point to your influxdb container
urls = ["http://192.168.1.41:8086"]
## insecure_skip_verify = true
## Token for authentication.
token = "WfD0-l-9P0-sXdKlAtItiE7BE19Fbzoz6uTepeWusOWNkh2VMu52NqGgehCznjU24KyH82EO32gduOYEM76Nag=="
## Organization is the name of the organization you wish to write to; must exist.
organization = "VeritableValor"
## Destination bucket to write into.
bucket = "telegraf"
[[inputs.ping]]
## Hosts to send ping packets to.
urls = ["1.1.1.1", "google.com", "rebeccavpn.ddns.net", "10.0.0.1"]