Currently I am getting started with telegraf, influxdb and grafana so I am a beginner. I have three containers running of these instances on my raspberry pi as I want to monitor temperature sensor data. However, my first step is to understand. That’s why I decided I first want to read raspberry data such as temperature, cpu, ram etc. Having used a tutorial to install all this I did not get any data in my grafana dashboard. I decided to take a look inside my containers. One thing I found is that my influxdb users were not created and the database was not created. So I did this and checked. But then, still no data was appearing. I decided to take a look in my telegraf container and found that when running
telegraf it could not find any plugins (but the
telegraf.conf file is present). I found that these plugins should be present in the
telegraf.d folder. The telegraf github told me that during initialization of telegraf I can generate plugins with
telegraf --section-filter agent:inputs:outputs --input-filter cpu --output-filter influxdb config
but then, how do I need to rewrite this line to match my system and get more data such a ram, gpu, storage and more? And, will executing only this line already solve this problem?
Thanks in advance.