unpoller_unpoller/core/unifi/examples/ugw.json

372 lines
9.1 KiB
JSON

{
"_id": "59a35da745663e6cc82600f6",
"adopted": true,
"cfgversion": "bf9f0335063fe6ea",
"config_network": {
"type": "dhcp",
"ip": "192.168.2.0"
},
"ethernet_table": [
{
"mac": "22:22:00:22:22:00",
"num_port": 1,
"name": "eth0"
},
{
"mac": "22:22:00:22:22:00",
"num_port": 1,
"name": "eth1"
},
{
"mac": "22:22:00:22:22:00",
"num_port": 1,
"name": "eth2"
}
],
"fw_caps": 184323,
"inform_ip": "192.168.3.1",
"inform_url": "http://security:8080/inform",
"ip": "3.1.33.7",
"led_override": "default",
"license_state": "registered",
"mac": "22:22:00:22:22:00",
"model": "UGW3",
"name": "gateway",
"outdoor_mode_override": "default",
"serial": "xxxyyyzzz",
"site_id": "574e86994566ffb914a2683c",
"type": "ugw",
"usg_caps": 786431,
"version": "4.4.41.5193700",
"required_version": "4.0.0",
"ethernet_overrides": [
{
"ifname": "eth1",
"networkgroup": "LAN"
},
{
"ifname": "eth0",
"networkgroup": "WAN"
}
],
"hw_caps": 0,
"board_rev": 16,
"unsupported": false,
"unsupported_reason": 0,
"device_id": "59a35da745663e6cc82600f6",
"state": 1,
"last_seen": 1562311857,
"upgradable": false,
"adoptable_when_upgraded": false,
"rollupgrade": false,
"known_cfgversion": "bf9f0335063fe6ea",
"uptime": 3191626,
"_uptime": 3191626,
"locating": false,
"connect_request_ip": "192.168.2.1",
"connect_request_port": "35615",
"sys_stats": {
"loadavg_1": "0.01",
"loadavg_15": "0.12",
"loadavg_5": "0.06",
"mem_buffer": 62406656,
"mem_total": 507412480,
"mem_used": 397500416
},
"system-stats": {
"cpu": "14",
"mem": "30",
"uptime": "3191066"
},
"guest_token": "83342830AE9C0641DC39DD2759C122A1",
"speedtest-status": {
"latency": 14,
"rundate": 1562310531,
"runtime": 172,
"status_download": 2,
"status_ping": 2,
"status_summary": 2,
"status_upload": 2,
"xput_download": 157.36776733398438,
"xput_upload": 37.90521240234375
},
"speedtest-status-saved": true,
"wan1": {
"tx_bytes-r": 2852355,
"rx_bytes-r": 1224743,
"bytes-r": 4077098,
"max_speed": 1000,
"type": "wire",
"name": "wan",
"ifname": "eth0",
"ip": "3.1.33.7",
"netmask": "255.255.254.0",
"mac": "22:22:00:22:22:00",
"up": true,
"speed": 1000,
"full_duplex": true,
"rx_bytes": 2648236513108,
"rx_dropped": 34030,
"rx_errors": 0,
"rx_packets": 3068347172,
"tx_bytes": 3009601283006,
"tx_dropped": 0,
"tx_errors": 0,
"tx_packets": 2859713220,
"rx_multicast": 939111,
"enable": true,
"dns": [
"1.1.1.1",
"8.8.8.8"
],
"gateway": "3.1.33.8"
},
"port_table": [
{
"name": "wan",
"ifname": "eth0",
"ip": "3.1.33.7",
"netmask": "255.255.254.0",
"mac": "22:22:00:22:22:00",
"up": true,
"speed": 1000,
"full_duplex": true,
"rx_bytes": 2648236513108,
"rx_dropped": 34030,
"rx_errors": 0,
"rx_packets": 3068347172,
"tx_bytes": 3009601283006,
"tx_dropped": 0,
"tx_errors": 0,
"tx_packets": 2859713220,
"rx_multicast": 939111,
"enable": true,
"dns": [
"216.146.35.35",
"216.146.36.36"
],
"gateway": "3.1.33.8"
},
{
"name": "lan",
"ifname": "eth1",
"ip": "192.168.2.1",
"netmask": "255.255.252.0",
"mac": "22:22:00:22:22:00",
"up": true,
"speed": 1000,
"full_duplex": true,
"rx_bytes": 2911311797255,
"rx_dropped": 3438,
"rx_errors": 0,
"rx_packets": 2659342049,
"tx_bytes": 2140222188895,
"tx_dropped": 0,
"tx_errors": 0,
"tx_packets": 2734245088,
"rx_multicast": 11929365,
"enable": true
},
{
"name": "lan2",
"ifname": "eth2",
"ip": "0.0.0.0",
"netmask": "0.0.0.0",
"mac": "22:22:00:22:22:00",
"up": false,
"speed": 0,
"full_duplex": false,
"rx_bytes": 0,
"rx_dropped": 0,
"rx_errors": 0,
"rx_packets": 0,
"tx_bytes": 0,
"tx_dropped": 0,
"tx_errors": 0,
"tx_packets": 0,
"rx_multicast": 0,
"enable": false
}
],
"network_table": [
{
"_id": "574e8de34566ffb914a26862",
"is_nat": true,
"dhcpd_dns_enabled": false,
"purpose": "guest",
"dhcpd_leasetime": "86400",
"igmp_snooping": true,
"dhcpguard_enabled": false,
"dhcpd_start": "192.168.5.1",
"enabled": true,
"dhcpd_stop": "192.168.5.254",
"dhcpd_wins_enabled": false,
"domain_name": "guest.lan",
"dhcpd_enabled": true,
"ip_subnet": "192.168.5.0/23",
"vlan": "5",
"networkgroup": "LAN",
"name": "Public Wireless",
"site_id": "574e86994566ffb914a2683c",
"dhcpd_ip_1": "",
"vlan_enabled": true,
"dhcpd_gateway_enabled": false,
"dhcpd_time_offset_enabled": false,
"ipv6_interface_type": "none",
"dhcp_relay_enabled": false,
"mac": "22:22:00:22:22:00",
"is_guest": true,
"ip": "192.168.5.0",
"up": "true",
"num_sta": 1,
"rx_bytes": 578602537,
"rx_packets": 471151,
"tx_bytes": 182318948,
"tx_packets": 239651
},
{
"_id": "59a362f645663e6cc8260133",
"is_nat": true,
"dhcpd_dns_enabled": false,
"purpose": "corporate",
"dhcpd_leasetime": 86400,
"dhcpd_start": "192.168.68.2",
"dhcpd_stop": "192.168.68.250",
"enabled": true,
"domain_name": "secure.lan",
"dhcpd_enabled": true,
"vlan": "69",
"ip_subnet": "192.168.69.1/23",
"networkgroup": "LAN",
"name": "Security Network",
"site_id": "574e86994566ffb914a2683c",
"vlan_enabled": true,
"dhcpd_ntp_1": "192.168.69.1",
"dhcpd_gateway_enabled": false,
"dhcpd_time_offset_enabled": false,
"dhcp_relay_enabled": false,
"dhcpd_ntp_enabled": true,
"ipv6_interface_type": "none",
"dhcpd_unifi_controller": "192.168.3.1",
"igmp_snooping": true,
"mac": "22:22:00:22:22:00",
"is_guest": false,
"ip": "192.168.69.1",
"up": "true",
"num_sta": 11,
"rx_bytes": 5221725,
"rx_packets": 70663,
"tx_bytes": 0,
"tx_packets": 0
},
{
"_id": "574e869d4566ffb914a26841",
"purpose": "corporate",
"dhcpd_leasetime": "86400",
"igmp_snooping": false,
"dhcpd_ntp_1": "192.168.2.1",
"dhcpguard_enabled": false,
"dhcpd_gateway_enabled": false,
"dhcpd_time_offset_enabled": false,
"dhcpd_start": "192.168.1.1",
"dhcpd_unifi_controller": "192.168.3.1",
"dhcpd_stop": "192.168.1.254",
"enabled": true,
"domain_name": "home.lan",
"dhcpd_enabled": true,
"ip_subnet": "192.168.2.1/22",
"networkgroup": "LAN",
"dhcpd_ip_1": "",
"vlan_enabled": false,
"is_nat": true,
"dhcpd_dns_enabled": false,
"dhcp_relay_enabled": false,
"dhcpd_wins_enabled": false,
"upnp_lan_enabled": true,
"dhcpd_ntp_enabled": true,
"name": "Home Network",
"site_id": "574e86994566ffb914a2683c",
"attr_no_delete": true,
"attr_hidden_id": "LAN",
"ipv6_interface_type": "none",
"mac": "22:22:00:22:22:00",
"is_guest": false,
"ip": "192.168.2.1",
"up": "true",
"num_sta": 30,
"rx_bytes": 2099754971983,
"rx_packets": 2689749160,
"tx_bytes": 2877873632166,
"tx_packets": 2579198457
}
],
"uplink": {
"drops": 40,
"enable": true,
"full_duplex": true,
"gateways": [
"3.1.33.8"
],
"ip": "3.1.33.7",
"latency": 103,
"mac": "22:22:00:22:22:00",
"name": "eth0",
"nameservers": [
"1.1.1.1",
"8.8.8.8"
],
"netmask": "255.255.254.0",
"num_port": 1,
"rx_bytes": 2648236513108,
"rx_dropped": 34030,
"rx_errors": 0,
"rx_multicast": 939111,
"rx_packets": 3068347172,
"speed": 1000,
"speedtest_lastrun": 1562310531,
"speedtest_ping": 14,
"speedtest_status": "Success",
"tx_bytes": 3009601283006,
"tx_dropped": 0,
"tx_errors": 0,
"tx_packets": 2859713220,
"up": true,
"uptime": 559088,
"xput_down": 157.368,
"xput_up": 37.905,
"tx_bytes-r": 2852355,
"rx_bytes-r": 1224743,
"bytes-r": 4077098,
"max_speed": 1000,
"type": "wire"
},
"stat": {
"site_id": "574e86994566ffb914a2683c",
"o": "gw",
"oid": "22:22:00:22:22:00",
"gw": "22:22:00:22:22:00",
"time": 1562207100000,
"datetime": "2019-07-04T02:25:00Z",
"duration": 104466000,
"wan-rx_packets": 151387924,
"wan-rx_bytes": 111251311739,
"wan-tx_packets": 182985900,
"wan-tx_bytes": 230372237709,
"lan-rx_packets": 173953163,
"lan-rx_bytes": 226862410885,
"lan-tx_packets": 137029474,
"lan-tx_bytes": 89478206254,
"wan-rx_dropped": 561,
"lan-rx_dropped": 29
},
"tx_bytes": 2648236513108,
"rx_bytes": 3009601283006,
"bytes": 5657837796114,
"num_sta": 41,
"user-num_sta": 41,
"guest-num_sta": 0,
"num_desktop": 7,
"num_mobile": 2,
"num_handheld": 8
}