What's new

How To Load Stored Traffic Monitoring Logs

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

wocram

Regular Contributor
Under "Tools>Other Settings>Traffic Monitoring>Save History Location", I have specified to store the traffic history of my RT-AC1900P to USB Flash Drive on USB2.0 connection.

2w1zear.jpg


After upgrading the firmware (to Merlin 380.63) And resetting the router to factory defaults, the traffic monitor is (understandably) reset.

I have set the "Save History Location" again to the same location as before the update but the older logs are not loaded and I get following message in the system log:
Code:
Nov 11 08:18:31 cstats[28730]: Problem loading /mnt/256GB/Asus Logs/tomato_cstats_9c5c8e4a3b88.gz. Still trying...
Nov 11 08:25:07 rstats[28637]: Problem loading /mnt/256GB/Asus Logs/tomato_rstats_9c5c8e4a3b88.gz. Still trying...
(and yes, the log file is available at the specified location and the drive is mounted ;))

What could possibly be going wrong and is there a way to reload the settings manually?
 
Added a folder named "AsusLogs" and copied the log file there and rebooted the router (and changed the location in "Tools>Other Settings>Traffic Monitoring>Save History Location") but it didn't solve it.

Traffic Analyzer still only shows Traffic since the factory default reset and same message comes up in the system log..

Code:
Nov 11 12:36:12 cstats[456]: Problem loading /mnt/256GB/AsusLogs/tomato_cstats_9c5c8e4a3b88.gz. Still trying...
 
Added a folder named "AsusLogs" and copied the log file there and rebooted the router (and changed the location in "Tools>Other Settings>Traffic Monitoring>Save History Location") but it didn't solve it.

Traffic Analyzer still only shows Traffic since the factory default reset and same message comes up in the system log..

Code:
Nov 11 12:36:12 cstats[456]: Problem loading /mnt/256GB/AsusLogs/tomato_cstats_9c5c8e4a3b88.gz. Still trying...

Either the filename is incorrect (read the changelog for important info, the filesystem permissions are wrong, or the file is corrupted - generate a new one.

If it still fails, reformat the disk, or try another disk.
 
Either the filename is incorrect (read the changelog for important info, the filesystem permissions are wrong, or the file is corrupted - generate a new one.

If it still fails, reformat the disk, or try another disk.

Upon setting "Tools>Other Settings>Traffic Monitoring>Create or reset data files>Yes", the log-file was overwritten with a new file with exactly the same name.

So probably the file was corrupted as the file name is the same and was overwritten, so filesystem permission of corruption of the drive doesn't seem to be the cause..

Edit1: A few minutes after the new log-file was created, the error message is back in the system log.
It just doesn't seem to work on the flash drive on USB2.0. Trying to put the log-file now on the HD attached to USB3.0 port..

Edit2: Also on my HD connected to USB3.0 it doesn't work, "Problem loading.." message back again in system log for this drive..
 
Last edited:
  • Like
Reactions: grr
cstats is the IPTraffic database - you have to use the second "Create database" option, not the first one.
 
cstats is the IPTraffic database - you have to use the second "Create database" option, not the first one.
Great, it seems to work now and I got two files on the flash drive, "cstats...gz" and "rstats...gz" and error messages are gone and stats loaded.

Code:
Nov 12 01:51:14 rc_service: httpds 445:notify_rc restart_rstats;restart_conntrack;restart_leds;restart_cstats

Previously, I didn't try the "Create or reset IPTraffic data files" yet.
Since I moved the log to the flash drive I only ever had the 1 file created with the first option "Create or reset data files", so it all comes down to user error (rolling eyes)..

Thanks for your time and help!
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top