...
- 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
Image Added
- 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.
- runPingTest
- Gets the IP (default_router IP) from syscfg.db
- If no IP specified, it will try pinging to default gw
- If ping fails, takes the corrective action, which is none by default.
- runDNSPingTest
- This is disabled by default. Can be enabled by selfheal_dns_pingtest_enable in syscfg.db
- Gets the urlToVerify from syscfg.db
- If nslookup fails, takes the corrective action, which is none by default
{"serverDuration": 2526, "requestCorrelationId": "cee124cfc77a6a15"}