Accessing cnPilot and ePMP Debug Logs (Part 4 of 4)

DEVICE DEBUG LOGS

This article is part 4 of a series of topics about cnMaestro on-boarding and troubleshooting.  Please see Device On-boarding for a listing of all parts in this series.

See below for information regarding access to cnPilot and ePMP debug logs:

 

ePMP 1000 AP/SM

Login to the device GUI and collect log from Monitor > System Log page:

Sample log:

Dec 11 16:45:57 AP 121 DEVICE-AGENT[1838]: callback_websocket: LWS_CALLBACK_CLOSED

Dec 11 16:45:57 AP 121 DEVICE-AGENT[1838]: DA_STATE_DISCONNECTED

Dec 11 16:46:03 AP 121 DEVICE-AGENT[1838]: EINPROGRESS in connect()

Dec 11 16:46:03 AP 121 DEVICE-AGENT[1838]: SSL_ERROR_WANT_READ try again

Dec 11 16:46:04 AP 121 DEVICE-AGENT[1838]: SSL_ERROR_WANT_READ try again

Dec 11 16:46:04 AP 121 DEVICE-AGENT[1838]: Server certificate is verified and it is valid Dec 11 16:46:04 AP 121 DEVICE-AGENT[1838]: Received Headers : "HTTP/1.1 302 Found

Dec 11 16:46:25 AP 121 DEVICE-AGENT[1838]: callback_websocket: LWS_CALLBACK_CLIENT_ESTABLISHED

Dec 11 16:46:25 AP 121 DEVICE-AGENT[1838]: Cleanup any leftover stats requests/timers Dec 11 16:46:25 AP 121 DEVICE-AGENT[1838]: send controller data 1 seconds

Dec 11 16:46:26 AP 121 DEVICE-AGENT[1838]: handle_cns_msg: MSG_REGISTER_SUCCESS received

ePMP 1000 HS and cnPilot E400

Login to the device CLI using SSH and issue the following command:

service show debug-logs device-agent

Latest log details will be shown in the top Sample log

2015-12-12 14:51:48 wifi.c:1425:platform_set_cns_connection_state: New Connection_state Connected(6)

2015-12-12 14:51:43 device-agent.c:1005:handle_cns_msg: MSG_REGISTER_SUCCESS received

2015-12-12 14:51:43 wifi.c:1425:platform_set_cns_connection_state: New Connection_state Device Approval Pending(5)

2015-12-12 14:51:17 device-agent.c:1318:send controller data 1 seconds

2015-12-12 14:51:15 https-client.c:426:Server certificate is verified and it is valid 2015-12-12 14:51:15 https-client.c:390:SSL_connect succesful

2015-12-12 14:51:14 https-client.c:398:SSL_ERROR_WANT_READ try again 2015-12-12 14:51:14 wifi.c:1636:Server cert validation is enabled 2015-12-12 14:51:14 https-client.c:398:SSL_ERROR_WANT_READ try again

2015-12-12 14:51:14 https-client.c:192:Open connection ok

2015-12-12 14:51:14 https-client.c:179:EINPROGRESS in connect()

2015-12-12 14:51:07 device-agent.c:1747:DA_STATE_DISCONNECTED

2015-12-12 14:51:07 device-agent.c:1329:callback_websocket: LWS_CALLBACK_CLOSED

cnPilot R200/R201

Login to the device GUI and select the status->syslog page from Home. Sample log

<Mon Dec 7 14:11:14 2015> DEV_MANAGER[11774]: callback_websocket: LWS_CALLBACK_CLOSED

<Mon Dec 7 14:11:14 2015> DEV_MANAGER[11774]: DA_STATE_DISCONNECTED

<Mon Dec 7 14:11:22 2015> DEV_MANAGER[11774]: EINPROGRESS in connect()

<Mon Dec 7 14:11:22 2015> DEV_MANAGER[11774]: SSL_ERROR_WANT_READ try again

<Mon Dec 7 14:11:23 2015> DEV_MANAGER[11774]: SSL_ERROR_WANT_READ try again

<Mon Dec 7 14:11:23 2015> DEV_MANAGER[11774]: Server certificate is verified and it is valid

<Mon Dec 7 14:11:23 2015> DEV_MANAGER[11774]: Received Headers : "HTTP/1.1 302 Found...

<Mon Dec 7 14:12:54 2015> DEV_MANAGER[11774]: callback_websocket: LWS_CALLBACK_CLIENT_ESTABLISHED

<Mon Dec 7 14:12:54 2015> DEV_MANAGER[11774]: Cleanup any leftover stats requests/timers

<Mon Dec 7 14:12:54 2015> DEV_MANAGER[11774]: send controller data 1 seconds

<Mon Dec 7 14:13:22 2015> DEV_MANAGER[11774]: handle_cns_msg: MSG_REGISTER_SUCCESS received

PMP 450/450i AP/SM 

Login to the device GUI and select the Logs->Device  Agent Log page . Sample log

18 Likes