l 3 monit: implement alarm interval

This commit is contained in:
lassulus 2017-02-13 14:33:47 +01:00
parent fe46163e58
commit 045fe83273

View File

@ -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)}
'';