Commit graph

228 commits

Author SHA1 Message Date
Simone Mainardi
08ecb143d2 Fixes max/min/avg/tot value computation on some graphs 2015-11-10 16:54:43 +01:00
Simone Mainardi
edf813f7d9 Adds interface names to graph labels
RRD graphs for interface views are more clear when their layout is  stacked.
In this commit lua function singlerrd2json is made more general. An additional
input parameters allows the user to toggle interface names from labels.
By default, interface names are not shown.
2015-11-10 15:06:09 +01:00
Simone Mainardi
71b390ec47 Adds MySQL support for traffic profiles
Traffic profile information is dumped to MySQL.
2015-11-10 11:36:55 +01:00
Simone Mainardi
83574e1a9d Escapes possible spaces and special charaters from profile names to create RRDS 2015-11-09 20:14:34 +01:00
Simone Mainardi
c839e85d6e Stores Profiles RRDs on a minute basis 2015-11-09 19:17:17 +01:00
Simone Mainardi
b8a0d6ac14 Skips 1m selection button for some RRDs
1m selection button is disabled for graphs showing RRDs sampled every 5 minutes (e.g., nDPI application RRDs)
2015-11-08 23:25:56 +01:00
Simone Mainardi
7930930360 Fixes javascript error on missing RRDs
Missing RRDs when displaying applications per interface (e.g., http://localhost:3000/lua/if_stats.lua?if_name=en0&page=historical&rrd_file=all&graph_zoom=1m)
were preventing the page from being rendered.
2015-11-08 22:48:23 +01:00
valentina
77426f7ece Added RTP protocol information to flow statistics 2015-11-08 00:42:07 +01:00
Luca Deri
4a5948ff27 Added tab pane for traffic profiles 2015-11-07 18:28:05 +01:00
Luca Deri
714352b25e Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2015-11-07 16:22:17 +01:00
Luca Deri
28e32c72c9 Fixed dumping to tap interfaces 2015-11-07 16:22:01 +01:00
Simone Mainardi
164f94dd90 Merge remote-tracking branch 'upstream/dev' into dev 2015-11-07 10:54:13 +01:00
Luca
86b793d006 Harvested interface view code and replaced with simpler one 2015-11-07 10:47:29 +01:00
Simone Mainardi
09ac01a1ee Stores local network traffic statistics on a minute basis
Local network traffic statistics are stored in RRDS on
a minute basis. Network traffic statistics are per interface.
If an interface has never seen a network, then no RRD is created.
2015-11-06 17:49:36 +01:00
Luca
0cb43bbb8e Removed network icon when no hosts stats are available 2015-11-06 12:28:32 +01:00
Simone Mainardi
595b2989c8 Saves Local Network Statistics to RRDs
Local Network Statistics (ingress, egress, and inner bytes)
are saved to RRD files. Web visualizations can be obtained from these RRDS.
2015-11-05 17:19:54 +01:00
Simone Mainardi
0bb7075a86 Fix: access nil lua table entries
Access to a nil table entry was occurring when reading all rrds
2015-10-28 21:44:22 +01:00
Simone Mainardi
ce0af8ed9a Stacked chart for physical interfaces traffic
Traffic statistics are shown as stacked for interface views
(Enhancement #58)
2015-10-25 19:27:43 +01:00
Luca Deri
006da523c0 Updated Lua/JSON module 2015-10-24 09:14:13 +02:00
Luca Deri
71afffaf7c Additional conversion fix for #246 2015-10-21 22:51:31 +02:00
Luca Deri
724be6b83a Added explicit numeric conversion to see if it can help with #246 2015-10-21 22:42:53 +02:00
Luca Deri
ede9ce914d Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2015-10-20 20:37:57 +02:00
Luca Deri
8ca2d55c8d Added fix for handling failures while retrieving data from RRDs (#243) 2015-10-20 20:37:04 +02:00
valentina
63cf72f636 Added SIP protocol information in flow details 2015-10-20 18:02:48 +02:00
Luca Deri
598f128200 Implemented traffic profiles (pro) 2015-10-19 00:48:55 +02:00
Luca Deri
cfbf3f2ac6 Removed duplicated interfaces (issue #236)
Initial work towards traffic profiles support
2015-10-17 19:14:16 +02:00
Simone Mainardi
866d849a12 added is_view flag in json returned by network_load.jua. This is required to correctly render real-time traffic in the pro version 2015-10-16 18:12:06 +02:00
Simone Mainardi
d2a8cb2bab added comments and explanations 2015-10-16 16:42:19 +02:00
Simone Mainardi
a35ec1ea8c shorten host names 2015-10-15 15:34:20 +02:00
Simone Mainardi
5127f238e4 fix #231: string.split return value was not checked against nil 2015-10-15 15:31:41 +02:00
Luca Deri
826f53bcd8 Added view icon on the menubar when an interface view is used 2015-10-14 22:43:18 +02:00
Simone Mainardi
73c50c369f fix: nagios alerts were broken. Now alerts work but this feature should be considered Experimental 2015-10-13 22:52:47 +02:00
Luca Deri
c8e0bb24a4 Initial work for supporting communities (work in progress)
Fixrd bug in daily Lua script
2015-10-12 01:04:34 +02:00
Luca Deri
f5069c3836 Added mapping in flow extraction for L4 and L7 protocols 2015-10-11 09:57:27 +02:00
Luca Deri
a80b3dfe02 Added ability to export flows info in TXT format 2015-10-11 09:44:58 +02:00
Luca Deri
b0e53d8191 Fixed bug in DB flow filtering 2015-10-10 11:15:35 +02:00
Luca Deri
bc94680a81 Removed communities support. Its implementatation was sub-optimal and so we'll start over 2015-10-10 11:02:11 +02:00
Luca Deri
54ceed49e8 Removed invalid warning when parsing flows received via ZMQ in case they contain MAC addresses
Minor interface stats fix
2015-10-08 23:42:43 +02:00
Simone Mainardi
2f33da062c fixed issue #208, add-user page not shown 2015-10-08 19:30:22 +02:00
Simone Mainardi
b7748639f3 use address in top talkers when label is not available 2015-10-07 09:15:48 +02:00
Luca Deri
387c7ae5f7 Merge pull request #202 from simonemainardi/dev
refactored top talkers generation code; improved safety of time to integer casts
2015-10-06 22:32:23 +02:00
Simone Mainardi
4d07a743ac refactored and verified minute top talkers generation code 2015-10-06 22:24:25 +02:00
Simone Mainardi
00f88156b9 added minor comments 2015-10-06 22:21:42 +02:00
Luca Deri
9a98e5ae01 Added fix for #170 2015-10-06 22:17:13 +02:00
Luca Deri
80e248fc35 Fixed version check 2015-10-04 22:23:53 +02:00
Luca Deri
29513c466b Removed unused StatsManager methods
Removed unused get_real_epochs.lua
2015-10-01 23:36:16 +02:00
Simone Mainardi
734f060f8e improved data aggregation functions when reading from rrds 2015-10-01 19:44:04 +02:00
Simone Mainardi
295327cb78 added min and max functions to find maximum and minimum values in tables, together with their argmax and argmin 2015-10-01 19:41:21 +02:00
Simone Mainardi
5ae26b1c3d fix merge conflicts 2015-10-01 15:45:04 +02:00
Simone Mainardi
fe334c908f rrd extraction converts bytes to bits, but leaves unchanged packets, drops, and counters 2015-10-01 14:50:31 +02:00