diff options
author | lassulus <lass@lassul.us> | 2017-02-13 14:33:47 +0100 |
---|---|---|
committer | lassulus <lass@lassul.us> | 2017-02-13 14:33:47 +0100 |
commit | 045fe83273e1849354d63fdfe955e98f48673c91 (patch) | |
tree | db1ac1b3386e44b9d7bdc37f02384f25102d8f1d /krebs/3modules/monit.nix | |
parent | fe46163e586b2b19126fffd1a7710e1b61349389 (diff) |
l 3 monit: implement alarm interval
Diffstat (limited to 'krebs/3modules/monit.nix')
-rw-r--r-- | krebs/3modules/monit.nix | 2 |
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)} ''; |