['a9cd91675467c5426f5b51c47602c889']='apps_groups.conf'
['acaa6731a272f6d251afb357e99b518f']='apps_groups.conf'
['bb51112d01ff20053196a57632df8962']='apps_groups.conf'
+ ['d9036091e2232fc2b8bfa8c7484dea28']='apps_groups.conf'
['d9258e671d0d0b6498af1ce16ef030d2']='apps_groups.conf'
['ebd0612ccc5807524ebb2b647e3e56c9']='apps_groups.conf'
['f2f1b8656f5011e965ac45b818cf668d']='apps_groups.conf'
// ----------------------------------------------------------------------------
// REGISTRY THIS MACHINE UNIQUE ID
+static inline int is_machine_guid_blacklisted(const char *guid) {
+ // these are machine GUIDs that have been included in distribution packages.
+ // we blacklist them here, so that the next version of netdata will generate
+ // new ones.
+
+ if(!strcmp(guid, "8a795b0c-2311-11e6-8563-000c295076a6")
+ || !strcmp(guid, "4aed1458-1c3e-11e6-a53f-000c290fc8f5")
+ ) {
+ error("Blacklisted machine GUID '%s' found.", guid);
+ return 1;
+ }
+
+ return 0;
+}
+
char *registry_get_this_machine_guid(void) {
if(likely(registry.machine_guid[0]))
return registry.machine_guid;
registry.machine_guid[0] = '\0';
}
+ else if(is_machine_guid_blacklisted(registry.machine_guid))
+ registry.machine_guid[0] = '\0';
}
close(fd);
}
var chart = charts[x];
data.charts_by_name[chart.name] = chart;
}
- console.log(options.data);
// update the dashboard hostname
document.getElementById('hostname').innerHTML = options.hostname;