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

Missed Top Talker #38

Closed
paoloB132 opened this issue Jun 1, 2015 · 20 comments
Closed

Missed Top Talker #38

paoloB132 opened this issue Jun 1, 2015 · 20 comments

Comments

@paoloB132
Copy link

Just install 2.0.150601 on CentOS 6.6

RPM version do not start, so compiled and installed from source

Still Top Talkers are not showed (like was on previous version) on Historical NIC Activity.
This is a very useful feature!
See also bug 538 on https://kpn.ntop.org/bugzilla/show_bug.cgi?id=538

It's also be mentioned that this windows in noticeably slower than previous version, when moving cursor on Traffic part.

Regards,
Paolo.

@ariava
Copy link
Contributor

ariava commented Jun 1, 2015

@paoloB132 could you please provide you configuration? Unfortunately we are still not managing to reproduce the issue.

@ariava ariava added the Bug label Jun 1, 2015
@ariava ariava self-assigned this Jun 1, 2015
@paoloB132
Copy link
Author

Hi Arianna,

thanks to reply so fast !

Here some cons:

[root@ntop ntopng-2.0]# uname -a
Linux ntop.rfx.local 2.6.32-504.16.2.el6.x86_64 #1 SMP Wed Apr 22 06:48:29 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

ntopng Community v.2.0.150601

[root@ntop ntopng-2.0]# more /etc/ntopng/ntopng.conf
-G=/var/tmp/ntopng.pid
-m="192.168.0.0/16, 150.178.3.0/24, 150.178.32.0/24, 150.178.33.0/24, 150.178.34.0/24"
-i=eth1

[root@ntop ntopng-2.0]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:17:A4:10:A8:0A
inet addr:192.168.60.21 Bcast:192.168.60.255 Mask:255.255.255.0
inet6 addr: fe80::217:a4ff:fe10:a80a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:46053770 errors:0 dropped:0 overruns:0 frame:0
TX packets:10540526 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:57165211403 (53.2 GiB) TX bytes:6713569384 (6.2 GiB)
Interrupt:28

eth1 Link encap:Ethernet HWaddr 00:17:A4:10:A8:09
inet6 addr: fe80::217:a4ff:fe10:a809/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:872360463 errors:0 dropped:18431 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:658390266419 (613.1 GiB) TX bytes:492 (492.0 b)
Interrupt:29

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:123777891 errors:0 dropped:0 overruns:0 frame:0
TX packets:123777891 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10399132293 (9.6 GiB) TX bytes:10399132293 (9.6 GiB)

NIC eth1 is connected to our HP5412 on a mirrored port.

Please take a look on attached screen shot, and let me know if you need some other information .

Regards,
Paolo.

On 01/giu/2015, at 12:12, Arianna Avanzini [email protected] wrote:

@paoloB132 could you please provide you configuration? Unfortunately we are still not managing to reproduce the issue.


Reply to this email directly or view it on GitHub.


Paolo Barbato

Consorzio RFX
corso Stati Uniti,4
35127 Padova - Italy
Network Administrator

phone: +39 049 8295097 fax: +39 049 8700718

@ariava ariava added this to the ntopng 2.1 milestone Jun 2, 2015
@paoloB132
Copy link
Author

Arianna,

I can try to help to debug the problem of missed "Minute
Top Talkers" i last NTOPNG, can you point me to the scripts that fetch/calculate and display those information ?

Ciao,
aolo.

@ariava
Copy link
Contributor

ariava commented Jun 4, 2015

@paoloB132 to aid in debugging the issue, could you please check the javascript console of your browser when you try to display top talkers? This could definitely give a hint if a javascript error was the issue.

@paoloB132
Copy link
Author

Hi Ariannna,

  1. I’m using Google Chrome
  2. Go to Historical Activity of my nic that is eth1
  3. When I move curse over right panel with red traffic graph, it comes up following error:

jquery.js:9592 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.

that should correspond to :

// Open the socket
xhr.open( options.type, options.url, options.async, options.username, options.password );

No idea if this is related to missed “Minute Top Talker”

Looking at the lua scripts it seems that this form be managed by graph_utilty.lua and in particular the variable infoHTML that is never filled.

Ciao,
Paolo.

On 04/giu/2015, at 14:30, Arianna Avanzini [email protected] wrote:

@paoloB132 https://github.com/paoloB132 to aid in debugging the issue, could you please check the javascript console of your browser when you try to display top talkers? This could definitely give a hint if a javascript error was the issue.


Reply to this email directly or view it on GitHub #38 (comment).


Paolo Barbato

Consorzio RFX
corso Stati Uniti,4
35127 Padova - Italy
Network Administrator

phone: +39 049 8295097 fax: +39 049 8700718

@ariava
Copy link
Contributor

ariava commented Jun 4, 2015

@paoloB132 I think the issue is not in the javascript warning but in the script. Could you please check if the top talkers database was correctly created in the interface folder? (e.g. /var/tmp/ntopng/0/top_talkers/top_talkers.db) Would it be for instance possible to have remote access to your machine to debug the issue?

@paoloB132
Copy link
Author

Hi Arianna,

On 04/giu/2015, at 22:03, Arianna Avanzini [email protected] wrote:

@paoloB132 https://github.com/paoloB132 I think the issue is not in the javascript warning but in the script.

agree..

Could you please check if the top talkers database was correctly created in the interface folder? (e.g. /var/tmp/ntopng/0/top_talkers/top_talkers.db)

[root@ntop ~]# ls -l /var/tmp/ntopng/0/top_talkers/top_talkers.db

Would it be for instance possible to have remote access to your machine to debug the issue?

Sure…thanks !

I need to know the remote IP address from where you plan to connect …ssh and tcp/3000.

Regards,
Paolo.


Reply to this email directly or view it on GitHub #38 (comment).


Paolo Barbato

Consorzio RFX
corso Stati Uniti,4
35127 Padova - Italy
Network Administrator

phone: +39 049 8295097 fax: +39 049 8700718

@paoloB132
Copy link
Author

Arianna … I need also a private email (no github thread !) where send access credential.

On 04/giu/2015, at 22:03, Arianna Avanzini [email protected] wrote:

@paoloB132 https://github.com/paoloB132 I think the issue is not in the javascript warning but in the script. Could you please check if the top talkers database was correctly created in the interface folder? (e.g. /var/tmp/ntopng/0/top_talkers/top_talkers.db) Would it be for instance possible to have remote access to your machine to debug the issue?


Reply to this email directly or view it on GitHub #38 (comment).


Paolo Barbato

Consorzio RFX
corso Stati Uniti,4
35127 Padova - Italy
Network Administrator

phone: +39 049 8295097 fax: +39 049 8700718

@ariava
Copy link
Contributor

ariava commented Jun 9, 2015

@paoloB132 sorry for the delay in coming back to you. I'll access from kpn.ntop.org if that's OK. My e-mail is [email protected]. Thanks to be willing to help.

@paoloB132
Copy link
Author

Dear Arianna,

any news on this subject ?

Regards,
Paolo.

On 09/giu/2015, at 22:55, Arianna Avanzini [email protected] wrote:

@paoloB132 https://github.com/paoloB132 sorry for the delay in coming back to you. I'll access from kpn.ntop.org if that's OK. My e-mail is [email protected] mailto:[email protected]. Thanks to be willing to help.


Reply to this email directly or view it on GitHub #38 (comment).


Paolo Barbato

Consorzio RFX
corso Stati Uniti,4
35127 Padova - Italy
Network Administrator

phone: +39 049 8295097 fax: +39 049 8700718

@ariava
Copy link
Contributor

ariava commented Jun 16, 2015

Hi @paoloB132, I sent out a private e-mail.

@paoloB132
Copy link
Author

…I’ve really replied to that email with requested information… do you see any email from me ?

On 16/giu/2015, at 12:28, Arianna Avanzini [email protected] wrote:

Hi @paoloB132 https://github.com/paoloB132, I sent out a private e-mail.


Reply to this email directly or view it on GitHub #38 (comment).


Paolo Barbato

Consorzio RFX
corso Stati Uniti,4
35127 Padova - Italy
Network Administrator

phone: +39 049 8295097 fax: +39 049 8700718

@ariava
Copy link
Contributor

ariava commented Jun 16, 2015

@paoloB132 I mean I sent out a private e-mail now :-)

@paoloB132
Copy link
Author

Arianna ...did you be able to reproduce this issue ?

@ariava
Copy link
Contributor

ariava commented Jun 23, 2015

@paoloB132 I have just pushed a fix for top talkers to the dev branch (9e5d3f9). It will be in tonight's nightly. After updating please also remove the top_talkers folders for each interface as there was a flaw in the format of stored JSONs. There was also a permissions issue which I fixed (folders under /var/tmp/ntopng must be writable by nobody or by the user you specify with the -U option).

@paoloB132
Copy link
Author

Hi Arianna,

download compile and install last development and really now I see top talkers showed when moving on the graph traffic window but only for initial 3/4 minutes, then they are missed again .

Regards,
Paolo.

On 23/giu/2015, at 13:05, Arianna Avanzini [email protected] wrote:

@paoloB132 https://github.com/paoloB132 I have just pushed a fix for top talkers to the dev branch (9e5d3f9 9e5d3f9). It will be in tonight's nightly. After updating please also remove the top_talkers folders for each interface as there was a flaw in the format of stored JSONs. There was also a permissions issue which I fixed (folders under /var/tmp/ntopng must be writable by nobody or by the user you specify with the -U option).


Reply to this email directly or view it on GitHub #38 (comment).


Paolo Barbato

Consorzio RFX
corso Stati Uniti,4
35127 Padova - Italy
Network Administrator

phone: +39 049 8295097 fax: +39 049 8700718

@paoloB132
Copy link
Author

Hi Arianna,

Any news ?

Installed v.2.0.150702

Traffic graph in Historical Activity form disappears.

When move on Traffic Windows some numbers come up on Minute Top Talkers frame, but honestly it’s not clear what they mean.

Min, Max, Average, Total Traffic always show “0”.

Regards,
Paolo.

On 24/giu/2015, at 16:46, Paolo Barbato [email protected] wrote:

Hi Arianna,

download compile and install last development and really now I see top talkers showed when moving on the graph traffic window but only for initial 3/4 minutes, then they are missed again .

Regards,
Paolo.

On 23/giu/2015, at 13:05, Arianna Avanzini [email protected] wrote:

@paoloB132 I have just pushed a fix for top talkers to the dev branch (9e5d3f9). It will be in tonight's nightly. After updating please also remove the top_talkers folders for each interface as there was a flaw in the format of stored JSONs. There was also a permissions issue which I fixed (folders under /var/tmp/ntopng must be writable by nobody or by the user you specify with the -U option).


Reply to this email directly or view it on GitHub.


Paolo Barbato

Consorzio RFX
corso Stati Uniti,4
35127 Padova - Italy
Network Administrator

phone: +39 049 8295097 fax: +39 049 8700718


Paolo Barbato

Consorzio RFX
corso Stati Uniti,4
35127 Padova - Italy
Network Administrator

phone: +39 049 8295097 fax: +39 049 8700718

@ariava
Copy link
Contributor

ariava commented Jul 3, 2015

@paoloB132 there was again an issue with permissions of the top talkers database. I do not know if that is the cause of the troubles you're experiencing, but even if I can ssh correctly to the server I still am not able to access the web interface: do I have to access via kpn.ntop.org as well?

@paoloB132
Copy link
Author

On 03/lug/2015, at 12:44, Arianna Avanzini [email protected] wrote:

@paoloB132 https://github.com/paoloB132 there was again an issue with permissions of the top talkers database. I do not know if that is the cause of the troubles you're experiencing, but even if I can ssh correctly to the server I still am not able to access the web interface: do I have to access via kpn.ntop.org as well?

yes …actually I don't see any attempt


Reply to this email directly or view it on GitHub #38 (comment).


Paolo Barbato

Consorzio RFX
corso Stati Uniti,4
35127 Padova - Italy
Network Administrator

phone: +39 049 8295097 fax: +39 049 8700718

@lucaderi
Copy link
Member

@paoloB132 @ariava Hi all can we close this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants