public class AmbariServiceAlertDefinitions extends Object
AmbariServiceAlertDefinitions class is used to represent the
alerts defined in alerts.json which are for
RootComponent.AMBARI_AGENT and RootComponent.AMBARI_SERVER. These
alerts are bound to the host and are not part of a cluster or hadoop service.| Constructor and Description |
|---|
AmbariServiceAlertDefinitions() |
| Modifier and Type | Method and Description |
|---|---|
List<AlertDefinition> |
getAgentDefinitions()
Gets all of the
AlertDefinitions that exist on the path for all
agent hosts. |
List<AlertDefinition> |
getServerDefinitions()
Gets all of the
AlertDefinitions that exist on the path for
RootComponent.AMBARI_SERVER. |
public List<AlertDefinition> getAgentDefinitions()
AlertDefinitions that exist on the path for all
agent hosts.RootComponent.AMBARI_AGENT as the component
and AMBARI as the service.public List<AlertDefinition> getServerDefinitions()
AlertDefinitions that exist on the path for
RootComponent.AMBARI_SERVER.RootComponent.AMBARI_SERVER as the component
and AMBARI as the service.Copyright © 2022 Apache Software Foundation. All rights reserved.