Telegraf

Telegraf test input and output plugins error multiple conf files

纵饮孤独 提交于 2021-02-11 10:18:43
问题 Telegraf version: Telegraf v1.0.1 I have the following files: /etc/telegraf/telegraf.conf main config file (which you create/get for free while installing telegraf). This file doesn't have any [[output.<plugin>]] stanza in it but does have valid default inputs.xx plugins enabled. /etc/telegraf/telegraf.d/1-company-output-plugin.conf (This file has valid outputs.<pluginname> plugin). /etc/telegraf/telegraf.d/telegraf-additional-inputs-plugins.conf (this file has additional inputs.<pluginname>

Telegraf test input and output plugins error multiple conf files

[亡魂溺海] 提交于 2021-02-11 10:18:29
问题 Telegraf version: Telegraf v1.0.1 I have the following files: /etc/telegraf/telegraf.conf main config file (which you create/get for free while installing telegraf). This file doesn't have any [[output.<plugin>]] stanza in it but does have valid default inputs.xx plugins enabled. /etc/telegraf/telegraf.d/1-company-output-plugin.conf (This file has valid outputs.<pluginname> plugin). /etc/telegraf/telegraf.d/telegraf-additional-inputs-plugins.conf (this file has additional inputs.<pluginname>

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

How to monitor the size of a directory via Telegraf

好久不见. 提交于 2020-12-28 07:58:06
问题 We need to monitor the size of a directory (for example the data directory of InfluxDB) to set up alerts in Grafana. As mentioned here: How to configure telegraf to send a folder-size to influxDB , there is no built-in plugin for this. We don't mind using the inputs.exec section of Telegraf. The directories are not huge (low filecount + dircount), so deep scanning (like the use of du ) is fine by us. One of the directories we need to monitor is /var/lib/influxdb/data . What would be a simple

How to monitor the size of a directory via Telegraf

為{幸葍}努か 提交于 2020-12-28 07:57:33
问题 We need to monitor the size of a directory (for example the data directory of InfluxDB) to set up alerts in Grafana. As mentioned here: How to configure telegraf to send a folder-size to influxDB , there is no built-in plugin for this. We don't mind using the inputs.exec section of Telegraf. The directories are not huge (low filecount + dircount), so deep scanning (like the use of du ) is fine by us. One of the directories we need to monitor is /var/lib/influxdb/data . What would be a simple

How to monitor the size of a directory via Telegraf

心不动则不痛 提交于 2020-12-28 07:53:58
问题 We need to monitor the size of a directory (for example the data directory of InfluxDB) to set up alerts in Grafana. As mentioned here: How to configure telegraf to send a folder-size to influxDB , there is no built-in plugin for this. We don't mind using the inputs.exec section of Telegraf. The directories are not huge (low filecount + dircount), so deep scanning (like the use of du ) is fine by us. One of the directories we need to monitor is /var/lib/influxdb/data . What would be a simple

How to monitor the size of a directory via Telegraf

三世轮回 提交于 2020-12-28 07:53:32
问题 We need to monitor the size of a directory (for example the data directory of InfluxDB) to set up alerts in Grafana. As mentioned here: How to configure telegraf to send a folder-size to influxDB , there is no built-in plugin for this. We don't mind using the inputs.exec section of Telegraf. The directories are not huge (low filecount + dircount), so deep scanning (like the use of du ) is fine by us. One of the directories we need to monitor is /var/lib/influxdb/data . What would be a simple

开放、普惠、高性能-SLS时序存储助力打造企业级全方位监控方案

拥有回忆 提交于 2020-08-15 15:14:43
无所不在的时序数据 时间带走一切,长年累月会把你的名字、外貌、性格、命运都改变。 ---柏拉图 随着时间的推移,万事万物都在不停的变化,而我们也会用各种数字去衡量这些变化信息,比如年龄、重量、速度、温度、金钱...在数字化时代中,我们会把这些随着时间变化的数据保存起来,挖掘这些数据的价值。通常我们会称这类数据为---时序数据。 时序数据用于描述物体在时间维度上的状态变化信息。 时序数据在各行各业都得到了非常广泛的应用,例如股票走势、交易趋势、服务器指标、脉搏心跳、定位坐标、能耗趋势等等,而这些数据几乎在所有的场景中都得到了应用,例如: 各类炒股软件提供众多不同维度的股票K线图,为广大股民提供参考标准; Apple Watch通过监控佩戴者的心率信息,帮助人们提早发现严重的心脏疾病; 国家电网通过分析各个小区、住户的用电量曲线,来判断是否有偷电漏电情况; 电商类的公司会监控平台的下单、交易、退货、评价等关键流程的变化趋势,用来快速发现各类异常; 各个游戏平台通过分析每个用户角色的操作、位置等变化规律,来判断是否使用了作弊辅助工具... 我们需要一个什么样的时序存储 为了能够支撑各种场景的时序分析、监控等需求,近几年在开源和商业领域均出现了一些时序存储的引擎,例如TimescaleDB、CrateDB、InfluxDB、OpenTSDB、Prometheus等

InfulxDb+grafana监控Windows运行状态

自闭症网瘾萝莉.ら 提交于 2020-08-12 09:06:56
看一下效果图: InfulxDb 官方网站: https://portal.influxdata.com/downloads/ docker docker pull influxdb 安装influxdb数据库 docker pull quay.io/influxdb/chronograf:1.8.4 chronograf可视化工具(非必要,只是可以web访问,类似PHPMySQL) docker run -d -p 8086:8086 -v /var/lib/influxdb:/var/lib/influxdb --name influxdb influxdb 启动influxdb,其中-v参数表示将docker内的文件夹映射到本地,冒号前为本地路径,冒号后为docker内路径。-p表示映射端口,建议不使用默认的8086端口,比如 -p 2222:8086 。 Windows chronograf Windows可执行文件下载地址 influxdb Windows可执行文件下载地址 Windows运行很简单:influxd.exe -config influxdb.conf(注意不是少打了一个b) 当然运行之前可以修改influxdb.conf配置文件,主要修改字段: bind-address = "0.0.0.0:8088" [meta] dir = "G:/Grafana