...
In Raspberry Pi the functionality of self-heal feature is provided by systemd.
Code Flow
draw.io Diagram |
---|
|
Gliffy Diagram |
---|
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 |
---|
pagePinrevision | 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 |
---|
|
Gliffy Diagram |
---|
macroId | d81248cc-2981-40dd-a5ff-4c18fee5887f |
---|
name | process monitoring.drawio |
---|
pagePinrevision | 1 |
---|
|
- 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
Gliffy Diagramdrawio |
---|
diagramName |
---|
macroId | f5f23243-5131-416c-a9ab-eaf580924de7 |
---|
name | connectivity test.drawio |
---|
pagePinrevision | 31 |
---|
|
- 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.
...