What is Grafana
- Grafana is a free and open source visualization tool mostly used with Prometheus to which monitor metrics.
- Grafana provides various dashboards, charts, graphs, alerts for the particular data source.
- Grafana allows us to query, visualize, explore metrics and set alerts for the data source which can be a system, server, nodes, cluster, etc.
- We can also create our own dynamic dashboard for visualization and monitoring.
- We can save the dashboard and can even share with our team members which is the main advantage of Grafana
- By default it uses port 3000
What is Node Exporter
- Node exporter is one of the Prometheus exporters which is used to expose servers or system OS metrics.
- With the help of Node exporter we can expose various resources of the system like RAM, CPU utilization, Memory Utilization, disk space.
- Node exporter runs as a system service which gathers the metrics of your system and that gathered metrics is displayed with the help of Grafana visualization tool.
- By default it uses port 9100
Setup a Prometheus Server on Ubuntu
Prequisite
- Any System OS as server.
- Root user account with sudo privilege.
- Sufficient storage on your system and good internet connectivity.
- Any Web Browser.
- Open Port:-
- 9090 (Prometheus)
- 3000 (Grafana)
- 9100 (Node Exporter)