MINER HEALTHCHECK ALERT
A scheduled Git operation checks the health of the miner's, ensuring the system's miner are reliable and robust.
Miner's HealthCheck GitHub Action - https://github.com/0chain/zus-cicd/actions/workflows/network-miner-check.yaml
INTRODUCTION
Since miner's and their alerts are crucial components of the chain, this git-action checks the miner's health every three hours.
Pay attention to the miner's current_round if you wish to manually monitor their health.
If any miner becomes stuck, the git-action will send an alert to devops-0chain Slack Channel.
SCRIPT EXPLANATION
The Script used in GitHub Action - https://github.com/0chain/zus-cicd/blob/main/0chain-scripts/miner-network-check.sh
Verify that the current_round are progressing or not using the script above. Send a Slack alert on the devops-0chain channel if it's stuck. Otherwise, pass the check. In order to track current_round, it looks for the path /v1/miner/get/stats of particular miner in the existing network.
Below attached is example of the miner links where we can manually track Miner Status -
https://<< network_name >>/miner01/v1/miner/get/stats
The script above uses the /dns/network url to retrieve the miner and sharder links - https://<< network_name >>/dns/network
GITHUB ACTION
This GitHub Action is scheduled to run every three hours, but if you want to manually start it, click on Run Workflow and choose the necessary branch from Use workflow from.

Last updated