Grafana is an associate, open supply metric analytics suite which can be used on top of a variety of different data stores. It is most commonly used for visualizing statistical knowledge for infrastructure and application analytics, however, several use it in different domains together with industrial sensors, home automation, weather, and process control.
Grafana help server monitoring by:
Visualize
From heatmaps to histograms. Graphs to geomaps.
Grafana encompasses an inordinately of visualization choices to assist you in perceiving your knowledge, beautifully.
Alert
Seamlessly outline alerts wherever it is sensible — whereas you’re within the knowledge. Grafana also gets you notified via varied communication mediums like Slack, PagerDuty etc and also defines the threshold in a visual format.
Unify
Grafana act as a platform to bring data from different sources and analyze each with others. Different databases like Mysql, PostgreSQL, etc have different monitoring packages available in Grafana and also can mix them together to better monitoring.
Prometheus
Prometheus is an open-source computer code project written in Go, that real-time records the period of time metrics in very statistic info designed employing a hypertext transfer protocol pull model, with flexible queries and real-time alerting. Prometheus is not only a monitoring tool, but it also gives a better view of some of its hardware. Very useful for analyzing capacity and performance reporting when running into issues and use it for forecasting and increases in hardware.
Combination of Prometheus and Grafana
The combination of Prometheus and Grafana is changing into a lot of and a lot of common observance stack used for storing and visualizing statistic knowledge. Prometheus acts because of the storage backend and Grafana because of the interface for analysis and visualization. Prometheus collects metrics from monitored targets by scraping metrics from the hypertext transfer protocol endpoints on these targets.
In this blog, I am explaining about monitoring of basic system performance at its core level. Database monitoring will explain in my next blog.
How to Install Grafana on Ubuntu 18.04 LTS?
Use these terminal commands for Grafana stable version installation.
1) wget https://dl.grafana.com/oss/release/grafana_5.4.3_amd64.deb
2) sudo apt-get install -y adduser libfontconfig
3) sudo dpkg -i grafana_5.4.3_amd64.deb
To start Grafana service
4) systemctl daemon-reload
5) sudo service grafana-server start
To configure the Grafana server to start at boot time:
6) sudo update-rc.d grafana-server defaults
This will start the grafana-server process as the grafana user, which was created during the package installation.
a) Grafana’s default running port is 3000 and default user and password is admin. (To access Grafana goto: http://localhost:3000
b) Default login and password admin/ admin