Collects metrics from an Unbound Docker container and sends them to a receiver using MQTT (via Eclipse Mosquitto Docker container).
python3 -m src.main <IP Address Receiver> [--no-reset] [--debug]
optional parameter:
- "--no-reset" ("-nr") avoid to reset unbound statistics
- "--debug" set loglevel to DEBUG
05 0 * * * cd <PATH> ; python3 -m src.main <IP Address> [--no-reset] [--debug]
- Python 3.8 or higher
- Python modules, see requirements.txt
there are much more Docker images for the same purpose. These here I used for this project:
- eclipse mosquito by the Eclipse Foundation
- Unbound DNS Server Docker Image by Matthew Vance
Contributions are welcome!
Unless otherwise specified, all code is released under the MIT License (MIT).
for used or linked components the respective license terms apply.