Commit graph

200 commits

Author SHA1 Message Date
emanuele-f
f3497eb37c Graphs improvements
- Show begin and end time in the graph info table
- Show "Custom" zoom resolution when zoom is active and make it clickable to jump to it later
- Hide past time comparison series by default if too high
2018-08-17 15:00:42 +02:00
emanuele-f
1d1827a5d8 Fix timeseries exist check 2018-08-10 18:54:30 +02:00
emanuele-f
95a4722878 Chart improvements
- Remove trend in top senders/receivers
- Fix top senders/receivers step
- Show second axis in custom charts
- Avoid hiding series when second axis is show
2018-08-10 18:54:30 +02:00
emanuele-f
102a458ec1 Implement active flows vs local hosts chart 2018-08-07 17:45:41 +02:00
emanuele-f
1e241b8d23 Chart improvements
- Better position for zoom out button
- Add 30min and 5min buttons
- Fix chart y label size
2018-08-06 13:14:15 +02:00
emanuele-f
0c602928be Improve charts data intervals 2018-08-02 16:34:52 +02:00
emanuele-f
78d349c79a Guard against ts_utils.listSeries nil return value
Fixes #1891
2018-07-30 09:16:40 +02:00
emanuele-f
8c5b4e4ae7 Fix report error at startup 2018-07-30 09:14:20 +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
emanuele-f
98a5a6d527 Fix average calculation in top charts 2018-06-27 20:47:19 +02:00
emanuele-f
bd0eee177d Fix chart issues
- Fix top senders/receivers calculation
- Fix top SNMP interfaces calculation
- Add "Other" serie to represent non-top SNMP interfaces traffic
- Fix average traffic calculation in top charts
2018-06-27 11:56:34 +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
Luca Deri
203404df5b Added changes to seamlessly use LuaJIT (default) or the standard (non JIT) Lua 2018-06-12 23:05:30 +02:00
emanuele-f
70ed527be5 Remove unused functions 2018-06-05 11:00:15 +02:00
emanuele-f
2f89d21b36 Remove lua_utils dependency from timeseries 2018-06-01 10:41:54 +02:00
emanuele-f
cb56b5d5ec Implement layer above RRD for timeseries storage 2018-05-25 10:04:18 +02:00
Simone Mainardi
af907b61af Implements hierarchical AS RRDs directory tree 2018-05-17 11:28:09 +02:00
Luca Deri
f0c936c368 Updated (C) to 2018 2018-03-22 21:59:42 +01:00
emanuele-f
81d81c0a99 Extend charts locazation 2018-03-19 15:50:45 +01:00
emanuele-f
4767789b1a Implement country charts for inner, egress and ingress traffic 2018-03-15 18:35:51 +01:00
Simone Mainardi
802dabfb32 Implements AS RTT calc. 2018-02-13 11:15:29 +01:00
Simone Mainardi
3ef543fecd Implements per-AS nw latency stats rrds 2018-02-05 18:32:13 +01:00
emanuele-f
3e4c50f8ec Fix possible null ifid 2018-01-26 16:20:23 +01:00
emanuele-f
24ed4ac212 Hide elements and reorganize menu in nEdge 2018-01-23 15:28:36 +01:00
Simone Mainardi
10c800767d Adjusts hosts pool labels for the nEDGE 2018-01-17 15:28:26 +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
011fc172d0 Implements host pools blocked flows stats 2017-12-15 18:17:47 +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
83d09b89b2 Fixes wrong RRD heartbeat 2017-11-30 11:14:40 +01:00
emanuele-f
6635d1a716 Rework top-talkers to improve performance and clean code 2017-11-28 18:00:30 +01:00
Simone Mainardi
6e3cb6324f Optimizes second.lua callback 2017-11-22 13:11:11 +01:00
emanuele-f
7a62ae009b Fix interface, macs, hosts configuration pages consinstency 2017-11-15 17:34:24 +01:00
emanuele-f
339cc6b4f8 Fix chart series holding different points 2017-11-13 17:45:51 +01:00
emanuele-f
87c3776570 Fix graph points being shifted right in time 2017-11-13 16:51:46 +01:00
Luca Deri
d1dad57ff4 Minor non-zero point check in graphs 2017-11-13 00:48:10 +01:00
Luca Deri
740a58f9d7 Fixed 95th percentile calculation
Added average value in leu of min value (in pro version)
2017-11-13 00:23:07 +01:00
emanuele-f
12c622b96a Fix old graphs data update 2017-11-10 18:40:01 +01:00
Luca
044fe19677 Reworked nSeries support
Added patch for avoiding #1545
2017-11-09 23:55:52 +00:00
emanuele-f
0a064fe4da Fix invalid ds name 2017-11-08 16:49:49 +01:00
Luca Deri
da2bee8623 Timeseries update 2017-11-02 23:28:50 +01:00
Luca Deri
1a0e832df3 initial nSeries changes 2017-11-02 19:49:08 +01:00
Luca Deri
affe55628c Modified timeseries label 2017-11-01 14:36:57 +01:00
Luca Deri
a21e7eeb9f Fixed invalid parameter in rrd_update call 2017-11-01 14:24:59 +01:00
Simone Mainardi
ed008cbd55 Removes unused stub lua file 2017-10-31 14:04:54 +01:00
Simone Mainardi
68a76043b6 Fixes touchRRD after timeseries rework 2017-10-31 12:20:54 +01:00
Luca Deri
1d26f4a36b Reworked timeseries experimental code (work in progress) 2017-10-31 00:44:35 +01:00