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

@ -21,7 +21,7 @@ local function check_slow_periodic_activity(params)
(ps_stats["max_duration_secs"] or 0) * 1000
)
alert:set_score_warning()
alert:set_score_error()
alert:set_granularity(params.granularity)
alert:set_subtype(ps_name)