| Package | Description | 
|---|---|
| org.apache.ambari.server.notifications.dispatchers | 
| Modifier and Type | Method and Description | 
|---|---|
protected SNMPDispatcher.SnmpVersion | 
SNMPDispatcher.getSnmpVersion(Map<String,String> dispatchProperties)
Returns  
SNMPDispatcher.SnmpVersion instance corresponding to dispatch property ambari.dispatch.snmp.version from dispatch properties. | 
static SNMPDispatcher.SnmpVersion | 
SNMPDispatcher.SnmpVersion.valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static SNMPDispatcher.SnmpVersion[] | 
SNMPDispatcher.SnmpVersion.values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
| 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 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.