Install Grafana in Linux CentOS 7 with Prometheus Data Source
Jump to navigation
Jump to search
Introduction
Grafana is a multi-platform open source analytics and interactive visualization web application.
Refer to Grafana official page to know more about this tools : https://grafana.com/docs/grafana/latest
Assumption
We'll use Grafana as visualization of our monitoring tools.
In this case, we'll use Grafana with Prometheus as data source.
We assumpt that we already have a monitoring server with Prometheus which called monitoring-server.
And we'll install Grafana in same server with this Prometheus which already running.
Step by Step
Step 1 : Make Sure Selinux is Disable
Check selinux is disabled or enabled :
[root@monitoring-server ~]# getenforce
If it's enabled, disbale it :
[root@monitoring-server ~]# vi /etc/sysconfig/selinux
Change SELINUX=enforcing
to SELINUX=disabled
, then reboot the server :
[root@monitoring-server ~]# reboot