Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Build a TICK stack easily and quickly using Docker.

License

NotificationsYou must be signed in to change notification settings

beerjoa/monitoring-tick-stack

Repository files navigation

Hits

Dockertelegrafinfluxdbchronografkapacitor

This repository can build a TICK stack easily and quickly using Docker.

tick-stack-grid

Features

  • Telegraf

    A plugin-driven server agent for collecting & reporting metrics.
    the first piece of the TICK stack.

  • InfluxDB

    A time series database designed to handle high write and query loads. It is an integral component of theTICK stack.

  • Chronograf

    InfluxData’s open source web application. Use Chronograf with the other components of the TICK stack to visualize your monitoring data.
    also, we are going to use it as InfluxDB admin.

  • Kapacitor

    An open source data processing framework that makes it easy to create alerts, run ETL jobs and detect anomalies. Kapacitor is the final piece of the TICK stack.

Requirements

Installation

docker install script only for Linux OS (Ubuntu/CentOs)

# Install docker$ sudo chmod 755 ./install-docker.sh$ sudo ./install-docker.sh

Build

Setting Environments and Build Docker volumes for TICK stack

# .env file$ mv .env.example .env# Create docker volume & network and Set directory owner & mode$ make build

Usage

By default, simply run asmake run command.

# it means, `docker compose up`$ make run

If you want to changerun command, fix it in Makefile.

# fix `run` in Makefile.# @docker compose --env-file ./.env -f ./workspace/tick-stack/docker-compose.yml up [SERVICE...]$ make run

Configuraion

  • .env: related toMakefile andworkspace/tick-stack/docker-compose.yml
# .env# default docker volume pathDEFAULT_CONTAINER_VOLUME_PATH=/data/container/tick-stack# docker volumeVOLUME_INFLUXDB_DATA=influxdb_dataVOLUME_CHRONOGRAF_DATA=chronograf_dataVOLUME_KAPACITOR_DATA=kapacitor_data# docker networkNETWORK_TICK=tick-net# version for official docker imagesIMAGE_TELEGRAF=1.8-alpineIMAGE_INFLUXDB=1.8.3IMAGE_CHRONOGRAF=1.9.0IMAGE_KAPACITOR=1.6.1

If you want to know about TICK stack services configuraion,here

Structure

monitoring-tick-stack├── install-docker.sh# Install docker├── README.md├── Makefile# Build & Run script├── LICENSE.md└── workspace   └── tick-stack# TICK-stack workspace      ├── docker-compose.yml# related to `.env` and `Makefile`      ├── influxdb.env# influxdb init environment for docker service      ├── chronograf.env# chronograf init environment for docker service      ├── README.md# README for TICK-stack workspace      ├── telegraf# telegraf init directory (data, config)      └── influxdb# influxdb init directory (data, config)      ├── kapacitor# kapacitor init directory (data, config)

License

The MIT License (MIT). Please seeLicense File for more information.


[8]ページ先頭

©2009-2025 Movatter.jp