From 1d7b680e6a21f1b524d54b08152801720827bce0 Mon Sep 17 00:00:00 2001 From: M.Gergő Date: Mon, 25 May 2020 20:24:50 +0200 Subject: debug repair --- ubnt_unifi.php | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/ubnt_unifi.php b/ubnt_unifi.php index 0f15cf2..08ad0fa 100644 --- a/ubnt_unifi.php +++ b/ubnt_unifi.php @@ -644,15 +644,6 @@ if (isset($argv[1]) and $argv[1] == "config"){ // munin config echo "\n-----------------------------------------------------------------------------------------------------\n"; echo "\n\nRAW_data: \n"; print_r($raw); - echo "\n-----------------------------------------------------------------------------------------------------\n"; - echo "\n\nCollected info on Controller:\n"; - print_r(collect_radio_summary($raw,null)); - print_r(collect_netw_summary($raw,null)); - print_r(collect_response_time($raw,null)); - echo "\n\nHeader-Print test on Controller: \n\n"; - print_header(collect_radio_summary($raw,null)); - echo "\n\nData-Print test on Controller: \n\n"; - print_data(collect_radio_summary($raw,null)); if(isset($hostsip) && isset($hostsip[0])){ echo "\n-----------------------------------------------------------------------------------------------------\n"; @@ -660,6 +651,8 @@ if (isset($argv[1]) and $argv[1] == "config"){ // munin config print_r(collect_radio_summary($raw,$hostsip[0]['hs'])); echo "\n\nHeader-Print test on AP NR.1: \n\n"; print_header(collect_radio_summary($raw,$hostsip[0]['hs'])); + echo "\n\nData-Print test on AP NR.1: \n\n"; + print_data(collect_radio_summary($raw,$hostsip[0]['hs'])); } } else { // munin data -- cgit v1.2.3