Commit graph

77 commits

Author SHA1 Message Date
emanuele-f
62459d4435 Fix alerts not being scanned on interfaces with disabled data retention 2017-11-16 11:00:16 +01:00
Luca
b350ecc7d9 Minor rework in periodic scripts
Reworked aggregated DB dump
2017-11-12 12:10:20 +01:00
Luca
d1fddd08a3 Extended redis key/val buffer 2017-11-10 12:09:20 +00:00
Luca Deri
da2bee8623 Timeseries update 2017-11-02 23:28:50 +01:00
Luca Deri
1a0e832df3 initial nSeries changes 2017-11-02 19:49:08 +01:00
Simone Mainardi
a22022bb30 Reworks alerts to prevent local hosts I/O 2017-11-01 23:04:33 +01:00
Luca Deri
1d26f4a36b Reworked timeseries experimental code (work in progress) 2017-10-31 00:44:35 +01:00
Luca Deri
31e26923b1 RRD rework 2017-10-30 23:56:15 +01:00
Luca Deri
ddbe237192 Reworked timeseries API 2017-10-29 23:47:41 +01:00
Simone Mainardi
7e1af2b196 Implements customizable per-interface RRD generation
Implements #1429
2017-09-06 16:02:32 +02:00
Simone Mainardi
2dce680ba8 Removed red color from drop icons 2017-07-31 19:06:52 +02:00
Simone Mainardi
a7b41075e4 Implements broadcast addresses per local network
Implements #571
2017-07-31 18:45:49 +02:00
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
emanuele-f
4dffa882ef Implement TCP flags timeseries for network interfaces 2017-04-04 19:09:41 +02: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-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
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
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
f50f61f9fc MySQL DB improvements
Cached slack preference
Optimized DHCP cache read
2016-12-28 19:20:06 +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
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
6bdc494b0f Minor refresh after restoring numFlows and numHosts 2016-08-25 19:14:45 +02:00
emanuele-f
8f9d4c55b9 Implement SMA and WMA filters and tune for VPN activity 2016-08-22 18:22:50 +02:00
emanuele-f
81b83d96dc Dump user activity rrd to text 2016-08-16 04:37:51 +02:00
emanuele-f
d21681592a Update counters each minute and other changes 2016-08-16 01:39:41 +02:00
Luca Deri
d85555296f Minor code cleanup 2016-08-15 11:52:07 +02:00
Luca Deri
1117d14750 Cleanup 2016-08-15 10:21:38 +02:00
emanuele-f
ed6c42d510 Export activity data to rrd 2016-08-13 23:56:59 +02:00
emanuele-f
f974c350ea Add rrd activity log 2016-08-13 00:55:03 +02:00
Luca Deri
34dee98540 Fixed top talkers hosts 2016-08-10 13:00:52 +02:00
Simone Mainardi
116ffda7c8 Additional fixes after removal of NetworkInterfaceView 2016-08-10 12:23:14 +02:00
Simone Mainardi
845250f5a0 Reworks thresholds alerts management to allow function override
Functions will be overridden in the professional version
2016-07-29 19:44:18 +02:00
Simone Mainardi
85c5beb545 Implements alerts on a per-interface per-vlan basis
Interfaces were handled globally before this commit. Now
alerts can be configured per-interface. So for example alerts
for the same host 193.168.2.1 can be handled differently on multiple interfaces.

Old alerts configured should be automatically migrated thanks to script startup.lua

This commits also paves the way to introduce stateful alerts in the professional version
2016-07-27 22:10:17 +02:00
Luca Deri
c25a9a632d Fixed SNMP wrapping bug
Added ability to graph flow-devices port I/O
2016-07-12 15:51:26 +02:00
Simone Mainardi
95a4618c17 Fixes alert scan that was causing possible issues in periodic scripts
Method scanAlerts was called inside a loop over the interfaces in minute.lua.
Since scanAlerts was looping over the interfaces as well, this was causing
interfaces to be deselected from the outer loop.

This commit fixes the issues by forcing scanAlerts to receive an input interface.

Fixes #582
2016-06-04 18:22:13 +02:00
Luca Deri
5aaa458c2e Fix in minute script to decrease memory usage with large networks 2016-05-02 22:32:34 +02:00
Luca
2fb0e863fe Fixed inter-arrival time in flows
Updated (C)
2016-04-19 11:06:39 +02:00