67 lines
1.7 KiB
Markdown
67 lines
1.7 KiB
Markdown
# 🧭 Zabbix Stack: Minimal, Clear, Personal
|
||
|
||
A compact and self-contained Zabbix setup using Docker Compose.
|
||
Built with care and shared with love.
|
||
|
||
## 📦 Stack Components
|
||
|
||
- **PostgreSQL Server**: Stores the monitoring data
|
||
- **Zabbix SNMP Trap Receiver**: Listens on UDP/162 and uses custom MIBs
|
||
- **Zabbix Server (7.4.0)**: SNMP traps enabled, PostgreSQL backend
|
||
- **Zabbix Web Interface (7.4.0)**: Accessible via port `8080`
|
||
|
||
## 🛠 Usage
|
||
|
||
1. Copy the example environment:
|
||
```bash
|
||
cp .env.example .env
|
||
```
|
||
|
||
2. Start the stack:
|
||
```bash
|
||
make up
|
||
```
|
||
|
||
3. Interact with services:
|
||
```bash
|
||
make logs # View logs (web & server)
|
||
make status # Show running containers
|
||
make restart-web # Restart the web interface
|
||
```
|
||
|
||
4. Tear down:
|
||
```bash
|
||
make down
|
||
```
|
||
|
||
## 🌐 Network
|
||
|
||
Custom IP configuration via bridge subnet:
|
||
- `postgresql-server`: 172.16.16.249
|
||
- `zabbix-snmp`: 172.16.16.250
|
||
- `zabbix-server-740`: 172.16.16.251
|
||
- `zabbix-web-740`: 172.16.16.252
|
||
|
||
Subnet: `172.16.16.248/29`, Gateway: `.254`
|
||
|
||
## 📝 Environment
|
||
|
||
Configure the `.env` file to set database credentials and timezone.
|
||
An example file is provided in `.env.example`.
|
||
|
||
## 🔒 Local Directories
|
||
|
||
- Persistent data stored in `/volumes` (excluded via `.gitignore)
|
||
- `.env` is also excluded to protect sensitive data
|
||
|
||
## ❤️ Licensing
|
||
|
||
This stack is shared openly under the MIT License.
|
||
Use it freely, adapt it for your needs — but keep the spirit of respect and care.
|
||
Created by **Igor V. & Celestia B.**, for anyone who loves clean infrastructure and gentle orchestration.
|
||
|
||
---
|
||
|
||
Feel free to personalize and remix — just remember, this isn’t just YAML.
|
||
It’s a quiet dialogue between a system and the one who built it.
|