Commit graph

24 commits

Author SHA1 Message Date
Luca
bd66cbcdcd Work in progress toward per-minute stats 2015-12-15 18:47:58 +01:00
Luca Deri
0c8c1c7ade Removed debug message 2015-11-10 22:33:11 +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
Luca Deri
3b0d35a822 Fixed empty network name
Various minor optimizations
2015-11-08 21:06:18 +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
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
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
4dd80d4778 Partial rework of NetworkInterfaceView (work in progress) 2015-09-16 00:41:29 +02:00
Luca Deri
ed0b524273 Removed influxDB experiment dependency 2015-08-24 00:02:22 +02:00
Luca Deri
83fe0afb99 Fix for top scripts: the code was not discarding non .lua files 2015-08-15 12:19:06 +02:00
Luca Deri
d5e19ec8af Removed -F sqlite: due to this the historical interface is not finally gone and it is now possible to move forward to properly re-implement it 2015-08-15 00:09:12 +02:00
Luca Deri
df38dee87d Removed old legacy code
Added various fixes to networks view including the ability to visualize per-network graphs
Local hosts dumps (before purging) are now handled properly again.
2015-08-08 15:30:04 +02:00
Luca Deri
39118bbf74 Removed debug message 2015-08-03 16:14:56 +02:00
Arianna Avanzini
75ab08a5ed src/Lua.cpp: add support towards per-community RRDs
This commit adds Lua bindings necessary to per-community RRD generation.
This also adds code to the minute Lua script to aggregate traffic data
for a community (just bytes sent and received as of now) and store
it in an ad-hoc RRD.
2015-07-26 03:41:33 +02:00
Arianna Avanzini
f4f8bfa9be scripts/callbacks/minute.lua: fix printing of localhost parameter
In verbose mode, the minute callback prints info about all hosts
which are being processed. However, the custom print() function
used by ntopng does not directly handle booleans, which causes
runtime errors if the script is run in verbose mode. This commit
fixes the issue by converting boolean values to strings prior to
printing them.
2015-07-11 10:27:04 +02:00
Arianna Avanzini
6dbf07c15e scripts/callbacks/minute.lua: use the new getLocalHostsInfo() binding
This commit lets the minute callback use the newly-introduced
getLocalHostsInfo() method to retrieve info about local hosts only.
In this way it has a lower probability to overload the Lua stack.
This helps with issue #26.
2015-07-10 23:06:50 +02:00
Arianna Avanzini
79f52366b5 scrpts/callbacks/minute.lua: handle nil nDPI network data
It might happen that nDPI data for the network is nil as nDPI is
disabled. This commit lets the minute callback handle this case.
2015-07-08 10:22:53 +02:00
Arianna Avanzini
fe6ea9e0c2 callbacks/minute.lua: add per-network nDPI stats
This commit adds per-application statistics in per-network RRDs.
RRDs are updated every 5 minutes. This addresses issue #28.
2015-06-30 20:55:58 +02:00
Luca
730d76b9f5 Initial import from SVN 2015-04-30 12:22:35 +02:00