How ToIoT HardwaresRaspberry PiTutorials/DIY

Running the TICK Stack on a Raspberry Pi | TICK Satck on Raspberry Pi

What is TICK Stack ?

The TICK Stack is an acronym for a platform of open source tools built to make collection, storage, graphing, and alerting on time series data incredibly easy. The “I” in TICK stands for InfluxDB. InfluxData provides a Modern Time Series Platform, designed from the ground up to handle metrics and events. InfluxData’s products are based on an open source core. This open source core consists of the projects Telegraf, InfluxDB, Chronograf, and Kapacitor—collectively called the TICK Stack.

For more information Visit this:

Select Your Raspberry Pi

The first thing you’ll need to do is decide which Pi you’re going to use.

Model Cores Clock Speed RAM
Zero 1, 32-bit 1000 MHz 512 MB
A/B/+ 1, 32-bit 500 MHz 256 MB
2B 4, 32-bit 900 MHz 1024 MB
3B 4, 64-bit 1200 MHz 1024 MB
3B+ 4, 64-bit 1400 MHz 1024 MB

There have been some significant architectural improvements over the years, and your best bet is to go with one of the model 3 boards, with quad-core, 64-bit CPUs for the database itself, although I’ve tested running the complete TICK Stack on the model 2 B, 3 B, and 3 B+. In addition, the single-core Zero makes a great platform for collecting sensor data with Telegraf.


The most common way to use a Pi is with the Raspbian operating system provided by the Raspberry Pi foundation.

Install from the Official InfluxData Repository

The easiest way to install the TICK Stack is to set up the InfluxData package repository (repo) and use your platform’s package manager, which on Raspbian is apt. Packages contain the application binaries themselves, as well as some information about where and how to install and configure the application on your system. That means you can get everything up and running with just a few commands, and InfluxData regularly publishes the latest versions of the TICK Stack to its repository, so applying updates is easy as well.

The first step is to set up the InfluxData repo. You’ll need to identify which version of Raspbian you’re running, which you can do by taking a look at the /etc/os-release file. Run the following command:

$ cat /etc/os-releases
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION="9 (stretch)"

We need the version codename, which you can find in the VERSION field, in parentheses. For the version I’m running, 9, the code name is stretch. We’ll use that when we set up our repo so that we can get the correct versions for our OS.

Next, add the repo’s GPG key and add the repo itself:

$ curl -sL | sudo apt-key add -

and then add the repository:

$ echo "deb stretch stable" | sudo tee /etc/apt/sources.list.d/influxdb.list

Finally, run sudo apt-get update to refresh the package list with data from the new repository, and install the TICK Stack using

sudo apt-get install telegraf influxdb chronograf kapacitor.

If you want to only install some components of the stack, you can exclude the applications you don’t want from that command.

I hope you like this post. Do you have any questions? Leave a comment down below! Thanks for reading. If you like this post probably you might like my next ones, so please support me by subscribing my blog.

Explore Some more Raspberry Pi Tutorials :

Harshvardhan Mishra

Hi, I'm Harshvardhan Mishra. Tech enthusiast and IT professional with a B.Tech in IT, PG Diploma in IoT from CDAC, and 6 years of industry experience. Founder of HVM Smart Solutions, blending technology for real-world solutions. As a passionate technical author, I simplify complex concepts for diverse audiences. Let's connect and explore the tech world together! If you want to help support me on my journey, consider sharing my articles, or Buy me a Coffee! Thank you for reading my blog! Happy learning! Linkedin

Leave a Reply

Your email address will not be published. Required fields are marked *