Telegraf Data Collector Service Not Starting Windows Powershell

Hello, I’m new to Influx DB and the world of databases in general, so apologies if my questions seem nitwitted. For a project I’m trying to utilize Influx DB and Telegraf to read the data from Windows Performance Monitor on performance counters such as the Disk Read/Write time, Memory, Processor, etc. I’m stuck with trying to get Telegraf to start since event viewer says it can’t find the config file even though it’s right in the folder.
“[telegraf] Error running agent: Error loading config file C:\Program: open C:\Program: The system cannot find the file specified.”


This is the location of the file and the command line I utilized to start the service was:
“.\telegraf.exe -service start -config C:Program Files\InfluxData\telegraf”
I’m sure that there’s something I’m doing wrong in trying to start Telegraf, but I’m at a loss as to where I’m messing up.

I’m back after looking through the blog. Apparently it’s because the telegraf plug-in is already included through the Influx DB 2 UI if I’m interpreting these posts correctly.


However, where would I put the token when I’m creating a System dashboard? Unless I’m just supposed to configure through the memory usage, disk usage, and the other plugins through the dashboard and I don’t even need the token.
I’m still trying to figure out how to utilize this dashboard with the functions and variables injectors on the right side.
I looked at the telegraf documentation page on GitHub, but I’m still trying to interpret it.

In order to answer this I need to see your telegraf configuration file and the command you use to start it, but I expect it to be a quoting problem.

I suggest you keep your posts as on topic as possible, therefore I suggest you put your second question in a new topic