Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1215,7 +1215,7 @@ private void handleFailingChecks(DomainRouterVO router, List<String> failingChec
return;
}

String alertMessage = "Health checks failed: " + failingChecks.size() + " failing checks on router " + router.getUuid();
String alertMessage = String.format("Health checks failed: %d failing checks on router %s / %s", failingChecks.size(), router.getName(), router.getUuid());
_alertMgr.sendAlert(AlertType.ALERT_TYPE_DOMAIN_ROUTER, router.getDataCenterId(), router.getPodIdToDeployIn(),
alertMessage, alertMessage);
s_logger.warn(alertMessage + ". Checking failed health checks to see if router needs recreate");
Comment thread
DaanHoogland marked this conversation as resolved.
Expand All @@ -1227,6 +1227,8 @@ private void handleFailingChecks(DomainRouterVO router, List<String> failingChec
String failedCheck = failingChecks.get(i);
if (i == 0) {
failingChecksEvent.append("Router ")
.append(router.getName())
.append(" / ")
.append(router.getUuid())
.append(" has failing checks: ");
}
Expand Down