Skip to content
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

Network matrix doesn't loading on ZMQ interface #8432

Open
atemix opened this issue Jun 4, 2024 · 7 comments
Open

Network matrix doesn't loading on ZMQ interface #8432

atemix opened this issue Jun 4, 2024 · 7 comments
Assignees
Labels
In Progress Ready to Test a feedback is needed on a proposal or implementation

Comments

@atemix
Copy link

atemix commented Jun 4, 2024

ntopng v.6.0.240603 (Ubuntu 22.04.4 LTS)

On ZMQ (for nprobe) interface network matrix often doesn't loading, only sometimes it's shown.
We can't identify a pattern when it's shown.
On span interface always works well.
Local networks defined through --local-networks=/etc/ntopng/local-networks.conf.

In browser console:
network_stats.lua:746 Uncaught TypeError: Cannot read properties of undefined (reading 'data')
at Object.click (network_stats.lua:746:55)
at HTMLDivElement. (third-party.js?1717522204:2:752263)

image

@DGabri
Copy link
Contributor

DGabri commented Jun 10, 2024

Hello there, on my side it seems that the network matrix is showing. It does not show if -m is not defined when starting ntopng. Could you please double check the content of the config and check that it is correct?

@atemix
Copy link
Author

atemix commented Jun 10, 2024

Hi @DGabri
Network matrix works on span interface, but not on netflow interface in the same ntopng instance.
Local networks configured through --local-networks=/etc/ntopng/local-networks.conf.
If it were errors, matrix didn't working at all.
But local netwotks counters showns correctly on both interfaces.

SPAN

ntopng-matrix-span

Netflow

ntopng-matrix-netflow

@DGabri
Copy link
Contributor

DGabri commented Jun 10, 2024

I see, I will check and let you know, thanks for the additional info

@DGabri
Copy link
Contributor

DGabri commented Jun 21, 2024

Hi there, we tested and were never able to reproduce this error, could you please provide a browser console screenshot when the error happens and also provide a screenshot of the code that opens if you click on the error in console?
An example of screenshot that you should click on is shown below. You have to click on the link on the right, githubBase etc in the photo,. The ntopng error will of course be different but located on the same position
Thank you

Screenshot 2024-06-21 at 09 58 20

@atemix
Copy link
Author

atemix commented Jun 24, 2024

Hi @DGabri

No errors on page loading:

image

After clicking on matrix place:

image
image

@DGabri DGabri added the Ready to Test a feedback is needed on a proposal or implementation label Jul 2, 2024
@MatteoBiscosi
Copy link
Member

Hi @atemix please update in a couple of hours and let me know

@atemix
Copy link
Author

atemix commented Jul 3, 2024

@MatteoBiscosi, no matrix on zmq interface after update, and no any errors in console.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
In Progress Ready to Test a feedback is needed on a proposal or implementation
Projects
None yet
Development

No branches or pull requests

3 participants