Grafana install: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 5: Zeile 5:
 
=Install over repository=
 
=Install over repository=
 
==Install software-properties-common==
 
==Install software-properties-common==
*sudo apt-get install -y software-properties-common
+
*sudo apt install -y software-properties-common
 
==Add our gpg key. This allows you to install signed packages==
 
==Add our gpg key. This allows you to install signed packages==
 
*wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
 
*wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
Zeile 11: Zeile 11:
 
*sudo add-apt-repository "deb https://packages.grafana.com/oss/deb stable main"
 
*sudo add-apt-repository "deb https://packages.grafana.com/oss/deb stable main"
 
==Update your Apt repositories and install Grafana==
 
==Update your Apt repositories and install Grafana==
*sudo apt-get update
+
*sudo apt update
*sudo apt-get install grafana
+
*sudo apt install grafana
 
=Start and enable=
 
=Start and enable=
 
*systemctl start grafana-server
 
*systemctl start grafana-server

Version vom 22. September 2020, 14:23 Uhr

Only the package

Install over repository

Install software-properties-common

  • sudo apt install -y software-properties-common

Add our gpg key. This allows you to install signed packages

Install the repository for stable releases

Update your Apt repositories and install Grafana

  • sudo apt update
  • sudo apt install grafana

Start and enable

  • systemctl start grafana-server
  • systemctl enable grafana-server

Check

  • systemctl status grafana-server

Grafana Web

Default user ist admin and default password is also admin

Grafana-1.png

First change the password

Grafana-2.png

Select Datasource Influxdb "928" and the right Influxdb-Telegraf-Source

Grafana-3.png

Use + Import Dashboard

Grafana-4.png

Datei:Grafana-5.png

Datei:Grafana-6.png