A tool to monitor the uplink status of AVM FRITZ!Box Cable and DSL based routers.
  • Python 98.9%
  • Makefile 1.1%
Find a file
2020-09-07 02:11:30 +02:00
fritzconnection@f2ed0baaaf Added submodule to repository. 2020-09-07 02:03:22 +02:00
log added logging 2020-09-06 07:02:14 +02:00
.gitignore added logging 2020-09-06 07:02:14 +02:00
.gitmodules Added submodule to repository. 2020-09-07 02:03:22 +02:00
config.example.json added license 2020-09-06 07:45:00 +02:00
LICENSE added license 2020-09-06 07:45:00 +02:00
README.md README.md update 2020-09-07 02:11:30 +02:00
uplink renamed uplink.py to uplink. added content to README.md 2020-09-07 01:55:42 +02:00
uplink.sql added exception handling, more fields to the database and some small fixes 2020-09-07 00:36:33 +02:00

UPLINK 0.1

TODO: Write description.

Requirements

Installation

git clone https://git.unixpeople.org/hanez/uplink.git
cd uplink
git submodule update --init --recursive
cp config.example.json config.json

Configuration

Edit config.json to your needs.

Variables

  • interval: The polling interval
  • database: Path to sqlite3 Database
  • uplinks: List of devices you want to poll
    • provider: Custom name of the uplink provider
    • ip: The IP of the router device
    • password: The password of the router device

Example

{
    "interval": 60,
    "database":  "./uplink.sqlite3",
    "uplinks": [
        { "provider": "Cable Provider", "ip": "192.168.0.1", "password": "1234" },
        { "provider": "DSL Provider", "ip": "192.168.1.1", "password": "1234" }
    ]
}

Create Database

sqlite3 uplink.sqlite3 < uplink.sql

Usage

./uplink ./config.json

Help

./uplink --help