Create a script that checks the health of a list of endpoints and alerts if any return a 5xx status code.