RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Telemetry is the automatic recording and transmission of data from remote or inaccessible sources to an IT system in a different location for monitoring and analysis. A cron utility is used to schedule the Telemetry feature with a configured frequency and / or configured date and time.
Build procedure
Follow the wiki page to make yocto's RDK-B image from yocto workspace in your PC.
Wifi-Extender Yocto Build Instructions
Note: Proceed the build procedure in Ubuntu18 version VM
Image Flash procedure
Refer the below link for image flashing
Turris Omnia Reference Platform: Flashing Instruction
Login to Xconf Server and go to DCM menu item and click on “Formulas” sub menu and create Formula
Xconf Server → DCM → Device Settings
Xconf Server → DCM → LogUpload Settings
Xconf Server → DCM → Upload Repository
Upload Repository : TFTP Server
Repository URL: 35.155.171.121
Upload Repository : HTTP Server
Repository URL: http://35.155.171.121/xconf/logupload.php
Xconf Server → Telemetry → Permanent Profiles
For example, */5 * * * * :- This will schedule the telemetry log upload at every 5 min.
Below is the format for this field.
First field is “Header” - This is the name for the particular logs collection. This is a custom name and can be decided based on the use case or error condition or any other scenario.
Second field is “Content” - This is the "log message string" that appears in the RDK logs.
Third field is “type” - This is the name of the log file where the above log message string needs to be searched.
Fourth field is “Skip frequency” - This is a skip frequency. It can have values like 0, 1, 2 etc.
0 - This particular log message is never skipped.
1 - Skip every alternate occurrence of this log message.
2 - Skip 2 consecutive log message occurrences and then collect 1 occurrence and then again skip 2 occurrences.
Upload Repository : TFTP Server
Repository URL: 35.155.171.121
Upload Repository : HTTP Server
Repository URL: http://35.155.171.121/xconf/telemetry_upload.php
Xconf Server → Telemetry → Targeting Rules
The Xconf output can be verified with the below URL,
http://35.155.171.121:9092/loguploader/getSettings?estbMacAddress=<device-mac-address>&model=<model-name>
DCM_LOG_SERVER_URL=http://35.155.171.121:9092/loguploader/getSettings
DCM_HTTP_SERVER_URL=http://35.155.171.121/xconf/telemetry_upload.php
DCM_LA_SERVER_URL=http://35.155.171.121/xconf/logupload.php
And in /etc/device.properties, ensure the model-name (provide a unique model name for the device) and the Tftp Server IP
MODEL_NAME=Turris
TFTP_SERVER_IP=35.155.171.121
$ systemctl disable rdkbLogMonitor
Important Note:
Disabling log monitor is required because log rotation feature will wipe out logs when threshold reached, due to which telemetry feature can't able to identify the event count. Telemetry functionality requires rdk logs.
Steps to be followed: