InfluxDB and Grafana: Installation and setup

preview_player
Показать описание
Commands to install InfluxDB:

Sudo apt-get update
sudo apt-get upgrade

#First, let's configure the package sources.

source /etc/lsb-release

sudo apt-get update && sudo apt-get install influxdb

sudo service influxdb start

#sudo apt install net-tools

sudo netstat -plnt

influx

CREATE DATABASE TESTDB

SHOW DATABASES

exit

influx
use TESTDB
SELECT * from cpu

Commands to install grafana:

#Configure package sources for grafana 

#for stable version

sudo apt-get install -y gnupg2 curl

sudo apt-get update

sudo apt-get -y install grafana

sudo service grafana-server start

sudo netstat -plnt

Go to this url on browser:

Default credentials for Grafana:
user:admin password:admin

Grafana setup for Grafana:
Name: TESTDB
Type: InfluxDB 0.9.x
Database: TESTDB
User: admin
Password: admin
Рекомендации по теме
Комментарии
Автор

Best video ever! there could be some talking, but it's as straight forward as it gets

stereo
Автор

Hi vamsi can u show how to setup telegraf to influx

chiranthjainhachiranthjain
Автор

i got it working thanks to your video but would be better if you talked us through it

experimenta
Автор

can you please share any refence for how to load .csv file into influxdb using CLI..

yadavpravinkumar