Commit graph

516 commits

Author SHA1 Message Date
Simone Mainardi
942d581286 Improves hover text contents with full host name
Implements #596
2016-06-07 12:58:48 +02:00
Simone Mainardi
58bc707cd1 Minor fix for interface alerts 2016-06-06 21:45:25 +02:00
Simone Mainardi
c2767e37f5 Conditional UI layout
Different information and messages are shown depending on the
kind of interface. For example, low goodput flows are hidden
when processing a non-packet interface.
2016-06-06 17:50:57 +02:00
Simone Mainardi
95a4618c17 Fixes alert scan that was causing possible issues in periodic scripts
Method scanAlerts was called inside a loop over the interfaces in minute.lua.
Since scanAlerts was looping over the interfaces as well, this was causing
interfaces to be deselected from the outer loop.

This commit fixes the issues by forcing scanAlerts to receive an input interface.

Fixes #582
2016-06-04 18:22:13 +02:00
Simone Mainardi
4aebe42ab7 Fixes refresh for VLAN-tagged hosts in hosts_stats.lua 2016-06-04 16:37:01 +02:00
Simone Mainardi
d00c3081ec Removes a debug print 2016-06-03 16:28:44 +02:00
Simone Mainardi
e79e9dfc7a Refreshes alert status after UI changes
Fixes #595
Fixes #598
2016-06-03 16:25:45 +02:00
Simone Mainardi
0a78bc129e Merge remote-tracking branch 'upstream/dev' into dev 2016-06-03 10:44:27 +02:00
Luca Deri
f3cd841bd1 Fix for #569 2016-06-02 12:12:25 +02:00
Luca Deri
08af4fe7d0 Simplified interface switch from the GUI that is now done in one single step 2016-06-02 11:58:01 +02:00
Luca Deri
306d4c1aaf Added runtime status to ease debugging and support. The new entry has been added to the home menu (below about) 2016-06-02 11:37:47 +02:00
Simone Mainardi
a07b8fe22a Escapes double-quotes in AS html 2016-06-01 15:47:02 +02:00
valentina
b818b053e7 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2016-05-31 22:17:17 +02:00
valentina
bb05649525 Changes for rtp flows (second part) 2016-05-31 22:16:58 +02:00
Simone Mainardi
616ca6b3d1 Implements preferences refresh facilities
Preferences set automatically trigger an update of
the class Preferences() members to make sure they are up
to date.

Additionally, the housekeeping frequency has been made customizable.
2016-05-31 19:09:07 +02:00
Simone Mainardi
ea0e3d7f85 Implements per-host per-l7protocol throughput statistics
Example endpoint to retrieve results is:
http://localhost:3000/lua/host_get_json.lua?ifname=0&host=192.168.2.130&host_stats_flows=1
2016-05-31 15:59:24 +02:00
Luca Deri
bca76cef08 Improved flow display page 2016-05-31 12:57:00 +02:00
Luca Deri
d35b1b6348 Fixed missing smile 2016-05-31 12:43:53 +02:00
Simone Mainardi
e808cbb78b Hides Ipv4/Ipv6 download buttons when no flows were detected 2016-05-31 10:59:37 +02:00
valentina
9385516d94 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2016-05-31 00:09:22 +02:00
valentina
615145b05d Changes for rtp flows (first part) 2016-05-31 00:08:20 +02:00
Luca Deri
79022c7238 Fixed flow statistics in host_get_json.lua
Fixed TCP flags
Smaller cosmetic fixes
2016-05-30 22:58:08 +02:00
Simone Mainardi
1013df7db9 Code cleanup 2016-05-30 20:15:39 +02:00
Simone Mainardi
da587f217f Implements multidim. C host groupings facilities 2016-05-30 19:14:16 +02:00
Simone Mainardi
67906fd49a Merge remote-tracking branch 'upstream/dev' into dev 2016-05-29 18:01:04 +02:00
Luca Deri
1d9b316719 Added alert when there are too many active flows/hosts for the ntopng configuration 2016-05-29 12:56:01 +02:00
Simone Mainardi
e308f0b435 Merge remote-tracking branch 'upstream/dev' into dev 2016-05-28 12:54:32 +02:00
valentina
a92a08d7be Removed SIP and RTP fields in flow details if the flow isn't SIP or RTP. 2016-05-28 12:39:50 +02:00
Simone Mainardi
e061d14ced Adds Chart column to the local networks stats 2016-05-27 15:11:19 +02:00
Simone Mainardi
25557835fc Adds remote network label to the network stats 2016-05-27 14:53:35 +02:00
Simone Mainardi
80b6607ab6 Changes preferences table style 2016-05-27 14:33:41 +02:00
Simone Mainardi
c28fe1248e Adds a method to print purged hosts/flows error messages 2016-05-27 14:26:44 +02:00
Simone Mainardi
e3a6fd8394 Improves flow expiration description 2016-05-27 14:00:11 +02:00
Simone Mainardi
7b210f527e Fixes a minor issue when parsing integer strings 2016-05-24 18:32:39 +02:00
Simone Mainardi
f100d21083 Fixes historical flow interface for more than 1000 flows 2016-05-24 18:22:03 +02:00
Simone Mainardi
8273aca75e Fixes alerts display page
Fixes #557
2016-05-24 16:09:31 +02:00
Simone Mainardi
0d9ced6b48 Removes limit on host_get_json.lua flows returned 2016-05-24 12:54:41 +02:00
Simone Mainardi
b3be99e97b Fixes number of flows in ajax requests 2016-05-24 12:17:43 +02:00
Simone Mainardi
e12c703464 Implements IN_BYTES / OUT_BYTES for historical protocols 2016-05-24 11:57:12 +02:00
Simone Mainardi
9953cc2328 Implements IN_BYTES/OUT_BYTES in historical data
MySQL schema change has been implemented together with
new historical talkers.
TODO: historical protocols.
2016-05-24 11:08:11 +02:00
valentina
5d2f1f4c03 Rework Preference Panes 2016-05-23 23:07:52 +02:00
Simone Mainardi
7d82c7b897 Fixes Host Top Peers Page Rendering
Traffic volume for peers has been fixed. Also the following exception has been handled:

WARNING: Script failure [/usr/share/ntopng/scripts/lua/host_top_peers_protocols.lua][/usr/share/ntopng/scripts/lua/host_top_peers_protocols.lua:34: table index is nil]
2016-05-23 16:26:17 +02:00
Simone Mainardi
d65936a80d Removes Javascript debug print 2016-05-19 17:03:58 +02:00
Luca Deri
58e48e4529 Improved flow status detection 2016-05-16 19:13:55 +02:00
Luca
5ff9db9dd5 Improved detection of flow status 2016-05-16 18:54:08 +02:00
Simone Mainardi
46a1edd046 Sets host symbolic names in mutual exclusion
This is to guarantee that symbolic names are left
in a consistent state after possible lua calls.

TODO: check: should get_name be mutex-protected?

Also fixes an issue with minute top talkers:

11/May/2016 11:06:21 [Lua.cpp:4617] WARNING: Script failure [/usr/share/ntopng/scripts/callbacks/minute.lua][/usr/share/ntopng/scripts/lua/modules/top_talkers.lua:215: attempt to concatenate field 'name' (a nil value)]
11/May/2016 11:09:22 [Lua.cpp:4617] WARNING: Script failure [/usr/share/ntopng/scripts/callbacks/minute.lua][/usr/share/ntopng/scripts/lua/modules/top_talkers.lua:185: attempt to concatenate field 'name' (a nil value)]
2016-05-12 00:26:02 +02:00
Simone Mainardi
b29869c053 Makes the historical perPage results persistent
Implements #515
2016-05-10 18:27:56 +02:00
Simone Mainardi
3c722d7a06 Fixes a nil flow label when clicking on dump flow traffic 2016-05-10 17:22:38 +02:00
Luca Deri
4acb2b0e81 Minor cosmetic fixes 2016-05-07 00:20:55 +02:00
Luca Deri
5aa06597b3 Replaced "Too Early" with "Unknown" for nDPI on ZMQ
Minor cosmetic fixes on the interface stats page
2016-05-06 23:40:20 +02:00