+ while(ulen--) {
+ var url = machines_array[len].alternate_urls[ulen];
+ checked[url] = true;
+ gotoServerValidateUrl(count++, guid, url);
+ }
+
+ setTimeout(function() {
+ if(gotoServerStop === false) {
+ document.getElementById('gotoServerResponse').innerHTML = '<b>Added all the known URLs for this machine.</b>';
+ var guid;
+ for(guid in guids) {
+ NETDATA.registry.search(guid, function(data) {
+ // console.log(data);
+ len = data.urls.length;
+ while(len--) {
+ var url = data.urls[len][1];
+ // console.log(url);
+ if(typeof checked[url] === 'undefined') {
+ gotoServerValidateRemaining++;
+ checked[url] = true;
+ gotoServerValidateUrl(count++, guid, url);
+ }
+ }
+ });
+ }
+ }
+ }, 2000);
+
+ return false;