Default metrics from telegraf mqtt

telegraf

#1

Hi i have configured telegraf mqtt consumer input plugin in my influx.I am able to send other metrics succesfully.And those metrics are getting saved in the influxdb.

But by default it is fetching these metrics
cpu
disk
diskio
kernel
mem
processes
swap
system.
Is there anyway to stop gathering these metrics.


#2

Sure! Just go into the telegraf.conf file and add # before any metrics you no longer want to collect, and then restart telegraf. You can stop collecting any metrics you’re not interested that way.

Best Regards,
dg