telegraf-plugins

How to check plugin status in telegraf?

笑着哭i 提交于 2021-01-05 06:11:35
问题 This is self added Q & A. I am using telegraf's Telegraf 1.14.0 version, I have configured a few input.exec 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? 回答1: 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

How to check plugin status in telegraf?

隐身守侯 提交于 2021-01-05 06:10:56
问题 This is self added Q & A. I am using telegraf's Telegraf 1.14.0 version, I have configured a few input.exec 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? 回答1: 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

telegraf - exec plugin - aws ec2 ebs volumen info - metric parsing error, reason: [missing fields] or Errors encountered: [ invalid number]

随声附和 提交于 2019-12-01 13:25:56
Machine - CentOS 7.2 or Ubuntu 14.04/16.xx Telegraf version: 1.0.1 Python version: 2.7.5 Telegraf supports an INPUT plugin named: exec . First please see EXAMPLE 2 in the README doc there. I can't use JSON format as it only consumes Numeric values for metrics. As per the docs: If using JSON, only numeric values are parsed and turned into floats. Booleans and strings will be ignored. So, the idea is simple, you specify a script in exec plugin section, which should spit some meaningful info(in either JSON -or- influx data format in my case as I have some metrics which contains non-numeric values

telegraf - exec plugin - aws ec2 ebs volumen info - metric parsing error, reason: [missing fields] or Errors encountered: [ invalid number]

泄露秘密 提交于 2019-12-01 10:24:59
问题 Machine - CentOS 7.2 or Ubuntu 14.04/16.xx Telegraf version: 1.0.1 Python version: 2.7.5 Telegraf supports an INPUT plugin named: exec. First please see EXAMPLE 2 in the README doc there. I can't use JSON format as it only consumes Numeric values for metrics. As per the docs: If using JSON, only numeric values are parsed and turned into floats. Booleans and strings will be ignored. So, the idea is simple, you specify a script in exec plugin section, which should spit some meaningful info(in