新路由的回传数据
新路由3(D2)每5分钟会回传一次设备状态信息, 包含的内容为
2018-01-11 21:28:09 /home/linux/project/Node-Monitor/pear_monitor/pear_machine.c 171 MAIN INFO[6]: { "up_rate": 418, "down_rate": 0, "max_up_rate": 3553128, "max_down_rate": 8475820, "status": 0 } 2018-01-11 21:28:09 /home/linux/project/Node-Monitor/pear_monitor/pear_event.c 105 MAIN INFO[6]: { "version":"310", "platform":"NEWIFI_MT7621_OPENWRT", "type":"node", "nat_type":"SymmetricNat", "mac_addr":"20:b6:93:41:5f:65", "public_ip":"12.34.57.1", "local_ip":"192.168.6.120", "http_port":49161, "https_port":4957, "sn":"000000000000000000000PND021513034567", "up_rate":"418", "down_rate":"0", "max_up_rate":"3553128", "max_down_rate":"8475820", "uuid":"B365604203233G99", "distrib_release":"3.2.1.7400", "distrib_platform":"newifi-d2", "xiaoyun_username":"admin@163.com", "cpu_cores":4, "memory_free":501, "storage_total":93767, "storage_avail":84473, "upnp":0, "pmp":0, "speed_update":"1", "ping":47014.67, "download_bw":17.52, "upload_bw":44.29, "traffic_volumes":[], "shell_response":"", "no_cache":false, "update_files":true, "files":[] } 2018-01-11 21:28:09 /home/linux/project/Node-Monitor/pear_monitor/pear_event.c 129 MAIN INFO[6]: { "shell": "", "config": "", "videos": null } 2018-01-11 21:33:09 /home/linux/project/Node-Monitor/pear_monitor/pear_machine.c 171 MAIN INFO[6]: { "up_rate": 1211, "down_rate": 469, "max_up_rate": 3553128, "max_down_rate": 8475820, "status": 0 } 2018-01-11 21:33:09 /home/linux/project/Node-Monitor/pear_monitor/pear_event.c 105 MAIN INFO[6]: { "version":"310", "platform":"NEWIFI_MT7621_OPENWRT", "type":"node", "nat_type":"SymmetricNat", "mac_addr":"20:b6:93:41:5f:65", "public_ip":"12.34.57.1", "local_ip":"192.168.6.120", "http_port":49161, "https_port":4957, "sn":"000000000000000000000PND021513034567", "up_rate":"1211", "down_rate":"469", "max_up_rate":"3553128", "max_down_rate":"8475820", "uuid":"B365604203233G99", "distrib_release":"3.2.1.7400", "distrib_platform":"newifi-d2", "xiaoyun_username":"admin@163.com", "cpu_cores":4, "memory_free":501, "storage_total":93767, "storage_avail":84473, "upnp":0, "pmp":0, "speed_update":"1", "ping":47014.67, "download_bw":17.52, "upload_bw":44.29, "traffic_volumes":[], "shell_response":"", "no_cache":false, "update_files":false } 2018-01-11 21:33:09 /home/linux/project/Node-Monitor/pear_monitor/pear_event.c 129 MAIN INFO[6]: { "shell": "", "config": "", "videos": null }
另外还有一组间隔大于五分钟的数据
2018-01-12 06:42:22 /home/linux/project/Node-Monitor/pear_monitor/pear_machine.c 278 MAIN INFO[6]: { "macaddr": "20:a6:b3:3F:23:21", "sn": "000000000000000000000PND031707012345", "uuid": "D365BCB3220D352B", "status": 0 } 2018-01-12 06:42:22 /home/linux/project/Node-Monitor/pear_monitor/pear_machine.c 361 MAIN INFO[6]: { "status": 0, "distrib_id": "newifi", "distrib_release": "3.2.1.7400", "distrib_codename": "beta", "distrib_platform": "newifi-d2" } 2018-01-12 06:42:23 /home/linux/project/Node-Monitor/pear_monitor/pear_machine.c 383 MAIN INFO[6]: { "Info" : { "Online" : true, "Username" : "admin@163.com", "VerifyType" : 3 }, "ResponseHeader" : { "ErrorCode" : 0, "ErrorMsg" : "" } }