summaryrefslogtreecommitdiffstats
path: root/src/rrd.h
diff options
context:
space:
mode:
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2017-02-18 16:26:15 +0200
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2017-02-22 01:00:22 +0200
commit31d02cfae33331b29d915dbe19e5baf3bfd72df8 (patch)
tree708a4d6b206c5d0fa728babb8f487342dca92ee9 /src/rrd.h
parent68c2da451261559ce966935a6087d51a6d8460c4 (diff)
every host has its own health
Diffstat (limited to 'src/rrd.h')
-rw-r--r--src/rrd.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/rrd.h b/src/rrd.h
index 2beb1433f3..7c38d53776 100644
--- a/src/rrd.h
+++ b/src/rrd.h
@@ -302,6 +302,8 @@ struct rrdhost {
char machine_guid[GUID_LEN + 1];
uint32_t hash_machine_guid;
+ uint32_t flags;
+
RRDSET *rrdset_root;
pthread_rwlock_t rrdset_root_rwlock;
@@ -324,7 +326,12 @@ struct rrdhost {
// are created or renamed, that match them
RRDCALCTEMPLATE *templates;
- uint32_t flags;
+ // health / alarm settings
+ char *health_default_exec;
+ char *health_default_recipient;
+ char *health_log_filename;
+ size_t health_log_entries_written;
+ FILE *health_log_fp;
struct rrdhost *next;
};