mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Added critical and emergency status to alerts
This commit is contained in:
parent
fb7da8667e
commit
692ae0bfcc
27 changed files with 178 additions and 76 deletions
|
|
@ -758,6 +758,7 @@ function am_utils.triggerAlert(numeric_ip, ip_label, current_value, upper_thresh
|
|||
-- Unreachable
|
||||
local host, measurement = key2amhost(ip_label)
|
||||
local info = am_utils.getMeasurementInfo(measurement)
|
||||
type_info:set_score_critical()
|
||||
|
||||
if info and info.unreachable_alert_i18n then
|
||||
-- The measurement provides an alternative message for the alert
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue