The Java DMK SNMP toolkit can be used to develop stand-alone SNMP
applications - you do need to register the MIBs and/or generated
MBean classes as MBeans in an MBeanServer. You only need
to register the MIB in the SNMP adaptor.
In fact, when implementing an SNMP MIB, it is often better to
consider the generated artifacts as glue-code, not as real
MBeans (the generated MBeans are usually ugly, because they're
quite close to the structure of the MIB).
I'm looking for some feedback here on a specific requirement I have and
how opendmk may or may not fit into that requirement.
My requirement is to develop an add on to an existing Java application
that will capture log statements and forward them on as SNMP traps (if
they meet certain criteria).
I quickly identified Open DMK as a good candidate solution. However
upon further investigation (and being new to both JMX and SNMP) I was
less sure. The project we're using uses Spring for dependency
injection. I've found that Spring is capable of creating MBeans for
you, and registering them with a JMX server.
What I'm wondering is if I chose to use Spring to generate my MBeans and
register them with a server, can I still use Open DMK for the SNMP part?
I guess I'm ultimately wondering how decoupled Open DMK is.
Also, if anyone has any insight on issues or otherwise using OpenDMK
with Spring it would be much appreciated.
Thanks in advance.
You know your an engineer when you have no life & can prove it