Commit graph

56 commits

Author SHA1 Message Date
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
6a13837ff6 Fix manage pools page not changing pool details 2018-05-18 12:29:03 +02:00
Luca Deri
f0c936c368 Updated (C) to 2018 2018-03-22 21:59:42 +01:00
emanuele-f
3e4c50f8ec Fix possible null ifid 2018-01-26 16:20:23 +01:00
emanuele-f
4cd147da67 Fix pools view button 2017-12-06 10:02:31 +01:00
emanuele-f
1c826e480c Fix host pool members address not editable 2017-11-01 16:46:49 +01:00
Simone Mainardi
4bbe36c957 Removes unused DNS-based categorization 2017-10-31 13:53:17 +01:00
Simone Mainardi
a67205af77 Implements per-host traffic shapers 2017-10-23 15:01:34 +02:00
emanuele-f
1f87acbe3a Impose a case convention to the pool members to prevent multiple pool assignment of the same mac/ip 2017-08-16 20:44:25 +02:00
emanuele-f
8b92590287 Make the user defined device type a preference and fix host pool member icon assignment 2017-08-16 18:18:02 +02:00
emanuele-f
6cdcc0ffac Unify host and mac device types
Now the device type is a layer-2 concept and as such is stored into the Mac objects
2017-08-16 18:18:02 +02:00
emanuele-f
218933ad2a Fix inline interface check on netfilter interfaces 2017-08-05 18:31:17 +02:00
emanuele-f
7f20e8f839 Make manage pools page paginatedy 2017-06-21 13:48:19 +02:00
emanuele-f
2a4d7e0e1d Add pool graphs links in other pages, hide if disabled from preferences 2017-06-05 19:13:53 +02:00
emanuele-f
9226878dd3 Explain the per-member quotas option 2017-06-05 18:43:44 +02:00
emanuele-f
c6063a4ca3 Compilation fix 2017-05-31 19:12:49 +02:00
emanuele-f
ee03ae818e Add gui host pools limits by version 2017-05-31 15:47:08 +02:00
emanuele-f
b2e09822ad Move unassigned devices to the host pools page and allow to filter active/inactive devices 2017-05-26 20:59:42 +02:00
emanuele-f
f740a81c40 Rework host pools parameters to avoid truncating POST data 2017-05-25 16:00:38 +02:00
emanuele-f
9d87125e4f Add left-over files 2017-05-23 23:26:25 +02:00
emanuele-f
a97fd53a6f Add change pool action in pool members view 2017-05-22 19:47:03 +02:00
emanuele-f
c643b40782 Avoid setting the manufacturer as the MAC alias 2017-05-22 13:01:23 +02:00
emanuele-f
4bc96c935a Host pools improvements
- Traffic Policy: get first available pool, not the "Not Assigned"
- Allow to change MAC address host pool from the MAC page
- When changing an IP address pool from the host page, change MAC address instead, if available
- Show the MAC manufacturer in the host pool memebers page and allow to set a filter with it
2017-05-22 12:47:10 +02:00
emanuele-f
01ef3f0782 Ui improvements 2017-05-18 19:36:26 +02:00
emanuele-f
2d1a0a518d Little fixes 2017-05-16 14:46:45 +02:00
emanuele-f
8434061fa5 Fix captive portal preference disabled when non-bridged interface is selected 2017-05-15 20:58:00 +02:00
emanuele-f
19c2aa8d4d Bridge wizard gui implementation 2017-05-12 01:06:46 +02:00
Simone Mainardi
b5e685f243 Implements per pool member quotas 2017-05-09 15:07:53 +02:00
emanuele-f
83f18227f7 Threshold configuration page improvements 2017-05-08 20:55:52 +02:00
emanuele-f
f137f14ee5 Reload host pools when a new pool is added or configuration is changed 2017-05-01 16:02:32 +02:00
emanuele-f
bf803803da Hide children safe for non-inline interfaces 2017-04-28 11:08:41 +02:00
emanuele-f
f344f55116 Add children safe host pool option 2017-04-27 16:24:28 +02:00
Emanuele Faranda
1fbbe86e39 Prevent assigning a network to the multiple Host Pools (#1150)
* Prevent assigning a network to the multiple Host Pools

* Simplify host pool search interface

* Fix for MAC addresses bugs and add user notifications

* Fix issues caused by the use of non normalized network keys

* Changes a warning message
2017-04-14 12:17:16 +02:00
emanuele-f
e32e7aa0a9 Fix automatic form submit in host pool member search 2017-04-12 20:29:13 +02:00
emanuele-f
42904dd034 Implement HostPool time and bytes quota limit in inline mode 2017-03-29 19:42:31 +02:00
Luca Deri
58096fda56 Minor cosmetic changes 2017-03-19 21:44:58 +01:00
Josh Soref
78e78c018c Fixes spellings and typos
Thank goes to
Josh Soref <jsoref@users.noreply.github.com>
2017-03-06 17:54:48 +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
Simone Mainardi
044c822a76 Minor cosmetic changes 2017-02-01 19:44:25 +01:00
emanuele-f
62899d4385 Add button to empty an host pool 2017-02-01 11:18:59 +01:00
emanuele-f
118da00425 Move Host Pools to interface page 2017-01-31 20:16:10 +01:00
emanuele-f
195eaa6e5f Add GUI support for volatile members 2017-01-31 20:16:10 +01:00
emanuele-f
fee9b94d8e Add link to Traffic Policing page 2017-01-31 20:16:10 +01:00
emanuele-f
688835fcf7 Show member filter remove button 2017-01-31 20:16:10 +01:00
emanuele-f
c1b6e53ce4 Add search host pool member field 2017-01-31 20:16:10 +01:00
emanuele-f
32ab9e8769 Delete RRDs when an host pool is deleted 2017-01-31 20:16:10 +01:00
Emanuele Faranda
2a843966da Add alias and device type columns to host pools (#953)
* Add alias and device type columns to host pools

* Add host pool members links when available

* Add host pool links

* Implement host pool members pagination

* Host Pools GUI fixes and improvements

* Remove hardcoded columns number

* Host Pools GUI fixes

* Remove debug print
2017-01-27 17:48:58 +01:00
emanuele-f
0db8abd83e Host Pools UI changes
- Do now show the "Not Assigned" group in user pool dropdown
- Show an alert message when creating a Captive Portal user and no pools are defined
- Improve unique member validator to account missing network prefixes
- Prevent deleting an Host Group when a captive portal user is defined on it
2017-01-20 13:28:24 +01:00
emanuele-f
04c72b2038 UI improvements and fixes
- Show confirmation alert when trying to delete some item
- Disable VLAN field for mac addresses in Host Pools and handle accordingly
- Remove Host Pool id column
- Remove Full Name user field minimum length restriction
- Other fixes
2017-01-19 18:33:25 +01:00