Commit graph

3427 commits

Author SHA1 Message Date
emanuele-f
ebc204b0cc Fix RRD update errors due to invalid min timestamp calculation
SNMP hosts appear into ntopng during 5min script run, so their timestamp corresponds exactly
to the 5min script timestamp. This triggered the issue.

Fixes #2734
2019-08-02 10:42:01 +02:00
emanuele-f
eebf8674ac Add nil checks 2019-08-02 09:57:27 +02:00
emanuele-f
e82c66fb7c Fix mixed global/per-interface nindex checks
Fix #2725
2019-08-01 11:53:55 +02:00
emanuele-f
ba91b62f0a Allow spaces in password fields
Fixes #2732
2019-08-01 11:12:30 +02:00
Simone Mainardi
c9223590d9 Workaround to handle \n forcefully set when decoding ZMQ tlv 2019-07-31 16:06:15 +02:00
emanuele-f
444916fa14 Fix wrong engaged alerts number when a filter is applied 2019-07-31 15:05:26 +02:00
emanuele-f
6f52961c84 Fix bad url created by alert dropdowns 2019-07-31 14:32:55 +02:00
emanuele-f
b85d1a4d03 Fix alert_api.store script error in incDisabledAlertsCount 2019-07-31 14:18:27 +02:00
emanuele-f
aaf6af934c Sort flow status disable labels by label 2019-07-31 14:09:41 +02:00
emanuele-f
b48a4e2127 Fix outside DHCP range alert script failure 2019-07-31 11:23:51 +02:00
emanuele-f
ee9e5ec9de Unify alerts and alerts notifications format 2019-07-30 18:12:58 +02:00
emanuele-f
fd45a9237a Fix alert release severity error 2019-07-30 13:04:32 +02:00
emanuele-f
93a3cb9b7e Migrate lua alerts to unified alerts queue 2019-07-30 12:22:00 +02:00
emanuele-f
d38cd23615 Move C alerts to unified alerts_queue 2019-07-30 11:43:18 +02:00
emanuele-f
e4a67824c1 Migrate slow periodic activity to alerts queue 2019-07-29 18:38:02 +02:00
emanuele-f
62f754f7f9 Initial work towards unified alerts queue 2019-07-29 18:22:49 +02:00
emanuele-f
c183a577be Alerts API cleanup and JSON migration 2019-07-29 15:17:22 +02:00
emanuele-f
664d165b2f Add hosts alerts link into flow alerts 2019-07-26 13:24:05 +02:00
Alfredo Cardigliano
add821e0f5 Google Maps API Key instructions 2019-07-26 09:02:52 +00:00
emanuele-f
988e3eaab6 Move alerts configuration under the triangle icon 2019-07-26 10:59:38 +02:00
emanuele-f
9c39268441 Fix script failures when prometheus export is enabled 2019-07-25 17:27:51 +02:00
Alfredo Cardigliano
bc7a7561c3 Removed local hosts matrix which is unusable with many hosts 2019-07-25 15:17:42 +02:00
Alfredo Cardigliano
ce1b9821de Removed 'Talkers' page from Host Details as it contains a subset of the info in 'Peers' 2019-07-25 15:05:19 +02:00
emanuele-f
4fc1fea405 Fix remote hosts global alerts config 2019-07-25 14:45:23 +02:00
emanuele-f
2243cabcf1 Fix alert release time and gui enhancements 2019-07-25 14:25:27 +02:00
Simone Mainardi
eedd4e9d60 Fixes traffic block button in hosts view
Fixes #2730
2019-07-24 17:37:36 +02:00
emanuele-f
a3942831b8 Fix issues with engaged alert counters and other improvements 2019-07-24 15:40:43 +02:00
Simone Mainardi
e61a5ba85b Hides VLAN in the host details page when tag is zero 2019-07-24 13:34:54 +02:00
Simone Mainardi
4155bd69b5 Shows VLANs in view interfaces hosts page when tags are present 2019-07-24 13:33:24 +02:00
Simone Mainardi
9c448445ac Implements MySQL flow dump for view interfaces 2019-07-23 17:44:40 +02:00
emanuele-f
03cec7d831 Add harvestDateBasedDirTree more log traces 2019-07-23 15:12:38 +02:00
emanuele-f
bcc6a78af4 Improve alert enable/disable buttons and allow config edit on idle hosts 2019-07-23 14:30:26 +02:00
emanuele-f
e94bd45ca6 Improve disabled flow status alerts gui 2019-07-23 10:28:17 +02:00
emanuele-f
fa5605df6a Set broadcast domain alert entity to the sender mac 2019-07-23 10:04:23 +02:00
emanuele-f
09e560cacc Add missing file 2019-07-23 09:44:46 +02:00
emanuele-f
09fb8667e2 Add ability to disable specific alert types on alertables 2019-07-22 23:37:23 +02:00
emanuele-f
6a6cedc899 Add ability to disable host alerts on specific flow status 2019-07-22 12:16:12 +02:00
emanuele-f
c715bb36f3 Implement per-alert-type host counters
Such counters will be used in the future to generate alert timeseries.
Counters are not currently serialized as internally discussed.

Closes #2728
2019-07-19 17:27:23 +02:00
emanuele-f
c9bf1e78cc Implement alerts release on shutdown 2019-07-19 13:58:10 +02:00
Simone Mainardi
5270d09490 Allows alerts to be configured on view interfaces 2019-07-19 12:43:31 +02:00
Simone Mainardi
893073dcd6 Fixes hyperlinks in case of view interfaces 2019-07-19 12:03:01 +02:00
emanuele-f
749a64e789 Release alerts on idle hosts 2019-07-19 10:54:05 +02:00
Simone Mainardi
e8a9ed34ab Hides hosts hyperlinks in viewed interfaces 2019-07-19 10:52:56 +02:00
Simone Mainardi
3cd6a92efd Implements nDPI stats counters for views 2019-07-19 10:30:59 +02:00
emanuele-f
3383ac0913 Implement dropped alerts per-interface counter 2019-07-18 17:29:05 +02:00
emanuele-f
0ec286f3ba Fix missing http_prefix in refer
Fixes #2731
2019-07-18 17:26:14 +02:00
Alfredo Cardigliano
3a8575dd69 Footer fix with alerts disabled 2019-07-18 02:07:35 +02:00
Simone Mainardi
0fd3be6b79 Implements hosts purge mark algorithm 2019-07-18 15:19:36 +02:00
Simone Mainardi
be85b2ebc8 Implements algorithm to purge hosts only after checking their alerts 2019-07-18 13:34:45 +02:00
emanuele-f
c5e597ea75 Fix alert config on local hosts 2019-07-17 19:05:01 +02:00