Modifier and Type | Method and Description |
---|---|
List<AlertDefinition> |
AlertDefinitionCommand.getAlertDefinitions()
Gets the alert definitions
|
Constructor and Description |
---|
AlertExecutionCommand(String clusterName,
String hostName,
AlertDefinition definition)
Constructor.
|
Constructor and Description |
---|
AlertDefinitionCommand(String clusterName,
String hostName,
String publicHostName,
String hash,
List<AlertDefinition> definitions)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
AlertDefinitionsHolder.provideAlertDefinitionAgentUpdateEvent(AlertDefinitionEventType eventType,
Long clusterId,
Map<Long,AlertDefinition> alertDefinitions,
String hostName) |
Modifier and Type | Method and Description |
---|---|
Collection<AlertDefinition> |
AlertCluster.getAlertDefinitions() |
Constructor and Description |
---|
AlertCluster(AlertDefinition alertDefinition,
String hostName) |
AlertCluster(AlertDefinition alertDefinition,
String hostName,
Integer staleIntervalMultiplier) |
Constructor and Description |
---|
AlertCluster(Map<Long,AlertDefinition> alertDefinitions,
String hostName) |
AlertCluster(Map<Long,AlertDefinition> alertDefinitions,
String hostName,
Integer staleIntervalMultiplier) |
Modifier and Type | Method and Description |
---|---|
Optional<Alert> |
JmxServerSideAlert.buildAlert(Optional<JMXMetricHolder> metricHolder,
MetricSource.JmxInfo jmxInfo,
AlertDefinition alertDef) |
Modifier and Type | Method and Description |
---|---|
Set<AlertDefinition> |
AmbariMetaInfo.getAlertDefinitions(ServiceInfo service)
Gets the alert definitions for the specified stack and service.
|
Set<AlertDefinition> |
AmbariMetaInfo.getAlertDefinitions(String stackName,
String stackVersion,
String serviceName)
Gets the alert definitions for the specified stack and service.
|
Modifier and Type | Method and Description |
---|---|
AlertDefinition |
AlertDefinitionDeleteEvent.getDefinition()
Get the registered alert definition.
|
AlertDefinition |
AlertDefinitionChangedEvent.getDefinition()
Get the registered alert definition.
|
AlertDefinition |
AlertDefinitionRegistrationEvent.getDefinition()
Get the registered alert definition.
|
Constructor and Description |
---|
AlertDefinitionChangedEvent(long clusterId,
AlertDefinition definition)
Constructor.
|
AlertDefinitionDeleteEvent(long clusterId,
AlertDefinition definition)
Constructor.
|
AlertDefinitionRegistrationEvent(long clusterId,
AlertDefinition definition)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<AlertDefinition> |
AmbariServiceAlertDefinitions.getAgentDefinitions()
Gets all of the
AlertDefinition s that exist on the path for all
agent hosts. |
List<AlertDefinition> |
AmbariServiceAlertDefinitions.getServerDefinitions()
Gets all of the
AlertDefinition s that exist on the path for
RootComponent.AMBARI_SERVER . |
Modifier and Type | Method and Description |
---|---|
AlertDefinition |
AlertDefinitionFactory.coerce(AlertDefinitionEntity entity)
Gets an
AlertDefinition constructed from the specified
AlertDefinitionEntity . |
AlertDefinition |
AggregateDefinitionMapping.getAggregateDefinition(long clusterId,
String name)
Gets an aggregate definition based on a given alert definition name.
|
Modifier and Type | Method and Description |
---|---|
Map<Long,AlertDefinition> |
AlertDefinitionHash.findByServiceComponent(long clusterId,
String serviceName,
String componentName) |
Map<Long,AlertDefinition> |
AlertDefinitionHash.findByServiceMaster(long clusterId,
String... serviceName) |
List<AlertDefinition> |
AggregateDefinitionMapping.getAggregateDefinitions(long clusterId)
Gets a copy of all of the aggregate definitions for the specified cluster.
|
Set<AlertDefinition> |
AlertDefinitionFactory.getAlertDefinitions(File alertDefinitionFile,
String serviceName)
Gets a list of all of the alert definitions defined in the specified JSON
File for the given service. |
Map<Long,Map<Long,AlertDefinition>> |
AlertDefinitionHash.getAlertDefinitions(Long hostId) |
Set<AlertDefinition> |
AlertDefinitionFactory.getAlertDefinitions(Reader reader,
String serviceName)
Gets a list of all of the alert definitions defined in the resource pointed
to by the specified reader for the given service.
|
List<AlertDefinition> |
AlertDefinitionHash.getAlertDefinitions(String clusterName,
String hostName)
Gets the alert definitions for the specified host.
|
Modifier and Type | Method and Description |
---|---|
AlertDefinitionEntity |
AlertDefinitionFactory.coerce(long clusterId,
AlertDefinition definition)
Gets an
AlertDefinitionEntity constructed from the specified
AlertDefinition . |
int |
AlertHelper.getWaitFactorMultiplier(AlertDefinition definition)
Gets the wait factor multiplier off of the definition, returning
AlertHelper.INTERVAL_WAIT_FACTOR_DEFAULT if not specified. |
Set<String> |
AlertDefinitionHash.invalidateHosts(AlertDefinition definition)
Invalidate the hashes of any host that would be affected by the specified
definition.
|
AlertDefinitionEntity |
AlertDefinitionFactory.merge(AlertDefinition definition,
AlertDefinitionEntity entity)
Merges the specified
AlertDefinition into the
AlertDefinitionEntity , leaving any fields not merged intact. |
void |
AggregateDefinitionMapping.registerAggregate(long clusterId,
AlertDefinition definition)
Adds a mapping for a new aggregate definition.
|
Copyright © 2022 Apache Software Foundation. All rights reserved.