| From | Sent On | Attachments |
|---|---|---|
| Michael Key | Aug 1, 2007 3:38 pm | |
| Daniel Fuchs | Aug 2, 2007 3:00 am | |
| Daniel Fuchs | Aug 2, 2007 3:38 am | |
| Michael Key | Aug 7, 2007 9:31 pm | |
| Daniel Fuchs | Aug 16, 2007 11:41 am |
| Subject: | Re: Spring, SNMP, and opendmk | |
|---|---|---|
| From: | Daniel Fuchs (Dani...@Sun.COM) | |
| Date: | Aug 2, 2007 3:00:58 am | |
| List: | net.java.dev.opendmk.users | |
Hi Michael,
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).
Note that we haven't been able to open source the SNMP runtime yet, but in the mean time you could experiment with the evaluation version of Java DMK 5.1 - see my mail on the subject: https://opendmk.dev.java.net/servlets/ReadMsg?list=users&msgNo=2
You might also be interested in this blog article regarding traps: http://blogs.sun.com/jmxetc/entry/don_t_fell_in_the
Best regards,
-- daniel http://blogs.sun.com/jmxetc
Michael Key wrote:
Hello.
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.
---
MiKey
You know your an engineer when you have no life & can prove it mathematically.





