How are the alerts "bad link detected" and "communication link down" generated?