summaryrefslogtreecommitdiffstats
path: root/daemon
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 /daemon
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 'daemon')
-rw-r--r--daemon/common.h1
-rw-r--r--daemon/main.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/daemon/common.h b/daemon/common.h
index 9a55fa3af8..a15ddb8775 100644
--- a/daemon/common.h
+++ b/daemon/common.h
@@ -14,6 +14,7 @@
#define config_get_float(section, name, value) appconfig_get_float(&netdata_config, section, name, value)
#define config_get_boolean(section, name, value) appconfig_get_boolean(&netdata_config, section, name, value)
#define config_get_boolean_ondemand(section, name, value) appconfig_get_boolean_ondemand(&netdata_config, section, name, value)
+#define config_get_duration(section, name, value) appconfig_get_duration(&netdata_config, section, name, value)
#define config_set(section, name, default_value) appconfig_set(&netdata_config, section, name, default_value)
#define config_set_default(section, name, value) appconfig_set_default(&netdata_config, section, name, value)
diff --git a/daemon/main.c b/daemon/main.c
index b248ab741a..253c9e442a 100644
--- a/daemon/main.c
+++ b/daemon/main.c
@@ -1217,7 +1217,7 @@ int main(int argc, char **argv) {
info("netdata initialization completed. Enjoy real-time performance monitoring!");
netdata_ready = 1;
- send_statistics("START","-", "-");
+ send_statistics("START", "-", "-");
// ------------------------------------------------------------------------
// unblock signals