-
Notifications
You must be signed in to change notification settings - Fork 759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty Insight graphs from 16.1.16 #1017
Comments
|
Just saw this in the logs, but I have no idea if it's directly related: I don't know which disk image is malformed. The log is fine since info can be extracted. No idea about the state of the various sqlite databases. |
|
Is this for all the time ranges or just the first one(s)? The later ones were always fine for me whatever happened. I think that #983 will address this, because as long as the netflow capture is still there the database can always be recreated. Stop flowd_aggregate, clear /var/netflow/*, start flowd_aggregate, wait a bit... (Make a backup of var/netflow if you can) I'm on this, but haven't been able to reproduce the malformation lately. |
|
Both graphs are empty. /var used to be in memory, so that might be what did corrupt the DB. I'm going to empty the stats, as suggested and let you know. |
|
Wait, there are 10 time ranges... the top ones may be faulty (selected by default), but the latter ones should be ok? |
|
Yep, I've just tested and the ranges from 7 days ago are OK, so historical data seem to be here. Anything after that is empty. Since the top one is updated every 30s and more than that has passed, I'm guessing it's not related to a corrupted DB |
|
I suspect that's ecactly the problem, the update frequency improves the window of opportunity for bad backups, so the less frequently updated ones end up being fine. At some point all the data in the shortest period database are flushed out and it's ok to write again. But as I said, have been unable to get this to fail this week, for better or worse. ;) |
|
OK, I'll wait for the next update to see if there are any improvements :) |
|
There is definitely something wrong as flowd_aggregate is eating 90% of a CPU. |
|
High CPU may be a sign of a large flowd capture file under /var/log I'm closing this with the next commit, fixing the race by stopping the service before and restarting it after backup. |
|
BTW, you can now also clear all the databases from the Reporting: Settings page. |
Inspired by: @AdSchellevis (cherry picked from commit b72bfe2)
|
Thank you! |
netflow, flowd and flowd_aggregate services are up, but the Insight page has empty graphs with the message "No data available"
On the cache tab of the Netflow configuration page, stats clearly show that data is captured.
Looking at system.log, I can see requests made for the stats data and no errors.
flowd.log is several hundred MB big.
Analysing the log from the shell works.
The text was updated successfully, but these errors were encountered: