A theoretically simple way to export metrics from your ZTE F6005v3 ONT to Prometheus.
| Name | Description | Default Value |
|---|---|---|
ENDPOINT |
HTTP address to the ONT | http://192.168.1.1 |
ONT_USERNAME |
Username for the ONT | admin |
ONT_PASSWORD |
Password for the ONT | admin |
ONT_SLEEP_QUIT |
Time to wait before quitting | 60s |
Example docker-compose section:
f6005_exporter:
restart: always
image: ghcr.io/lucathehacker/prometheusf6005
environment:
- ENDPOINT=http://192.168.1.1
- ONT_USERNAME=admin
- ONT_PASSWORD=admin
expose:
- 80Software may break if you log in your ONT web interface, or if you make any kind of HTTP request to your ONT.
For some reason, ZTE decided that the ONT should not be able to handle multiple sessions at the same time.
To automatically recover from this, when collector.go receives and error will wait for ONT_SLEEP_QUIT seconds and
kill the program, forcing it to restart due to docker container policies.
You can visualize the data with our Grafana Dashboard.
You can find alerts in the grafana_alerts.yaml file.