Repository navigation
v0.3.1
See how often and why the router restarted, in the library, as ibox nmc commands, in the exporter and in the MCP server, and the internet connection's MTU. The exporter now needs the router password, and the Docker image no longer runs as root: see the upgrade notes.
Upgrade notes
ibox export, and so the Docker image, needs the router password (IB_PASSWORDor--password). It stops straight away if the password is missing or the router refuses it. It used to keep running, with only the fiber connection'sinternetbox_veip_*metrics, and try to log in again every cycle. If the router can't be reached, e.g. while it restarts, the exporter starts anyway and keeps trying, as before.- The Docker image runs as an unprivileged user (UID 10001) instead of root, which Kubernetes'
runAsNonRootaccepts, and no longer contains pip or uv. The exporter needs no files, so nothing changes for it. Files you mount into the container, e.g. a backup foribox nmc restore, must be readable by UID 10001, and images built on it can't install packages with pip.
Added
- Restarts: how often the router has started (
nmc.reboot_info()), and when and why it started and shut down the last 10 times, e.g. after a power cut, a firmware upgrade ornmc.reboot()(nmc.reboot_history()). - Internet connection: its MTU, the largest packet it sends without splitting it (
nmc.wan_mtu()). - Exporter: how often the router has started (
internetbox_boots_total), soincrease()shows its restarts. See "Restart metric" in the README. - MCP server:
router_overviewshows how often the router has started (boots).
Removed
requirements.txtandrequirements-dev.txtin the repository. Install from a clone withpip install -e ., oruv syncfor development.
What's Changed
- Bump urllib3 from 2.6.3 to 2.8.0 by @dependabot[bot] in #5
- Bump certifi from 2026.2.25 to 2026.10.18 by @dependabot[bot] in #4
- Bump pytest from 9.0.2 to 9.0.3 by @dependabot[bot] in #3
- Bump the github-actions group with 11 updates by @dependabot[bot] in #1
- Bump the python group across 1 directory with 5 updates by @dependabot[bot] in #2
New Contributors
- @dependabot[bot] made their first contribution in #5
Full Changelog: v0.3.0...v0.3.1