summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authorlassulus <lass@lassul.us>2017-02-13 14:33:47 +0100
committerlassulus <lass@lassul.us>2017-02-13 14:33:47 +0100
commit045fe83273e1849354d63fdfe955e98f48673c91 (patch)
treedb1ac1b3386e44b9d7bdc37f02384f25102d8f1d /krebs
parentfe46163e586b2b19126fffd1a7710e1b61349389 (diff)
l 3 monit: implement alarm interval
Diffstat (limited to 'krebs')
-rw-r--r--krebs/3modules/monit.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/monit.nix b/krebs/3modules/monit.nix
index 5191a1754..4d4066ae4 100644
--- a/krebs/3modules/monit.nix
+++ b/krebs/3modules/monit.nix
@@ -73,7 +73,7 @@ let
${concatStringsSep "\n" (mapAttrsToList (name: alarm: ''
check program ${name} with path "${alarm.test}"
- every 10 cycles
+ every ${alarm.interval} cycles
if status != 0 then exec "${alarm.alarm}"
'') cfg.alarms)}
'';