Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Below are the steps for enabling Telemetry 2.0 in RPI,
1. dmcli eRT setv Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.Telemetry.Enable bool true
2. dmcli eRT setv Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.Telemetry.Version string 2
3. dmcli eRT setv Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.Telemetry.ConfigURL string https://xconf.rdkcentral.com:909219092/loguploader/getT2Settings
4. touch /nvram/enable_t2_debug
5. reboot the device
6. pidof "telemetry2_0" - check the running status of telemetry2 

...

...

Xconf Server → DCM → Upload Repository

Upload Repository : HTTP HTTPS Server

Repository URL: httphttps://35xconf.161rdkcentral.239.220com/xconf/telemetry_upload.php

Image RemovedImage Added

Create LogUpload Settings

...

  1. In the Telemetry Permanent Profile page, there will be a 5th column that allows a component name to be entered. The component name is optional and may be present for only some of the entries in the Telemetry profile.

Image RemovedImage Added

 2. Once you save the permanent profile, you will get a message overlay ‘Profile added to the pending changes’. Then go to Changes -> select the profile you create -> Click on “Approve selected changes”.
Then the permanent profile will be listed under Telemetry - > Permanent profiles

...

https://xconf.rdkcentral.com:909219092/loguploader/getT2Settings?estbMacAddress=b8:27:eb:1b:56:4c&firmwareVersion=rdkb-generic-broadband-image_rdk-next_20210329055811&model=&partnerId=RDKM&accountId=&ecmMacAddress=B8:27:EB:1B:56:4C&env=dev&controllerId=2504&channelMapId=2345&vodId=15660&version=2

...

Code Block
languagebash
themeDJango
titleDCMresponse.txt
collapsetrue
root@RaspberryPi-Gateway:~# cat /tmp/DCMresponse.txt 
"urn:settings:GroupName":"RDKB-RPI-TEST"
"urn:settings:CheckOnReboot":true
"urn:settings:CheckSchedule:cron":"2 2 * * *"
"urn:settings:CheckSchedule:DurationMinutes":0
"urn:settings:LogUploadSettings:Message":null
"urn:settings:LogUploadSettings:Name":"RDKB-RPI-TEST"
"urn:settings:LogUploadSettings:NumberOfDays":0
"urn:settings:LogUploadSettings:UploadRepositoryName":"RDKB-RPI-TEST"
"urn:settings:LogUploadSettings:UploadRepository:URL":"httphttps://35.161.239.220/xconf/telemetry_upload.php"
"urn:settings:LogUploadSettings:UploadRepository:uploadProtocol":"HTTP"
"urn:settings:LogUploadSettings:UploadOnReboot":true
"urn:settings:LogUploadSettings:UploadImmediately":false
"urn:settings:LogUploadSettings:upload":true
"urn:settings:LogUploadSettings:UploadSchedule:cron":"2 2 * * *"
"urn:settings:LogUploadSettings:UploadSchedule:levelone:cron":null
"urn:settings:LogUploadSettings:UploadSchedule:leveltwo:cron":null
"urn:settings:LogUploadSettings:UploadSchedule:levelthree:cron":null
"urn:settings:LogUploadSettings:UploadSchedule:DurationMinutes":0
"urn:settings:VODSettings:Name":null
"urn:settings:VODSettings:LocationsURL":null
"urn:settings:VODSettings:SRMIPList":null
"urn:settings:TelemetryProfile":{"id":"04e97048-4b56-4680-b88a-7dc73dc794d0","telemetryProfile":[{"header":"PAM","content":"enteredhotspot_update_circuit_ids","type":"PAMlog.txt.0","pollingFrequency":"2"},{"header":"Total_online_clients_split","content":"RDKB_CONNECTED_CLIENTS:Total_Online_Clients=","type":"LM.txt.0","pollingFrequency":"0"},{"header":"Total_online_clients_split","content":"ccsp-lm-lite","type":"<event>","pollingFrequency":"0"},{"header":"Total_Hosts_Count_split","content":"ccsp-wifi-agent","type":"<event>","pollingFrequency":"0"},{"header":"bootuptime_wifi_split","content":"boot_to_WIFI_uptime=","type":"BootTime.log","pollingFrequency":"0"},{"header":"bootuptime_Ethernet_split","content":"boot_to_ETH_uptime=","type":"BootTime.log","pollingFrequency":"0"},{"header":"bootuptime_ClientConnectComplete_split","content":"ccsp-lm-lite","type":"<event>","pollingFrequency":"0"},{"header":"WIFI_INFO_clientdisconnect","content":"ccsp-lm-lite","type":"<event>","pollingFrequency":"0"},{"header":"UPDays_split","content":"test-and-diagnostic","type":"<event>","pollingFrequency":"0"},{"header":"UPTIME_split","content":"Device.DeviceInfo.UpTime","type":"<message_bus>","pollingFrequency":"24"},{"header":"CMMAC_split","content":"Device.DeviceInfo.X_COMCAST-COM_CM_MAC","type":"<message_bus>","pollingFrequency":"24"},{"header":"XDNS_split","content":"Device.DeviceInfo.X_RDKCENTRAL-COM_EnableXDNS","type":"<message_bus>","pollingFrequency":"48"},{"header":"xwifi2g_split","content":"Device.WiFi.SSID.5.Enable","type":"<message_bus>","pollingFrequency":"4"},{"header":"xwifienable_split","content":"Device.DeviceInfo.X_COMCAST_COM_xfinitywifiEnable","type":"<message_bus>","pollingFrequency":"4"},{"header":"2G_Radio_Status_split","content":"Device.WiFi.Radio.1.Status","type":"<message_bus>","pollingFrequency":"24"},{"header":"5G_Radio_Status_split","content":"Device.WiFi.Radio.2.Status","type":"<message_bus>","pollingFrequency":"24"},{"header":"HWREV_split","content":"Device.DeviceInfo.HardwareVersion","type":"<message_bus>","pollingFrequency":"96"},{"header":"FT_split","content":"Device.DeviceInfo.FirstUseDate","type":"<message_bus>","pollingFrequency":"80"},{"header":"LT_split","content":"Device.Time.CurrentLocalTime","type":"<message_bus>","pollingFrequency":"0"},{"header":"LoadAvg_split","content":"test-and-diagnostic","type":"<event>","pollingFrequency":"0"},{"header":"SYS_ERROR_PSMCrash_reboot","content":"Psm_crash","type":"BootTime.log","pollingFrequency":"0"},{"header":"SYS_INFO_Hostname_changed","content":"ccsp-lm-lite","type":"<event>","pollingFrequency":"0"},{"header":"WIFI_ERROR_PSM_GetRecordFail","content":"ccsp-wifi-agent","type":"<event>","pollingFrequency":"0"},{"header":"WIFI_INFO_CosaWifiinit","content":"ccsp-wifi-agent","type":"<event>","pollingFrequency":"0"},{"header":"SYS_INFO_CaptivePortal","content":"WiFi SSID and Passphrase are not modified","type":"Consolelog.txt.0","pollingFrequency":"0"},{"header":"btime_moca_split","content":"boot_to_MOCA_uptime=","type":"BootTime.log","pollingFrequency":"0"},{"header":"bootuptime_SNMPV2Ready_split","content":"boot_to_snmp_subagent_v2_uptime","type":"BootTime.log","pollingFrequency":"0"},{"header":"btime_wcpenter_split","content":"Enter_WiFi_Personalization_captive_mode:","type":"Consolelog.txt.0","pollingFrequency":"0"},{"header":"SYS_SH_RDKB_FIREWALL_RESTART","content":"LAN HANDLER : Triggering RDKB_FIREWALL_RESTART after nfqhandler","type":"Consolelog.txt.0","pollingFrequency":"0"},{"header":"btime_laninit_split","content":"Lan_init_complete:","type":"ArmConsolelog.txt.0","pollingFrequency":"0"},{"header":"btime_laninit_split","content":"Laninit_complete=","type":"BootTime.log","pollingFrequency":"0"},{"header":"btime_waninit_split","content":"Waninit_complete=","type":"BootTime.log","pollingFrequency":"0"},{"header":"btime_waninit_split","content":"Wan_init_complete:","type":"ArmConsolelog.txt.0","pollingFrequency":"0"},{"header":"btime_wanup_split","content":"boot_to_wan_uptime=","type":"BootTime.log","pollingFrequency":"0"},{"header":"btime_webpa_split","content":"boot_to_WEBPA_READY_uptime=","type":"WEBPAlog.txt.0","pollingFrequency":"0"},{"header":"btime_webpa_split","content":"boot_to_WEBPA_READY_uptime=","type":"BootTime.log","pollingFrequency":"0"},{"header":"MAXRX_1_split","content":"ccsp-wifi-agent","type":"<event>","pollingFrequency":"0"},{"header":"MAXTX_1_split","content":"ccsp-wifi-agent","type":"<event>","pollingFrequency":"0"},{"header":"SYS_SH_DhcpArpProcess_restart","content":"test-and-diagnostic","type":"<event>","pollingFrequency":"0"},{"header":"SYS_SH_PAM_CRASH_RESTART","content":"test-and-diagnostic","type":"<event>","pollingFrequency":"0"},{"header":"SYS_ERROR_5min_avg_cpu_100","content":"test-and-diagnostic","type":"<event>","pollingFrequency":"0"},{"header":"WIFI_INFO_2GPrivateSSID_OFF","content":"test-and-diagnostic","type":"<event>","pollingFrequency":"0"},{"header":"SYS_SH_WebPA_restart","content":"test-and-diagnostic","type":"<event>","pollingFrequency":"0"},{"header":"WIFI_ERROR_WIFI_Not_Registered","content":"ccsp-cr","type":"<event>","pollingFrequency":"0"},{"header":"SYS_ERROR_PSM_Not_Registered","content":"ccsp-cr","type":"<event>","pollingFrequency":"0"},{"header":"WIFI_ERROR_WifiDmCliError","content":"test-and-diagnostic","type":"<event>","pollingFrequency":"0"},{"header":"RF_ERROR_IPV4PingFailed","content":"test-and-diagnostic","type":"<event>","pollingFrequency":"0"},{"header":"RF_ERROR_IPV4IPV6PingFailed","content":"test-and-diagnostic","type":"<event>","pollingFrequency":"0"},{"header":"WIFI_INFO_2G_DISABLED","content":"test-and-diagnostic","type":"<event>","pollingFrequency":"0"},{"header":"SYS_INFO_LOGS_UPLOADED","content":"sysint-broadband","type":"<event>","pollingFrequency":"0"},{"header":"SYS_ERROR_DHCP_RANGE_CORRUPTION","content":"bad dhcp-range at line","type":"Consolelog.txt.0","pollingFrequency":"0"},{"header":"SYS_ERROR_SegFault","content":"Segmentation fault","type":"Consolelog.txt.0","pollingFrequency":"0"},{"header":"SYS_INFO_ip_address_recovered","content":"sysevent_set_wr: ipv4_wan_ipaddr","type":"Consolelog.txt.0","pollingFrequency":"0"},{"header":"RF_INFO_RDKB_FIREWALL_RESTART","content":"Triggering RDKB_FIREWALL_RESTART","type":"Consolelog.txt.0","pollingFrequency":"0"},{"header":"SYS_INFO_Factory_reset","content":"Received reboot_reason as:factory-reset","type":"BootTime.log","pollingFrequency":"0"},{"header":"SYS_INFO_SW_upgrade_reboot","content":"Software_upgrade","type":"BootTime.log","pollingFrequency":"0"},{"header":"XCONF_Dwld_failed","content":"ccsp-xconf","type":"<event>","pollingFrequency":"0"},{"header":"bootuptime_EnterWifiCaptivemode_split","content":"Enter_WiFi_Personalization_captive_mode:","type":"Consolelog.txt.0","pollingFrequency":"0"},{"header":"SYS_INFO_WANSSH_enabled","content":"FillPartnerIDValues - Enabling SSH on WAN side","type":"PAMlog.txt.0","pollingFrequency":"0"},{"header":"Log_upload_disabled","content":"Log upload is disabled","type":"Consolelog.txt.0","pollingFrequency":"0"},{"header":"SYS_INFO_ParodusDown","content":"Unable to connect to server since interface is down","type":"PARODUSlog.txt.0","pollingFrequency":"0"},{"header":"SYS_INFO_ParodusCurlOK","content":"PARODUS: cURL success","type":"PARODUSlog.txt.0","pollingFrequency":"0"},{"header":"SYS_ERROR_TR69_Not_Registered","content":"ccsp-cr","type":"<event>","pollingFrequency":"0"},{"header":"WIFI_ACS_2_split","content":"Device.WiFi.Radio.2.AutoChannelEnable","type":"<message_bus>","pollingFrequency":"4"},{"header":"WIFI_INFO_Zero_5G_Clients","content":"ccsp-wifi-agent","type":"<event>","pollingFrequency":"0"},{"header":"WIFI_INFO_Zero_2G_Clients","content":"ccsp-wifi-agent","type":"<event>","pollingFrequency":"0"},{"header":"UsedMem_split","content":"test-and-diagnostic","type":"<event>","pollingFrequency":"0"},{"header":"UsedCPU_split","content":"test-and-diagnostic","type":"<event>","pollingFrequency":"0"},{"header":"WIFI_NF_2_split","content":"Device.WiFi.Radio.2.Stats.X_COMCAST-COM_NoiseFloor","type":"<message_bus>","pollingFrequency":"24"},{"header":"WIFI_NF_1_split","content":"Device.WiFi.Radio.1.Stats.X_COMCAST-COM_NoiseFloor","type":"<message_bus>","pollingFrequency":"24"},{"header":"HWREV_split","content":"Device.DeviceInfo.HardwareVersion","type":"<message_bus>","pollingFrequency":"24"},{"header":"WIFI_ERROR_Wifi_query_timeout","content":"test-and-diagnostic","type":"<event>","pollingFrequency":"0"},{"header":"SYS_INFO_Create_GRE_Tunnel","content":"ccsp-hotspot","type":"<event>","pollingFrequency":"0"},{"header":"WIFI_INFO_Hotspot_client_disconnected","content":"ccsp-hotspot","type":"<event>","pollingFrequency":"0"},{"header":"WIFI_INFO_Hotspot_client_connected","content":"ccsp-hotspot","type":"<event>","pollingFrequency":"0"},{"header":"SYS_INFO_Hotspot_MaxClients","content":"ccsp-hotspot","type":"<event>","pollingFrequency":"0"},{"header":"WIFI_INFO_ClientTransitionToXfininityWifi","content":"ccsp-hotspot","type":"<event>","pollingFrequency":"0"},{"header":"Total_Ethernet_Clients_split","content":"ccsp-lm-lite","type":"<event>","pollingFrequency":"0"},{"header":"Total_online_clients_split","content":"ccsp-lm-lite","type":"<event>","pollingFrequency":"0"},{"header":"Total_devices_connected_split","content":"ccsp-lm-lite","type":"<event>","pollingFrequency":"0"},{"header":"Total_offline_clients_split","content":"ccsp-lm-lite","type":"<event>","pollingFrequency":"0"},{"header":"Total_wifi_clients_split","content":"ccsp-lm-lite","type":"<event>","pollingFrequency":"0"},{"header":"Total_moca_clients_split","content":"ccsp-lm-lite","type":"<event>","pollingFrequency":"0"},{"header":"SYS_ERROR_CPU100","content":"test-and-diagnostic","type":"<event>","pollingFrequency":"0"}],"schedule":"2","expires":0,"telemetryProfile:name":"RDKB-RPI-TEST","uploadRepository:URL":"http://35.161.239.220/xconf/telemetry_upload.php","uploadRepository:uploadProtocol":"HTTP"}
root@RaspberryPi-Gateway:~# ~# 

RPI device Logs

Successful communication logs between device and xconf server in /rdklogs/logs/telemetry2_0.txt.0,

...