Multiple configuration files not working

I have multiple configuration files (linux, snmptrap, snmp, cisco-mdt, vsphere) on a single host.

The issue I have is that if I tried and put them in in the telegraf.d/ directory they don’t work, meaning they will not process the data. I can have them write out to an output file and nothing, but if I only run one at a time they do work, meaning writing to the file.

I tried making different services for each of them such as telegraf-linux.service they still don’t work. They will start, but just not “work”, but if I run them one at a time they work.

I don’t get any errors when I run in debug.

I saw where a similar topic was asked " Telegraf agent multiple files-Input_SNMP and Input_SNMP_Trap " but no one provided a solution.

Any ideas on how I can further troubleshoot this issue?

You can merge the various configs into one config.
Otherwise @srebhan do you have any ideas? Thank you.

Merging the files into a single file does not accomplish anything as I get the same results.

What happens when you run all of them except the SNMP trap one, will the rest work at the same time?

Hello @c-stewa20,
You might be overwriting data.
Are you differentiating your line protocol with global tags?
What do your different configs look like? The input sections?
What are some of the logs you’re getting?
Have you tried using the --debug and --test options?
Thanks

I think the issue is that since everything is running under a single telegraf service that all the data is getting written to the same bucket.