public class StaleAlertRunnable extends AlertRunnable
StaleAlertRunnable is used by the
AmbariServerAlertService to check the last time that an alert was
checked and determine if it seems to no longer be running. It will produce a
single alert with AlertState.CRITICAL along with a textual
description of the alerts that are stale.alertHelper, m_definitionName| Constructor and Description |
|---|
StaleAlertRunnable(String definitionName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Long,List<Long>> |
prepareHostDefinitions(Long clusterId)
Retrieves alert definitions sent to agents.
|
buildAlert, runpublic StaleAlertRunnable(String definitionName)
definitionName - Copyright © 2022 Apache Software Foundation. All rights reserved.