Jump to content
  • 0

Long term traffic stats


Marassa
 Share

Question

One (and probably the only) thing I miss from my ASUS router is the ability to see daily/monthly traffic stats right in the traffic monitor (you first have to set up stats data storage in some non-volatile memory). Keenetic traffic monitor seems to only show data for the last 24 hours max, and that only if you have not restarted the router in the last 24 hours. Is there any way to set up long term traffic stats storage and display?

Edited by Andrei Orekhov
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0
11 минуту назад, Andrei Orekhov сказал:

One (and probably the only) thing I miss from my ASUS router is the ability to see daily/monthly traffic stats right in the traffic monitor (you first have to set up stats data storage in some non-volatile memory). Keenetic traffic monitor seems to only show data for the last 24 hours max, and that only if you have not restarted the router in the last 24 hours. Is there any way to set up long term traffic stats storage and display?

This feature is planned to be a paid cloud service as I know. Saving long-term stats on embedded storage would be inconsistent with these plans.

Link to comment
Share on other sites

  • 0

Aha, thank you!

Maybe some pre-configured 3rd party solution to get the traffic data via API and send it to influxdb/grafana etc.? I am moderately familiar with influxdb/grafana but not at all familiar with Keenetic API and kinda don't want to reinvent the wheel ;) 

Edited by Andrei Orekhov
Link to comment
Share on other sites

  • 0

The common way is to configure an RCI (API) proxy with Basic authorization.

Then use your browser to catch API requests.

For example:

{"show":{"ip":{"hotspot":{"summary":{"attribute":"sumbytes","count":5,"detail":0}}}}}

The above shows your top-5 stats. Change the "detail" to 1, 2, or 3 to address the other RRD sets.

Another useful request would be:

{"show":{"ip":{"hotspot":{"chart":{"items":"08:3a:88:aa:bb:cc,b2:9e:82:dd:ee:ff,unregistered,10:bf:48:11:22:33,others,multicast","detail":1,"attributes":"rxbytes,txbytes"}}}}}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...