eimparas / TR069-Bot

Telemetry for xDSL networks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"TR-069" bot

Telemetry for xDSL networks

Table of contents

Project description

Discord bot for remote management and statistics collection bot for discord, Technicolor modems and PfSense.

  • The idea behind the modemBot bot is to have an eye on line itself, Get notified if the line goes down, gets synced back up, its Stats, Its errors while you are away from the modem . This is accomplished by having a 2nd way to get to the internet, for me it was a simple ADSL line used only as a simple phone line that happened to carry internet. A 4g cellular connection for example is suitable.
  • pfsenseBots main duty is to inform about the wan IP.
  • Discord messaging works via NextCord

Connection Diagram

Network Diagram

Fetures

ModemBot:

  • Display on discord message xDSL statistics
  • On request display graphs of these statistics (replaced with grafana)
  • Alert Network admin for any issues like (high error rates, Desync events etc)

Commands:

  • Interact with the modem to re sync the line
  • Interact with the modem to trigger a reboot

PfsenseBot:

  • Allert the Network admin for CGNAT
  • inform Network admin for the DHCP wan Address in case the DDNS fails.
  • interface status changes (if PPP had Dropped and returned, this will ping the admin)
  • Display data on Grafana

Current progress of the project. : Completed

  • the project is "out" of beta , we have been using it for over a year doing the nececery bugfixes as nececery . It will continue to get support , and perhaps new fetures

TBD:

  • Alerts: Line Error Alerts (lots in a small time)
  • Finalize The grafana Dashboard.

Status

Project is: Finished , ModemBot working, PfsenseBot is updated to a newer api that fixed issues we where having with fauxapi.

Screenshots:

  • Grafana Dashboard: Grafana

  • Status Discord Message: Status

About

Telemetry for xDSL networks

License:GNU General Public License v3.0


Languages

Language:Python 99.3%Language:Dockerfile 0.7%