telegraftelegraf-plugins

How to check plugin status in telegraf?


This is self added Q & A. I am using telegraf's Telegraf 1.14.0 version, I have configured a few input.exec for plugins in my telegraf.conf file, now wanted to check if my configuration is working fine with all configured plugins(eg-->status on console). Is there a command for making sure all configured plugins status by command?


Solution

  • To check working and status of all plugins configured in telegraf we could use following command. Written and tested in Telegraf 1.14.0 version.

    telegraf -test -config /etc/telegraf/telegraf.conf
    

    Where: