extstats
extstats copied to clipboard
Export Metrics from Asus Router into influxDB
extstats
Export Metrics from Asus RT-AX88U Router into influxDB
ALPHA Version! Dont use in production yet!
Install
/usr/sbin/curl --retry 3 "https://raw.githubusercontent.com/corgan2222/extstats/master/extstats.sh" -o "/jffs/scripts/extstats" && chmod 0755 /jffs/scripts/extstats && /jffs/scripts/extstats install
Setup
check the Wiki https://github.com/corgan2222/extstats/wiki/Setup
Requirements
- running influxDB
Features
-
Installer and Update Script
-
Shell "GUI" Database Setup
-
Debug and Test Functions
-
Dependency Test
-
Export these Metrics from AsusWRT-Merlin into InfluxDB
-
Basis Stats like CPU, Memory, Processes, Network, uptime, Filesystem, Swap https://github.com/corgan2222/extstats/wiki/mod_basic
-
Extended WiFi Informations for each Client https://github.com/corgan2222/extstats/wiki/mod_wifi_clients
-
Traffic Analyser per Client https://github.com/corgan2222/extstats/wiki/mod_client_traffic
-
Export the Asus internal Traffic Analyser Data https://github.com/corgan2222/extstats/wiki/mod_trafficAnalyzer
-
VPN Statistics https://github.com/corgan2222/extstats/wiki/mod_vpn_client
-
Support for Conmon Stats (Uptime Monitoring) connmon | Jack Yaz https://github.com/corgan2222/extstats/wiki/mod_constats-(Uptime-Monitoring)
-
Support for spdMerlin Stats (Speedtest Data) spdMerlin | Jack Yaz https://github.com/corgan2222/extstats/wiki/mod_spdstats-(Speedtest-Monitoring)
Known Bugs
- if you running aiMesh, the WiFi Clients are not shown
ToDos
- autostart service
- make it compatible with other asusWRT routers
- integrate with Conmon and spdStats, that the plugins can share there data easy, without parsing the database
- import Diversion Data
- make a template for user, to easy integrate there informations
- show database infos, like MEASUREMENTS counts
- database management, move and delete data from database
- show database infos in the asus webui
- refactor code, remove redundant code
Help needed
- if you are an advanced user or developer, please helpt o port this on other asus routers. I only have the RT-AX88U.
- how to get the wifi client informations, like rssi and antenna data if using aimesh
- how to get cpu temperature
- is there any nvram, asusWRT developer documentation that are not public? couldnt found any asuswrt specific docs.
disclamer
Im not a linux guru and i have done this for my personal use and put a lot of work into this script to make it public availible. For shure are there better, performanter or easyier ways to do some task. So if you have tips how to improve this script, im more than happy if you let me know. stefan [@] knaak.org