This commit is contained in:
Mateusz Gruszczyński
2026-01-02 22:57:07 +01:00
parent 69711b46bc
commit ca3cc57773
4 changed files with 15 additions and 17 deletions

View File

@@ -2,12 +2,15 @@
Real-time monitoring for ONT/ONU GPON devices via OMCI telnet and web scraping with RRD-based historical graphs.
Work with LXT-010 S-H / H-D.
Tested on GPON stick SFP+ LXT-010S-H
## Quick Start
### 1. Clone or download the project
```bash
git clone <repo-url>
cd gpon-monitor
https://gitea.linuxiarz.pl/gru/leox-gpon-monitoring
cd leox-gpon-monitoring
```
### 2. Configure .env file
@@ -19,8 +22,8 @@ nano .env
Edit basic parameters:
```env
GPON_HOST=192.168.100.1
GPON_USERNAME=admin
GPON_PASSWORD=admin
GPON_USERNAME=leox
GPON_PASSWORD=leolabs_7
EXTERNAL_PORT=8080
```
@@ -99,14 +102,6 @@ TX_POWER_MAX=4.0
TEMPERATURE_MAX=85.0
```
## Docker Details
- Base image: Python 3.11 Alpine
- Volumes: `./data/rrd:/data/rrd`
- Network: Bridge
- Healthcheck: `/api/current` endpoint
- Restart policy: unless-stopped
## API Endpoints
```bash
@@ -161,7 +156,7 @@ docker-compose up -d
- Docker
- Docker Compose
- ONT device with telnet access (port 23)
- LEOX device with telnet access (port 23)
## Development