diff options
author | thiagoftsm <thiagoftsm@gmail.com> | 2019-07-01 11:55:16 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-01 11:55:16 +0000 |
commit | dd73f3e0cd0d9a1797f0c82de0fae5ccf97e9464 (patch) | |
tree | 239fdd722a21d0d3f1e8adecc788edeca5eb907f /database/rrdcalctemplate.h | |
parent | 266cbec7a8c8f626b9a73a8f6ea7e269b9ce837e (diff) |
Repeating alarm notifications (#6309)
* Alarm_repeat mergin the original!
* Alarm_repeat binary tree!
* Alarm_repeat binary tree finished!
* Alarm_repeat move function and format string
* Alarms bringing a new Binary tree
* Alarms fixing the last two
* Alarm_repeat useless var!
* Alarm fix format and repeat alarm!
* Alarm_backend steps!
* Alarm_repeat stopping to test cloud!
* Alarm_repeat stopping to test cloud 2!
* Alarm_repeat fixing when restart!
Diffstat (limited to 'database/rrdcalctemplate.h')
-rw-r--r-- | database/rrdcalctemplate.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/database/rrdcalctemplate.h b/database/rrdcalctemplate.h index b8996bc14e..92bb4138e2 100644 --- a/database/rrdcalctemplate.h +++ b/database/rrdcalctemplate.h @@ -49,6 +49,12 @@ struct rrdcalctemplate { float delay_multiplier; // multiplier for all delays when alarms switch status // ------------------------------------------------------------------------ + // notification repeat settings + + uint32_t warn_repeat_every; // interval between repeating warning notifications + uint32_t crit_repeat_every; // interval between repeating critical notifications + + // ------------------------------------------------------------------------ // expressions related to the alarm EVAL_EXPRESSION *calculation; |