-
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
Reporting - Insight - "No Data Available" #1696
Comments
|
You might have a corruption in one (or more) of the sqlite database at /var/netflow/, normally it will automatically try to repair them when damaged, but sqlite might in rare circumstances not notice it's corruption. |
|
Filesystem Size Used Avail Capacity Mounted on Is it possible to force a repair? |
|
you can try to copy the files and rebuild them, if it can't repair, you know which one is permanently broken and only remove that file (it will re-create missing files).
The last time I've had a similar issue, only the detailed data was lost (which isn't kept very long). |
|
I just deleted all the sqlite databses and rebooted. After reboot I still have data in my graphs, but not for last 24 hrs.. So the issue is same as before. total 1238836 I then also noticed the timestamp on the files.. 24th is the last date I have data in my grahps as well. The files re-appeared after delete and reboot.. So there is obviously a process here I do not know of. |
|
I don't know why your files are back, this doesn't sound familiar. If you removed only a part of the files and want to restart collection manually, you can restart the aggregation service using:
|
|
I recently observed this too. Don't recall what version it started. Current version (OPNsense 17.1.8-amd64)
|
|
"Reporting -> Settings -> Reset Netflow data" solved my problems... @AdSchellevis @giovino , but the cause of the problem I dont know. |
|
It could be a crash or improper shutdown at some point, flushing always works, but you loose history unfortunately. |
|
I had to reset netflow data too after upgrading from 19.1.10 to 19.7. |
Jun 27 00:51:23 OPNsense root: /usr/local/etc/rc.d/flowd_aggregate: WARNING: failed to start flowd_aggregate Jun 27 00:51:24 OPNsense flowd_aggregate.py: flowd aggregate died with message Traceback (most recent call last): File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 148, in run aggregate_flowd(do_vacuum) File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 79, in aggregate_flowd stream_agg_object.add(flow_record_cpy) File "/usr/local/opnsense/scripts/netflow/lib/aggregates/interface.py", line 70, in add super(FlowInterfaceTotals, self).add(flow) File "/usr/local/opnsense/scripts/netflow/lib/aggregate.py", line 258, in add self._update_cur.execute(self._update_stmt, flow) DatabaseError: database disk image is malformedGoing long time back works.. so its only newest data that is missing.
I have tried reinstalling flowd package without any luck. Rebooting, restarting etc does not help.
best regards
Thomas
The text was updated successfully, but these errors were encountered: