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.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy7Le8ZWebvgPAd8VKZZEXlauXpzYi2NAqZVczOVGE01k1QHG9rQ2hnLpK26X5dvgndOcq8ebDPpWMfKN5mPZoYVyb9rc50VMJGHq9mq3HG3THwEX5pE92clXnziFM24xO8YZhhmXEV6s/s640/grafana02.PNG)
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