Added critical and emergency status to alerts

This commit is contained in:
MatteoBiscosi 2022-10-19 10:18:36 +02:00
parent fb7da8667e
commit 692ae0bfcc
27 changed files with 178 additions and 76 deletions

View file

@ -20,7 +20,7 @@ local function check_periodic_activity_not_executed(params)
ps_stats["last_queued_time"] or 0
)
alert:set_score_warning()
alert:set_score_error()
alert:set_granularity(params.granularity)
alert:set_subtype(ps_name)
if delta > 0 then