「TICK stack」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
(新規作成(英語版より))
 
(→‎Telegraf: 翻訳)
20行目: 20行目:
 
== Telegraf ==
 
== Telegraf ==
   
=== Installation ===
+
=== インストール ===
   
Install the {{AUR|telegraf}} or the {{AUR|telegraf-bin}} package.
+
{{AUR|telegraf}} または {{AUR|telegraf-bin}} パッケージを[[インストール]]してください。
   
=== Configuration ===
+
=== 設定 ===
   
Main configuration file is stored at {{ic|/etc/telegraf/telegraf.conf}}. For available plugins, configuration and customization, see [https://docs.influxdata.com/telegraf/ upstream documentation].
+
メイン設定ファイルは {{ic|/etc/telegraf/telegraf.conf}} にあります。利用可能なプラグイン、設定、カスタマイズは、[https://docs.influxdata.com/telegraf/ upstream ドキュメント] を参照してください。
   
  +
そして、{{ic|telegraf.service}} を [[Systemd#ユニットを使う|開始/有効化]]します。
Also [[Systemd#Using_units|start and enable]] {{ic|telegraf.service}}.
 
   
 
== InfluxDB ==
 
== InfluxDB ==

2021年9月30日 (木) 14:32時点における版

関連記事

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.
ノート: These components do not have to be used altogether. Also they can be replaced with other preferred tools (e.g. Grafana instead of Chronograf) or not used at all (e.g. Kapacitor).

Telegraf

インストール

telegrafAUR または telegraf-binAUR パッケージをインストールしてください。

設定

メイン設定ファイルは /etc/telegraf/telegraf.conf にあります。利用可能なプラグイン、設定、カスタマイズは、upstream ドキュメント を参照してください。

そして、telegraf.service開始/有効化します。

InfluxDB

Installation

Install the influxdb package.

Configuration

For configuration, see upstream documentation.

Also start and enable influxdb.service.

Upgrading from 1.8.x

InfluxDB 2.0.4 was released on 2021-02-25, and requires a manual upgrade step.

ノート: The following appears to work, but was written by someone with little familiarity with InfluxDB. See FS#68763.
# 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.

See also