Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

How to Install a Monitoring Dashboard in Under 5 Minutes Using InfluxData

DZone's Guide to

How to Install a Monitoring Dashboard in Under 5 Minutes Using InfluxData

I set up a quick system monitoring dashboard to keep track of some system stats — all in under five minutes. Here’s the proof and how you can do it, too!

· Database Zone ·
Free Resource

Discover Tarantool's unique features which include powerful stored procedures, SQL support, smart cache, and the speed of 1 million ACID transactions on a single CPU core!

I have my trusty MacBook Pro on which I do just about everything, so that’s what I’m going to install this dashboard on. Here’s what I’m working with:

MarsEditScreenSnapz001

I installed and configured InfluxDB, Chronograf, Telegraf, and Kapacitor and set up a quick system monitoring dashboard to keep track of some system stats — all in under five minutes.

Here’s the proof!

Here’s how I did it:

Line 1:
Davids-MacBook-Pro:~ davidgs$ brew install influxdb 
^-- SC2148: Tips depend on target shell and yours is unknown. Add a shebang.
 
Line 8:
Or, if you don’t want/need a background service you can just run: 
              ^-- SC1110: This is a unicode quote. Delete and retype it (or quote to make literal).
 
Line 11:
    /usr/local/Cellar/influxdb/1.3.6: 9 files, 56.4MB 
 ^-- SC1018: This is a unicode non-breaking space. Delete and retype it.
  ^-- SC1018: This is a unicode non-breaking space. Delete and retype it.
^-- SC1018: This is a unicode non-breaking space. Delete and retype it.
   ^-- SC1018: This is a unicode non-breaking space. Delete and retype it.
 
Line 19:
Or, if you don’t want/need a background service you can just run: 
              ^-- SC1110: This is a unicode quote. Delete and retype it (or quote to make literal).
 
Line 22:
    /usr/local/Cellar/telegraf/1.4.2: 8 files, 43.2MB 
 ^-- SC1018: This is a unicode non-breaking space. Delete and retype it.
^-- SC1018: This is a unicode non-breaking space. Delete and retype it.
  ^-- SC1018: This is a unicode non-breaking space. Delete and retype it.
   ^-- SC1018: This is a unicode non-breaking space. Delete and retype it.
 
Line 32:
Or, if you don’t want/need a background service you can just run: 
              ^-- SC1110: This is a unicode quote. Delete and retype it (or quote to make literal).
 
Line 35:
    /usr/local/Cellar/kapacitor/1.3.3: 6 files, 79.0MB 
  ^-- SC1018: This is a unicode non-breaking space. Delete and retype it.
   ^-- SC1018: This is a unicode non-breaking space. Delete and retype it.
^-- SC1018: This is a unicode non-breaking space. Delete and retype it.
 ^-- SC1018: This is a unicode non-breaking space. Delete and retype it.
 
Line 43:
Or, if you don’t want/need a background service you can just run: 
              ^-- SC1110: This is a unicode quote. Delete and retype it (or quote to make literal).
 
Line 46:
    /usr/local/Cellar/chronograf/1.3.9.0: 4 files, 21.2MB 
   ^-- SC1018: This is a unicode non-breaking space. Delete and retype it.
  ^-- SC1018: This is a unicode non-breaking space. Delete and retype it.
 ^-- SC1018: This is a unicode non-breaking space. Delete and retype it.
^-- SC1018: This is a unicode non-breaking space. Delete and retype it.
 
Line 48:
==>Successfully started `influxdb` (label: homebrew.mxcl.influxdb)
                        ^-- SC2046: Quote this to prevent word splitting.
                        ^-- SC2006: Use $(..) instead of legacy `..`.
                                   ^-- SC1036: '(' is invalid here. Did you forget to escape it?
                                   ^-- SC1088: Parsing stopped here. Invalid use of parentheses?

$ 

That’s it! A total of seven commands: three to install the entire TICK stack (because Chronograf has a dependency on Kapacitor, so it gets installed automatically) and four to start all the services and make sure that they start across reboots.

It just doesn’t get any more simple than that! 

Discover Tarantool's unique features such as powerful stored procedures, SQL support, smart cache, and the speed of 1 million ACID transactions on a single CPU.

Topics:
database ,tutorial ,influxdb ,kapacitor ,monitoring ,dashboard ,data visualization

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}