Commit graph

252 commits

Author SHA1 Message Date
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
Simone Mainardi
0c92e286d4 Reworks MySQL structure and adds interface support to dumped flows
Existing MySQL naming convention makes two separate tables for each interface monitored. Table names are flows4_<ifid> and flows6_<ifid>. Ifid is a unique integer identifier chosen by ntopng.

Present commit simplifies this structure and make just two tables, namely flows4 and flows6, and add an extra column to store the interface names. I do not think that storing the integer interface id is good: it is just a number that only make sense inside ntopng. Using interface names would yield more (re)usable data.

Committed code transparently migrates old tables into the new ones. Old flows are migrated into the new tables, and old tables are dropped.
2015-12-07 17:20:12 +01:00
Simone Mainardi
2228a8529c Adds ntopng instance name (#283)
ntopng instance name can be specified using command line parameter
--instance-name. If no parameter is specified, instance name defaults
to the current host name.

this information is exported to MySQL and ES.
2015-12-07 15:32:00 +01:00
Simone Mainardi
b41f7c28b4 Implements the alerting system on a per-network basis
Multiple commits have been squashed here:
- Adds alert configuration page for local networks
- Cleans unused branch
- Adds alert settings for local networks
- Implements alerts for networks
2015-12-03 19:24:32 +01:00
Simone Mainardi
1ba346fc46 Visualises traffic profile information on historical tables
Traffic profile is queried from the database and possibly
shown as an extra field in the INFO column for historical data
2015-11-26 17:10:35 +01:00
Simone Mainardi
08ecb143d2 Fixes max/min/avg/tot value computation on some graphs 2015-11-10 16:54:43 +01:00
Simone Mainardi
edf813f7d9 Adds interface names to graph labels
RRD graphs for interface views are more clear when their layout is  stacked.
In this commit lua function singlerrd2json is made more general. An additional
input parameters allows the user to toggle interface names from labels.
By default, interface names are not shown.
2015-11-10 15:06:09 +01:00
Simone Mainardi
71b390ec47 Adds MySQL support for traffic profiles
Traffic profile information is dumped to MySQL.
2015-11-10 11:36:55 +01:00
Simone Mainardi
83574e1a9d Escapes possible spaces and special charaters from profile names to create RRDS 2015-11-09 20:14:34 +01:00
Simone Mainardi
c839e85d6e Stores Profiles RRDs on a minute basis 2015-11-09 19:17:17 +01:00