ntopng icon indicating copy to clipboard operation
ntopng copied to clipboard

Daily Traffic Report uses Custom option which does not exist

Open dkggpeters opened this issue 1 year ago • 15 comments

Environment:

  • OS name: FreeBSD (PFSense 23.09.1)
  • OS version: 14.0
  • Architecture: amd64
  • ntopng version/revision: 6.1.240207

What happened: Setup daily reports and when the link is followed to the Dashboard Traffic Reports the report option goes to "Custom" which does not exist.

Report from email link:

image

Dashboard -> Traffic Reports current report options

image

dkggpeters avatar Feb 08 '24 13:02 dkggpeters

Hi @dkggpeters could you please share the link you received from the mail and the link you of the ntopng working?

MatteoBiscosi avatar Feb 12 '24 09:02 MatteoBiscosi

Link for daily report

http://dkggpeters.com:3000/lua/pro/reportng.lua?ifid=1&report_name=auto-2024-Feb-11-1707714043&epoch_begin=1707627643&epoch_end=1707714043

Link that works using Default reports

http://dkggpeters.com:3000/lua/pro/reportng.lua?ifid=1&epoch_begin=1707627600&epoch_end=1707714000&report_template=default

dkggpeters avatar Feb 12 '24 11:02 dkggpeters

I did a test report using the same date and time parameters midnight to midnight and all works fine when pulling it up.

http://10.57.1.1:3000/lua/pro/reportng.lua?ifid=1&epoch_begin=1707627600&epoch_end=1707714000&report_name=test

image

dkggpeters avatar Feb 12 '24 14:02 dkggpeters

Hi @dkggpeters,

We have pushed a fix for this issue, which will be included in the next daily build. Please update and let us know if everything is alright.

NicoMaio avatar Feb 28 '24 14:02 NicoMaio

@NicoMaio Auto Reports are no longer being generated and settings are on in Settings and by Interface. The last one I have is 2/24/2024

I am now on version 6.1.240305 (FreeBSD 14.0)

image

dkggpeters avatar Mar 05 '24 18:03 dkggpeters

@dkggpeters I have set up ntopng to reproduce the potential issue. I will provide an update on it tomorrow.

NicoMaio avatar Mar 06 '24 11:03 NicoMaio

Hi @dkggpeters , I tried to reproduce this issue but received the daily reports correctly. Please update to the latest version and let me know tomorrow.

NicoMaio avatar Mar 15 '24 09:03 NicoMaio

Still not working for me even on 6.1.240318. I am noticing that any time based activities stopped working aroung the same time including active monitoring and configuration backups.

dkggpeters avatar Mar 19 '24 15:03 dkggpeters

Hi @dkggpeters,

Just to confirm, have you enabled the 'Daily Reports Generation' flag in Preferences -> Reports Tab? image

NicoMaio avatar Apr 19 '24 08:04 NicoMaio

Yes it is set to on:

image

image

It appears that anything time based related as active monitoring stopped working as well.

I just update to version 6.1.240422 to see if that works.

dkggpeters avatar Apr 22 '24 13:04 dkggpeters

Network Discovery does work using the the interval which I have set to 6 hours.

dkggpeters avatar Apr 22 '24 13:04 dkggpeters

Hi @dkggpeters, are you using the community version of ntopng?

NicoMaio avatar May 09 '24 08:05 NicoMaio

I am using Enteriprise.

dkggpeters avatar May 09 '24 12:05 dkggpeters

@dkggpeters is it an Enterprise L license?

NicoMaio avatar May 10 '24 08:05 NicoMaio

Hi @dkggpeters, a new version of ntopng should be ready. This latest version includes more logs to debug your case. To enable them please run this command from the terminal redis-cli SET "ntopng.prefs.automatic_reports_debug_enabled" "1". Then please provide us the logs of ntopng after some days to see what's going on in the daily script that makes the daily report.

NicoMaio avatar May 10 '24 12:05 NicoMaio

Closing for inactivity, please reopen if needed

MatteoBiscosi avatar Jul 01 '24 08:07 MatteoBiscosi