From 03bdfa0661fe20fb52c7022a05d8d6658c9aa77e Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Wed, 24 May 2023 22:03:33 +0200 Subject: [PATCH] service/sshd: increase monitoring threshold --- modules/services/ssh-server/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/services/ssh-server/default.nix b/modules/services/ssh-server/default.nix index 212c62e..b9acc42 100644 --- a/modules/services/ssh-server/default.nix +++ b/modules/services/ssh-server/default.nix @@ -28,8 +28,8 @@ in my.services.loki.rules = { sshd_closed = { - condition = ''count_over_time({unit="sshd.service"} |~ "Connection closed by authenticating user" [15m]) > 15''; - description = "More then 15 users have tried loggin in without success"; + condition = ''count_over_time({unit="sshd.service"} |~ "Connection closed by authenticating user" [15m]) > 25''; + description = "More then 25 users have tried loggin in without success"; }; }; };