Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dubuntu13/monitoring-stack-zbx-pro-grf
build complete monitoring stack Zabbix, Prometheus & Grafana
https://github.com/dubuntu13/monitoring-stack-zbx-pro-grf
ansible automation grafana monitoring monitoring-stack node-exporter prometheus zabbix zabbix-agent
Last synced: 4 months ago
JSON representation
build complete monitoring stack Zabbix, Prometheus & Grafana
- Host: GitHub
- URL: https://github.com/dubuntu13/monitoring-stack-zbx-pro-grf
- Owner: dubuntu13
- License: mit
- Created: 2024-07-16T18:18:08.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-08-14T19:26:40.000Z (6 months ago)
- Last Synced: 2024-09-27T15:40:26.041Z (4 months ago)
- Topics: ansible, automation, grafana, monitoring, monitoring-stack, node-exporter, prometheus, zabbix, zabbix-agent
- Language: PHP
- Homepage: https://dubuntu13.github.io/monitoring-stack-zbx-pro-grf/
- Size: 29.9 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Monitoring Stack with Prometheus, Zabbix, and Grafana
This repository provides a simple and comprehensive monitoring stack using Prometheus, Zabbix, and Grafana. The stack is integrated and managed using Ansible and Docker. Below you will find the steps to set up and configure the monitoring stack, as well as additional resources for integration and usage.
## Prerequisites
- Basic knowledge of Ansible and Docker
- Docker and Docker Compose installed on your server## Installation
Follow these steps to set up the monitoring stack on your server:
1. **Clone the repository**:
```sh
git clone https://github.com/dubuntu13/monitoring-stack-zbx-pro-grf
cd monitoring-stack-zbx-pro-grf/monitoring_build
```2. **Build and run the Docker containers**:
```sh
sudo docker-compose up -d
```
This will take a few minutes to download all images and build the containers.3. **Verify the containers**:
```sh
docker ps
```
Ensure all containers are running correctly. Once they are up, you should be able to access the UIs for Prometheus, Zabbix, and Grafana.## Integration Guides
- **Integrate Zabbix with Grafana**: Follow the instructions [here](https://grafana.com/grafana/plugins/alexanderzobnin-zabbix-app).
- **Integrate Prometheus with Grafana**: Follow the instructions [here](https://grafana.com/docs/grafana/latest/getting-started/get-started-grafana-prometheus).> **Note**: After the first time you start the containers, comment out the Grafana plugin command to prevent it from running each time you start the containers.
## Ansible Setup
The `./ansible` directory contains playbooks to install Zabbix-Agent, Pushgateway, and Node_exporter on your production environment. These playbooks are kept up-to-date and compatible with the project.
## Usage
### Access the UIs
- **Prometheus**: `http://:9090`
- **Zabbix**: `http://:10051`
- **Grafana**: `http://:3000`### Managing the Stack
To stop the stack:
```sh
sudo docker-compose down
```### Ansible Setup
The `./ansible` directory contains playbooks to install Zabbix-Agent, Pushgateway, and Node_exporter on your production environment. These playbooks are kept up-to-date and compatible with the project.