Skip to content

This script automates the installation and configuration of Prometheus, Node_Exporters, Loki, and Promtail on Ubuntu Server.

Notifications You must be signed in to change notification settings

taufiqpsumarna/Grafana_monitoringkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monitoring Kit for Grafana Dashboard

This script installs a monitoring kit for Grafana dashboard that includes resource monitoring with Prometheus, Node_Exporter, and Cadvisor, and logging monitoring with Loki and Promtail. It also includes a Docker Compose version that includes Cadvisor, Loki, Prometheus, and Promtail. The Grafana dashboard includes a Cadvisor dashboard and a Node Exporter dashboard.

Prerequisites

  • Ubuntu Server
  • User with sudo privileges

Usage

Download the script:

wget https://raw.githubusercontent.com/taufiqpsumarna/Grafana_monitoringkit/main/install.sh

Make the script executable:

chmod +x install_prometheus_loki.sh

Run the script:

sudo ./install_prometheus_loki.sh

Dashboard Image



This script will install the monitoring kit for grafana dashboard, it will include:

Resources Monitoring

  • Prometheus
  • Node_Exporter
  • Cadvisor

Logging Monitoring

  • Loki
  • Promtail

Docker Compose Version, Include

  • Cadvisor
  • Loki
  • Prometheus
  • Promtail

Grafana Dashboard

Installation Reference:

Server Environment

This has been tested in machine with spesification below:

PRETTY_NAME="Ubuntu 22.04 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

Linux 5.15.0-1028-aws #32-Ubuntu SMP Mon Jan 9 12:28:07 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

docker --version
Docker version 20.10.17, build 100c701

docker-compose --version
docker-compose version 1.29.2, build unknown

Note: That the monitoring kit maybe will not working properly in another operating system, and it will use the default configuration only, you can customize the configuration before start installing

License

This project is licensed under the MIT License.

Credits

*This Scripts Created By taufiqpsumarna

About

This script automates the installation and configuration of Prometheus, Node_Exporters, Loki, and Promtail on Ubuntu Server.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages