How to detect that my other hub is locked up?

This. In fact, I just setup this same scenario suggested by rlithgow1 with webCoRE and this driver - [Release] Hubitat Ping. I get a notification if there's an issue.

From reading the above linked Hubitat Ping thread, the ping functionality appears to be built into Rule Machine now. You may not even need the driver in that case.