Prerequisites :
OS : CentOS 7.6
OS : CentOS 7.6
Step 1 :
Disable SELinux,
#vi /etc/sysconfig/selinux
change "SELINUX=enforcing" to "SELINUX=disabled"
Reboot the server.
#vi /etc/sysconfig/selinux
Reboot the server.
Step 2 :
Add Grafana YUM repository,
#vi /etc/yum.repos.d/grafana.repo
Step 4 :
Start grafana service,
#systemctl start grafana-server
Enable Grafana service on system boot
Step 5 :
Access Grafana Web interface,
Default Grafana port is 3000, so allow in your firewall to access from outside.
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 available Grafana Dashboard - https://grafana.com/grafana/dashboards
Post a Comment