Commit graph

132 commits

Author SHA1 Message Date
Simone Mainardi
4aa4212630 Implement OOO/Retransmissions Stats
Implements #1072

Additional implementations:
- l7 statistics for networks

Additional fixes and improvements:
- local networks traffic statistics were saved twice
- 5min.lua was not properly coded to keep into account user
preferences
_ 5min.lua has been simplified

TODO:
- ooo / retransmissions / lost counters should be accounted in the C engine or
serialized to disk as idle hosts may determine a decrease in the
aforementioned counters.
2017-04-05 19:34:58 +02:00
Simone Mainardi
a1e873a985 Restores 5min.lua behaviour 2017-04-05 13:27:58 +02:00
emanuele-f
4dffa882ef Implement TCP flags timeseries for network interfaces 2017-04-04 19:09:41 +02:00
Simone Mainardi
88b162b433 Fixes for sFlow stats 2017-04-03 16:59:15 +02:00
Simone Mainardi
bde6330550 Compilation fix 2017-03-28 00:26:23 +02:00
Simone Mainardi
13613fc2da Implements Flow Devices statistics collection and storage
Flows sent via nProbe (proxy mode) carry information on the exporter
address (EXPORTER_IPV4_ADDRESS) and on the exporter interfaces
(INPUT_SNMP and OUTPUT_SNMP). This implementation attempts at saving
this information to allow comparisons with raw SNMP data.
2017-03-27 23:58:50 +02:00
emanuele-f
b8c4145fcd Implement bytes and ndpi stats for ASN 2017-03-24 17:48:52 +01:00
Simone Mainardi
10f80539a7 Restores partial 5min aggregations 2017-03-23 23:52:27 +01:00
emanuele-f
c546315c15 Disable host pool links for view interfaces 2017-03-23 17:54:58 +01:00
Simone Mainardi
c775d79b4e Unbinds SNMP Devices from Interfaces
Implements #1074
Implements #1065
2017-03-20 16:46:00 +01:00
emanuele-f
fe2a5fca43 Rework data retention preferences 2017-03-20 14:59:29 +01:00
emanuele-f
84b8499a23 Add check to report periodic 5min script running out of time 2017-03-15 15:54:51 +01:00
Simone Mainardi
82da84b87f Adds new parameter for SNMP interfaces 2017-03-07 14:00:58 +01:00
emanuele-f
9cb52e631a Move other 5 minutes activities to dedicated script 2017-03-04 13:04:59 +01:00
emanuele-f
2affcfb208 Clean callback scripts code 2017-03-04 12:39:48 +01:00
emanuele-f
adf62c7f65 Add periodic five minutes script 2017-03-03 11:29:32 +01:00
Simone Mainardi
4a583c30a4 Fixes version check 2017-02-28 10:55:15 +01:00
emanuele-f
9044babe1e Use time thresholds rather then time diff 2017-02-28 10:18:17 +01:00
emanuele-f
cb7cee36ff Limit SNMP query time in periodic stats dump 2017-02-28 10:18:17 +01:00
emanuele-f
d47674757e Add preference to enable SNMP interfaces dump 2017-02-28 10:18:17 +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
emanuele-f
5f7762ade5 Implement Redis Host Pools counters dump 2017-01-26 12:19:12 +01:00
emanuele-f
5c305ba6a1 Add GUI side support for host pools stats 2017-01-26 11:53:24 +01:00
Simone Mainardi
bc8177c78c Purge expired CP users every 5 minutes 2017-01-25 23:31:58 +01:00
Simone Mainardi
40b258e43e Implements host pools volatile members 2017-01-25 23:31:14 +01:00
emanuele-f
21d2c0bd3f Limit minute.lua top talkers lifetime to reduce memory footprint 2017-01-25 20:03:32 +01:00
Simone Mainardi
ba1c1df41b Implements configurable active local hosts cache dump interval 2017-01-23 12:21:50 +01:00
Simone Mainardi
f304f9229f Implements captive portal users auto expiration 2017-01-20 20:20:09 +01:00
emanuele-f
716e01cbbe Make shapers use hosts pools 2017-01-18 20:06:23 +01:00
Simone Mainardi
e8cffe9227 Implements periodic alerts rotation
Oldest alerts are periodically overwritten by newest ones
when a certain (user-configurable) threshold has been exceeded.
Rotation is performed periodically in a housekeeping.lua
2017-01-17 15:15:23 +01:00
Luca
30e1a75f98 (C) update 2017-01-10 15:03:16 -08:00
Simone Mainardi
658f272cd5 Optimizes rrd updates 2017-01-05 23:19:39 +01:00
Luca
0d9c81f6fa Moved TCP/hosts stats from second tp minute script 2017-01-05 22:21:06 +01:00
Luca
f50f61f9fc MySQL DB improvements
Cached slack preference
Optimized DHCP cache read
2016-12-28 19:20:06 +01:00
Luca Deri
ce5fbf2a8e Traffic shaping code cleanup and optimizations 2016-12-10 13:27:42 +01:00
Luca Deri
6f9a7d0238 Lua code cleanup 2016-12-10 08:45:13 +01:00
Simone Mainardi
758db35671 Implements MySQL open_files_limit check
ntopng checks MySQL for the value of open_files_limit and engages
and alert if the worst case number of open files is greater
than or equal to the 80% of open_files_limit
2016-12-09 17:14:25 +01:00
Simone Mainardi
823a306864 Implements shapers init for bridge interfaces 2016-12-08 13:22:17 +01:00
Luca Deri
be136251d1 Restored periodic flow activities
Minor code cleanup
2016-12-05 15:41:35 +01:00
Luca
80c1a0a4dd Implemented initial slack.com integration for delivering alerts 2016-11-22 17:40:00 +01:00
emanuele-f
d43dd33980 Fix missing daily script blacklist require 2016-11-19 00:42:37 +01:00
Luca Deri
a153717ee3 Added the ability to generate alert when ntopng detects traffic produced by malware hosts. Currently ntopng uses the blacklist generated by EmergingThreads, but it is possible to extend/modify the list of blacklists by modifying blacklist_utils.lua 2016-11-17 08:58:38 +01:00
emanuele-f
fd2fa81dda Add ZMQ flows/sec graph 2016-11-11 11:36:12 +01:00
emanuele-f
6c037a4e28 Simplify flowactivity script thanks to ntop/nDPI#279 categories 2016-10-23 22:52:47 +02:00
Luca Deri
64dcb0d8fe Added rrd for devices 2016-10-08 20:59:31 +02:00
Simone Mainardi
f1e60106d6 Checks enterprise edition before writing flow devices stats
Fixes #771
2016-09-29 19:03:14 +02:00
Simone Mainardi
cd0db380e3 Reworked flow activities calculation 2016-09-27 18:06:41 +02:00
Luca Deri
ebd31f321d Minor cosmetic changes to the host activities 2016-09-18 10:37:34 +02:00
emanuele-f
a883c83170 Fix user activity RRA sizes, make RRA preferences configurable and disable activity log by default 2016-09-16 22:06:27 +02:00
Simone Mainardi
305ec2fc06 Minor performance improvement on daily ops 2016-09-13 10:42:22 +02:00