rbuscli setvalues Device.X_RDKCENTRAL-COM_T2.ReportProfiles string '{
"profiles": [
{
"name": "RDKV_FASIL_Profile",
"hash": "hash1",
"value": {
"Name": "RDKV_FASIL_Profile",
"Description": "Report to check Eth Parameters",
"Version": "1",
"Protocol": "HTTP",
"EncodingType": "JSON",
"ReportingInterval": 60,
"TimeReference": "0001-01-01T00:00:00Z",
"Parameter": [
{
"type": "event",
"eventName": "FREE_MEM_split",
"component": "sysint",
"use": "absolute"
},
{
"type": "dataModel",
"name": "CmMac",
"reference": "Device.DeviceInfo.X_COMCAST-COM_CM_MAC"
},
{
"type": "dataModel",
"name": "ClearResetCount",
"reference": "Device.DeviceInfo.ClearResetCount"
},
{
"type": "dataModel",
"name": "Desc",
"reference": "Device.DeviceInfo.Description"
},
{
"type": "dataModel",
"reference": "Device.DeviceInfo.FactoryResetCount"
},
{
"type": "dataModel",
"name": "MemFree",
"reference": "Device.DeviceInfo.Hardware_MemFree"
},
{
"type": "dataModel",
"name": "MemUsed",
"reference": "Device.DeviceInfo.Hardware_MemUsed"
},
{
"type": "dataModel",
"name": "HwVer",
"reference": "Device.DeviceInfo.HardwareVersion"
},
{
"type": "dataModel",
"name": "MemStatFree",
"reference": "Device.DeviceInfo.MemoryStatus.Free"
},
{
"type": "dataModel",
"name": "MemStatTotal",
"reference": "Device.DeviceInfo.MemoryStatus.Total"
},
{
"type": "dataModel",
"name": "MemStatUsed",
"reference": "Device.DeviceInfo.MemoryStatus.Used"
},
{
"type": "dataModel",
"name": "FrMemThrshld",
"reference": "Device.DeviceInfo.MemoryStatus.X_RDKCENTRAL-COM_FreeMemThreshold"
},
{
"type": "dataModel",
"name": "CpuUsage",
"reference": "Device.DeviceInfo.ProcessStatus.CPUUsage"
},
{
"type": "dataModel",
"name": "Uptime",
"reference": "Device.DeviceInfo.UpTime"
},
{
"type": "event",
"eventName": "FREE_MEM_split",
"component": "sysint",
"use": "absolute"
},
{
"type": "event",
"eventName": "USED_MEM_split",
"component": "sysint",
"use": "absolute"
},
{
"type": "event",
"eventName": "cpuinfo_split",
"component": "sysint",
"use": "absolute"
},
{
"type": "event",
"eventName": "vmstats_split",
"component": "sysint",
"use": "absolute"
},
{
"type": "grep",
"marker": "USED_MEM_split",
"search": "USED_MEM:",
"logFile": "messages.txt"
},
{
"type": "grep",
"marker": "prev_reboot_split",
"search": "PreviousRebootInfo:",
"logFile": "parodus.log"
},
{
"type": "grep",
"marker": "Load_Average",
"search": "load average: ",
"logFile": "messages.txt"
},
{
"type": "dataModel",
"name": "mac",
"reference": "Device.DeviceInfo.X_COMCAST-COM_STB_MAC"
},
{
"type": "dataModel",
"name": "Time",
"reference": "Device.Time.X_RDK_CurrentUTCTime"
}
],
"HTTP": {
"URL": "https://xconf.rdkcentral.com:19092/telemetry-collector/rdkv-collectorxconf/logupload.php",
"Compression": "None",
"Method": "POST",
"RequestURIParameter": [
{
"Name": "deviceId",
"Reference": "Device.DeviceInfo.MACAddress"
},
{
"Name": "reportName",
"Reference": "Profile.Name"
}
]
},
"JSONEncoding": {
"ReportFormat": "NameValuePair",
"ReportTimestamp": "Unix-Epoch"
}
}
}
]
}' |