...
"resource_monitor.sh" script is used for monitoring Memory and CPU usage.
Located in the device path: "/fss/gw/usr/ccsp/tad/resource_monitor.sh".
Selfheal – Process Monitoring
...
"task_health_monitor.sh" script is used for monitoring RDK-B processes. This is located is located at path: "/fss/gw/usr/ccsp/tad/task_health_monitor.sh". We We can monitor any RDK-B processes by adding the process pid in this script.
...
In Raspberry Pi the functionality of self-heal feature is provided by systemd.
Code Flow
Gliffy Diagramdrawio |
---|
diagramName |
---|
macroId | 1876289a-2afc-43ff-a0e4-66bc8940adee |
---|
name | CODE FLOW 1.drawio |
---|
pagePinrevision | 1 |
---|
|
Resource Monitoring - resource_monitor.sh
Gliffy Diagramdrawio |
---|
namediagramName | RESOURCE MONITORING DIAG.drawio |
---|
revision | 1 |
---|
|
- resource_monitor.sh monitors the Memory and CPU usage
- Average memory and CPU thresholds will be obtained from syscfg.db (default avg_cpu_threshold:100, avg_memory_threshold:100)
...
Process Monitoring - task_health_monitor.sh
draw.io Diagram |
---|
diagramName | process monitoring.drawio |
---|
revision | 1 |
---|
|
Image Removed- task_health_monitor.sh monitors the status of various taks periodically and takes the corrective action
- Default monitoring interval is 15mins and can be modified using resource_monitor_interval in syscfg.db
- Monitors
- Health of peer processor, in case of dual core processors
- Other tasks added as part of the script
- New tasks can be added by editing the script
...
Connectivity Test - self_heal_connectivity_test.sh
draw.io Diagram |
---|
diagramName | connectivity test.drawio |
---|
revision | 1 |
---|
|
Image Removed- Self_heal_connectivity_test.sh will run Ping and DNS tests.
- ConnTest_PingInterval in syscfg.db specifies the frequency of the connectivity test.
- If nothing specified, it is 60seconds by default.
...