JBoss OID Prefix http://www.wtcs.org/snmp4tpc/snmp.htm
2312 is red hat prefix from http://www.oid-info.com/get/1.3.6.1.4.1.2312
we define 100 arbitrary as the JBoss division
An MBean service that defines the MIB-2 system group an agent
is supposed to implement under the oid
iso.org.dod.internet.mgmt.mib-2.system (.1.3.6.1.2.1.1)
See rfc-1213
NotificationProducerService is a test class with an MBean interface
used to produce simple JMX notifications to be intercepted and mapped to SNMP
traps by the snmp JMX adaptor
This method takes an Object that is typically going to be
put into a VariableBinding for use in a PDU, and thus must be converted
into an SNMP type based on it's type.
The SnmpAgentRequestHandler interface is implemented by an object that
wishs to receive callbacks when an SNMP protocol data unit
is received from a manager.
TrapFactory takes care of translation of Notifications into
SNMP V1 and V2 traps
Trap-PDU ::=
[4]
IMPLICIT SEQUENCE {
enterprise -- type of object generating
-- trap, see sysObjectID in [5]
OBJECT IDENTIFIER,
agent-addr -- address of object generating
NetworkAddress, -- trap
generic-trap -- generic trap type
INTEGER {
coldStart(0),
warmStart(1),
linkDown(2),
linkUp(3),
authenticationFailure(4),
egpNeighborLoss(5),
enterpriseSpecific(6)
},
specific-trap -- specific code, present even
INTEGER, -- if generic-trap is not
-- enterpriseSpecific
time-stamp -- time elapsed between the last
TimeTicks, -- (re)initialization of the network
-- entity and the generation of the
trap
variable-bindings -- "interesting" information
VarBindList
}
This exception is thrown when a client attempts to either GET a variable that
is of a type not supported by our SNMP adaptor (hopefully very few types eventually),
or if the client attempts to SET an attribute of type T to something of a type that is not T
(ie a String to an int)