Update readme.md

main
"Riku" 2025-01-21 13:03:36 +02:00
parent 00b4497375
commit 85ede60238
1 changed files with 7 additions and 4 deletions

View File

@ -2,15 +2,18 @@
## Getting started ## Getting started
One can just run the provided python script by `python3 zte_exporter.py <port> <router ip> <admin username> <admin password> <login method>` One can just run the provided python script by `python3 zte_exporter.py --port <port> <router ip> --username <admin username> <admin password> --device <device type, ie. mc7010>`
Login method depends on the used router, f.e MC7010 uses single login and MC889A has multi. You can tell by if the login page asks for username (multi) or if it's just password (single). On single login the username variable is not used at all so it can be set whatever you fancy.
A docker file is provided to compile this and example compose.yml to use in compose tools. To use with docker run, just create .env with the correct values. dockerhub vvkvvk/zte-exporter has the latest version of this available. A compose.yml file is provided as example. A docker file is provided to compile this and example compose.yml to use in compose tools. To use with docker run, just create .env with the correct values. dockerhub vvkvvk/zte-exporter has the outdated version of this available and should not be used. A compose.yml file is provided as example.
# TR069 reset
Passing --reset True will try to clear out TR069 config and display current config.
## Tested devices ## Tested devices
Probably works with other ZTE models, only tested with ZTE MC7010 and MC889A. A simple Grafana dashboard included with the grafana.json. Devices currently supported / tested are only MC889A and it should just work with passing IP and password, default username is admin.
## Thanks ## Thanks