TICK stack
関連記事
The TICK stack is a collection of associated technologies that consists of Telegraf, InfluxDB, Chronograf and Kapacitor. They combine to deliver a platform for storing, capturing, monitoring and visualizing data that is in time series.
The TICK stack consists of the following technologies:
- #Telegraf – collection of tie sequential data from a range of sources including IoT devices.
- #InfluxDB – high performance and efficient database store for handling high volumes of time-series data.
- #Chronograf – real-time visualization of InfluxDB data.
- #Kapacitor – monitoring and alerting based on views of InfluxDB data and anomalies contained within those views.
目次
Telegraf
インストール
telegrafAUR または telegraf-binAUR パッケージをインストールしてください。
設定
メイン設定ファイルは /etc/telegraf/telegraf.conf
にあります。利用可能なプラグイン、設定、カスタマイズは、upstream ドキュメント を参照してください。
そして、telegraf.service
を 開始/有効化します。
InfluxDB
インストール
設定
設定については、上流のドキュメントを参照してください。
influxdb.service
を start and enable します。
Upgrading from 1.8.x
InfluxDB 2.0.4 was released on 2021-02-25, and requires a manual upgrade step.
# systemctl stop influxdb.service # influxd --bolt-path /var/lib/private/influxdb.v2/influxd.bolt --engine-path /var/lib/private/influxdb.v2/engine --v2-config-path /etc/influxdb/config.toml upgrade # mv /var/lib/private/influxdb /var/lib/private/influxdb.v1-backup # mv /var/lib/private/influxdb.v2 /var/lib/private/influxdb # mv /etc/influxdb/influxdb.conf /etc/influxdb/influxdb.conf.v1-backup # chown -R influxdb.influxdb /var/lib/private/influxdb # systemctl start influxdb.service
Edit /etc/influxdb/config.toml
and remove bolt-path
and engine-path
lines (these are set correctly by the systemd unit).
Chronograf
Installation
Install the chronografAUR or the chronograf-binAUR package.
Configuration
Main configuration file is stored at /etc/chronograf/chronograf.conf
. For configuration, see upstream documentation.
Also start and enable chronograf.service
.
Kapacitor
Installation
Install the kapacitorAUR or the kapacitor-binAUR package.
Configuration
Main configuration file is stored at /etc/kapacitor/kapacitor.conf
. For configuration, see upstream documentation. Many examples can also be found in official github repository.
Also start and enable kapacitor.service
.