Commit graph

565 commits

Author SHA1 Message Date
emanuele-f
15269ed5cf Hide traffic report on InfluxDB as it's currently not available 2018-09-06 09:57:39 +02:00
Simone Mainardi
8a055b39c5 Implements a lua endpoint to send alerts to syslog
Implements #1973
Implements #1954
2018-09-05 15:26:57 +02:00
Simone Mainardi
0e258ce831 Implements flag for interfaces with mirrored traffic
Implements #1917
2018-08-28 18:27:53 +02:00
Simone Mainardi
8ca0bcc71a Factorization of live traffic download code 2018-08-10 19:14:39 +02:00
emanuele-f
019665c111 Fix interface timeseries being written even if the preference is disabled 2018-08-10 18:54:30 +02:00
Simone Mainardi
3088773f7a Localizes pcap download 2018-08-10 16:54:14 +02:00
Simone Mainardi
30c1602802 Prevents CSRF attacks on pcap downloads 2018-08-10 16:34:12 +02:00
Luca Deri
5f77b18c80 Added ability to set live pcap duration and optional BPF filter 2018-08-08 16:33:37 +02:00
emanuele-f
9ef9dc9891 Add active flows vs interface traffic chart 2018-08-07 17:45:42 +02:00
emanuele-f
102a458ec1 Implement active flows vs local hosts chart 2018-08-07 17:45:41 +02:00
Simone Mainardi
f7fdc40c72 Major nEdge code cleanup 2018-08-06 17:54:25 +02:00
Simone Mainardi
3f74c30094 Fixes number expected got string error 2018-08-04 16:04:04 +02:00
Luca Deri
5d900bdf9b Added conntrack stats to if_stats.lua
Added checks to avoid un-necessary flow last seen updates
2018-08-04 09:58:09 +02:00
emanuele-f
7afba4cfd1 Add chart zoom note 2018-08-03 12:40:53 +02:00
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