Files
unpoller_unpoller/core/unifi/examples/uap.json
T
2019-07-05 02:13:28 -07:00

739 lines
19 KiB
JSON

{
"_id": "574e8bde4566ffb914a26853",
"adopted": true,
"antenna_table": [
{
"default": true,
"id": 4,
"name": "Combined",
"wifi0_gain": 3,
"wifi1_gain": 3
}
],
"bandsteering_mode": "prefer_5g",
"board_rev": 18,
"cfgversion": "08cd8d6b71ebe82f",
"config_network": {
"type": "dhcp",
"ip": "10.1.10.67"
},
"countrycode_table": [
840,
124,
630
],
"ethernet_table": [
{
"mac": "80:22:a8:22:ae:22",
"num_port": 2,
"name": "eth0"
}
],
"fw_caps": 4128063,
"has_eth1": false,
"has_speaker": false,
"inform_ip": "192.168.3.1",
"inform_url": "http://unifi:8080/inform",
"ip": "192.168.1.8",
"led_override": "default",
"mac": "80:22:22:22:22:22",
"mesh_sta_vap_enabled": true,
"model": "U7PG2",
"name": "wap-lower",
"outdoor_mode_override": "default",
"port_table": [
{
"port_idx": 1,
"op_mode": "switch",
"portconf_id": "574e869d4566ffb914a26845",
"attr_no_edit": true,
"media": "GE",
"name": "Main",
"poe_caps": 0,
"port_poe": false,
"tx_bytes-r": 0,
"rx_bytes-r": 0,
"bytes-r": 0,
"port_delta": {
"time_delta": 21
},
"enable": true,
"masked": false,
"aggregated_by": false
},
{
"port_idx": 2,
"op_mode": "switch",
"portconf_id": "574e869d4566ffb914a26845",
"media": "GE",
"name": "Secondary",
"poe_caps": 0,
"port_poe": false,
"tx_bytes-r": 0,
"rx_bytes-r": 0,
"bytes-r": 0,
"port_delta": {
"time_delta": 21
},
"enable": true,
"masked": false,
"aggregated_by": false
}
],
"radio_table": [
{
"radio": "ng",
"name": "wifi0",
"channel": "auto",
"ht": "40",
"tx_power_mode": "auto",
"tx_power": "0",
"max_txpower": 22,
"min_txpower": 6,
"nss": 3,
"min_rssi_enabled": false,
"builtin_antenna": true,
"builtin_ant_gain": 3,
"current_antenna_gain": 0,
"radio_caps": 16420,
"wlangroup_id": "574e869d4566ffb914a26843"
},
{
"radio": "na",
"name": "wifi1",
"channel": "auto",
"ht": "80",
"tx_power_mode": "high",
"tx_power": "0",
"max_txpower": 22,
"min_txpower": 6,
"nss": 3,
"min_rssi_enabled": false,
"is_11ac": true,
"has_dfs": true,
"has_fccdfs": true,
"builtin_antenna": true,
"builtin_ant_gain": 3,
"current_antenna_gain": 0,
"radio_caps": 50479140,
"wlangroup_id": "574e869d4566ffb914a26843"
}
],
"scan_radio_table": [],
"serial": "xxxyyyzzz",
"site_id": "574e86994566ffb914a2683c",
"type": "uap",
"version": "4.0.42.10433",
"vwire_table": [],
"wifi_caps": 49141,
"wlangroup_id_na": "574e869d4566ffb914a26843",
"wlangroup_id_ng": "574e869d4566ffb914a26843",
"required_version": "3.4.1",
"hw_caps": 0,
"unsupported": false,
"unsupported_reason": 0,
"sys_error_caps": 0,
"has_fan": false,
"has_temperature": false,
"device_id": "574e8bde4566ffb914a26853",
"state": 1,
"last_seen": 1562225381,
"upgradable": false,
"adoptable_when_upgraded": false,
"rollupgrade": false,
"known_cfgversion": "08cd8d6b71ebe82f",
"uptime": 3105845,
"_uptime": 3105845,
"locating": false,
"connect_request_ip": "192.168.1.8",
"connect_request_port": "43913",
"sys_stats": {
"loadavg_1": "0.04",
"loadavg_15": "0.14",
"loadavg_5": "0.10",
"mem_buffer": 0,
"mem_total": 128622592,
"mem_used": 67178496
},
"system-stats": {
"cpu": "24.7",
"mem": "52.2",
"uptime": "3105845"
},
"ssh_session_table": [],
"scanning": false,
"spectrum_scanning": false,
"guest_token": "4D630D2A1AF84771FCBB8EEB4C47E030",
"meshv3_peer_mac": "",
"satisfaction": 95,
"isolated": false,
"radio_table_stats": [
{
"name": "wifi0",
"channel": 6,
"radio": "ng",
"ast_txto": null,
"ast_cst": null,
"ast_be_xmit": 398,
"cu_total": 20,
"cu_self_rx": 14,
"cu_self_tx": 4,
"gain": 3,
"state": "RUN",
"extchannel": 1,
"tx_power": 22,
"tx_packets": 183,
"tx_retries": 108,
"num_sta": 2,
"guest-num_sta": 0,
"user-num_sta": 2
},
{
"name": "wifi1",
"channel": 36,
"radio": "na",
"ast_txto": null,
"ast_cst": null,
"ast_be_xmit": 398,
"cu_total": 12,
"cu_self_rx": 10,
"cu_self_tx": 2,
"gain": 3,
"state": "RUN",
"extchannel": 1,
"tx_power": 22,
"tx_packets": 22466,
"tx_retries": 858,
"num_sta": 4,
"guest-num_sta": 0,
"user-num_sta": 4
}
],
"uplink": {
"full_duplex": true,
"ip": "0.0.0.0",
"mac": "80:22:22:22:22:22",
"max_vlan": 96,
"name": "eth0",
"netmask": "0.0.0.0",
"num_port": 2,
"rx_bytes": 3752803309,
"rx_dropped": 102338,
"rx_errors": 0,
"rx_multicast": 0,
"rx_packets": 245302304,
"speed": 1000,
"tx_bytes": 1604707458,
"tx_dropped": 341,
"tx_errors": 0,
"tx_packets": 194278357,
"up": true,
"max_speed": 1000,
"type": "wire",
"tx_bytes-r": 9693222,
"rx_bytes-r": 92418,
"uplink_mac": "f0:22:22:22:22:22",
"uplink_remote_port": 15
},
"vap_table": [
{
"avg_client_signal": 0,
"bssid": "82:22:22:22:22:22",
"ccq": 0,
"channel": 36,
"essid": "Extra Free",
"extchannel": 1,
"id": "574e96834566ffb914a26875",
"mac_filter_rejections": 0,
"name": "ath3",
"num_satisfaction_sta": 0,
"num_sta": 0,
"radio": "na",
"radio_name": "wifi1",
"rx_bytes": 61253,
"rx_crypts": 0,
"rx_dropped": 0,
"rx_errors": 0,
"rx_frags": 0,
"rx_nwids": 47658,
"rx_packets": 576,
"rx_tcp_stats": {
"goodbytes": 0,
"lat_avg": 0,
"lat_max": 0,
"lat_min": 4294967295,
"stalls": 0
},
"satisfaction": -1,
"satisfaction_now": -1,
"state": "RUN",
"tx_bytes": 922841,
"tx_combined_retries": 0,
"tx_data_mpdu_bytes": 0,
"tx_dropped": 18128,
"tx_errors": 7,
"tx_packets": 736,
"tx_power": 22,
"tx_retries": 0,
"tx_rts_retries": 0,
"tx_success": 0,
"tx_tcp_stats": {
"goodbytes": 0,
"lat_avg": 0,
"lat_max": 0,
"lat_min": 4294967295,
"stalls": 0
},
"tx_total": 0,
"up": true,
"usage": "guest",
"wifi_tx_attempts": 0,
"wifi_tx_dropped": 0,
"wifi_tx_latency_mov": {
"avg": 0,
"max": 0,
"min": 4294967295,
"total": 0,
"total_count": 0
},
"t": "vap",
"wlanconf_id": "574e96834566ffb914a26875",
"is_guest": true,
"is_wep": false,
"ap_mac": "80:22:a8:22:22:22",
"map_id": null,
"site_id": "574e86994566ffb914a2683c"
},
{
"avg_client_signal": -65,
"bssid": "80:22:a8:22:22:22",
"ccq": 333,
"channel": 36,
"essid": "Extra Fast",
"extchannel": 1,
"id": "574e96614566ffb914a26874",
"mac_filter_rejections": 0,
"name": "ath2",
"num_satisfaction_sta": 4,
"num_sta": 4,
"radio": "na",
"radio_name": "wifi1",
"rx_bytes": 3358763522,
"rx_crypts": 161639,
"rx_dropped": 161639,
"rx_errors": 161639,
"rx_frags": 0,
"rx_nwids": 37605,
"rx_packets": 99128603,
"rx_tcp_stats": {
"goodbytes": 16243150352,
"lat_avg": 7,
"lat_max": 100,
"lat_min": 10,
"stalls": 0
},
"satisfaction": 96,
"satisfaction_now": 97,
"state": "RUN",
"tx_bytes": 834859686,
"tx_combined_retries": 9067488,
"tx_data_mpdu_bytes": 48117828355,
"tx_dropped": 109,
"tx_errors": 4076905,
"tx_packets": 111980588,
"tx_power": 22,
"tx_retries": 9067488,
"tx_rts_retries": 0,
"tx_success": 62855481,
"tx_tcp_stats": {
"goodbytes": 2154118473,
"lat_avg": 18,
"lat_max": 120,
"lat_min": 10,
"stalls": 0
},
"tx_total": 62855552,
"up": true,
"usage": "user",
"wifi_tx_attempts": 71923040,
"wifi_tx_dropped": 71,
"wifi_tx_latency_mov": {
"avg": 565,
"max": 31757,
"min": 98,
"total": 10183098,
"total_count": 18019
},
"t": "vap",
"wlanconf_id": "574e96614566ffb914a26874",
"is_guest": false,
"is_wep": false,
"ap_mac": "80:22:22:22:22:22",
"map_id": null,
"site_id": "574e86994566ffb914a2683c"
},
{
"avg_client_signal": 0,
"bssid": "82:22:a8:22:22:22",
"ccq": 0,
"channel": 6,
"essid": "Extra Free",
"extchannel": 1,
"id": "574e96834566ffb914a26875",
"mac_filter_rejections": 0,
"name": "ath1",
"num_satisfaction_sta": 0,
"num_sta": 0,
"radio": "ng",
"radio_name": "wifi0",
"reasons_bar_chart": {
"phy_rate": 0,
"signal": 0,
"sleepy_client": 0,
"sta_arp_timeout": 0,
"sta_dns_timeout": 0,
"sta_ip_timeout": 0,
"stream_eff": 0,
"tcp_latency": 0,
"tcp_packet_loss": 0,
"wifi_latency": 0,
"wifi_retries": 0
},
"reasons_bar_chart_now": {
"phy_rate": 0,
"signal": 0,
"sleepy_client": 0,
"sta_arp_timeout": 0,
"sta_dns_timeout": 0,
"sta_ip_timeout": 0,
"stream_eff": 0,
"tcp_latency": 0,
"tcp_packet_loss": 0,
"wifi_latency": 0,
"wifi_retries": 0
},
"rx_bytes": 0,
"rx_crypts": 0,
"rx_dropped": 0,
"rx_errors": 0,
"rx_frags": 0,
"rx_nwids": 120385,
"rx_packets": 0,
"rx_tcp_stats": {
"goodbytes": 0,
"lat_avg": 0,
"lat_max": 0,
"lat_min": 4294967295,
"stalls": 0
},
"satisfaction": -1,
"satisfaction_now": -1,
"state": "RUN",
"tx_bytes": 0,
"tx_combined_retries": 0,
"tx_data_mpdu_bytes": 0,
"tx_dropped": 20262,
"tx_errors": 0,
"tx_packets": 0,
"tx_power": 22,
"tx_retries": 0,
"tx_rts_retries": 0,
"tx_success": 0,
"tx_tcp_stats": {
"goodbytes": 0,
"lat_avg": 0,
"lat_max": 0,
"lat_min": 4294967295,
"stalls": 0
},
"tx_total": 0,
"up": true,
"usage": "guest",
"wifi_tx_attempts": 0,
"wifi_tx_dropped": 0,
"wifi_tx_latency_mov": {
"avg": 0,
"max": 0,
"min": 4294967295,
"total": 0,
"total_count": 0
},
"t": "vap",
"wlanconf_id": "574e96834566ffb914a26875",
"is_guest": true,
"is_wep": false,
"ap_mac": "80:22:a8:22:22:22",
"map_id": null,
"site_id": "574e86994566ffb914a2683c"
},
{
"avg_client_signal": -68,
"bssid": "80:22:22:22:22:22",
"ccq": 966,
"channel": 6,
"essid": "Extra Fast",
"extchannel": 1,
"id": "574e96614566ffb914a26874",
"mac_filter_rejections": 0,
"name": "ath0",
"num_satisfaction_sta": 2,
"num_sta": 2,
"radio": "ng",
"radio_name": "wifi0",
"reasons_bar_chart": {
"phy_rate": 0,
"signal": 0,
"sleepy_client": 0,
"sta_arp_timeout": 0,
"sta_dns_timeout": 0,
"sta_ip_timeout": 0,
"stream_eff": 0,
"tcp_latency": 0,
"tcp_packet_loss": 0,
"wifi_latency": 0,
"wifi_retries": 1
},
"reasons_bar_chart_now": {
"phy_rate": 0,
"signal": 0,
"sleepy_client": 0,
"sta_arp_timeout": 0,
"sta_dns_timeout": 0,
"sta_ip_timeout": 0,
"stream_eff": 0,
"tcp_latency": 0,
"tcp_packet_loss": 0,
"wifi_latency": 0,
"wifi_retries": 1
},
"rx_bytes": 1017366419,
"rx_crypts": 11013,
"rx_dropped": 12764,
"rx_errors": 12764,
"rx_frags": 0,
"rx_nwids": 177145,
"rx_packets": 22542668,
"rx_tcp_stats": {
"goodbytes": 114220296,
"lat_avg": 5,
"lat_max": 10,
"lat_min": 10,
"stalls": 0
},
"satisfaction": 93,
"satisfaction_now": 94,
"state": "RUN",
"tx_bytes": 965488630,
"tx_combined_retries": 8202639,
"tx_data_mpdu_bytes": 1145631754,
"tx_dropped": 43,
"tx_errors": 0,
"tx_packets": 22623798,
"tx_power": 22,
"tx_retries": 7194267,
"tx_rts_retries": 1008372,
"tx_success": 9545999,
"tx_tcp_stats": {
"goodbytes": 182912739,
"lat_avg": 5,
"lat_max": 10,
"lat_min": 10,
"stalls": 0
},
"tx_total": 9547096,
"up": true,
"usage": "user",
"wifi_tx_attempts": 16740276,
"wifi_tx_dropped": 1095,
"wifi_tx_latency_mov": {
"avg": 673,
"max": 13612,
"min": 0,
"total": 263176,
"total_count": 391
},
"t": "vap",
"wlanconf_id": "574e96614566ffb914a26874",
"is_guest": false,
"is_wep": false,
"ap_mac": "80:22:22:22:22:22",
"map_id": null,
"site_id": "574e86994566ffb914a2683c"
}
],
"downlink_table": [],
"vwire_vap_table": [],
"bytes-d": 204913232,
"tx_bytes-d": 1921569,
"rx_bytes-d": 202991663,
"bytes-r": 9757772,
"last_uplink": {
"uplink_mac": "f0:22:22:22:22:22",
"uplink_remote_port": 15
},
"stat": {
"site_id": "574e86994566ffb914a2683c",
"o": "ap",
"oid": "80:22:a8:22:22:22",
"ap": "80:22:a8:22:22:22",
"time": 1562207100000,
"datetime": "2019-07-04T02:25:00Z",
"guest-wifi0-rx_packets": 0,
"guest-wifi1-rx_packets": 0,
"user-wifi1-rx_packets": 31373230,
"user-wifi0-rx_packets": 169790,
"user-rx_packets": 31543020,
"guest-rx_packets": 0,
"wifi0-rx_packets": 169790,
"wifi1-rx_packets": 31373230,
"rx_packets": 31543020,
"guest-wifi0-rx_bytes": 0,
"guest-wifi1-rx_bytes": 0,
"user-wifi1-rx_bytes": 42049645434,
"user-wifi0-rx_bytes": 16755639,
"user-rx_bytes": 42066401073,
"guest-rx_bytes": 0,
"wifi0-rx_bytes": 16755639,
"wifi1-rx_bytes": 42049645434,
"rx_bytes": 42066401073,
"guest-wifi0-rx_errors": 0,
"guest-wifi1-rx_errors": 0,
"user-wifi1-rx_errors": 150651,
"user-wifi0-rx_errors": 0,
"user-rx_errors": 150651,
"guest-rx_errors": 0,
"wifi0-rx_errors": 0,
"wifi1-rx_errors": 150651,
"rx_errors": 150651,
"guest-wifi0-rx_dropped": 0,
"guest-wifi1-rx_dropped": 0,
"user-wifi1-rx_dropped": 150651,
"user-wifi0-rx_dropped": 0,
"user-rx_dropped": 150651,
"guest-rx_dropped": 0,
"wifi0-rx_dropped": 0,
"wifi1-rx_dropped": 150651,
"rx_dropped": 150651,
"guest-wifi0-rx_crypts": 0,
"guest-wifi1-rx_crypts": 0,
"user-wifi1-rx_crypts": 150651,
"user-wifi0-rx_crypts": 0,
"user-rx_crypts": 150651,
"guest-rx_crypts": 0,
"wifi0-rx_crypts": 0,
"wifi1-rx_crypts": 150651,
"rx_crypts": 150651,
"guest-wifi0-rx_frags": 0,
"guest-wifi1-rx_frags": 0,
"user-wifi1-rx_frags": 0,
"user-wifi0-rx_frags": 0,
"user-rx_frags": 0,
"guest-rx_frags": 0,
"wifi0-rx_frags": 0,
"wifi1-rx_frags": 0,
"rx_frags": 0,
"guest-wifi0-tx_packets": 0,
"guest-wifi1-tx_packets": 0,
"user-wifi1-tx_packets": 7125589,
"user-wifi0-tx_packets": 210389,
"user-tx_packets": 7335978,
"guest-tx_packets": 0,
"wifi0-tx_packets": 210389,
"wifi1-tx_packets": 7125589,
"tx_packets": 7335978,
"guest-wifi0-tx_bytes": 0,
"guest-wifi1-tx_bytes": 0,
"user-wifi1-tx_bytes": 3011293823,
"user-wifi0-tx_bytes": 25966558,
"user-tx_bytes": 3037260381,
"guest-tx_bytes": 0,
"wifi0-tx_bytes": 25966558,
"wifi1-tx_bytes": 3011293823,
"tx_bytes": 3037260381,
"guest-wifi0-tx_errors": 0,
"guest-wifi1-tx_errors": 0,
"user-wifi1-tx_errors": 102193,
"user-wifi0-tx_errors": 0,
"user-tx_errors": 102193,
"guest-tx_errors": 0,
"wifi0-tx_errors": 0,
"wifi1-tx_errors": 102193,
"tx_errors": 102193,
"guest-wifi0-tx_dropped": 296,
"guest-wifi1-tx_dropped": 296,
"user-wifi1-tx_dropped": 0,
"user-wifi0-tx_dropped": 0,
"user-tx_dropped": 0,
"guest-tx_dropped": 592,
"wifi0-tx_dropped": 296,
"wifi1-tx_dropped": 296,
"tx_dropped": 592,
"guest-wifi0-tx_retries": 0,
"guest-wifi1-tx_retries": 0,
"user-wifi1-tx_retries": 519734,
"user-wifi0-tx_retries": 90225,
"user-tx_retries": 609959,
"guest-tx_retries": 0,
"wifi0-tx_retries": 90225,
"wifi1-tx_retries": 519734,
"tx_retries": 609959,
"guest-wifi0-mac_filter_rejections": 0,
"guest-wifi1-mac_filter_rejections": 0,
"user-wifi1-mac_filter_rejections": 0,
"user-wifi0-mac_filter_rejections": 0,
"user-mac_filter_rejections": 0,
"guest-mac_filter_rejections": 0,
"wifi0-mac_filter_rejections": 0,
"wifi1-mac_filter_rejections": 0,
"mac_filter_rejections": 0,
"guest-wifi0-wifi_tx_attempts": 0,
"guest-wifi1-wifi_tx_attempts": 0,
"user-wifi1-wifi_tx_attempts": 4419026,
"user-wifi0-wifi_tx_attempts": 255999,
"user-wifi_tx_attempts": 4675025,
"guest-wifi_tx_attempts": 0,
"wifi0-wifi_tx_attempts": 255999,
"wifi1-wifi_tx_attempts": 4419026,
"wifi_tx_attempts": 4675025,
"guest-wifi0-wifi_tx_dropped": 0,
"guest-wifi1-wifi_tx_dropped": 0,
"user-wifi1-wifi_tx_dropped": 25,
"user-wifi0-wifi_tx_dropped": 2,
"user-wifi_tx_dropped": 27,
"guest-wifi_tx_dropped": 0,
"wifi0-wifi_tx_dropped": 2,
"wifi1-wifi_tx_dropped": 25,
"wifi_tx_dropped": 27,
"bytes": 45103661454,
"duration": 17988000,
"user-wifi1-ath2-574e96614566ffb914a26874-rx_packets": 31373230,
"user-wifi1-ath2-574e96614566ffb914a26874-rx_bytes": 42049645434,
"user-wifi1-ath2-574e96614566ffb914a26874-tx_packets": 7125589,
"user-wifi1-ath2-574e96614566ffb914a26874-tx_bytes": 3011293823,
"user-wifi1-ath2-574e96614566ffb914a26874-tx_errors": 102193,
"user-wifi1-ath2-574e96614566ffb914a26874-tx_retries": 519734,
"user-wifi1-ath2-574e96614566ffb914a26874-wifi_tx_attempts": 4419026,
"user-wifi0-ath0-574e96614566ffb914a26874-rx_packets": 169790,
"user-wifi0-ath0-574e96614566ffb914a26874-rx_bytes": 16755639,
"user-wifi0-ath0-574e96614566ffb914a26874-tx_packets": 210389,
"user-wifi0-ath0-574e96614566ffb914a26874-tx_bytes": 25966558,
"user-wifi0-ath0-574e96614566ffb914a26874-tx_retries": 90225,
"user-wifi0-ath0-574e96614566ffb914a26874-wifi_tx_attempts": 255999,
"guest-wifi1-ath3-574e96834566ffb914a26875-tx_dropped": 296,
"guest-wifi0-ath1-574e96834566ffb914a26875-tx_dropped": 296,
"user-wifi1-ath2-574e96614566ffb914a26874-rx_errors": 150651,
"user-wifi1-ath2-574e96614566ffb914a26874-rx_dropped": 150651,
"user-wifi1-ath2-574e96614566ffb914a26874-rx_crypts": 150651,
"user-wifi0-ath0-574e96614566ffb914a26874-wifi_tx_dropped": 2,
"user-wifi1-ath2-574e96614566ffb914a26874-wifi_tx_dropped": 25
},
"tx_bytes": 3037260381,
"rx_bytes": 42066401073,
"bytes": 45103661454,
"vwireEnabled": false,
"uplink_table": [],
"num_sta": 6,
"user-num_sta": 6,
"guest-num_sta": 0
}