• 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 , 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

This Article Has Been Shared 272 Times!

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

  • How to Upload Backup to Dropbox from Cloud Server

    Here is How to Upload Backup to Dropbox from Cloud Server in Case You Want To Keep Your Backup of Files and Database on a Free Cloud Storage.

  • WordPress Multisite on Nginx on Ubuntu 14.04 on HP Cloud

    Here is a Step by Step Guide on Setting Up WordPress Multisite on Nginx on Ubuntu 14.04 on HP Cloud with All Commands and the Configuration.

  • Steps To Install Nginx Plus on Ubuntu Server (HP Cloud)

    Here Are the Steps To Install Nginx Plus on Ubuntu Server Running on HP Cloud. Nginx Plus is the Paid Version of Nginx with Extra Features.

  • Cheap Cloud & Virtual Servers For Running Apache Big Data Tools

    Here Are Some Points For Selecting Correct Servers For Running Apache Big Data Tools. Of Course We Are Talking About So Called Low End Box.

  • Install Apache Drill on Ubuntu 16.04 LTS Single Cloud Server

    Drill is SQL Query Engine for Hadoop, NoSQL, Cloud Storage. Here is How to Install Apache Drill on Ubuntu 16.04 LTS Single Cloud Server.

Additionally, 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 (22.1K 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

  • The Cost of Doing Business as a Handyman July 1, 2022
  • Samsung Galaxy S22 Ultra: Long Term Review June 30, 2022
  • How to Make the Most of Your S Pen (S22 Ultra) June 29, 2022
  • Safe Chargers for Samsung Galaxy S22 Ultra June 27, 2022
  • How Telecoms Can Use The Cloud To Power Their 5G Network June 24, 2022

About This Article

Cite this article as: Abhishek Ghosh, "How To Install TICK Stack on Ubuntu, CentOS For System Metrics Monitoring," in The Customize Windows, September 4, 2017, July 1, 2022, https://thecustomizewindows.com/2017/09/install-tick-stack-ubuntu-centos-system-metrics-monitoring/.

Source:The Customize Windows, JiMA.in

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Privacy Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

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

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