zte-exporter/readme.md

21 lines
867 B
Markdown

# Grafana exporter for ZTE 5G modems
## Getting started
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>`
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
Devices currently supported / tested are only MC889A and it should just work with passing IP and password, default username is admin.
## Thanks
Largely based on https://github.com/Kajkac/ZTE-MC-Home-assistant