Description
From just looking at the code in AgentHeartbeatAlertRunnable:
case UNHEALTHY: alertState = AlertState.CRITICAL; alertText = MessageFormat.format(UNHEALTHY_MSG, hostName); default: alertState = AlertState.UNKNOWN; alertText = MessageFormat.format(UNKNOWN_MSG, hostName, hostState);
Note the missing break between the cases.
Setting this as Minor, because I don't think the UNHEALTHY state is set anywhere currently. Maybe good to fix just from hygiene perspective.
Attachments
Attachments
Issue Links
- links to