diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-05-13 23:47:04 +0300 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-05-13 23:47:04 +0300 |
commit | 793dcded1f97a5493375bb241c8903587426ce39 (patch) | |
tree | f5304693e39e39f1bc31789a3c528c9011e6f2f3 /src/rrd.h | |
parent | 3ed012abe719349db479956a9afbdb12ab032e81 (diff) |
slaves propagate registry_hostname to master, which is now used for alarm notifications, so that clicking an alarm generated by the master can properly show the slave dashboard
Diffstat (limited to 'src/rrd.h')
-rw-r--r-- | src/rrd.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -368,6 +368,8 @@ struct rrdhost { char *hostname; // the hostname of this host uint32_t hash_hostname; // the hostname hash + char *registry_hostname; // the registry hostname for this host + char machine_guid[GUID_LEN + 1]; // the unique ID of this host uint32_t hash_machine_guid; // the hash of the unique ID @@ -488,6 +490,7 @@ extern RRDHOST *rrdhost_find_by_guid(const char *guid, uint32_t hash); extern RRDHOST *rrdhost_find_or_create( const char *hostname + , const char *registry_hostname , const char *guid , const char *os , int update_every |