$aps) { $index = format_mac(mac_zeropad($ap_index)); print_debug_vars($aps); if (is_array($aps_poll[$index])) { //echo("AP Index exists: $index\n"); $uptime = uptime_to_seconds($aps['cLApUpTime']); $control_uptime = uptime_to_seconds($aps['cLLwappUpTime']); $control_latency = uptime_to_seconds($aps['cLLwappJoinTakenTime']); $aps_poll[$index]['ap_uptime'] = $uptime; $aps_poll[$index]['ap_control_uptime'] = $control_uptime; $aps_poll[$index]['ap_control_latency'] = $control_latency; } else { print_warning("New AP Index: $index - Need to wait for AIRESPACE-WIRELESS-MIB to add it in the DB"); } } unset($lwapps, $ap_index, $index, $aps); // EOF