Package | Description |
---|---|
org.apache.ambari.server.notifications | |
org.apache.ambari.server.notifications.dispatchers | |
org.apache.ambari.server.state.alert |
Modifier and Type | Method and Description |
---|---|
void |
NotificationDispatcher.dispatch(Notification notification)
Dispatches the specified notification.
|
Constructor and Description |
---|
DispatchRunnable(NotificationDispatcher dispatcher,
Notification notification)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected org.snmp4j.Target |
SNMPDispatcher.createTrapTarget(Notification notification,
SNMPDispatcher.SnmpVersion snmpVersion)
Creates snmp target with security model corresponding to snmp version.
|
void |
SNMPDispatcher.dispatch(Notification notification)
Dispatches the specified notification.
|
void |
EmailDispatcher.dispatch(Notification notification)
Dispatches the specified notification.
|
void |
AlertScriptDispatcher.dispatch(Notification notification)
Dispatches the specified notification.
|
String |
AlertScriptDispatcher.getScriptConfigurationKey(Notification notification)
Gets the key that will be used to lookup the script to execute from
Configuration . |
protected org.snmp4j.PDU |
SNMPDispatcher.prepareTrap(Notification notification,
SNMPDispatcher.SnmpVersion snmpVersion)
Creates protocol data unit (PDU) with corresponding SNMP version for alert notification.
|
protected org.snmp4j.PDU |
AmbariSNMPDispatcher.prepareTrap(Notification notification,
SNMPDispatcher.SnmpVersion snmpVersion)
Creates protocol data unit (PDU) with corresponding SNMP version for alert notification.
|
protected void |
SNMPDispatcher.sendTraps(Notification notification,
SNMPDispatcher.SnmpVersion snmpVersion)
Creates trap based on alerts notification and sends it to hosts specified in recipients list.
|
Modifier and Type | Class and Description |
---|---|
class |
AlertNotification
The
AlertNotification represents a concrete Notification that
is specific to the AlertNoticeDispatchService . |
Copyright © 2022 Apache Software Foundation. All rights reserved.