RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Flow: Xconf-server -> Common -> Environments
Click on Create Button.
...
Flow: Xconf-server -> Common -> IP Lists -> Create-> Create -> Add your device IP address -> Save.
...
...
Sample Output
root@RaspberryPi-Gateway:/rdklogs/logs# root@RaspberryPi-Gateway:/rdklogs/logs# tail -f telemetry.log 211110-06:10:14.269011 dca: Using Direct commnication • Sample number of proUPdel1:42 Upload protocol telemetry is:HTTP before HTTP upload number of httpdeli:42 HTTPTELEMETRYURL:http://35.161.239.220/xconf/telemetry_upload.php ------CURL_CMD:curl --tlsv1.2 -w '%{http_code}\n' -H "Accept: application/json" -H "Content-type: application/json" -X POST -d @/nvram/rtl_json.txt 'http://35.161.239.220/xconf/telemetry_upload.php' --connect-timeout 30 -m 30 number of proUPdel2:42 Upload protocol logupload is:HTTP before HTTP log upload HTTPLOGUPLOADURL:http://35.161.239.220/xconf/logupload.php upload log file is:11-10-21-06-08AM.tgz ------CURL_CMD2:curl -w '%{http_code}\n' -F filename=@/rdklogs/logs//PreviousLogs/B8:27:EB:22:16:36-Logs-11-10-21-06-08AM.tgz 'http://35.161.239.220/xconf/logupload.php' --connect-timeout 100 -m 100 http code in telemetry is :200 HTTP telemetry curl upload succeded!!!!!!!!!!!!!!!!! http_code is :200 HTTP log upload succeded!!!!!!!!!!!!!!!!! number of proUPdel2:42 Upload protocol logupload is:HTTP before HTTP log upload HTTPLOGUPLOADURL:http://35.161.239.220/xconf/logupload.php upload log file is:11-10-21-06-08AM.tgz ------CURL_CMD2:curl -w '%{http_code}\n' -F filename=@/rdklogs/logs//PreviousLogs/B8:27:EB:22:16:36-Logs-11-10-21-06-08AM.tgz 'http://35.161.239.220/xconf/logupload.php' --connect-timeout 100 -m 100 http_code is :200 HTTP log upload succeded!!!!!!!!!!!!!!!!! Done Uploading Logs and removing rtl_json.txt file Done Uploading Logs and removing rtl_json.txt file |
---|
Pre- requisites for enabling Telemetry2_0
Telemetry Version: 2.0.1 (by default telemetry version as 1)
After reboot the device
There are 2 parameters under T2 report profiles,
DM | Description | |
1 | Device.X_RDKCENTRAL-COM_T2.ReportProfilesMsgPack | Value must be JSON configuration blob in base 64 encoded msgpack format |
2 | Device.X_RDKCENTRAL-COM_T2.ReportProfiles | Value must be JSON configuration blob in string |
dmcli eRT setv Device.X_RDKCENTRAL-COM_T2.ReportProfiles string '{"profiles":[{"name":"RDKB_CCSPWiFi_Profile","hash":"hash1","value":{"Name":"RDKB_CCSPWifi_Profile","Description":"Report to check WiFi Parameters","Version":"1","Protocol":"HTTP","EncodingType":"JSON","ReportingInterval":180,"TimeReference":"0001-01-01T00:00:00Z","ActivationTimeOut":1800,"Parameter":[{"type":"dataModel","reference":"Profile.Name"},{"type":"dataModel","reference":"Profile.Version"},{"type":"dataModel","reference":"Device.WiFi.Radio.1.Stats.X_COMCAST-COM_NoiseFloor"},{"type":"event","eventName":"2GclientMac_split","component":"wifihealth","use":"absolute"},{"type":"event","eventName":"5GclientMac_split","component":"wifihealth","use":"absolute"},{"type":"event","name":"wifiradio WIFI_COUNT","eventName":"WIFI_MAC_1_TOTAL_COUNT:0","component":"wifiradio","use":"count","reportEmpty":false},{"type":"dataModel","name":"UPTIME","reference":"Device.DeviceInfo.UpTime","use":"absolute"}],"HTTP":{"URL":"http://35.161.239.220/xconf/telemetry_upload.php","Compression":"None","Method":"POST","RequestURIParameter":[{"Name":"deviceId","Reference":"Device.DeviceInfo.X_COMCAST-COM_CM_MAC"},{"Name":"reportName","Reference":"Profile.Name"}]},"JSONEncoding":{"ReportFormat":"NameValuePair","ReportTimestamp":"None"}}},{"name":"RDKB_SelfHeal_Profile","hash":"hash2","value":{"Name":"RDKB_SelfHeal_Profile","Description":"Report to check SelfHeal Parameters","Version":"2","Protocol":"HTTP","EncodingType":"JSON","ReportingInterval":180,"TimeReference":"0001-01-01T00:00:00Z","ActivationTimeOut":1800,"Parameter":[{"type":"dataModel","reference":"Profile.Name"},{"type":"dataModel","reference":"Profile.Version"},{"type":"dataModel","name":"UPTIME","reference":"Device.DeviceInfo.UpTime","use":"absolute"},{"type":"dataModel","reference":"Device.DeviceInfo.UpTime","use":"absolute"},{"type":"event","eventName":"SYS_ERROR_AdvSecurity_NotRunning","component":"SELF_HEAL","use":"absolute"},{"type":"event","eventName":"SYS_SH_lighttpdCrash","component":"test-and-diagnostic","use":"count","reportEmpty":false},{"type":"dataModel","name":"WAN_SSH_STATUS","reference":"Device.DeviceInfo.X_RDKCENTRAL-COM_Syndication.WANsideSSH.Enable","use":"absolute"}],"HTTP":{"URL":"http://35.161.239.220/xconf/telemetry_upload.php","Compression":"None","Method":"POST","RequestURIParameter":[{"Name":"deviceId","Reference":"Device.DeviceInfo.X_COMCAST-COM_CM_MAC"},{"Name":"reportName","Reference":"Profile.Name"}]},"JSONEncoding":{"ReportFormat":"NameValuePair","ReportTimestamp":"None"}}}]}' |
---|