Commit graph

911 commits

Author SHA1 Message Date
Simone Mainardi
fc71a61cf4 Prevents the automatic reload of page when browsing historical data 2016-02-18 18:05:07 +01:00
Simone Mainardi
9cf2676754 Improves the precision of ranges for flow selection 2016-02-17 20:13:00 +01:00
Simone Mainardi
75ec359e11 Changes icon and font for an info div 2016-02-16 22:05:18 +01:00
Simone Mainardi
e6a8396795 Fixes a minor bug in interface alert re-arm 2016-02-16 17:33:43 +01:00
Simone Mainardi
4cd1387155 Adds AJAX utilities to retrieve nBox pcap statues
Javascript functions that connect to an nBox have been added.
With these functions it is possible to asynchronously retrieve
pcap captures generated via nBox n2disk. Statuses are shown in
a tab available in Pro mode historical view.
2016-02-16 16:30:32 +01:00
Simone Mainardi
9d81e473b9 Adjusts the layout of the historical page
Tabs have been used to simplify page layout.
The main historical RRD chart is shown in the first, default tab.
Detailed flows data is reported in separate tabs when MySQL
flow export is enabled.
2016-02-16 15:49:00 +01:00
Simone Mainardi
d97d909fc1 Adds pcap download buttons for historical data
A pcap button that sends requests to a configured nBox
has been enabled below historical talkers.
2016-02-16 13:16:45 +01:00
Simone Mainardi
9e5c843abe Fixes a WARNING: ntop_lua_http_print(): Lua type 2 is not handled
An attempt to resolve the name of a nil value was causing the error.
2016-02-15 21:49:35 +01:00
Simone Mainardi
aa592508d3 Uniforms return values for Lua functions that query MySQL
Lua function that query MySQL return an empty lua table
not only in case of an empty record set, but also in case of error.
This prevents upstream iterations over nil values.
2016-02-15 21:48:50 +01:00
Luca
ce178a1127 Initial work towards counter trends 2016-02-13 00:07:03 +01:00
Simone Mainardi
5f4eee79a3 Implements L7 application statistics drill-down
L7 Statistics can be drilled-down starting at the interface
or at the host level.
2016-02-12 18:49:03 +01:00
Simone Mainardi
f155d62d1d Adds Breadcrumb Nav For historical Talkers Drill-Down
Historical talkers data can be navigated back and forth between
interface and host talkers, as well as applications per pair
of hosts
2016-02-11 15:29:19 +01:00
valentina
885e808bdf Added ldaps and admin group fields in ntopng preferences. 2016-02-10 23:36:20 +01:00
Simone Mainardi
fdb0d53fbb Enables the drill-down of pairwise host L7 applications 2016-02-09 21:12:47 +01:00
Simone Mainardi
9979d72707 Adds Flow Duration Computation in MySQL queries 2016-02-09 21:12:09 +01:00
Simone Mainardi
dc1b4abc2d Adds interface to host talkers drill-down (wip) 2016-02-09 19:54:52 +01:00
Luca Deri
fd21ffb718 Changed label 2016-02-09 10:33:09 +01:00
Simone Mainardi
08622e8f18 Implements MySQL Top Talkers Retrieval and Visualization
Overal Top Talkers are retrieved with just one single
MySQL query and include both ipv4 and ipv4. Top talkers
can be visualized on a per-interface and per-host basis,
and can be sliced and diced.
2016-02-08 21:35:27 +01:00
Simone Mainardi
ebe834ea15 Adds policy setup for custom netowrks in bridge mode (implements #372)
Traffic policies can now be setup for custom networks and not only
local networks.

Sanity checks on network CIDR and VLAN numbers have been introduced.

A minor bug that prevented per-host traffic policies to be populated has been fixed as well.
2016-02-07 17:27:42 +01:00
Simone Mainardi
e1e0e9cab0 Slices historical application data via MySQL
MySQL engine is leveraged to slice and order historical
data.
2016-02-07 14:32:46 +01:00
Simone Mainardi
25ee0d5c11 Implements Top Talkers and Top Applications In Time Range
Top Talkers and Top applications can be retrieved via MySQL
both interface-wide and per-host. A couple of tabs, namely
"Top Talkers" and "Top Applications" become available in the
historical page of interfaces and hosts. Upon focus of each
tab, an ajax request is triggered and data is fetched from MySQL.

TODO: interface wide top-talkers are retrieved from sqlite and
need to be moved to mysql.
2016-02-06 18:11:31 +01:00
Simone Mainardi
ebf1257979 Reformats top-talkers statistics for d3 dc 2016-02-05 15:30:49 +01:00
Simone Mainardi
7b2057eaec Improves JSON data retrieval for historical top talkers 2016-02-02 19:06:53 +01:00
Simone Mainardi
e8a3d43065 Handles errors when retrieving top talkers 2016-02-02 10:46:56 +01:00
Simone Mainardi
418f48e714 Adds JSON endpoints to retrieve top talkers data 2016-02-01 22:14:28 +01:00
valentina
18e301f3ef Added support ldap configuration 2016-01-29 14:46:36 +01:00
Luca
3bea0a7bfc Fxi for #354
Added support for collecting flows specified in JSON with symbolic field labels
2016-01-14 14:52:15 -05:00
Simone Mainardi
c0bb00b85a Adds nBox support and integration (wip) 2016-01-07 19:57:37 +01:00
Simone Mainardi
064be1b125 Adds Top L7 Protocols lua function
A Lua function that queries MySQL to retrieve
historical L7 protocols has been added.
2016-01-05 19:22:02 +01:00
Simone Mainardi
ec301ace49 Extends top peers to IPv6 2016-01-05 18:57:45 +01:00
Simone Mainardi
47668a0cac Adds Top Peers Lua function
A Lua function that queries MySQL
to retrieve top peers (given an host) has been added.
This function is used inside ntopng professional
database explorer
2016-01-05 18:40:27 +01:00
Simone Mainardi
6cd8440550 Formats chart key for traffic categories 2016-01-05 16:24:51 +01:00
Luca Deri
ddbfacaefb Various fixes to host categorization
Added optional parameter for ntop.getInfo() call
2016-01-05 11:07:12 +01:00
Simone Mainardi
06ef8d21ab Implements historical RRDs for traffic categories
Traffic categorization can be optionally saved to RRDs
on a per-host basis.
2016-01-04 19:18:22 +01:00
Luca Deri
47d43d986b Implemented multi-categories for flows 2016-01-02 12:55:13 +01:00
Luca Deri
b9068886a4 Reworked flashstart categorization support (work in progress) 2016-01-01 20:05:58 +01:00
Simone Mainardi
32ea608070 Formats raw bytes in historical flows tables (#325)
Formats raw bytes using sizes such as
KB, MB, and so on.
2015-12-29 11:03:38 +01:00
Simone Mainardi
677d32672d Fixes a nil-key table access
The following error has been fixed:
28/Dec/2015 11:40:02 [Lua.cpp:4447] WARNING: Script failure [/Users/simone/code/ntopng/scripts/callbacks/minute.lua][...s/simone/code/ntopng/scripts/lua/modules/top_talkers.lua:221: table index is nil]
2015-12-29 09:33:55 +01:00
Luca
5e556396d1 Implemented dummy interface (-i dummy) to be used only for debugging purposes for testing low-memory conditions and internal routines.
Updated scripts that were still using old API calls
2015-12-28 23:16:54 +01:00
Luca
11f8c934d0 Reworked hosts listing in order to avoid/limit out-of-memory issues
Implemented aggregation of hosts and flows when using views
2015-12-27 18:55:50 +01:00
Simone Mainardi
1edb469294 Allows values greather than 65k seconds for idle timeouts 2015-12-24 15:57:10 +01:00
Simone Mainardi
03bfb38b3d Fixes a minor typo 2015-12-20 17:02:45 +01:00
Simone Mainardi
8b01d5b2c3 Adds nagios alert deactivation notifications
Nagios services are notified when ntopng
alerts are deactivated
2015-12-20 16:19:15 +01:00
Simone Mainardi
63bcbb12c7 Adds status information to nagios alerts
Alert status information is propagated together with nagios alerts.
This status will be used by nagios to handle service statuses.
2015-12-19 15:08:18 +01:00
Simone Mainardi
adf41511eb Merge remote-tracking branch 'upstream/dev' into dev 2015-12-18 20:06:36 +01:00
Simone Mainardi
d0b580f934 Adds Re-Arm Time for Alerts
A re-arm period is added to alarms so that
back-to-back alarms can be silenced.
2015-12-18 19:59:03 +01:00
Luca
2e576e2ca0 Initial category mapping 2015-12-18 10:21:00 +01:00
Simone Mainardi
51b7702b44 Refactored UI preferences code 2015-12-12 19:12:05 +01:00
Luca
3c8e133015 Added threasholds to breakdown bars for displaying alerts when crossed
Better depict of DNS query/replies that have now theresholds
2015-12-09 14:59:51 +08:00
Simone Mainardi
2045df7053 Reworks MySQL queries according to the new schema 2015-12-07 18:39:35 +01:00