diff options
author | Costa Tsaousis <costa@tsaousis.gr> | 2016-08-25 19:39:08 +0300 |
---|---|---|
committer | Costa Tsaousis <costa@tsaousis.gr> | 2016-08-25 19:39:08 +0300 |
commit | 430affeaf53da33214f4e6eec7db83f8239d1357 (patch) | |
tree | c8263cbc4b4f599c5ae9fe47023e6aed354355f6 /src/rrd.c | |
parent | 3d2ff94d4ef748f80a83a4a90fc35b852f31a4bd (diff) |
API for getting alarm log ready
Diffstat (limited to 'src/rrd.c')
-rw-r--r-- | src/rrd.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -40,6 +40,13 @@ RRDHOST localhost = { .variables_root_index = { { NULL, rrdvar_compare }, AVL_LOCK_INITIALIZER + }, + .health_log = { + .nextid = 1, + .count = 0, + .max = 1000, + .alarms = NULL, + .alarm_log_rwlock = PTHREAD_RWLOCK_INITIALIZER } }; |