mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
service/sshd: increase monitoring threshold
This commit is contained in:
parent
add60236c2
commit
03bdfa0661
1 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue