Commit graph

609 commits

Author SHA1 Message Date
emanuele-f
f0fcd0a2c3 re_arm alerts globally 2016-12-02 15:56:24 +01:00
Simone Mainardi
293497f908 Makes smaller delete buttons 2016-12-02 13:56:49 +01:00
Simone Mainardi
b7d79db6d5 Fixes for alerts visualization 2016-12-02 12:38:42 +01:00
emanuele-f
acb1d25bb5 Alerts delete by type, older than, by host 2016-12-02 11:28:03 +01:00
Simone Mainardi
5dd9c496e4 Improves flow alerts explorer links 2016-12-01 17:17:49 +01:00
Simone Mainardi
3613d052f2 Adds i18n for alerts 2016-11-30 20:13:26 +01:00
Simone Mainardi
d5f4889375 Adds a link to the historical alerts explorer 2016-11-25 20:10:16 +01:00
Simone Mainardi
4fa2950f8a Fix alert counters for filtered alerts 2016-11-25 11:05:20 +01:00
Simone Mainardi
715255412b Adds an All button to the alert filters 2016-11-24 19:06:24 +01:00
Simone Mainardi
a110518fab Implements alert filters 2016-11-24 18:59:30 +01:00
Simone Mainardi
3a1c14cf9a Implements alert filtering features 2016-11-23 18:26:38 +01:00
Simone Mainardi
c125c62cc2 Adds alerts duration column 2016-11-23 13:30:54 +01:00
Simone Mainardi
64374e7f50 Removes the @0 in host alerts 2016-11-23 13:17:57 +01:00
Simone Mainardi
0e4e4e5906 Implements flow alerts 2016-11-23 13:10:59 +01:00
Simone Mainardi
0c783fa0aa Code cleanup 2016-11-19 15:25:03 +01:00
Simone Mainardi
619f2f1ac4 Adds name resolutions to alerts stats 2016-11-18 20:59:41 +01:00
Simone Mainardi
129dc18210 Implements alerts origin/target 2016-11-18 18:22:30 +01:00
Simone Mainardi
5f6170627e Implements alerts dashboard (wip) 2016-11-16 19:18:34 +01:00
Simone Mainardi
86eceb6fe6 Implements AJAX Alerts Pie Charts 2016-11-15 18:52:03 +01:00
Simone Mainardi
6194dc955a Implements maximum alerts limit per alarmed entity 2016-10-18 17:44:35 +02:00
Simone Mainardi
dda9a2ea64 Visualization/Retrieval of Host Alerts 2016-10-08 22:07:51 +02:00
Simone Mainardi
db544882f1 Minor fix to release engaged alerts 2016-09-14 16:18:28 +02:00
Simone Mainardi
a280e53862 Completes the migration to the stateful alerts 2016-09-06 16:36:05 +02:00
Simone Mainardi
e255b5218b Implements the API for stateful interface alerts 2016-09-06 14:41:16 +02:00
Simone Mainardi
c3be02485f Handles refreshes of user-configured network alerts 2016-09-02 15:18:42 +02:00
Simone Mainardi
441857d34d Implements stateful network alerts 2016-09-02 14:59:54 +02:00
Simone Mainardi
12f24a87b4 Implements stateful alerts in C and sqlite 2016-08-11 19:56:49 +02:00
Simone Mainardi
12aa4c7399 Fixes after removal of the NetworkInterfaceView code 2016-08-10 11:21:08 +02:00
Simone Mainardi
431b0d96ed Implements a function to obtain suppressed alerts redis keys 2016-08-09 19:17:42 +02:00
Simone Mainardi
52abb7659a Handles per-interface alerts via the AlertsManager
This commit moves the global ntopng-wide alerts to
interfaces' AlertsManager s
2016-08-09 16:47:36 +02:00
Simone Mainardi
246c58c1ac Implements stateful threshold host alerts 2016-08-08 16:53:45 +02:00
Simone Mainardi
f1d3dbb455 Stateful host alerts now 'require' a lua API
This commit is a companion of professional version commit

commit 2b6e5358a71179a728edc0a8e591ffb883d626ab
Date:   Mon Aug 1 22:07:37 2016 +0200

    Refactors stateful host alerts to provide an API
2016-08-01 22:08:34 +02:00
Simone Mainardi
e674c73a2e Simplifies the API for stateful host alerts 2016-08-01 18:22:43 +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
64e98766e7 Minor fix to improve robustness of alerts re arming 2016-07-28 16:01:05 +02:00
Simone Mainardi
2ec5c8e798 Replaces sub with gsub for string substitution 2016-07-28 15:48:41 +02:00
Simone Mainardi
a31225e2ab Sets vlan 0 to implicit for nagios alerts
This is to ensure backward compatibility with previous
nagios alert format.
2016-07-28 15:45:11 +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
Simone Mainardi
106ba35d2c Removes redundant calls in alerts 2016-07-26 20:06:45 +02:00
Luca Deri
63879f9635 Added new alert to track idle hosts 2016-06-08 16:44:49 +02:00
Simone Mainardi
58bc707cd1 Minor fix for interface alerts 2016-06-06 21:45:25 +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
bc6a018415 Enhanced alerts: added alarm status on/off/permanent to handle in the future for counting pending issues 2016-04-19 10:51:53 +02:00
Simone Mainardi
6ce3ae37ee Fixes an 'expected string, got nil'
Fixes
[Lua.cpp:76] ERROR: ntop_get_file_dir_exists : expected string, got nil
2016-03-21 20:41:16 +01:00
Simone Mainardi
d89cde0409 Handles interface alerts with ids
The Interface Alerts toggle button was not working. This
commit fixes this bug as well.
2016-03-16 19:53:13 +01:00
Simone Mainardi
e6a8396795 Fixes a minor bug in interface alert re-arm 2016-02-16 17:33:43 +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
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