Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/taufiqpsumarna/grafana_monitoringkit
This script automates the installation and configuration of Prometheus, Node_Exporters, Loki, and Promtail on Ubuntu Server.
https://github.com/taufiqpsumarna/grafana_monitoringkit
docker docker-compose grafana grafana-dashboard loki monitoring nodeexporter prometheus promtail
Last synced: 27 days ago
JSON representation
This script automates the installation and configuration of Prometheus, Node_Exporters, Loki, and Promtail on Ubuntu Server.
- Host: GitHub
- URL: https://github.com/taufiqpsumarna/grafana_monitoringkit
- Owner: taufiqpsumarna
- Created: 2023-02-21T06:50:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-02T03:59:38.000Z (10 months ago)
- Last Synced: 2024-01-02T04:19:39.403Z (10 months ago)
- Topics: docker, docker-compose, grafana, grafana-dashboard, loki, monitoring, nodeexporter, prometheus, promtail
- Language: Shell
- Homepage:
- Size: 522 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
- [Cadvisor Dashboard](https://grafana.com/grafana/dashboards/14282-cadvisor-exporter)
- [Node Exporter Dashboard](https://grafana.com/grafana/dashboards/1860-node-exporter-full)### Installation Reference:
- https://computingforgeeks.com/how-to-install-prometheus-and-node-exporter-on-debian/
- https://citizix.com/how-to-setup-promtail-grafana-and-loki-for-free-log-management-in-debian-11/## 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=jammyLinux 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 100c701docker-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](https://github.com/taufiqpsumarna)