Commit graph

338 commits

Author SHA1 Message Date
Alfredo Cardigliano
6d3ff8cf44 removed 'traffic recording' page (moving configuration to the interface page), moved storage configuration to prefs, listing only ntopng interfaces in recording_utils.getInterfaces 2018-10-11 12:14:40 +02:00
emanuele-f
aa1ead94c4 Add Customized Categories editor
Also unify the blacklist category handler to use the nDPI API
2018-10-10 18:41:47 +02:00
Simone Mainardi
b6606b8916 Fixes alerts preferences 2018-10-10 16:49:06 +02:00
Alfredo Cardigliano
e581059ca4 recording logs dialog in case of failures 2018-10-10 15:49:26 +02:00
Alfredo Cardigliano
5168d5dee6 badge to show the recording status instead of toggling buttons, reworked interface list 2018-10-10 12:32:02 +02:00
Alfredo Cardigliano
2aa70e470e n2diskctl support, setting license key, disabling storage settings if instances are running 2018-10-10 11:31:12 +02:00
Alfredo Cardigliano
a552d2e525 live buttons update based on n2disk status, n2disk start/stop saving recording preferences 2018-10-09 09:47:58 +02:00
Alfredo Cardigliano
cd412ab76b constraints for zc interfaces or interfaces not controlled by ntopng 2018-10-08 19:04:59 +02:00
Alfredo Cardigliano
f15e5fdbc7 added lua api ntop.listInterfaces, listing all interfaces in the traffic recording page and checking if they are in use and zc 2018-10-08 17:47:44 +02:00
Alfredo Cardigliano
132d2360ba added prefs.cpu_affinity, auto tuning the n2disk configuration 2018-10-08 12:42:41 +02:00
Alfredo Cardigliano
cf5255d231 traffic recording page: interfaces list, lint update, store configuration 2018-10-05 18:28:50 +02:00
Alfredo Cardigliano
09315e82c0 traffic recording configuration page draft (work in progress), added subpage_active parameter to prefsToggleButton to avoid global variables in module 2018-10-05 13:28:44 +02:00
Simone Mainardi
bc13f2f6e8 Fixes LIMITED_NUMBER_POOL_MEMBERS checks 2018-10-04 16:43:37 +02:00
Alfredo Cardigliano
cca39a9004 table sorting 2018-10-04 10:22:37 +02:00
Alfredo Cardigliano
96715d5860 added category column 2018-10-04 10:07:50 +02:00
Alfredo Cardigliano
129c1fabc1 filter device protocols by category 2018-10-03 22:49:17 +02:00
emanuele-f
457dcb3457 Implement Device Protocols Alerts 2018-10-02 22:35:00 +02:00
Alfredo Cardigliano
4653cbe44d reworked device presets:
- devices with no preset defined have a 'allow all' default policy
- users customizations to the preset are stored on redis (both 'allow' and 'drop' policies) as exceptions to the default preset
- default presets updates are allowed, however users customizations have priority (per protocol)
2018-10-01 18:15:18 +02:00
Alfredo Cardigliano
9f77e758f0 using 'unknown' presets as default, added also 'unknown' to the editor 2018-09-29 10:44:35 +02:00
Alfredo Cardigliano
605ca651cc moved device protocols code to community 2018-09-29 09:53:25 +02:00
emanuele-f
7d965bbdb9 Fix manage pools page js errors with non english locales 2018-09-25 17:34:36 +02:00
Luca Deri
bc79a6f41e Fix to remove toggle buttons exceeding the max value
Fix to remove comma on Lua (non JIT)
Minor cleanup
2018-09-22 09:05:40 +02:00
emanuele-f
4e15000d26 Enforce 5 seconds housekeeping when high resolution timeseries are used
Fixes #2009
2018-09-12 18:46:42 +02:00
Simone Mainardi
a809933ebd Adds configurable tiny aggregated flows
Implements #1989
2018-09-10 16:53:54 +02:00
Simone Mainardi
bd27304c54 Implements data cleanup for inactive interfaces
Implements #1971
2018-09-07 15:55:14 +02:00
Simone Mainardi
a86239fac3 Adds optional JSON syslog alert format 2018-09-06 17:23:56 +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
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
Simone Mainardi
2639ba1b3f Fixes nEdge influxdb name
Fixes #1939
2018-08-28 10:51:06 +02:00
emanuele-f
8a7ead5924 Harden HTTP session checks and remove user cookie 2018-08-21 18:16:54 +02:00
emanuele-f
df6bff9fbb Localization 2018-08-17 18:02:36 +02:00
emanuele-f
d4ea15619f Add support for InfluxDB authentication 2018-08-13 14:36:06 +02:00
Luca Deri
5c635ef87f Added preference (Logging sub-menu) to create a trace log (ntopng.log) instead of using syslog 2018-08-11 13:42:13 +02:00
emanuele-f
b0c2278897 Fix unnecessary influxDB re-init 2018-08-10 18:54:30 +02:00
emanuele-f
03f3705bd4 Fix influxdb preference not hidden 2018-08-03 17:02:37 +02:00
emanuele-f
1af40bd42f Improve InfluxDB support
- Automatically create the database at startup
- Add database name option
- Add maximum retention time option
- Check InfluxDB version
2018-08-03 16:32:06 +02:00
emanuele-f
af1fc50ce6 Add preference to select the timeseries database to use 2018-07-30 12:53:55 +02:00
Simone Mainardi
13ac7ca38c Adds log for host pool events 2018-07-30 11:44:28 +02:00
Simone Mainardi
a131b99033 Fixes invalid LDAP fields length 2018-07-26 15:54:13 +02:00
Simone Mainardi
3eeb37c3f0 Fixes invalid login page encoding 2018-07-25 18:15:04 +02:00
Simone Mainardi
25588290eb Implements crypto miners alerts toggle
Implements #1826
2018-07-20 13:15:06 +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
eae1ec0d06 Fixes set of alias/manuf for networks
Fixes #1805
2018-07-16 17:45:12 +02:00
emanuele-f
0472cc6698 Fix slack channels not hidden 2018-07-12 20:46:12 +02:00
emanuele-f
4729bf0a6c Fix missing alert and flow information in nEdge 2018-07-10 11:41:46 +02:00
emanuele-f
25a1a961c2 Implement configurable slack channel names 2018-07-09 19:19:24 +02:00
emanuele-f
2bd7028cc4 Add Slack test button 2018-07-09 10:49:17 +02:00
Simone Mainardi
b980a1808f Implements web UI ACL 2018-06-22 19:31:02 +02:00
Simone Mainardi
3dadc3bb78 Adds web UI ACL conf (WIP) 2018-06-21 18:23:32 +02:00
Simone Mainardi
3c5263d64b Grafana uses _POST payload 2018-06-16 14:51:51 +02:00