• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » How To Install TICK Stack on Ubuntu, CentOS For System Metrics Monitoring

By Abhishek Ghosh September 4, 2017 12:51 pm Updated on September 4, 2017

How To Install TICK Stack on Ubuntu, CentOS For System Metrics Monitoring

Advertisement

TICK Stands For Telegraf, InfluxDB, Chronograf, Kapacitor. Telegraf is data collector, InfluxDB stores data, Chronograf is visualizer and Kapacitor is alerter. For moderate load, you’ll need minimum GB RAM cloud server instance or better – a hexacore 32GB RAM dedicated server. You can use VPSDime’s for cheap instance for testing for a month. For one time installation and deletion of instance, any cloud server service is enough good. Here is how to install TICK stack on Ubuntu, CentOS for system metrics monitoring. This guide is intended for slightly advanced users who already know how to setup a blank server and are comfortable with SSH.

 

How To Install TICK Stack on Ubuntu, CentOS

 

InfluxDB has official guide too :

Vim
1
https://docs.influxdata.com/influxdb/v0.9/introduction/installation/

We are only writing for Ubuntu as we tested on Ubuntu 16.04 and basically CentOS practically similar from the point of commands. We need SMTP server for sending alerts, we can install sendmail :

Advertisement

---

Vim
1
2
3
apt update
apt upgrade
apt install sendmail

Now run these three commands one by one to add repository :

Vim
1
2
3
curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -
source /etc/lsb-release
echo "deb https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb.list

For CentOS the same step to add repository would be :

Vim
1
2
3
4
5
6
7
8
cat <<EOF | sudo tee /etc/yum.repos.d/influxdb.repo
[influxdb]
name = InfluxDB Repository - RHEL $releasever
baseurl = https://repos.influxdata.com/rhel/$releasever/$basearch/stable
enabled = 1
gpgcheck = 1
gpgkey = https://repos.influxdata.com/influxdb.key
EOF

Update the system :

Vim
1
2
apt update
apt upgrade

Now run :

Vim
1
2
3
apt install influxdb
systemctl start influxdb
systemctl status influxdb

This command starts influxDB :

Vim
1
influx

infuxDB console looks like this :

Vim
1
2
3
Connected to http://localhost:8086 version 0.9
InfluxDB shell 0.9
>

Syntax for influxDB is like MySQL, we can create user named example with example_password with this syntax :

Vim
1
CREATE USER "example" WITH PASSWORD 'example_password' WITH ALL PRIVILEGES

We can see the users with show users command and exit the console with exit command. For easy setup, we can open this file :

Vim
1
nano /etc/influxdb/influxdb.conf

Find the line auth-enabled and set the value to true :

Vim
1
2
3
4
5
...
    [http]
...
      # Determines whether HTTP authentication is enabled.
      auth-enabled = true

For detailed, accurate method, you should read “Generate a configuration file” here :

Vim
1
https://docs.influxdata.com/influxdb/v0.9/introduction/installation/

Restart infuxDB :

Vim
1
systemctl restart influxdb

We need to install the other parts :

Vim
1
apt install telegraf kapacitor

You’ll get latest version of Chronograf here :

Vim
1
https://portal.influxdata.com/downloads

You have to install in this way :

Vim
1
2
wget https://dl.influxdata.com/chronograf/releases/chronograf_1.3.7.0_amd64.deb
sudo dpkg -i chronograf_1.3.7.0_amd64.deb

Open :

Vim
1
nano /etc/telegraf/telegraf.conf

Find [outputs.influxdb] stanza and use the username and password of database :

Vim
1
2
3
4
5
6
      ## If not provided, will default to 5s. 0s means no timeout (not recommended).
      timeout = "5s"
      username = "example"
      password = "example_password"
      ## Set the user agent for HTTP POSTs (can be useful for log differentiation)
      # user_agent = "telegraf"

Run :

Vim
1
2
systemctl restart telegraf
systemctl status telegraf

Open :

Vim
1
nano /etc/kapacitor/kapacitor.conf

Find [[influxdb]] stanza and use the username and password of database of influxDB :

Vim
1
2
3
4
5
6
7
8
  # Using InfluxDB is not required and can be disabled.
  enabled = true
  default = true
  name = "localhost"
  urls = ["http://localhost:8086"]
      username = "example"
      password = "example_password"
...

Run :

Vim
1
2
3
sudo systemctl start kapacitor
systemctl status kapacitor
systemctl start chronograf

Now visit the Chronograf interface on browser located at http://your.server.ip:8888.

How To Install TICK Stack on Ubuntu, CentOS For System Metrics Monitoring

Use the username and password for the InfluxDB database and click Connect New Source. Rest you’ll get on official website for configuring Kapacitor, Telegraf. Also look at their Github stuffs like :

Vim
1
https://github.com/influxdata/tick-charts

Tagged With influxdb sendmail , setup tick stack on a single server in linux , chronograf on centos , install tick on ubunti , install TICK STACK on command line ubuntu , install tick stack ubuntu , must i tick softare code under uopdates ubuntu , tick install on centos
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to How To Install TICK Stack on Ubuntu, CentOS For System Metrics Monitoring

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • How to Install InfluxDB on Ubuntu Server

    InfluxDB is an open source time series database written in Golang. Here Are the Steps How to Install InfluxDB on Ubuntu Server.

  • Install Elastic Stack on Ubuntu 16.04, CentOS 7 Single Cloud Server

    Here is How to Install Elastic Stack on Ubuntu 16.04, CentOS 7 on Single Cloud Server Instance For Server Log Analysis, Big Data Processing.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy