You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Will be using this thread to tabulate some of the issues I have found. Great job in trying to put something like this together ( I had hacked getting node-exporter and some custom parsing in a text file, but this has a lot more info to it:
opkg currently does not have python available. Had to install python3.
pip also wasn't able to be installed, as the package is not python3-pip.
When running the traffic export (toggle traffic analyzyer stats) to influx, I get an issue with export.py has the wrong command line variables --verify-ssl is no longer available:
It looks like the hostname are getting passed a list of MAC addresses. Looking in the /opt/tmp/dhcp_clients_mac.txt file, I have three hostnames that are blank : 48:D6:D5:EC:FE:E6 192.168.50.185. Will work on fixing those.
OK, looking into the issue, it appears if you hostname is not defined, you copy in the list of all clients into the name:
if [ -z "$ip" ]; then
ip=$clients
fi
if [ -z "$host" ]; then
host=$clients
fi
I updated these to be just $client and it posts to Influx. Still having issues with t3, but the data is reporting.
Now I looked through the data in Influx, and I don't get any hostnames. Is it possible to get the names displayed in the client list that aren't set to DHCP static?
Sorry for the delay, but i didn't had a asus router for some time and was not around here a lot.
But im back where i have the router and want to go on with this script.
Thanks for the fixes.
Do you still using it?
Will be using this thread to tabulate some of the issues I have found. Great job in trying to put something like this together ( I had hacked getting node-exporter and some custom parsing in a text file, but this has a lot more info to it:
--verify-ssl
is no longer available:I updated the code in
mod_trafficAnalyzer.sh
The text was updated successfully, but these errors were encountered: