This TICK Stack is done for monitoring a host using Docker containers of Telegraf, Chronograf, Kapacitor and InfluxDB.
- Clone repo
git clone https://github.com/igorrecioh/tick-docker-host.git
cd tick-docker-host
- Generate folder infraestructure
mkdir -p confs/{telegraf,telegraf/telegraf.d}
- Generate configuration files
docker run --rm telegraf telegraf config > ./confs/telegraf/telegraf.conf
- Set up Telegraf configuration as commented before
You can modify these settings as desired. Here you have an example of the simplest ones:
[[outputs.influxdb]]
urls = ["http://influxdb:8086"]
database = "telegraf"
retention_policy = ""
write_consistency = "any"
timeout = "5s"
username = "telegraf"
password = "password"
- Start the containers (-d option can be added for detached mode)
docker-compose up
http://localhost:8888
http://influxdb:8086
http://kapacitor:9092
https://github.com/ichasco/tick
https://github.com/nicolargo/docker-influxdb-grafana/
https://tsql.tech/a-self-deployable-tick-stack-for-ingesting-data-monitoring-and-alerting-for-any-service-including-sql-server/