Package | Description |
---|---|
org.apache.ambari.server.notifications.dispatchers |
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.
|
protected static String |
SNMPDispatcher.getDispatchProperty(Map<String,String> dispatchProperties,
String key)
Get dispatch property with specific key from dispatch properties.
|
protected SNMPDispatcher.TrapSecurity |
SNMPDispatcher.getSecurityLevel(Map<String,String> dispatchProperties)
Returns
SNMPDispatcher.TrapSecurity instance corresponding to dispatch property ambari.dispatch.snmp.security.level from dispatch properties. |
protected SNMPDispatcher.SnmpVersion |
SNMPDispatcher.getSnmpVersion(Map<String,String> dispatchProperties)
Returns
SNMPDispatcher.SnmpVersion instance corresponding to dispatch property ambari.dispatch.snmp.version from dispatch properties. |
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.
|
Copyright © 2022 Apache Software Foundation. All rights reserved.