CLC-2507 Smarter check-alive script

https://jira.media.berkeley.edu/jira/browse/CLC-2507