{"repo":"andyp-79/cablemodem-status","free":true,"listed":false,"github":"https://github.com/andyp-79/cablemodem-status","clone":"git clone https://github.com/andyp-79/cablemodem-status.git","description":"Python based DOCSIS modem performance metrics collection tool using the built-in HTML portal of common devices.","language":"Python","stars":18,"topics":["docsis","docsis-monitoring","monitoring","metrics","snr","influxdb"],"license":"MIT","category":"analytics","readme_excerpt":"Cable Modem Status Retriever This script retrieves channel information from a cable modem and stores time series data to an InfluxDB as well as Event Logs in Loki. The data can be visualized using tools such as Grafana. Supported Modems Hitron Coda56 Motorola MB8600 Netgear CM2000 Technicolor XB7/XB8 Arris International Touchstone TG3492, configured as Giga Connect Box for UPC.CH Switzerland Dependencies Python3 An InfluxDB 2.0 database Loki for Event Log collection Installation Build and install with pip pip3 install -e . Configuration Edit configuration.ini and fill in your information for the InfluxDB and the modem. Valid strings for ModemType : HitronCoda56 MotorolaMB8600 NetgearCM2000 TechnicolorXB7 TouchstoneTG3492UPCCH Executing the script Test the script by executing it manually and verify it completes without error messages. retriever Development / Contributing Install all dev dependencies: pip install .[dev] . Run unittests: pytest tests Set up recurring execution Create a cron job (executes every 2 minutes): /2 /usr/local/bin/retriever 2 &1 /dev/null Docker You can build your own image by running: docker build -f \"Dockerfile\" -t cablemodemstatus:latest . Once built, create a directory on your host for your configuration.ini file, such as /opt/cablemodemstatus . Then start a container referring to the configuration directory and mapping it to /app/data : docker run -d --name cablemodemstatus --restart unless-stopped -v /opt/cablemodemstatus:/app/data cablemodemstatu","default_branch":null,"files":null,"tree":[],"storefront":"/r/andyp-79","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/andyp-79/cablemodem-status/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}