summaryrefslogtreecommitdiffstats
path: root/health/health.h
diff options
context:
space:
mode:
authorthiagoftsm <thiagoftsm@gmail.com>2019-07-01 11:55:16 +0000
committerGitHub <noreply@github.com>2019-07-01 11:55:16 +0000
commitdd73f3e0cd0d9a1797f0c82de0fae5ccf97e9464 (patch)
tree239fdd722a21d0d3f1e8adecc788edeca5eb907f /health/health.h
parent266cbec7a8c8f626b9a73a8f6ea7e269b9ce837e (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 'health/health.h')
-rw-r--r--health/health.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/health/health.h b/health/health.h
index 1511f36486..cc0692a567 100644
--- a/health/health.h
+++ b/health/health.h
@@ -108,7 +108,7 @@ extern void health_alarm_log_save(RRDHOST *host, ALARM_ENTRY *ae);
extern ssize_t health_alarm_log_read(RRDHOST *host, FILE *fp, const char *filename);
extern void health_alarm_log_load(RRDHOST *host);
-extern void health_alarm_log(
+extern ALARM_ENTRY* health_create_alarm_entry(
RRDHOST *host,
uint32_t alarm_id,
uint32_t alarm_event_id,
@@ -129,6 +129,8 @@ extern void health_alarm_log(
int delay,
uint32_t flags);
+extern void health_alarm_log(RRDHOST *host, ALARM_ENTRY *ae);
+
extern void health_readdir(RRDHOST *host, const char *user_path, const char *stock_path, const char *subpath);
extern char *health_user_config_dir(void);
extern char *health_stock_config_dir(void);