Glenn Freidet
Occasional Visitor
Make sure you enable IPTraffic under Tools -> Other Settings. This will load the ipt_account module, and set it up to monitor your LAN subnet.
Yep, already doing that. I'll figure it out. Thanks Merlin.
Make sure you enable IPTraffic under Tools -> Other Settings. This will load the ipt_account module, and set it up to monitor your LAN subnet.
Yes. Asuswrt's httpd only allows one concurrent user.
No idea what darkstat is, but I assume it's using its own web server and not Asus's, so it will be fine authentication-wise.
Must have been about 10 years since I last looked at NTOP + Netflow - sorry...
That good news Glenn. Would it be possible for you to explain how you extracted the information from cstats or what the record format is? Is it some sort of "standard" RRD format perhaps?
It's just that this question has been asked many times and as far as I know no one has worked out the format. Until now.
The only pedantic thing I could spot in your program was on line #19 (Count of loaded day records) where the indentation is wrong. But that's nitpicking.
Sure, no problem. I started with a Python script that I found somewhere. Then I used cstats.[ch] from the latest release and a hex editor. I'm not sure why, but the format of the file doesn't exactly match the code.
The output format is customized for my use, so you'll have to modify it to get what you need.
Please let me know if you make any changes that I might be able to use.
https://drive.google.com/file/d/0B7AAdqGpSE8ZS1ZoX1lMZkpyNGc/view?usp=sharing
Ah. That looks to be a slightly older version of this: https://github.com/emjelde/rstats/blob/master/RStatsHistory.pyPython script might have been from here: http://pastebin.com/bZxLpmQL
Ah. That looks to be a slightly older version of this: https://github.com/emjelde/rstats/blob/master/RStatsHistory.py
(Which, together with RStatsOutput.py, were the only previously know programs that read the rstats file, but not the cstats)
You have to use it against a cstats file, not rstats. A cstats file is created when you enable "per IP monitoring" (IPTraffic).
Did you select "Create or reset IPTraffic data files"?Screenshot attached. And the tomato_rstats_1cb72cc379c0.gz is 65 bytes in size all the time.
Also, the 'TrafficAnalyzer_Statistic.asp' is able to display all the stats... so either something is wrong or I'm missing something...
No I don't see that. You posted output using an rstats file, not a cstats file.Yes I did. As you can see file is being created and I am able to reads the data,
The cstats file contains the per IP information, not rstats.so it seems like this option creates rstat file with In/Out data only...just wondering where is the data stored with IPs and hosts etc...the one that is being used in the 'TrafficAnalyzer_Statistic.asp' section
Thread starter | Title | Forum | Replies | Date |
---|---|---|---|---|
Github repo stats | Asuswrt-Merlin | 5 |
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!