Web Usage Monitor stops updating
Moderator: Moderators
Web Usage Monitor stops updating
Hi there!
Been running Gargoyle on my TL-WR1043ND for a week or so.
I've set "Number of Sites to Save", "Number of Searches to Save" to 500, and set the interval that the logs write to every hour.
I have a cron job running on my server which grabs the "webmon-searches.txt" and "webmon-domains.txt" files every hour and backs them up.
However, when the 500 limit is reached, instead of writing over the oldest entries as mentioned in the documentation (http://www.gargoyle-router.com/wiki/dok ... =web_usage), the logs stop updating - the current search and domain logs persist without refreshing, and I lose the most recent logs as they're not being recorded. This is true of the web interface and the webmon text files.
When I clear the history using the web interface, new entries are once again added as expected, but then stop updating when the 500 limit is reached.
Any ideas why this is happening?
Thanks
Been running Gargoyle on my TL-WR1043ND for a week or so.
I've set "Number of Sites to Save", "Number of Searches to Save" to 500, and set the interval that the logs write to every hour.
I have a cron job running on my server which grabs the "webmon-searches.txt" and "webmon-domains.txt" files every hour and backs them up.
However, when the 500 limit is reached, instead of writing over the oldest entries as mentioned in the documentation (http://www.gargoyle-router.com/wiki/dok ... =web_usage), the logs stop updating - the current search and domain logs persist without refreshing, and I lose the most recent logs as they're not being recorded. This is true of the web interface and the webmon text files.
When I clear the history using the web interface, new entries are once again added as expected, but then stop updating when the 500 limit is reached.
Any ideas why this is happening?
Thanks
Re: Web Usage Monitor stops updating
firmware version?
hardware?
hardware?
Re: Web Usage Monitor stops updating
Hi there
Thanks for the reply - I'm using firmware version 1.5.8 and running it on my TL-WR1043ND router. I'm using a Freenas box (Proliant N40L) to pull the text files every hour and store them locally.
Thanks for the reply - I'm using firmware version 1.5.8 and running it on my TL-WR1043ND router. I'm using a Freenas box (Proliant N40L) to pull the text files every hour and store them locally.
Re: Web Usage Monitor stops updating
can you paste your cron job script?I have a cron job running on my server which grabs the "webmon-searches.txt" and "webmon-domains.txt" files every hour and backs them up.
Re: Web Usage Monitor stops updating
Sure.
In a bash script:
Although it's not this script that's the problem... The text files copy fine, they just stop updating after 500 logs. So at some point all the text files have the same 500 logs in them, until I clear the logs.
This is a problem with Gargoyle not replacing the oldest entries when the limit is reached, as claimed in the documentation.
In a bash script:
Code: Select all
scp root@[router-ip]:/usr/data/webmon_domains.txt [destination]/domains-`date +"%Y.%m.%d-%H"`.txt
This is a problem with Gargoyle not replacing the oldest entries when the limit is reached, as claimed in the documentation.
Re: Web Usage Monitor stops updating
Bump! Anyone?
-
- Posts: 3
- Joined: Fri Jan 23, 2015 1:02 pm
Re: Web Usage Monitor stops updating
what if you make the script delete the log?
Re: Web Usage Monitor stops updating
Still same problem in v1.8.1 with WR1043ND We need to clear the web monitor records for further log. Auto delete of old logs with entry of new not happening.
-
- Posts: 1
- Joined: Sat Nov 12, 2016 11:04 pm
Re: Web Usage Monitor stops updating
Yes, still same problem in v1.9.1 with WNDR3800. Once the 500 fills up it stops adding.