Grafana is an open-source platform for data visualization, monitoring,Alerting and analysis.Grafana supports many different storage backends for time series data.In Grafana, users can to create dashboards with panels, each representing specific metrics over a set time-frame.

Prerequisites :

OS : CentOS 7.6

Step 1 :

Disable SELinux,

#vi /etc/sysconfig/selinux

change  "SELINUX=enforcing"  to "SELINUX=disabled"

Reboot the server.

Step 2 :

Add Grafana YUM repository,

#vi /etc/yum.repos.d/grafana.repo


Save and exit.

Step 3 :

Install Grafana,

#yum install grafana -y

Step 4 :

Start grafana service,

#systemctl start grafana-server

#systemctl status grafana-server

Enable Grafana service on system boot

#systemctl enable grafana-server.service

Step 5 :

Access Grafana Web interface,

Default Grafana port is 3000, so allow in your firewall to access from outside.

http://Your Server IP or Host Name:3000/login

Default Grafana user name - admin and password - admin, Next it will ask you to change the password, give the new password and save it.

Thats it, Grafana is installed successfully.

Next step, add data sources like Prometheus, Elasticsearch, influxdb,etc and explore the metrics.

List of supported Data Sources -

List of available Grafana Dashboard -

List of available Grafana Plugins -

Post a Comment

Previous Post Next Post