com.collation.platform.model.casm.monitor.forwarding
Interface SnmpTrapForwarderConfiguration
- All Superinterfaces:
- Configuration, ForwarderConfiguration, ModelObject, MonitorConfiguration, java.io.Serializable
public interface SnmpTrapForwarderConfiguration
- extends ForwarderConfiguration
Configuration for a forwarder that forwards StateChangeEvents as SNMPv1 traps to a particular destination For the format of these traps see the SNMP MIB definition: collation-traps.mib
- Persistable:
- true
Methods inherited from interface com.collation.platform.model.Configuration |
getEnabled, getFamilyName, getMssGuid, getName, getOperationalStatus, getRejectionReason, hasEnabled, hasFamilyName, hasMssGuid, hasName, hasOperationalStatus, hasRejectionReason, setEnabled, setFamilyName, setMssGuid, setName, setOperationalStatus, setRejectionReason |
Methods inherited from interface com.collation.platform.model.ModelObject |
getAdminState, getAllAttributes, getBidiFlag, getBidiFormat, getCDMSource, getCmdbSource, getContextIp, getCreatedBy, getDescription, getDisplayName, getExtendedAttributes, getGuid, getLabel, getLastModifiedBy, getLastModifiedTime, getObjectType, getSourceToken, hasAdminState, hasBidiFlag, hasBidiFormat, hasCDMSource, hasCmdbSource, hasContextIp, hasDescription, hasDisplayName, hasExtendedAttributes, hasGuid, hasLabel, hasObjectType, hasSourceToken, setAdminState, setBidiFlag, setBidiFormat, setCDMSource, setCmdbSource, setContextIp, setDescription, setExtendedAttributes, setGuid, setLabel, setObjectType, setSourceToken |
getTrapDestination
java.lang.String getTrapDestination()
throws AttributeNotSetException
- The trap destination host definition. It can either be a dotted IPv4 string or a fully qualified domain name of the host. SNMP traps will be forwarded towards this destination host on the UDP TrapPort. This is a required attribute.
- Returns:
- The trap destination
- Throws:
AttributeNotSetException
setTrapDestination
void setTrapDestination(java.lang.String destination)
hasTrapDestination
boolean hasTrapDestination()
getTrapPort
int getTrapPort()
throws AttributeNotSetException
- The UDP port on the trap destination host to forward SNMP traps to. This is an optional attribute If this attribute is not set, the trap port will default to the standard SNMP trap port: 162.
- Returns:
- The trap port. Has to be a UDP port (0-65535).
- Throws:
AttributeNotSetException
setTrapPort
void setTrapPort(int port)
hasTrapPort
boolean hasTrapPort()
getTrapCommunity
java.lang.String getTrapCommunity()
throws AttributeNotSetException
- The SNMP trap community that will be used to send SNMP traps with. This is an optional attribute. If this attribute is not set, the trap community will default to public.
- Returns:
- The trap community.
- Throws:
AttributeNotSetException
setTrapCommunity
void setTrapCommunity(java.lang.String community)
hasTrapCommunity
boolean hasTrapCommunity()