Hello,
To date I retrieve VMware info from 3 datacenters on the same bucket. The problem is that via Grafana it’s relatively slow.
I would therefore like to separate the datacenters on 3 buckets
DC1 → Bucket1
DC2 → bucket2
DC3 → Bucket3
I tried via bucket_tag, but I can’t.
3 identical files in /etc/telegraf/telegraf.d/DC1.conf, 2 and 3 with Bucket1 Bucket2 and Bucket3
But this does not return data on all buckets
What am I doing wrong?
If you could help me solve this routing of inputs to target buckets.
There is a very similar question here. Anyway, leave your inputs as they are, adding the tag bucket="bucket1", bucket="bucket2" and bucket="bucket3". Then you can use
The output plugin will then use the value of the tag bucket to determine which bucket to use. This only works for influxdb_v2. Alternatively, you can create three output instances and use metric filtering
whit this configuration , telegraf servis won’t start
Job for telegraf.service failed because the control process exited with error code.
See “systemctl status telegraf.service” and “journalctl -xeu telegraf.service” for details.
part of your config to the end of your inputs.vsphere section! Otherwise the TOML syntax will assign all following options (interval, insecure_skip_verify and force_discover_on_init) to the tags table. This is a TOML oddity as tables implicitly only end if a new table or array ([[...]]) starts…