cluster health monitoring logic