service/sshd: increase monitoring threshold

This commit is contained in:
Felix Buehler 2023-05-24 22:03:33 +02:00
parent add60236c2
commit 03bdfa0661

View file

@ -28,8 +28,8 @@ in
my.services.loki.rules = { my.services.loki.rules = {
sshd_closed = { sshd_closed = {
condition = ''count_over_time({unit="sshd.service"} |~ "Connection closed by authenticating user" [15m]) > 15''; condition = ''count_over_time({unit="sshd.service"} |~ "Connection closed by authenticating user" [15m]) > 25'';
description = "More then 15 users have tried loggin in without success"; description = "More then 25 users have tried loggin in without success";
}; };
}; };
}; };