Grafana für Icinga2

Grafana für Icinga2

Grafana ist eine der meist kommerziell genutzen OpenSource Software zur Visualisierung verschiedener Performance-Daten für Hard und Software. Daher ist es perfekt geeignet um die Daten aus Icinga (Graphite) zu visualisieren.

 

Quelle:
http://docs.grafana.org/installation/rpm/

 

[root@vlicinga002 ~]# yum install https://grafanarel.s3.amazonaws.com/builds/grafana-3.1.1-1470047149.x86_64.rpm

 

Abhängigkeiten aufgelöst

===========================================================================================================================================================================================================
 Package                                 Arch                                   Version                                             Paketquelle                                                      Größe
===========================================================================================================================================================================================================
Installieren:
 grafana                                 x86_64                                 3.1.1-1470047149                                    /grafana-3.1.1-1470047149.x86_64                                 113 M

Transaktionsübersicht
===========================================================================================================================================================================================================
Installieren  1 Paket

 

Services anpassen (automatisch Start, Service starten)

[root@vlicinga002 ~]# systemctl start grafana-server
[root@vlicinga002 ~]# systemctl enable grafana-server.service


[root@vlicinga002 ~]# systemctl status grafana-server
● grafana-server.service - Starts and stops a single grafana instance on this system
   Loaded: loaded (/usr/lib/systemd/system/grafana-server.service; enabled; vendor preset: disabled)
   Active: active (running) since Di 2016-08-16 14:24:43 CEST; 31s ago
     Docs: http://docs.grafana.org
 Main PID: 16411 (grafana-server)
   CGroup: /system.slice/grafana-server.service
           └─16411 /usr/sbin/grafana-server --config=/etc/grafana/grafana.ini --pidfile= cfg:default.paths.logs=/var/log/grafana cfg:default.paths.data=/var/lib/grafana cfg:default.paths.plugins=/var/...

Aug 16 14:24:44 vlicinga002.localhost grafana-server[16411]: t=2016-08-16T14:24:44+0200 lvl=info msg="Executing migration" logger=migrator id="create playlist table v2"
Aug 16 14:24:44 vlicinga002.localhost grafana-server[16411]: t=2016-08-16T14:24:44+0200 lvl=info msg="Executing migration" logger=migrator id="create playlist item table v2"
Aug 16 14:24:44 vlicinga002.localhost grafana-server[16411]: t=2016-08-16T14:24:44+0200 lvl=info msg="Executing migration" logger=migrator id="drop preferences table v2"
Aug 16 14:24:44 vlicinga002.localhost grafana-server[16411]: t=2016-08-16T14:24:44+0200 lvl=info msg="Executing migration" logger=migrator id="drop preferences table v3"
Aug 16 14:24:44 vlicinga002.localhost grafana-server[16411]: t=2016-08-16T14:24:44+0200 lvl=info msg="Executing migration" logger=migrator id="create preferences table v3"
Aug 16 14:24:44 vlicinga002.localhost grafana-server[16411]: t=2016-08-16T14:24:44+0200 lvl=info msg="Created default admin user: [admin]"
Aug 16 14:24:44 vlicinga002.localhost grafana-server[16411]: t=2016-08-16T14:24:44+0200 lvl=info msg="Starting plugin search" logger=plugins
Aug 16 14:24:44 vlicinga002.localhost grafana-server[16411]: t=2016-08-16T14:24:44+0200 lvl=warn msg="Plugin dir does not exist" logger=plugins dir=/var/lib/grafana/plugins
Aug 16 14:24:44 vlicinga002.localhost grafana-server[16411]: t=2016-08-16T14:24:44+0200 lvl=info msg="Plugin dir created" logger=plugins dir=/var/lib/grafana/plugins
Aug 16 14:24:44 vlicinga002.localhost grafana-server[16411]: t=2016-08-16T14:24:44+0200 lvl=info msg="Server Listening" logger=server address=0.0.0.0:3000 protocol=http subUrl=

 

Website öffnen:
http://IP-SERVER:3000/login
Username: admin
Passwort: admin

Grafana_Install (1)

DataSource einrichten

Grafana_Install (2)

Grafana_Install (3)

Grafana_Install (4)

Dashboard anlegen und Graphen nach belieben hinzufügen

Grafana_Install (5)

 

About the author

mbrunner administrator

Leave a Reply