Commit graph

250 commits

Author SHA1 Message Date
Luca
3c8e133015 Added threasholds to breakdown bars for displaying alerts when crossed
Better depict of DNS query/replies that have now theresholds
2015-12-09 14:59:51 +08:00
Simone Mainardi
1ba346fc46 Visualises traffic profile information on historical tables
Traffic profile is queried from the database and possibly
shown as an extra field in the INFO column for historical data
2015-11-26 17:10:35 +01:00
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
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
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
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
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
8ca2d55c8d Added fix for handling failures while retrieving data from RRDs (#243) 2015-10-20 20:37:04 +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
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
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
Simone Mainardi
54d1a11b39 tell traffic and counter rrds apart when computing statistics 2015-09-29 00:57:48 +02:00
Luca Deri
5b5e7cb8ca Manually merge of https://github.com/ntop/ntopng/pull/185 2015-09-29 00:46:45 +02:00
Luca Deri
e11d9c94bd Finally fixed bit vs bytes in graphs
Fixed wrong JS function to convert bits in Mbits
2015-09-29 00:35:39 +02:00
Simone Mainardi
537dfc87c1 fix bytes to bits 2015-09-29 00:18:41 +02:00
Luca
9efc511950 Added fix for centering graphs when clicking on timeframe buttons 2015-09-28 18:17:01 +02:00
Luca Deri
74a255ec9d Fixed error bits vs bytes 2015-09-28 11:51:53 +02:00
Luca Deri
2ef8f2af31 Minor header fix
Small graph change
2015-09-27 18:58:14 +02:00
Luca Deri
bbd047e93e Reworked graphs based on https://github.com/ntop/ntopng/pull/181 2015-09-26 18:21:02 +02:00
Luca Deri
a62344d45c Added field INFO to MySQL flows.
If you update the code, you need to drop or modify the MySQL database format.
2015-09-22 22:37:11 +02:00
Luca Deri
4dd80d4778 Partial rework of NetworkInterfaceView (work in progress) 2015-09-16 00:41:29 +02:00
Luca Deri
6ee5072d5e Added function for reading RRD traffic volume 2015-09-14 16:40:20 +02:00
Luca Deri
4bf10f4fce Added user role in About page
Fixed SQL when exploring subnets
Modified preferences to specify that when nDPI RRDs are created, they do for both local hosts and networks
2015-09-14 14:16:11 +02:00
Luca Deri
dfe98e6a69 Improved flow search 2015-08-24 23:44:06 +02:00
Luca Deri
863da4eca1 Added graph autorefresh every minute, unless a specific epoch has been selected 2015-08-18 13:54:46 +02:00
Luca Deri
2a5baca948 Various flow dump improvements and bug fixes 2015-08-17 10:57:17 +02:00
Luca Deri
4945f5c902 Added ability to navigate IPv4 and IPv6 flows 2015-08-16 23:44:01 +02:00
Luca Deri
e59d699837 Added initial work towards a new historical interface. In the Interfaces->name->Historical Actitivity it is now possible to see top flows when -F "mysql;...." is used 2015-08-16 15:00:40 +02:00
Luca Deri
d609b8c80d Change to convert a float to an integer prior to call rrd_update. This patch should fix #122. 2015-08-11 22:26:17 +02:00
Arianna Avanzini
6633f21bdd scripts/lua/modules: always show "Other" talker
This commit lets the "Other" talker be always shown in the top talkers
report of a web interface if its traffic value is not zero. This also
lets the "Other" talker accumulate traffic also for hosts above the
maximum number of top talkers.
2015-07-30 21:58:12 +02:00
Arianna Avanzini
6ac384581d modules/graph_utils.lua: fix variable name
This commit fixes the name of one of the variables used in the
createRRDcounter() function which caused errors.
2015-06-30 20:53:20 +02:00
Guillaume Simon
6339498751 Fix duplicate handling to fix broken traffic graph for hosts 2015-06-09 18:31:34 +02:00
Luca Deri
1895d5aca9 Fixed typo 2015-05-26 09:02:16 +02:00
Arianna Avanzini
b519ad39b6 scripts/lua/admin/prefs.lua: add basic RRD configuration options
This commit adds a first implementation of configuration preferences for RRDs.
Different config options are selectable for network interfaces RRDs and
other RRDs. This addresses issue #33.
2015-05-26 02:54:17 +02:00
Arianna Avanzini
02f5637014 scripts/lua/modules/graph_utils.lua: various fixes
This commit fixes indentation and scoping for some of the blocks
in drawRRD(). It also lets the function handle complex RRD names.
2015-05-22 00:31:27 +02:00
Luca
730d76b9f5 Initial import from SVN 2015-04-30 12:22:35 +02:00