Reusing telegraf configuration

Can we use the same configuration file to monitor multiple environments(after changing necessary details in the config).?

Yes, for example we have users with multiple http input plugins or multiple rabbitmq plugins in one config file, each monitoring different endpoints or topics.

1 Like

Hi @Thisaru_Wickramaseka,
You can find telegraf config examples here which might help you out:

For example:
As Josh said this config uses multiple MQTT input plugins: Telegraf-Community-Configs/telegraf-mqtt-thing-network-plant-buddy.conf at master · InfluxCommunity/Telegraf-Community-Configs · GitHub

1 Like