diff options
author | M.Gergő | 2020-05-25 20:24:50 +0200 |
---|---|---|
committer | M.Gergő | 2020-05-25 20:24:50 +0200 |
commit | 1d7b680e6a21f1b524d54b08152801720827bce0 (patch) | |
tree | 843b219768e321e16a6fb60bf6270c65905b136f | |
parent | 9738191446c74c484d9af3e9df44d9ce54c4263d (diff) | |
download | munin-unifi-1d7b680e6a21f1b524d54b08152801720827bce0.tar.gz munin-unifi-1d7b680e6a21f1b524d54b08152801720827bce0.zip |
debug repair
-rw-r--r-- | ubnt_unifi.php | 11 |
1 files 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 |