Commit graph

270 commits

Author SHA1 Message Date
Simone Mainardi
df45cac64f Implements SNMP devices iterator
The iterator has the ability to stop when there is
an ntopng shutdown in progress
2018-09-12 20:01:19 +02:00
Simone Mainardi
6d50076bec Dumps changed preference at most every minute
Fixes #1993
2018-09-07 16:46:28 +02:00
emanuele-f
cfc345709d Implement high resolution interface timeseries 2018-09-04 12:57:18 +02:00
emanuele-f
a594e648c4 Generalize high resolution timeseries
In InfluxDB, 5 minutes timeseries are now written with a minimum of 1 minute resolution
2018-09-03 14:43:52 +02:00
emanuele-f
0004e08191 Add experimental support for 5sec granularity for host timeseries
To enable it (only on *InfluxDB* right now):

- uncomment HOST_NUM_TIMESERIES_POINTS in ntop_defines.h
- run `redis-cli set ntopng.prefs.30_sec_dump 1` and restart ntopng
2018-08-23 18:10:46 +02:00
emanuele-f
354dd697c0 Add max value checks for traffic and packets metrics 2018-08-20 16:19:01 +02:00
emanuele-f
6ba093872f Fix multiple alignment issues with timeseries 2018-08-16 17:06:38 +02:00
emanuele-f
019665c111 Fix interface timeseries being written even if the preference is disabled 2018-08-10 18:54:30 +02:00
emanuele-f
b2107b6f36 Move influxdb data export into driver api 2018-08-10 18:54:30 +02:00
Simone Mainardi
d12a4d3009 Creates utility functions to handle restart after anomalous termination 2018-08-01 18:11: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
5d50622341 Use schema name in timeseries API 2018-06-27 17:18:23 +02:00
Simone Mainardi
67f7cdb47e Implements Netfilter queue flush alerts 2018-06-15 16:23:05 +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
bbfb40cc9f Add user members management page in nedge 2018-06-06 20:11:47 +02:00
emanuele-f
8c104817a1 Optimize timeseries schemas 2018-06-01 11:16:57 +02:00
Luca Deri
f1b50009f6 Added PERIODIC_DEBUG for debugging purposes 2018-05-29 08:11:22 +02:00
emanuele-f
42083f1865 Rework influxdb exporter 2018-05-25 13:52:06 +02:00
emanuele-f
cb56b5d5ec Implement layer above RRD for timeseries storage 2018-05-25 10:04:18 +02:00
Simone Mainardi
1e40769cc3 Adds caching of SNMP devices interfaces status 2018-05-21 16:57:38 +02:00
Simone Mainardi
6390a4f259 Removes unnecessary snmp_check_device_status function call 2018-05-16 12:09:10 +02:00
Simone Mainardi
9dd2ae14a8 Implements SNMP iterfaces status change alerts 2018-05-15 15:19:09 +02:00
emanuele-f
89d203883f Add support for custom categories lists
- Extend malware hosts from list
- Read web mining hosts from list and generate alerts
2018-05-10 17:12:53 +02:00
Simone Mainardi
2ca1bbe84b Makes SNMP system and printer caching non-periodic 2018-05-10 15:21:53 +02:00
Simone Mainardi
1a6a87220c Fixes SNMP printer polling 2018-05-07 18:18:48 +02:00
Simone Mainardi
9931a0d3c7 Adds periodic caching of SNMP bridge mib 2018-04-29 10:27:40 +02:00
Simone Mainardi
905818770f Adds periodic SNMP walk caching 2018-04-27 16:43:11 +02:00
Luca Deri
5b4017ff49 Minor change 2018-04-25 15:37:18 +02:00
Luca Deri
c7ef8d0c46 Various SNMP improvemenets
Moved to LuaJIT 2.1.0 updated to the latest git
2018-04-25 14:20:23 +02:00
emanuele-f
e3611077a7 Fix attempt to call global 'hasAlertsDisabled' (a nil value) in shutdown.lua 2018-04-18 20:04:34 +02:00
Luca
250532f2b8 Disabled un-necessary tsFlush 2018-04-17 17:43:23 +02:00
Luca
c6faed3615 Removed unnecessary statement from second.lua
Minor code cleanup
2018-04-17 17:30:36 +02:00
Simone Mainardi
21e3705629 Moves discovery messages to INFO 2018-04-16 16:18:25 +02:00
Simone Mainardi
c4123d33d8 Reworks discovery activities 2018-04-16 16:05:49 +02:00
Luca Deri
98972eea4e Optimisation 2018-04-14 18:04:40 +02:00
Luca Deri
3d1641e2b9 Fixes double startup event 2018-04-13 18:23:32 +02:00
Luca Deri
00004494bf Reworked alarms
Added informative message at ntopng startup/shutdown
2018-04-13 17:19:58 +02:00
emanuele-f
23d7a2676a Rework alerts export to provide more endpoint control 2018-04-12 18:10:45 +02:00
emanuele-f
e0a2aa8088 Fix alert notification periodicity 2018-04-10 16:39:24 +02:00
emanuele-f
6c98de951e Move all the alerts exporters to batched export api 2018-04-10 15:49:29 +02:00
emanuele-f
d4bbeb10a2 Generalize alerts external report 2018-03-30 20:36:05 +02:00
emanuele-f
8f27bf8f47 Implement SNMP alerts on port status change 2018-03-29 23:00:43 +02:00
Luca Deri
b8a870b631 Experimental TS code 2018-03-24 11:37:04 +01:00
Luca Deri
f0c936c368 Updated (C) to 2018 2018-03-22 21:59:42 +01:00
Luca
eee3ba9e5c Implemented IP/MAC change alerts #1092 2018-03-21 23:24:14 +01:00
Simone Mainardi
54632361c4 Only loads bridge conf utils in nEDGE 2018-03-15 16:38:21 +01:00
Simone Mainardi
501192ff1f Adapts http bridge conf to the new nEDGE 2018-03-15 16:12:21 +01:00
emanuele-f
60f3753e12 Fix network discovery on nedge 2018-03-08 17:28:02 +01:00
emanuele-f
66b024c21d Generate alerts when a quota is exceeded 2018-02-23 15:29:28 +01:00