Add Zabbix monitoring service documentation
1
Home.md
1
Home.md
@@ -12,6 +12,7 @@
|
||||
- [[Open-WebUI]] — AI chat interface
|
||||
- [[Home-Assistant]] — KVM virtual machine
|
||||
- [[3X-UI]] — VPN proxy
|
||||
- [Zabbix](Zabbix) — Monitoring (Zabbix 7.4, PostgreSQL, Apache)
|
||||
|
||||
## Quick Start
|
||||
|
||||
|
||||
46
Zabbix.md
Normal file
46
Zabbix.md
Normal file
@@ -0,0 +1,46 @@
|
||||
# Zabbix
|
||||
|
||||
Monitoring stack — Zabbix 7.4 with PostgreSQL backend, Apache web frontend, and active agent.
|
||||
|
||||
## Stack
|
||||
|
||||
| Component | Image |
|
||||
|-----------|-------|
|
||||
| Zabbix Server | `zabbix/zabbix-server-pgsql:ubuntu-7.4-latest` |
|
||||
| Web Frontend | `zabbix/zabbix-web-apache-pgsql:ubuntu-7.4-latest` |
|
||||
| Agent (active) | `zabbix/zabbix-agent:ubuntu-7.4-latest` |
|
||||
| Database | `postgres:16-alpine` |
|
||||
|
||||
## Access
|
||||
|
||||
- URL: https://zb.alogins.net (Caddy → localhost:81)
|
||||
- Default credentials: `Admin` / `zabbix`
|
||||
|
||||
## Config
|
||||
|
||||
Directory: `agap_git/zabbix/`
|
||||
|
||||
`.env` variables:
|
||||
|
||||
| Variable | Description |
|
||||
|----------|-------------|
|
||||
| `WEB_PORT` | Host port for web frontend (81) |
|
||||
| `PHP_TZ` | Timezone for PHP/web |
|
||||
| `AGENT_HOSTNAME` | Hostname reported by agent |
|
||||
| `POSTGRES_DATA_DIR` | PostgreSQL data path (`/mnt/ssd/dbs/zabbix`) |
|
||||
| `POSTGRES_USER` | DB username |
|
||||
| `POSTGRES_PASSWORD` | DB password |
|
||||
| `POSTGRES_DB` | DB name |
|
||||
|
||||
## Start
|
||||
|
||||
```bash
|
||||
cd agap_git/zabbix
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
## Notes
|
||||
|
||||
- Agent runs in active mode only (`ZBX_PASSIVE_ALLOW=false`)
|
||||
- Zabbix server port 10051 is exposed on host for external agents
|
||||
- Database network is internal (not exposed)
|
||||
Reference in New Issue
Block a user