Commit graph

11737 commits

Author SHA1 Message Date
Arianna Avanzini
6b3a99d841 alert_utils.lua: handle slashes in interface names
This commit lets the per-interface alert code handle weird interface
names, e.g. collector interface names which contain slashes.
2015-05-21 16:56:19 +02:00
Arianna Avanzini
1503b1f3c0 alert_utils.lua: handle non existance of last dump
This commit handles the case where the last dump used for
interface alerts does not exist.
2015-05-21 16:06:18 +02:00
Arianna Avanzini
5a484cf53b scripts/lua/flows_stats.lua: add historical chart when showing network
This commit changes the flows display script so that it adds a navigation
bar when flows are grouped by network and allows to access a Historical
tab showing the traffic volume chart for that network.
This addresses issue #31.
2015-05-21 00:37:42 +02:00
Arianna Avanzini
f655cc2804 scripts/lua/if_stats.lua: implement per-interface alerts
This commit implements customizable threshold-based alerts which
are handled per-interface. Alerts are accessible via the alerts
tab of the interface menu of the web GUI.
This addresses issue #21.
2015-05-20 23:10:55 +02:00
Arianna Avanzini
d1442c7d86 scripts/lua/aggregated_hosts_stats.lua: fix quoting typo
This commit fixes a typo in the aggregated hosts script so that data
are now displayed correctly.

Signed-off-by: Yuri Francalacci <yuri@ntop.org>
2015-05-19 09:15:39 +02:00
Luca Deri
2b252633cb Changes to the shaper GUI 2015-05-19 01:02:15 +02:00
Arianna Avanzini
1e88d773f1 scripts/lua/host_details.lua: correctly handle vlan when setting alert prefs
This commit lets the code handling per-host alert preferences
correctly handle the host's vlan when storing the value in Redis.
2015-05-18 11:59:25 +02:00
Arianna Avanzini
7ee3b06c21 scripts/lua/host_details.lua: add missing binding for per-host alert prefs
This commit adds missing binding code which handles per-host alert
prefs refresh. This also changes Lua binding code and core ntopng
code to suit the new prefs system.
2015-05-18 11:47:00 +02:00
Luca Deri
dbb8ff7d2d Added fix in report for long URLs 2015-05-18 08:28:38 +02:00
Luca Deri
6630297dcd Policer update 2015-05-18 01:15:55 +02:00
Luca
a1cb0ac1c8 Added geohash mapping to flows 2015-05-15 17:56:04 +02:00
Luca
44fa5f271b Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2015-05-15 12:44:22 +02:00
Luca Deri
1156208993 Improvements on traffic shaping 2015-05-12 00:56:39 +02:00
Luca
773383e48b Fixed bug in hosts alert generation: alerts were not generated due to invalid redis key 2015-05-11 16:05:55 +02:00
Arianna Avanzini
fcec28bcd0 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2015-05-11 15:23:32 +02:00
Arianna Avanzini
6b9007ef52 if_stats.lua: use MB for the max size of dump files
This commit changes the measure unit for the max size of dump
files to MB so that it more user-friendly. This addresses
issue #20.
2015-05-11 15:22:27 +02:00
Luca
d7a8bc1394 Moved alerts preference from Alerts -> Config host tab 2015-05-11 15:19:33 +02:00
Luca Deri
bf2d12f700 Merge pull request #17 from rwhalb/dev
The version information for nDPI now appears in the 'About ntopng' pa…
2015-05-11 14:57:39 +02:00
Luca
9fc1069cf0 Alerts are now shown for localhosts only 2015-05-11 14:21:36 +02:00
lorenzobrunetti
9b3ce26911 Trigger Hosts Alerts only for remote hosts
Now Hosts alerts can be generated only for remote hosts, this can be
set under a new tab preference under the alert section.
2015-05-10 18:57:34 +02:00
Ronald Henderson
7ffd0a3e7d The version information for nDPI now appears in the 'About ntopng' page for non-git builds 2015-05-10 07:17:55 -04:00
Luca Deri
899bfd7e73 Added missing interface.select() that caused hosts not be found when ntopng is used with multiple interfaces (-i) defines 2015-05-08 07:55:28 +02:00
Luca Deri
8f171f7c0b Fix in table totals (nDPI interface stats)
Cosmetix chandges in Redis
2015-05-07 17:41:52 +02:00
Arianna Avanzini
3cf6766eea Host.cpp: make alert thresholds per-host
This commit moves alert thresholds so that they are now per host
and not global. This addresses issue #3.
2015-05-07 14:42:48 +02:00
Arianna Avanzini
83161ec79e prefs.lua: add base dir preference for virtual HTTP stats aggregation
This commit adds a preference for the base directory used when storing
aggregated virtual HTTP server stats.
2015-05-03 02:25:27 +02:00
Arianna Avanzini
939ffa6c7d lua_utils.lua: fix issue with prefs assignment via string input fields
This commit fixes a nil value issue happening when trying to assign
preferences with string input fields.
2015-05-03 02:24:20 +02:00
Luca Deri
1d8ba2f1e6 Fix for undefined variable in the about script when building the code outside of the source repository 2015-05-02 15:20:48 +02:00
Arianna Avanzini
e2ac52d02a if_stats.lua: add option to dump all traffic
This commit adds to the per-interface Packet Dump tab an option
to dump all traffic to the selected media. This makes the dump
filtering option a three-state mechanism, which allows to
disable dump, enable dump only for selected hosts, and enable
dump of all traffic.
2015-05-02 01:02:37 +02:00
Arianna Avanzini
8ba4cc531c flow_details.lua: add checkbox to dump flow traffic on disk
This commit adds an option to force dump on disk of a specific
flow, despite what other options and preferences might be.
2015-05-02 00:43:22 +02:00
Luca Deri
b178cf4121 Added travis file for code testing
Added .gitignore file for ignoring selected files
Reworked src and include paths to organize the source better
Fixed bug with invalid git version caused in some settings that do not compile code extracting it from github
2015-05-01 19:40:52 +02:00
Arianna Avanzini
3ad5cc362b if_stats.lua: view stats about number of packets dumped
This commit allows to view the number of packets dumped on disk and
on tap on the Packet Dump tab of the interface page if packet dump
is enabled.
2015-05-01 04:02:38 +02:00
Luca
85da5d86d7 Merge branch 'master' of https://github.com/ntop/ntopng 2015-04-30 19:08:39 +02:00
Luca
d89504d9f2 Exported flow peers country in JSON
Changes in GIT versioning
2015-04-30 19:07:38 +02:00
Arianna Avanzini
9c10e133b0 if_stats.lua: add parameter for max size of pcap dumps
This commit makes the maximum size of pcap dumps configurable
by adding a per-interface parameter modifiable via the web
interface. This commit also adds a comment in the web interface
about the periodic check and automatic deletion of old pcap files
after reaching the threshold.
2015-04-30 16:17:21 +02:00
Luca
cb9818712c Modified git hash handling so that ntopng can now use it in the about.lua page 2015-04-30 15:52:23 +02:00
Luca
4594daeb67 Various github fixes 2015-04-30 13:53:59 +02:00
Luca
730d76b9f5 Initial import from SVN 2015-04-30 12:22:35 +02:00