Commit graph

301 commits

Author SHA1 Message Date
Luca
f16a39ef04 Reworked live packet capture for both hosts and interfaces 2018-07-24 11:57:31 +02:00
emanuele-f
a4da1294e6 Fix nedge errors in graph_utils 2018-07-20 14:39:17 +02:00
Emanuele Faranda
4cbe45a948
New pro charts features and timeseries api (#1865)
* Integrate modified nvd3 library with zoom and multicharts working support

* Fix count in RRD driver

* Initial chart ajax migration

* Update nvd3 with zoom stack support

* Fix RRD listSeries with directories

* Work in progress graphs

* Compatibility fix

* Initial support for schema based api

* Add missing script

* Fix listSeries for existance check

* Implement topk timseries api

* Implement topk queries and fix labels and formats

* Migrate interface top sender and receivers

* Migrate charts to new API

* Move timeseries list for menu inside respective scripts

* Add support for extended labels

* Fix missing fields while chaning graph resolution

Also Rename drawRRD in drawGraphs

* Fix historical tabs

* Add missing time fence in influx topk

* Add graphs support for custom statistics visualization

* Initial support for graphs statistics footer

* Implement statistics in single graphs for RRD driver

* Move sampling function into the driver and fix graph statistics

* Fix max/min value offset

* Implement influxdb sampling use built-in FILL

* Implement stats and total serie in influxdb driver

* Update nvd3 with multiChart fixes

* Update nvd3 with new multiChart fixes

* RRD driver fixes

* Move metrics type from single metric to schema

* Handle ajax errors and empty data in charts

* Fix flow device interfaces graphs

* Use timeserie label as timeseries dropdown text

* Implement topk aggregation into one data serie

* ts_utils module now provides all the schemas

* Migrate ntop.exist(rrd) to ts_utils.exist

* Fix timeseries dropdown label

* L4 protos fixes for charts

* Migrate getProtoVolume to new API

* Integrate nvd3 fix for tooltip position

* Initial community graphs migration to timseries API

* Fix community timeseries dropdown and historical tabs

* Hide total serie by default

* Remove l4 protos from topk charts
2018-07-18 15:09:19 +02:00
Simone Mainardi
7c6e5868b8 Simplifies Netfilter drops handling 2018-06-15 19:26:30 +02:00
Simone Mainardi
67f7cdb47e Implements Netfilter queue flush alerts 2018-06-15 16:23:05 +02:00
Simone Mainardi
fd42cfd0cb Implements Netfilter queue monitoring 2018-06-15 12:07:22 +02:00
emanuele-f
d6964fc572 Remove interface idle state from netfilter interfaces 2018-05-21 18:03:51 +02:00
Simone Mainardi
ac91af8291 Updates interface SNMP bind links 2018-05-15 17:16:11 +02:00
Simone Mainardi
c4123d33d8 Reworks discovery activities 2018-04-16 16:05:49 +02:00
Simone Mainardi
730b881b1a Fixes issues with long interface names
Fixes #1717
2018-04-04 16:01:30 +02:00
Simone Mainardi
54c7e0265a Fixes unassigned hosts in pool members badge counter 2018-03-26 18:47:10 +02:00
Luca Deri
f0c936c368 Updated (C) to 2018 2018-03-22 21:59:42 +01:00
emanuele-f
86ac46abd4 Hide top hidden hosts 2018-03-05 16:01:33 +01:00
emanuele-f
4c84f1da2f Implement "hide from top" preference 2018-03-05 16:01:33 +01:00
emanuele-f
2bc54cd96c Fix flows export drop percentage 2018-02-07 10:06:08 +01:00
Emanuele Faranda
b827f5cf0b Fix footer on nedge 2018-01-30 09:47:32 -05:00
emanuele-f
24ed4ac212 Hide elements and reorganize menu in nEdge 2018-01-23 15:28:36 +01:00
emanuele-f
2e9a9a9efa Fix missing profiles icon 2017-12-22 15:03:19 +01:00
Simone Mainardi
04627745ae nEdge packaging 2017-12-17 23:14:47 +01:00
Luca Deri
c9ecd931d9 Code cleanup 2017-12-16 08:23:56 +01:00
Simone Mainardi
2758ecf24b Moves function call after require
Fixes #1596
2017-12-10 11:42:28 +01:00
emanuele-f
5b4aa461d9 Remove traffic policy menu on nedge2 2017-12-08 12:23:40 +01:00
emanuele-f
bffd2db88f Move quotas bars javascript to separate file 2017-12-07 17:57:35 +01:00
emanuele-f
0d433df91b Fix default policy user logic
To determine the policy to apply, the following rules are checked in this order:

1) A pool specific policy on the protocol exists? Use it
2) A default pool policy on the protocol exists? Use it
3) A pool specific policy on the category exists? Use it
4) A defaul pool policy on the category exists? Use it
5) Use the global policy
2017-12-07 13:46:47 +01:00
Simone Mainardi
c10dc8f1ac Moves shapers function to shaper_utils 2017-12-06 15:30:14 +01:00
emanuele-f
6635d1a716 Rework top-talkers to improve performance and clean code 2017-11-28 18:00:30 +01:00
Simone Mainardi
e43f75522a Fixes missing getAggregatedTopJSON 2017-11-25 19:30:22 +01:00
Simone Mainardi
045f84bb6b Removes unused require 2017-11-23 19:35:52 +01:00
Simone Mainardi
6e3cb6324f Optimizes second.lua callback 2017-11-22 13:11:11 +01:00
Luca Deri
32bee91c83 Added HREF from flows info to flow lists according to flow exporter/interfaces
Improved flow drops report in interfaces
For ZMQ interfaces throughtput is computed with frequency not les than 5 sec to avoid inaccurate computation
2017-11-18 15:47:34 +01:00
emanuele-f
7048604404 Implement app search in applications page 2017-11-15 17:34:24 +01:00
emanuele-f
7a62ae009b Fix interface, macs, hosts configuration pages consinstency 2017-11-15 17:34:24 +01:00
emanuele-f
6b8e87613c Little fix 2017-11-13 17:47:11 +01:00
Luca
f1d12102a5 Added sFloc counter stats in interface view 2017-11-11 08:38:49 +00:00
emanuele-f
976a52f85f Fix cross application quotas visualization 2017-11-03 15:26:41 +01:00
emanuele-f
e77e16d91d Add cross application pool quota selector 2017-11-02 11:12:46 +01:00
Simone Mainardi
a22022bb30 Reworks alerts to prevent local hosts I/O 2017-11-01 23:04:33 +01:00
Simone Mainardi
4bbe36c957 Removes unused DNS-based categorization 2017-10-31 13:53:17 +01:00
Simone Mainardi
08b3a5410a Fixes table sort issues 2017-10-17 13:42:47 +02:00
Simone Mainardi
58256e12f3 Implements per-MAC host pool counters
Fixes #1511
Implements #1478
2017-10-13 12:42:21 +02:00
Simone Mainardi
f82bd67ed8 Fixes multiple packet dump issues
This commit fixes packet dump:
- file size control
- old files rotation control
- packets per dumped files
- etc.

Fixes also #1494
2017-10-02 17:42:39 +02:00
Simone Mainardi
9222fbd4b9 Changes custom interface names pattern
Fixes #1463
2017-09-27 12:15:58 +02:00
Simone Mainardi
fb0e7d1ac3 Fixes counters and reset buttons 2017-09-26 15:03:48 +02:00
Simone Mainardi
85098c864a Sub-interfaces and interface view fixes
Fixes #1461
2017-09-25 16:21:46 +02:00
Luca Deri
07bb923450 Fix for missing libcap-dev lib in README.compilation
Fixed bugs on ARP/ICMP sorting due to packet formatting
Added drops reset when an interface is just initialized
Fixed bug on RuntimePrefs hash get
2017-09-21 14:57:27 +02:00
emanuele-f
6975986944 Fixes blank cell 2017-09-20 00:29:53 +02:00
emanuele-f
d3292c1b7e Add a preference to specify what to show on the policy target column.
The new default is to only show categories.
Existing installations will have the preference set to both.
All the user defined protocols and categories are shown regardless of the preference (as not-editable fields in case).
2017-09-20 00:02:08 +02:00
Simone Mainardi
3f8375fa0a Implements interface protocol category view
Implements #1450
2017-09-19 17:57:39 +02:00
emanuele-f
1345196ba2 Only show the categories as policy targets
Single protocols are still supported internally.
A "Delete all Policies" button has been added to help the user flush all the rules quickly, including per-protocol rules.
2017-09-19 17:07:36 +02:00
Luca Deri
61884558f5 Added method for reporting if a network interface supports traffic directions 2017-09-16 18:55:33 +02:00