What is slave health?
Slave health is a web tool used by releng, specifically buildduty, to monitor and affect the health of the various slave pools.
Slave health is deployed on cruncher under
There are currently two cronjobs on cruncher that correspond to slave health:
#m h d mth dow */15 * * * * /home/buildduty/slave_health/slave_health_cron.sh 15 0 * * * source /home/buildduty/buildduty/bin/activate && \ python /home/buildduty/slave_health/slave_health/scripts/generate_chart_objects.py
/home/buildduty/slave_health/slave_health_cron.sh should be copied from
/home/buildduty/slave_health/slave_health/scripts on when the script is updated in version control.
We also stick the buildduty report under slave health, however its not generated from the slave health repo.
It is run from cron with:
#m h d mth dow 1 5-18 * * 1-5 /home/buildduty/buildduty/buildduty_report.sh
The related files are in braindump at: