Difference between revisions of "Telegraf"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
* https://github.com/influxdb/telegraf |
* https://github.com/influxdb/telegraf |
||
* https://influxdata.com/time-series-platform/telegraf/ |
* https://influxdata.com/time-series-platform/telegraf/ |
||
+ | |||
+ | =Installation= |
||
+ | <pre> |
||
+ | wget http://get.influxdb.org/telegraf/telegraf_0.10.1-1_amd64.deb |
||
+ | sudo dpkg -i telegraf_0.10.1-1_amd64.deb |
||
+ | telegraf -help |
||
+ | </pre> |
||
+ | |||
+ | =Configuration= |
||
+ | <pre> |
||
+ | telegraf -sample-config > telegraf.conf |
||
+ | </pre> |
||
+ | |||
+ | Editer le fichier de configuration telegraf.conf |
||
+ | |||
+ | =Lancement= |
||
+ | <pre> |
||
+ | telegraf -config telegraf.conf -input-filter cpu:mem:disk:diskio:swap:net:netstat: -output-filter influxdb |
||
+ | </pre> |
Revision as of 15:51, 4 February 2016
agent written in Go for collecting metrics from the system it's running on, or from other services, and writing them into InfluxDB.
Installation
wget http://get.influxdb.org/telegraf/telegraf_0.10.1-1_amd64.deb sudo dpkg -i telegraf_0.10.1-1_amd64.deb telegraf -help
Configuration
telegraf -sample-config > telegraf.conf
Editer le fichier de configuration telegraf.conf
Lancement
telegraf -config telegraf.conf -input-filter cpu:mem:disk:diskio:swap:net:netstat: -output-filter influxdb