Commit graph

107 commits

Author SHA1 Message Date
emanuele-f
1fd65ac44c Flow user scripts enhancements
- Add title label in hash table utilization gauges
- List Hash Tables charts and Periodic Activities charts in a single page
- Replace Periodic Activities max duration column with time utilization percentage
- Add api to add a straight line in the charts
- Show max duration time as a straight line in Periodic Activities charts
- Move dropped flow calls charts to the Peridic Activities page
- Fix expert view number of calls 0
- Fix interface/host/network trigger alert label
- Move chart icon to separate column in redis and influxdb pages
- Fix interface menu selection in Hash Tables and Periodic Activities
- Highlight issues with a warning triangle in Hash Tables and Periodic Activities
- Fix some page navigation issues with extra_params
- Fix wrong schema graph options passed to nv_graph_utils
2019-11-20 20:09:45 +01:00
emanuele-f
bee1efdded Move callbacks scripts into separate tab 2019-10-04 10:48:13 +02:00
emanuele-f
3a3e4c6880 Properly handle alert filters dropdowns
Closes #2778
2019-08-22 15:13:54 +02:00
emanuele-f
1032af0d8f Add network engage_alerts timeseries 2019-08-21 17:07:58 +02:00
emanuele-f
988e3eaab6 Move alerts configuration under the triangle icon 2019-07-26 10:59:38 +02:00
Simone Mainardi
5270d09490 Allows alerts to be configured on view interfaces 2019-07-19 12:43:31 +02:00
emanuele-f
737295bd93 Fix missing network entity link 2019-07-10 14:50:25 +02:00
Simone Mainardi
7997a73590 Implements charts for AS OOO/Drops/Retransmissions 2019-05-21 18:48:49 +02:00
Simone Mainardi
c257e5639d Indentation cleanup 2019-05-21 18:05:46 +02:00
Simone Mainardi
1b29a5c555 Implements charts for Network OOO/Drops/Retransmissions 2019-05-21 18:04:20 +02:00
emanuele-f
54becd3b22 Add local networks alias configuration
Closes #2476
2019-03-25 16:50:48 +01:00
Simone Mainardi
e274ad258b Minor host/interface/network reports fix 2018-12-24 11:35:51 +01:00
Simone Mainardi
590215ac35 Adds host/interface/network reports to nEdge 2018-12-24 10:25:05 +01:00
emanuele-f
ec5b209ffa Add missing active_page 2018-12-12 10:18:21 +01:00
Alfredo Cardigliano
6d7de7bd57 Moved header for all pages to page_utils 2018-11-29 18:10:18 +01:00
emanuele-f
15269ed5cf Hide traffic report on InfluxDB as it's currently not available 2018-09-06 09:57:39 +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
Luca Deri
f0c936c368 Updated (C) to 2018 2018-03-22 21:59:42 +01:00
emanuele-f
24ed4ac212 Hide elements and reorganize menu in nEdge 2018-01-23 15:28:36 +01:00
emanuele-f
6635d1a716 Rework top-talkers to improve performance and clean code 2017-11-28 18:00:30 +01:00
emanuele-f
346627eb74 Migrate network alerts to in-memory alerts 2017-11-16 15:23:43 +01:00
emanuele-f
7048604404 Implement app search in applications page 2017-11-15 17:34:24 +01:00
Simone Mainardi
a22022bb30 Reworks alerts to prevent local hosts I/O 2017-11-01 23:04:33 +01:00
emanuele-f
6b8dbf59cc Make alert entity_type always explicit and rework alert_utils 2017-06-09 14:31:22 +02:00
TakayukiOnodera
5bc19a7249 Localize network_details and hosts_stats pages (#1244) 2017-05-17 10:12:39 +02:00
emanuele-f
83f18227f7 Threshold configuration page improvements 2017-05-08 20:55:52 +02:00
emanuele-f
1c38df48c9 Unify character encoding header code 2017-05-04 17:12:06 +02:00
Emanuele Faranda
8b8974e56c Alerts improvements (#1204)
* Implement flow flood alert

* Remove alerts general settings

* Implement global threshold alerts for hosts, networks and interfaces

* Implement global anomaly alert configuration, lua side

* Make the global thresholds not bound to the interface

* Implement global anomaly alert configuration, C side

* Make the engaged alerts cache per interface to avoid conflics
2017-04-29 12:19:49 +02:00
emanuele-f
ff1568a4ef Rename graph_zoom parameter still in use 2017-02-20 15:08:18 +01:00
emanuele-f
5995ab536a Unify alert configuration code and place settings under alert icon 2017-02-13 21:17:59 +01:00
Emanuele Faranda
afdfac1c9c Lua scripts parameters validation (#970)
* partial work

* Migrate 'mode' parameters

* Migrate alerts types

* Fix some interface ids

* Partial work

* Partial work

* End of work for _GET parameters

* Work in progress

* Add support for special parameters

* Preferences validation

* Fixes and improvements

* Enforce interger validation
2017-02-08 12:25:35 +01:00
emanuele-f
096db1085d Hide alerts link where alerts are disabled 2017-01-26 11:04:44 +01:00
emanuele-f
397d525d85 Use POST requests when required 2017-01-14 20:31:01 +01:00
Luca
30e1a75f98 (C) update 2017-01-10 15:03:16 -08:00
emanuele-f
7dfda54934 Add total host activity 2016-12-28 12:14:28 +01:00
emanuele-f
5d8723ba0c Unify alerts settings code 2016-12-03 00:56:39 +01:00
emanuele-f
f0fcd0a2c3 re_arm alerts globally 2016-12-02 15:56:24 +01:00
Luca
bbfcc42994 Reworked locales and menu 2016-11-17 19:38:41 +01:00
emanuele-f
1e8ca3041e Integrate traffic report for enterprise edition 2016-11-08 17:10:44 +01:00
Simone Mainardi
88e1357294 Adds wrenches to tha alert configs 2016-10-09 15:40:57 +02:00
Simone Mainardi
c3be02485f Handles refreshes of user-configured network alerts 2016-09-02 15:18:42 +02:00
Luca Deri
a3d36634e3 Code cleanup 2016-08-10 15:53:39 +02:00
Simone Mainardi
431b0d96ed Implements a function to obtain suppressed alerts redis keys 2016-08-09 19:17:42 +02:00
Simone Mainardi
85c5beb545 Implements alerts on a per-interface per-vlan basis
Interfaces were handled globally before this commit. Now
alerts can be configured per-interface. So for example alerts
for the same host 193.168.2.1 can be handled differently on multiple interfaces.

Old alerts configured should be automatically migrated thanks to script startup.lua

This commits also paves the way to introduce stateful alerts in the professional version
2016-07-27 22:10:17 +02:00
Luca
2fb0e863fe Fixed inter-arrival time in flows
Updated (C)
2016-04-19 11:06:39 +02:00
Simone Mainardi
6ce3ae37ee Fixes an 'expected string, got nil'
Fixes
[Lua.cpp:76] ERROR: ntop_get_file_dir_exists : expected string, got nil
2016-03-21 20:41:16 +01:00
Simone Mainardi
36bcfa16a1 Notifies nagios for non-configured alerts 2016-01-06 16:34:53 +01:00
Simone Mainardi
8b01d5b2c3 Adds nagios alert deactivation notifications
Nagios services are notified when ntopng
alerts are deactivated
2015-12-20 16:19:15 +01:00
Simone Mainardi
d0b580f934 Adds Re-Arm Time for Alerts
A re-arm period is added to alarms so that
back-to-back alarms can be silenced.
2015-12-18 19:59:03 +01:00
Simone Mainardi
2dae1dc8a8 Adds TODOs for network-based flood detection 2015-12-12 15:11:25 +01:00