Commit graph

40 commits

Author SHA1 Message Date
Alfredo Cardigliano
c6cf8e418e Add timeseries for host and interface DSCP classes 2020-07-21 10:08:08 +02:00
Simone Mainardi
b8eabac4ba Adds timeseries of database dumped/dropped flows 2020-06-25 15:11:46 +02:00
Simone Mainardi
1a2a3b72e4 Prevents writing ts stats for certain periodic activities
Fixes #3534
2020-03-12 14:57:24 +01:00
Simone Mainardi
3405b7184e Writes new_flow timeseries every minute (not every second)
Implements #3456
2020-02-28 15:35:16 +01:00
Simone Mainardi
d41c0104d3 Generalizes rrd stats into timeseries stats 2020-02-27 19:11:44 +01:00
emanuele-f
a6dab125d5 Improve dropped alerts information
- Add informative label
- Add dropped alerts timeseries and chart
- Generate a system alert whenever alerts are dropped on a network interface
- Add a periodic activity warning when some alerts are dropped on that activity

Closes #3025
2020-02-26 16:05:19 +01:00
Simone Mainardi
d5fab4169c Marks certain interface minute timeseries as critical 2020-02-26 14:17:44 +01:00
Simone Mainardi
1840de69bf Implements total counters for RRD writes and dropped points 2020-02-24 23:38:34 +01:00
Simone Mainardi
a2237266ee Adds total rrd writes and drops to periodic scripts timeseries 2020-02-24 12:54:43 +01:00
emanuele-f
1a6d170188 Add slow_rrd warning and set interface ts as critical 2020-02-21 10:44:24 +01:00
emanuele-f
8d51dae0e5 Implement Misbehaving vs Alerted flows chart 2020-01-27 15:37:36 +01:00
Luca Deri
170bc60f19 Updated (C) 2020-01-08 23:52:51 +01:00
emanuele-f
a3432e00e8 Implement ntopng plugins
Plugins are a convenient way to group together related lua scripts.
Their primary use case is to group user scripts and their alert/status
definition.
The builtin ntopng user scripts and definitions are now
packed into plugins directories. In future, we will support loading of
user created plugins.
Plugins are loaded at startup into some runtime directories and then
used. Other changes provided by this commit include:

- Add sample flow logger plugin
- Initial support for system user scripts
- Rename edge to threshold
- Migrate system probes to user scripts/plugins
- Migrate scripts to more explicit alerts_api.checkThresholdAlert api
2019-12-10 09:25:57 +01:00
Simone Mainardi
49ddb55620 Adds interface TCP keepalive packets 2019-11-25 16:02:04 +01:00
emanuele-f
c8a13abcf7 RRD path fix 2019-11-21 11:46:06 +01:00
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
Alfredo Cardigliano
d2b7cea9c8 Keeping track of resident memory only (fix #3040) 2019-11-15 09:42:08 +01:00
emanuele-f
33949d31fd Rework benchmark stats and charts 2019-10-31 17:48:53 +01:00
Simone Mainardi
dc748b1b6d Implements stats for periodic scripts duration 2019-10-28 17:10:03 +01:00
Alfredo Cardigliano
b42989154c Drawing active items in addition to idle in the internals chart 2019-10-25 12:14:53 +02:00
Simone Mainardi
955eed4b50 Reworks idling and purging of hash table entries to make it faster 2019-10-24 15:48:18 +02:00
Simone Mainardi
60e657c0d2 Makes hash table state counters as gauges 2019-10-23 14:25:12 +02:00
Simone Mainardi
15e17a801a Implements per-state hash entry counters and writes them to ts 2019-10-23 13:09:02 +02:00
emanuele-f
1032af0d8f Add network engage_alerts timeseries 2019-08-21 17:07:58 +02:00
emanuele-f
69cd896a9f Implement engaged alerts and flow alerts timeseries 2019-08-21 16:57:14 +02:00
emanuele-f
a3e1744353 Fix system interface timeseries cleanup 2019-07-05 16:26:33 +02:00
emanuele-f
c506ef6aeb Implement L7 num flows charts 2019-06-27 10:00:14 +02:00
emanuele-f
89f6544524 Implement interface L4 stats 2019-05-22 20:11:06 +02:00
Simone Mainardi
1b29a5c555 Implements charts for Network OOO/Drops/Retransmissions 2019-05-21 18:04:20 +02:00
emanuele-f
6ea942715b Add pod/containers timeseries export 2019-04-24 19:18:41 +02:00
emanuele-f
8977ac81f6 Add ntopng process memory chart 2019-03-05 13:59:38 +01:00
Simone Mainardi
98cb560083 Code cleanup
This reverts commit 59ae914b62.
2019-02-22 15:42:29 +01:00
Luca Deri
59ae914b62 Added sample custom timeseries files 2019-02-22 12:47:42 +01:00
emanuele-f
102a458ec1 Implement active flows vs local hosts chart 2018-08-07 17:45:41 +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
emanuele-f
5d50622341 Use schema name in timeseries API 2018-06-27 17:18:23 +02:00
emanuele-f
84c32d499b Implement experimental timeseries query API 2018-06-26 12:07:09 +02:00
Simone Mainardi
7c6e5868b8 Simplifies Netfilter drops handling 2018-06-15 19:26:30 +02:00
Simone Mainardi
c382fd4631 Adds nEdge netfilter stats rrds 2018-06-15 00:34:26 +02:00
emanuele-f
8c104817a1 Optimize timeseries schemas 2018-06-01 11:16:57 +02:00