You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

LogRotate :

 Once the folder size (/rdklogs/logs/) reaches 1536(around 1.5M), these logs will be moved to /nvram2/logs and make them tar and pushed into local tftp log server/configured http log server in xconf.

Logs folder size will be periodically monitored (/rdklogs/logs folder) for upload.

rdklogs/logs will be periodically checked for the maximum size set for the logs to be uploaded.(“rdkbLogMonitor.sh” script file monitor this functionality)

In RDK-B maximum size of log directory is set to 1.5MB. This value is chosen based on storage constraints for the target platform. Can be changed to any value based on storage availability.

/rdklogs/logs will contain entire logs from boot-up till the first time upload.

Then the /nvram2/logs directory will be compressed and renamed as mentioned below to enable server to fetch the logs based on MAC address of unit : <WAN Interface mac>_LOGS_<Timestamp>.tgz

During boot-up, rdkbLogMonitor.service calls rdkblogmonitor.sh for executing the logrotation feature in bpi.

Note:

1. Please edit the below line in /etc/device.properties,

                             TFTP_SERVER_IP = "local tftp server ip"

2. Please run the below command (or) reboot the rpi box

                              systemctl restart rdkbLogMonitor

3. Below steps for assigning Maximum size for log directory based on storage constraints for the target platform,

                            Add "MAXSIZE = "VALUE" " in /etc/device.properties and then reboot your rpi board (or) restart the rdkbLogMonitor service.

    

Test Results

Log Rotate Test Results
root@Filogic-GW:/nvram2/logs# ls
760B452D671E_Logs_09-23-24-08-52AM.tgz	FirewallDebug.txt	   PARODUSlog.txt.0	 core_log.txt	    rtrouted.log	wifiApps.txt	 wifiMgr.txt
ArmConsolelog.txt.0			FwUpgradeManagerLog.txt.0  PSMlog.txt.0		 dcmrfc.log	    telemetry.log	wifiBlaster.txt  wifiMon.txt
BootTime.log				LM.txt.0		   VLANManagerLog.txt.0  dcmscript.log	    telemetry2_0.txt.0	wifiCtrl.txt	 wifiPsm.txt
CRlog.txt.0				MnetDebug.txt		   WANMANAGERLog.txt.0	 eth_telemetry.txt  telemetry2_0.txt.1	wifiDMCLI.txt	 wifiWebConfig.txt
CapDebug.txt				OnBoardingLog.txt.0	   WEBPAlog.txt.0	 lighttpderror.log  webui.log		wifiDb.txt	 xconf_curl_httpcode
Consolelog.txt.0			PAMlog.txt.0		   WiFilog.txt.0	 ocsp-support.log   wifiAnalytics.txt	wifiHal.txt
root@Filogic-GW:/nvram2/logs# 

root@Filogic-GW:~# systemctl status rdkbLogMonitor
● rdkbLogMonitor.service - rdkbLogMonitor service
     Loaded: loaded (/lib/systemd/system/rdkbLogMonitor.service; enabled; vendor preset: enabled)
     Active: active (exited) since Thu 2022-04-28 17:42:35 UTC; 2 years 4 months ago
    Process: 1833 ExecStartPre=/bin/sh -c (/usr/ccsp/utopiaInitCheck.sh) (code=exited, status=0/SUCCESS)
    Process: 2720 ExecStart=/bin/sh -c /rdklogger/rdkbLogMonitor.sh & (code=exited, status=0/SUCCESS)
   Main PID: 2720 (code=exited, status=0/SUCCESS)
     CGroup: /system.slice/rdkbLogMonitor.service
             ├─  2722 /bin/sh /rdklogger/rdkbLogMonitor.sh
             └─ 25925 sleep 20

Notice: journal has been rotated since unit was started, output may be incomplete.
root@Filogic-GW:~# 

*********************************************************************************************************

root@Filogic-GW:/nvram2/logs# iptables -t raw -L
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
CT         udp  --  anywhere             anywhere             udp dpt:tftp CT helper tftp

root@Filogic-GW:/nvram2/logs# lsmod
Module                  Size  Used by
xt_CT                  16384  1
nf_log_ipv6            16384  6
ip6t_ah                20480  1
ip6t_rt                20480  2
nf_log_ipv4            16384  13
nf_log_common          16384  2 nf_log_ipv4,nf_log_ipv6
ipt_REJECT             16384  1
xt_LOG                 20480  19
ip6table_nat           16384  1
ip6table_raw           16384  0
xt_TCPMSS              16384  2
iptable_mangle         16384  1
iptable_raw            16384  1
ebtable_filter         16384  0
ebtables               40960  1 ebtable_filter
brMtuMod               20480  0
ip6table_mangle        16384  1
ip6table_filter        16384  1
ip6_tables             32768  47 ip6table_filter,ip6table_raw,ip6table_nat,ip6table_mangle
mt7996e               360448  0
mt76_connac_lib        57344  1 mt7996e
mt76                  102400  2 mt7996e,mt76_connac_lib
mac80211             1007616  3 mt76,mt7996e,mt76_connac_lib
cfg80211              749568  4 mt76,mt7996e,mac80211,mt76_connac_lib
compat                 16384  2 mac80211,cfg80211

root@Filogic-GW:/nvram2/logs# cat /version.txt 
imagename:rdkb-generic-broadband-image_rdk-next_20240924151549
BRANCH=rdk-next
YOCTO_VERSION=kirkstone
VERSION=6.1.09.24.24
SPIN=0
BUILD_TIME="2024-09-24 15:15:49"
Generated on Tue Sep 24  15:15:49 UTC 2024

********************************************************************************************************

root@Filogic-GW:/nvram2/logs# ls
760B452D671E_Logs_09-24-24-03-18PM.tgz	LM.txt.0	     VLANManagerLog.txt.0  eth_telemetry.txt   telemetry2_0.txt.1	  wifiDb.txt
ArmConsolelog.txt.0			MnetDebug.txt	     WANMANAGERLog.txt.0   lighttpderror.log   webui.log		  wifiHal.txt
BootTime.log				OnBoardingLog.txt.0  WEBPAlog.txt.0	   ocsp-support.log    wifiAnalytics.txt	  wifiMgr.txt
CRlog.txt.0				PAMlog.txt.0	     WiFilog.txt.0	   response.txt        wifiApps.txt		  wifiMon.txt
CapDebug.txt				PARODUSlog.txt.0     core_log.txt	   rtrouted.log        wifiBlaster.txt		  wifiPsm.txt
Consolelog.txt.0			PSMlog.txt.0	     dcmProcessing.log	   swupdate.log        wifiConnAdmissionCtrl.txt  wifiWebConfig.txt
FirewallDebug.txt			PreviousLogs	     dcmrfc.log		   telemetry.log       wifiCtrl.txt		  xconf_curl_httpcode
FwUpgradeManagerLog.txt.0		PreviousLogs_backup  dcmscript.log	   telemetry2_0.txt.0  wifiDMCLI.txt



*****************************************************************************************************

root@Filogic-GW:/rdklogs/logs# tail -f Consolelog.txt.0 
Upload protocol logupload is:HTTPS
before HTTP log upload
HTTPLOGUPLOADURL:https://xconf.rdkcentral.com/xconf/logupload.php
upload log file is:09-24-24-10-20AM.tgz
------CURL_CMD2:curl -w '%{http_code}\n' -F filename=@/rdklogs/logs//PreviousLogs/76:0B:45:2D:67:1E-Logs-09-24-24-10-20AM.tgz 'https://xconf.rdkcentral.com/xconf/logupload.php' --connect-timeout 100 -m 100
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 54189  100    30  100 54159     23  41930  0:00:01  0:00:01 --:--:-- 41941
http_code is :200
HTTP log upload succeded!!!!!!!!!!!!!!!!!

complete logs:
=============

root@Filogic-GW:/rdklogs/logs# cat Consolelog.txt.0 

240924-10:44:43.518491 Log size max reached
240924-10:44:43.550801 UPLOAD_LOGS val is true
240924-10:44:43.552714 Log upload is enabled. Touching indicator in regular upload
/nvram2/logs
240924-10:44:43.589178 Get all parameters to create sysDescr...
240924-10:44:43.722554 RDKB_SYSDESCR : Filogic Gateway device HW_REV: 1.0; VENDOR: Mediatek Inc.; BOOTR: Not Supported; SW_REV: 6.1.09.23.24_rdkb-generic-broadband-image_rdk-next_20240923084930; MODEL: BananapiBPI-R4 
240924-10:44:43.724578 sync logs to nvram2
tail: error reading `/rdklogs/logs/PreviousLogs': Is a directory
tail: error reading `/rdklogs/logs/PreviousLogs_backup': Is a directory
240924-10:44:44.599428 [DEBUG] ++IN function backupnvram2logs
number of proUPdel:2266
Upload protocol is:HTTPS
HTTPURL:https://xconf.rdkcentral.com/xconf/logupload.php
=============Telemetry has file only one upload=======================
call uploadLogOnReboot
Sleeping for seven minutes 
tail: Consolelog.txt.0: file truncated
Done sleeping prev logpath /rdklogs/logs//PreviousLogs
ckp100-------------prev log path-------------/rdklogs/logs//PreviousLogs
rm: cannot remove `09-24-24-10-44AM.tgz': No such file or directory
ckp101---------------------upload log-----true
total 120
drwxr-xr-x 2 root root   340 Sep 24 10:45 .
drwxr-xr-x 4 root root   900 Sep 24 10:23 ..
-rw-r--r-- 1 root root     0 Sep 24 10:44 09-24-24-10-45AM-ArmConsolelog.txt.0
-rw-r--r-- 1 root root     0 Sep 24 10:44 09-24-24-10-45AM-BootTime.log
-rw-r--r-- 1 root root     0 Sep 24 10:44 09-24-24-10-45AM-CRlog.txt.0
-rw-r--r-- 1 root root 58816 Sep 24 10:44 09-24-24-10-45AM-Consolelog.txt.0
-rw-r--r-- 1 root root     0 Sep 24 10:44 09-24-24-10-45AM-FirewallDebug.txt
-rw-r--r-- 1 root root     0 Sep 24 10:44 09-24-24-10-45AM-LM.txt.0
-rw-r--r-- 1 root root     0 Sep 24 10:44 09-24-24-10-45AM-MnetDebug.txt
-rw-r--r-- 1 root root 39956 Sep 24 10:44 09-24-24-10-45AM-PAMlog.txt.0
-rw-r--r-- 1 root root  3993 Sep 24 10:44 09-24-24-10-45AM-PARODUSlog.txt.0
-rw-r--r-- 1 root root     0 Sep 24 10:44 09-24-24-10-45AM-PSMlog.txt.0
-rw-r--r-- 1 root root  4500 Sep 24 10:44 09-24-24-10-45AM-WEBPAlog.txt.0
-rw-r--r-- 1 root root     0 Sep 24 10:44 09-24-24-10-45AM-WiFilog.txt.0
-rw-r--r-- 1 root root     0 Sep 24 10:44 09-24-24-10-45AM-core_log.txt
-rw-r--r-- 1 root root  1162 Sep 24 10:44 09-24-24-10-45AM-dcmscript.log
-rw-r--r-- 1 root root   207 Sep 24 10:44 09-24-24-10-45AM-version.txt
number of proUPdel2:2266
Upload protocol logupload is:HTTPS
before HTTP log upload
HTTPLOGUPLOADURL:https://xconf.rdkcentral.com/xconf/logupload.php
upload log file is:09-24-24-10-44AM.tgz
------CURL_CMD2:curl -w '%{http_code}\n' -F filename=@/rdklogs/logs//PreviousLogs/76:0B:45:2D:67:1E-Logs-09-24-24-10-44AM.tgz 'https://xconf.rdkcentral.com/xconf/logupload.php' --connect-timeout 100 -m 100
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  9150  100    30  100  9120     35  10669 --:--:-- --:--:-- --:--:-- 10701
http_code is :200
HTTP log upload succeded!!!!!!!!!!!!!!!!!

*********************************************************************************************************



root@Filogic-GW:~# cat /tmp/DCMSettings.conf 
urn:settings:GroupName=RPI4-MINIMAL-TEST
urn:settings:CheckOnReboot=true
urn:settings:CheckSchedule:cron=2 1 1 1 1
urn:settings:CheckSchedule:DurationMinutes=0
urn:settings:LogUploadSettings:Message=null
urn:settings:LogUploadSettings:Name=RPI4-MINIMAL-TEST
urn:settings:LogUploadSettings:NumberOfDays=1
urn:settings:LogUploadSettings:UploadRepositoryName=RPI-MINIMAL-TEST-LOGUPLOAD
urn:settings:LogUploadSettings:UploadRepository:URL=https://xconf.rdkcentral.com/xconf/logupload.php
urn:settings:LogUploadSettings:UploadRepository:uploadProtocol=HTTPS
urn:settings:LogUploadSettings:UploadOnReboot=true
urn:settings:LogUploadSettings:UploadImmediately=false
urn:settings:LogUploadSettings:upload=true
urn:settings:LogUploadSettings:UploadSchedule:cron=2 1 1 1 1
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":"0"},{"header" : "Total_Hosts_Count_split","content" : "RDK_LOG_WARN, Total Hosts Count is","type" : "WiFilog.txt.0","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" : "Client_Connect_complete:","type" : "LM.txt.0","pollingFrequency":"0"},{"header" : "WIFI_INFO_clientdisconnect","content" : "HostName gone offline","type" : "LM.txt.0","pollingFrequency":"0"},{"header" : "UPDays_split","content" : "UPTIMEDAY:","type" : "SelfHeal.txt.0","pollingFrequency":"0"},{"header" : "UPTIME_split","content" : "Device.DeviceInfo.UpTime","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "CMMAC_split","content" : "Device.DeviceInfo.X_COMCAST-COM_CM_MAC","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "XDNS_split","content" : "Device.DeviceInfo.X_RDKCENTRAL-COM_EnableXDNS","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "2G_Radio_Status_split","content" : "Device.WiFi.Radio.1.Status","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "5G_Radio_Status_split","content" : "Device.WiFi.Radio.2.Status","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "FT_split","content" : "Device.DeviceInfo.FirstUseDate","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "LT_split","content" : "Device.Time.CurrentLocalTime","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "SYS_ERROR_PSMCrash_reboot","content" : "Psm_crash","type" : "BootTime.log","pollingFrequency":"0"},{"header" : "SYS_INFO_Hostname_changed","content" : "Hostname Changed","type" : "LM.txt.0","pollingFrequency":"0"},{"header" : "WIFI_ERROR_PSM_GetRecordFail","content" : "PSM_Get_Record_Value2 Faliled for BSSTransitionActivated on wlanIndex:","type" : "WiFiLog.txt.0","pollingFrequency":"0"},{"header" : "WIFI_INFO_CosaWifiinit","content" : "RDKB_SYSTEM_BOOT_UP_LOG : CosaWifiInit","type" : "WiFiLog.txt.0","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" : "WIFI_MAX_RXCLIENTS_1:","type" : "wifihealth.txt","pollingFrequency":"0"},{"header" : "MAXTX_1_split","content" : "WIFI_MAX_TXCLIENTS_1:","type" : "wifihealth.txt","pollingFrequency":"0"},{"header" : "SYS_SH_DhcpArpProcess_restart","content" : "DhcpArp_process is not running","type" : "SelfHeal.txt.0","pollingFrequency":"0"},{"header" : "SYS_SH_PAM_CRASH_RESTART","content" : "RDKB_PROCESS_CRASHED : PAM_process is not running, need restart","type" : "SelfHeal.txt.0","pollingFrequency":"0"},{"header" : "SYS_ERROR_5min_avg_cpu_100","content" : "5 minutes of CPU Avg monitor window is 100","type" : "SelfHeal.txt.0","pollingFrequency":"0"},{"header" : "WIFI_INFO_2GPrivateSSID_OFF","content" : "2.4G private SSID (ath0) is off","type" : "SelfHeal.txt.0","pollingFrequency":"0"},{"header" : "SYS_SH_WebPA_restart","content" : "WebPA_process is not running","type" : "SelfHeal.txt.0","pollingFrequency":"0"},{"header" : "WIFI_ERROR_WIFI_Not_Registered","content" : "wifi' v1 NotRegistered","type" : "CRlog.txt.0","pollingFrequency":"0"},{"header" : "SYS_ERROR_PSM_Not_Registered","content" : "psm' v1 NotRegistered","type" : "CRlog.txt.0","pollingFrequency":"0"},{"header" : "WIFI_ERROR_WifiDmCliError","content" : "Parameter cannot be found on WiFi subsystem","type" : "SelfHeal.txt.0","pollingFrequency":"0"},{"header" : "RF_ERROR_IPV4PingFailed","content" : "Ping to IPv4 Gateway Address failed","type" : "SelfHeal.txt.0","pollingFrequency":"0"},{"header" : "RF_ERROR_IPV4IPV6PingFailed","content" : "Ping to both IPv4 and IPv6 Gateway Address failed","type" : "SelfHeal.txt.0","pollingFrequency":"0"},{"header" : "WIFI_INFO_2G_DISABLED","content" : "SSID 2.4GHZ is disabled","type" : "SelfHeal.txt.0","pollingFrequency":"0"},{"header" : "SYS_INFO_LOGS_UPLOADED","content" : "LOGS UPLOADED SUCCESSFULLY, RETURN CODE: 200","type" : "ArmConsolelog.txt.0","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" : "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" : "tr069pa' v1 NotRegistered","type" : "CRlog.txt.0","pollingFrequency":"0"},{"header" : "WIFI_ACS_2_split","content" : "Device.WiFi.Radio.2.AutoChannelEnable","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "WIFI_INFO_Zero_5G_Clients","content" : "WIFI_MAC_2_TOTAL_COUNT:0","type" : "wifihealth.txt","pollingFrequency":"0"},{"header" : "WIFI_INFO_Zero_2G_Clients","content" : "WIFI_MAC_1_TOTAL_COUNT:0","type" : "wifihealth.txt","pollingFrequency":"0"},{"header" : "UsedMem_split","content" : "USED_MEM:","type" : "SelfHeal.txt.0","pollingFrequency":"0"},{"header" : "UsedCPU_split","content" : "USED_CPU:","type" : "SelfHeal.txt.0","pollingFrequency":"0"},{"header" : "WIFI_NF_2_split","content" : "Device.WiFi.Radio.2.Stats.X_COMCAST-COM_NoiseFloor","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "WIFI_NF_1_split","content" : "Device.WiFi.Radio.1.Stats.X_COMCAST-COM_NoiseFloor","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "HWREV_split","content" : "Device.DeviceInfo.HardwareVersion","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "WIFI_ERROR_Wifi_query_timeout","content" : "Wifi query timeout","type" : "SelfHeal.txt.0","pollingFrequency":"0"},{"header" : "Total_Ethernet_Clients_split","content" : "RDKB_CONNECTED_CLIENTS:Total_Ethernet_Clients=","type" : "LM.txt.0","pollingFrequency":"0"},{"header" : "Total_online_clients_split","content" : "RDKB_CONNECTED_CLIENTS:Total_Online_Clients=","type" : "LM.txt.0","pollingFrequency":"0"},{"header" : "Total_devices_connected_split","content" : "RDKB_CONNECTED_CLIENTS:Total_Clients_Connected=","type" : "LM.txt.0","pollingFrequency":"0"},{"header" : "Total_offline_clients_split","content" : "RDKB_CONNECTED_CLIENTS:Total_Offline_Clients=","type" : "LM.txt.0","pollingFrequency":"0"},{"header" : "Total_wifi_clients_split","content" : "RDKB_CONNECTED_CLIENTS:Total_WiFi_Clients=","type" : "LM.txt.0","pollingFrequency":"0"},{"header" : "Total_moca_clients_split","content" : "RDKB_CONNECTED_CLIENTS:Total_MoCA_Clients=","type" : "LM.txt.0","pollingFrequency":"0"},{"header" : "SYS_ERROR_CPU100","content" : "RDKB_CPU_USAGE : CPU usage is 100","type" : "SelfHeal.txt.0","pollingFrequency":"0"},{"header" : "SYS_INFO_WaitingFor_Stack_Init","content" : "Waiting for stack to come up completely to upload logs","type" : "Consolelog.txt.0","pollingFrequency":"0"},{"header" : "SYS_INFO_LOGS_UPLOADED","content" : "LOGS UPLOADED SUCCESSFULLY, RETURN CODE: 200","type" : "Consolelog.txt.0","pollingFrequency":"0"},{"header" : "SYS_ERROR_LogFile_truncated","content" : "File to be uploaded is","type" : "Consolelog.txt.0","pollingFrequency":"0"},{"header" : "SYS_INFO_bootup","content" : "Device is up after reboot","type" : "Consolelog.txt.0","pollingFrequency":"0"},{"header" : "WIFI_ERRORSSENT_1","content" : "Device.WiFi.AccessPoint.1.AssociatedDevice.1.","type" : "wifihealth.txt","pollingFrequency":"0"},{"header" : "WIFI_ERRORSSENT_2","content" : "Device.WiFi.AccessPoint.2.AssociatedDevice.1.","type" : "wifihealth.txt","pollingFrequency":"0"},{"header" : "cpuinfo","content" : "Device.DeviceInfo.ProcessStatus.CPUUsage","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "memnfo","content" : "Device.DeviceInfo.MemoryStatus.Used","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "rdkb_rebootreason_split","content" : "Received reboot_reason as","type" : "BootTime.log","pollingFrequency":"0"},{"header" : "Total_2G_clients_split","content" : "RDKB_CONNECTED_CLIENTS:Total_WiFi-2.4G_Clients=","type" : "LM.txt.0","pollingFrequency":"0"},{"header" : "Total_5G_clients_split","content" : "RDKB_CONNECTED_CLIENTS:Total_WiFi-5.0G_Clients=","type" : "LM.txt.0","pollingFrequency":"0"},{"header" : "memfree","content" : "Device.DeviceInfo.MemoryStatus.Free","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "bootup_time","content" : "Device.DeviceInfo.X_RDKCENTRAL-COM_BootTime","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "NTP_enabled","content" : "Service_NTP : Enabling Network Time Sync","type" : "PAMlog.txt.0","pollingFrequency":"0"},{"header" : "2GSSIDAdv_split","content" : "Device.WiFi.AccessPoint.1.SSIDAdvertisementEnabled","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "5GSSIDAdv_split","content" : "Device.WiFi.AccessPoint.2.SSIDAdvertisementEnabled","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "WIFI_INFO_skipSSID","content" : "WiFi Agent is not running skipping getSsidNames","type" : "Consolelog.txt.0","pollingFrequency":"0"},{"header" : "SYS_ERROR_Factory_reset","content" : "Received reboot_reason as:factory-reset","type" : "BootTime.log","pollingFrequency":"0"},{"header" : "SYS_ERROR_NoSpaceLeft","content" : "No space left on device","type" : "Consolelog.txt.0","pollingFrequency":"0"},{"header" : "SYS_ERROR_cpuUSG100","content" : "RDKB_SELFHEAL : CPU usage is 100","type" : "SelfHeal.txt.0","pollingFrequency":"0"},{"header" : "SYS_ERROR_CCSP_Deadlock","content" : "CCSP Deadlock happened","type" : "PAMlog.txt.0","pollingFrequency":"0"},{"header" : "SYS_ERROR_Tempfs_full","content" : "100% tmp","type" : "SelfHeal.txt.0","pollingFrequency":"0"},{"header" : "SYS_ERROR_PeerDown_reboot","content" : "Received reboot_reason as:Peer_down","type" : "BootTime.log","pollingFrequency":"0"},{"header" : "SYS_ERROR_erouter_restart","content" : "erouter0 does not have ipv6 address","type" : "SelfHeal.txt.0","pollingFrequency":"0"},{"header" : "SYS_ERROR_KernelPanic_reboot","content" : "Received reboot_reason as:kernel-panic","type" : "BootTime.log","pollingFrequency":"0"},{"header" : "SYS_ERROR_Parodus_curl_timeout","content" : "unable to connect to remote host","type" : "PARODUSlog.txt.0","pollingFrequency":"0"},{"header" : "SYS_ERROR_Parodus_http400","content" : "400 Bad Request: invalid header value","type" : "PARODUSlog.txt.0","pollingFrequency":"0"},{"header" : "SYS_ERROR_Erouter_not_created","content" : "fconfig: erouter0: error fetching interface information: Device not found","type" : "Consolelog.txt.0","pollingFrequency":"0"},{"header" : "SYS_ERROR_OutOfMemory_reboot","content" : "out_of_memory","type" : "Consolelog.txt.0","pollingFrequency":"0"},{"header" : "WIFI_ERROR_WifiReboot","content" : "WiFi is going to reboot now","type" : "PAMlog.txt.0","pollingFrequency":"0"},{"header" : "SYS_ERROR_nvram_readonly","content" : "nvram2logswifihealth.txt: Read-only file system","type" : "Consolelog.txt.0","pollingFrequency":"0"},{"header" : "SYS_ERROR_snmp_reboot","content" : "snmp-reboot","type" : "BootTime.log","pollingFrequency":"0"},{"header" : "SYS_ERROR_WEBPA_reboot","content" : "webpa-reboot","type" : "BootTime.log","pollingFrequency":"0"},{"header" : "SYS_ERROR_WEBPASetFailure","content" : "WEBPA: Failed to do atomic set hence rollbacking the changes","type" : "WEBPAlog.txt.0","pollingFrequency":"0"},{"header" : "SYS_ERROR_Webpareconnect_PingMiss","content" : "Received reconnect_reason as:Ping_Miss","type" : "PARODUSlog.txt.0","pollingFrequency":"0"},{"header" : "SYS_ERROR_ParodusInit_error","content" : "Error on libparodus init. Registration failed","type" : "WEBPAlog.txt.0","pollingFrequency":"0"},{"header" : "RF_ERROR_Wan_down","content" : "wan_service-status is stopped, take log back up","type" : "Consolelog.txt.0","pollingFrequency":"0"},{"header" : "RF_ERROR_wan_restart","content" : "wan_service-status is started again, upload logs","type" : "Consolelog.txt.0","pollingFrequency":"0"},{"header" : "RF_ERROR_erouter_ip_loss","content" : "Cannot get ipv4 address of netdev:erouter0","type" : "PAMlog.txt.0","pollingFrequency":"0"},{"header" : "Sys-info-captive-portal-status","content" : "Device.DeviceInfo.X_RDKCENTRAL-COM_CaptivePortalEnable","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "Host1RSSI","content" : "Device.Hosts.Host.1.X_CISCO_COM_RSSI","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "Host2RSSI","content" : "Device.Hosts.Host.2.X_CISCO_COM_RSSI","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "5gClient1RSSI","content" : "Device.WiFi.AccessPoint.2.AssociatedDevice.1.X_COMCAST-COM_RSSI","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "2gClient1RSSI","content" : "Device.WiFi.AccessPoint.1.AssociatedDevice.1.X_COMCAST-COM_RSSI","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "2GSSID_split","content" : "Device.WiFi.SSID.1.SSID","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "5GSSID_split","content" : "Device.WiFi.SSID.2.SSID","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "BM_split","content" : "Device.X_CISCO_COM_DeviceControl.LanManagementEntry.1.LanMode","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "WIFI_ACS_1_split","content" : "Device.WiFi.Radio.2.AutoChannelEnable","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "WIFI_CHANNEL_1","content" : "Device.WiFi.Radio.1.Channel","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "WIFI_CHANNEL_2","content" : "Device.WiFi.Radio.2.Channel","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "loadavg_test_split","content" : "load average:","type" : "dcmrfc.log","pollingFrequency":"0"},{"header" : "currentCpu_split","content" : "RDKB_SELFHEAL : Current CPU load is","type" : "SelfHeal.txt.0","pollingFrequency":"0"},{"header" : "HWMAN_split","content" : "Device.DeviceInfo.Manufacturer","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "MeshEnable","content" : "Device.DeviceInfo.X_RDKCENTRAL-COM_xOpsDeviceMgmt.Mesh.Enable","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "DeviceMode","content" : "Device.X_CISCO_COM_DeviceControl.DeviceMode","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "ParentalControlManageDevice_Enable","content" : "Device.X_Comcast_com_ParentalControl.ManagedDevices.Enable","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "ParentalControlManageSite_Enable","content" : "Device.X_Comcast_com_ParentalControl.ManagedSites.Enable","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "ParentalControlManageService_Enable","content" : "Device.X_Comcast_com_ParentalControl.ManagedServices.Enable","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "FirewallLevel","content" : "Device.X_CISCO_COM_Security.Firewall.FirewallLevel","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "PortForwarding_Enable","content" : "Device.NAT.X_Comcast_com_EnablePortMapping","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "DMZ_Enable","content" : "Device.NAT.X_CISCO_COM_DMZ.Enable","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "CWMP_Enable","content" : "Device.ManagementServer.EnableCWMP","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "CPUProcAnalyzer_Enable","content" : "Device.SelfHeal.CPUProcAnalyzer.Enable","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "ForwardSSH_Enable","content" : "Device.DeviceInfo.X_RDKCENTRAL-COM_xOpsDeviceMgmt.ForwardSSH.Enable","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "ReverseSSH_Status","content" : "Device.DeviceInfo.X_RDKCENTRAL-COM_xOpsDeviceMgmt.ReverseSSH.xOpsReverseSshStatus","type" : "<message_bus>","pollingFrequency":"0"},{"header" : "SYS_INFO_SW_upgrade_reboot","content" : "Software_upgrade","type" : "BootTime.log","pollingFrequency":"0"},{"header" : "SYS_ERROR_brlan0_not_created","content" : "test-and-diagnostic","type" : "<event>","pollingFrequency":"0"},{"header" : "SYS_SH_lighttpdCrash","content" : "lighttpd is not running, restarting it","type" : "SelfHeal.txt.0","pollingFrequency":"0"},{"header" : "SYS_SH_lighttpdCrash1","content" : "core.prog_lighttpd.signal","type" : "SelfHeal.txt.0","pollingFrequency":"0"}],"schedule":"*/5 * * * *","expires":0,"telemetryProfile:name":"RDKB-RPI-TEST","uploadRepository:URL":/	3"https://xconf.rdkcentral.com/xconf/telemetry_upload.php","uploadRepository:uploadProtocol":"HTTPS"}'//


Logs upload screenshot via http (xconf configured)

Log upload screenshot via tftp

  • No labels