Commit graph

735 commits

Author SHA1 Message Date
emanuele-f
0f5d76ca74 Implement alerts via email
Closes #272
2018-04-03 20:49:43 +02:00
emanuele-f
d4bbeb10a2 Generalize alerts external report 2018-03-30 20:36:05 +02:00
emanuele-f
89cb18d29c Release all the engaged alerts when alerts are disabled 2018-03-30 15:57:46 +02:00
emanuele-f
8f27bf8f47 Implement SNMP alerts on port status change 2018-03-29 23:00:43 +02:00
emanuele-f
0e3029f4c2 Add missing nedge doc makefile 2018-03-29 17:34:32 +02:00
Luca Deri
f0c936c368 Updated (C) to 2018 2018-03-22 21:59:42 +01:00
Luca
eee3ba9e5c Implemented IP/MAC change alerts #1092 2018-03-21 23:24:14 +01:00
emanuele-f
89174e6f92 Fix alert_utils error in community
Fixes #1696
2018-03-13 09:51:49 +01:00
emanuele-f
4b9ae1904d Fix new device alert on wan devices and add device name info 2018-03-08 13:36:35 +01:00
emanuele-f
b2082b7788 Generate alert when interface drops exceed a given threshold and fix alerts invalid cache 2018-03-07 15:13:23 +01:00
Luca Deri
4983dd04a0 Fixed Lua warning 2018-03-01 21:06:49 +01:00
emanuele-f
4c705e9e1b Change quota exceeded alert severity to info 2018-02-23 15:33:18 +01:00
emanuele-f
66b024c21d Generate alerts when a quota is exceeded 2018-02-23 15:29:28 +01:00
emanuele-f
0f198dd638 Trigger an informative alert when an host pool is activated/deactivated
Closes #1363
2018-02-22 15:26:30 +01:00
emanuele-f
8ff93579aa Implement informative alert when a new MAC address is observed/re-seen/disappears
Implements #1659
2018-02-21 12:42:01 +01:00
emanuele-f
392bd7040a Extends ntopng localization 2018-02-09 19:34:02 +01:00
emanuele-f
24ed4ac212 Hide elements and reorganize menu in nEdge 2018-01-23 15:28:36 +01:00
emanuele-f
6661c6ef53 add checkpoint details level 2017-11-27 12:00:56 +01:00
Simone Mainardi
9b90d1f06d Preliminary code for in-memory top talkers calculations 2017-11-24 14:39:20 +01:00
emanuele-f
83a58ad016 Rework scanAlerts to avoid iterating hosts twice 2017-11-23 14:50:09 +01:00
emanuele-f
458d627203 Remove host ip and vlan from json
They are already included into the host key
2017-11-21 17:03:17 +01:00
emanuele-f
6b37ee2820 Optimize alerts handling
Avoid checkpointing on entities with no configured threshold
2017-11-17 14:00:53 +01:00
emanuele-f
d85fc2b06b Migrate interface alerts to in-memory alerts 2017-11-16 16:05:49 +01:00
emanuele-f
346627eb74 Migrate network alerts to in-memory alerts 2017-11-16 15:23:43 +01:00
emanuele-f
7a62ae009b Fix interface, macs, hosts configuration pages consinstency 2017-11-15 17:34:24 +01:00
Simone Mainardi
a22022bb30 Reworks alerts to prevent local hosts I/O 2017-11-01 23:04:33 +01:00
Simone Mainardi
69a7b91764 Prevents deletion of alert toggle upon flush of alerts
Fixes #1488
2017-10-02 19:36:40 +02:00
Simone Mainardi
aaf84a6261 Adds a lua debug print
Tentative for #1446
2017-09-25 23:54:58 +02:00
emanuele-f
6a9e443b35 Fix alert configuration page on hosts
The error was caused by a global variable reference
2017-09-19 17:05:31 +02:00
Simone Mainardi
7e1af2b196 Implements customizable per-interface RRD generation
Implements #1429
2017-09-06 16:02:32 +02:00
Simone Mainardi
07301d01cd Minor rendering fix for alerts thresholds
Fixes #1381
2017-07-28 12:28:41 +02:00
Simone Mainardi
b15139dc2b Fix wrong alert thresholds dump/parse
Fixes #1378
2017-07-27 15:54:52 +02:00
emanuele-f
6b8dbf59cc Make alert entity_type always explicit and rework alert_utils 2017-06-09 14:31:22 +02:00
Simone Mainardi
5d9e90e17b Adds a traceback print on unknown alert source 2017-06-09 11:24:13 +02:00
emanuele-f
b9b9378533 Toggle alert_utils debug from redis 2017-06-09 11:05:43 +02:00
Simone Mainardi
08e2b19388 Minor fix for alerts rotation
Fixes errors such as:
05/Jun/2017 10:20:20 [AlertsManager.cpp:1540] ERROR: SQL Error: near "ORDER": syntax error
DELETE FROM flows_alerts ORDER BY alert_tstamp ASC LIMIT 1288928
2017-06-05 14:44:24 +02:00
emanuele-f
91728e40ee Add stricter check on alert old entity info 2017-05-29 10:21:24 +02:00
emanuele-f
c47b4f2bcd Add more strict check on the alert source 2017-05-26 19:25:33 +02:00
Simone Mainardi
f995cb1c8d Win fix for alert table visualization 2017-05-24 17:20:14 +02:00
emanuele-f
ef0910c363 Fix alerts counter not being updated on flushAlerts.
Fix delete single alert when no tab is selected.
2017-05-24 12:01:29 +02:00
emanuele-f
a97fd53a6f Add change pool action in pool members view 2017-05-22 19:47:03 +02:00
Simone Mainardi
1e4b0636ed Windows nagios fix 2017-05-22 11:52:18 +02:00
emanuele-f
ef10ba3540 Add current zmq header version in ExportInterface 2017-05-20 12:36:19 +02:00
emanuele-f
1b361e2a65 Fix alerts release on ntopng restart.
When a counter wrap is detected (e.g. on ntopng restart) or previous data is missing, an empty structure is passed to the thresholds check function.
2017-05-18 15:19:00 +02:00
emanuele-f
16bb7c174b Do not pass path in file name 2017-05-18 13:14:24 +02:00
emanuele-f
0e66f642a0 Fix alerts counter bug when alerts are disabled and re-enabled.
Steps to reproduce the original issue:
1) alerts are enabled and counter is positive
2) the user disables the alerts from preferences
3) ntopng is stopped, then restarted
4) the user enables the alerts from preferences, but num_alerts_engaged was 0
5) a release of an alert now makes the counter wrap
2017-05-17 11:47:10 +02:00
emanuele-f
2d1a0a518d Little fixes 2017-05-16 14:46:45 +02:00
emanuele-f
3f80dbaa32 Do not capitalize metric in threshold cross messages 2017-05-12 12:41:30 +02:00
Takayuki Onodera
6a400c72f4 Localize some pages for interface 2017-05-12 16:55:28 +09:00
emanuele-f
3496fb51c0 Add button to flush all alerts data 2017-05-08 23:31:46 +02:00