--- alx-src/branches/alx-web-070/index.php 2015/12/16 16:06:40 8007 +++ alx-src/branches/alx-web-070/index.php 2016/02/08 14:05:46 8553 @@ -30,14 +30,11 @@ function check_online($dat, $bla) { global $comps; - global $ssh_port; global $mcore_port; global $ping_timeout; if(!isset($comps[$dat['serial']])) return false; - // first try mcore, then get ssh $retval = ping_host($dat['ip'],$mcore_port,$ping_timeout); - if($retval==1) $retval = ping_host($dat['ip'],$ssh_port,$ping_timeout); if($retval==0) { $comps[$dat['serial']]['online'] = true; @@ -78,7 +75,7 @@ sqlforeach('SELECT state_connected.serial, state_connected.ip, cfg_network.hostname, state_connected.mac FROM state_connected left join cfg_network on cfg_network.serial=state_connected.serial', 'check_online', null); usort($comps, 'sortcomp'); echo ''; + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'; echo ''; echo 'ALX Config - Index'; echo '