Hi Brian,

Do you think we could do it in 2 steps (see below) so that Ioannis Andreadakis may have an easier time to contribute the migration of the SNMP Adaptor to AS7 ?

First make the old SNMP Adaptor a subsystem of JBoss AS7 that would still use JMX (what configuration changes would be needed to expose the domain model as JMX ?) and then a second step to allow the SNMP Adaptor to map directly to the AS7 domain model (is there any documentation and API on how to effectively use/code against the AS7 Domain model programatically ?)

Thx in advance
BR
Jean


On Fri, Sep 7, 2012 at 2:27 PM, Brian Stansberry <brian.stansberry@redhat.com> wrote:
On 9/7/12 7:19 AM, Dimitris Andreadis wrote:
> The old adapter had also get/set functionality in addition to notifications mapping.
>

Very good point. So that removes the rationale for saying "first do
domain mode notifications and then do SNMP."

> I suppose you can still talk to JMX MBeans using Kabir's bridge, which maps the domain model
> to JMX, no?
>
> Or else go for deeper integration to the domain model.
>

This. :) The domain model is only exposed via JMX if the jmx subsystem
is configured that way. So having an snmp subsystem count on that path
being open IMHO would be the wrong approach.

> /D
>
> On 06/09/2012 22:52, Brian Stansberry wrote:
>> An SNMP subsystem would be nice, so yes, help on that would be welcome.
>>
>> However, the old SNMP adaptor adapted JMX notifications to SNMP. An AS7
>> solution can't really rely on that, since most management activity in
>> the AS doesn't result in JMX notifications. JMX just isn't at the core
>> of the AS the way it was in JBoss 4. But, at this point we haven't added
>> a notification capability to the AS7 management stuff. We want to do
>> that[1], but haven't been able to get to it, and may not for a while
>> unless someone from the community can help push it.
>>
>> As for the method for getting involved, see
>> https://community.jboss.org/wiki/HackingOnAS7 for basics. Beyond that,
>> the thing to do is to have design discussions on this list, as you have
>> just done. :)
>>
>> I see from the forum thread you linked that you are in contact with Jean
>> Deruelle, who looks to have done the bulk of the work on the unfinished
>> port. I've bcc'd Bartosz Baranowski and Thomas Hauser who also did some
>> work there, in case they have some comments.
>>
>> [1] https://issues.jboss.org/browse/AS7-370
>>
>> On 9/6/12 4:04 AM, Ioannis Andreadakis wrote:
>>> Hello,
>>>
>>> I am currently working with the task of creating an SNMP adaptor for
>>> AS7. So far I have found that there was one developed
>>> <https://community.jboss.org/wiki/JBossSNMPAdapter> for JBoss 4, and I
>>> also found a discussion here <https://community.jboss.org/thread/147085>
>>> where someone has taken the old code and started making compatible with
>>> 7
>>> <http://code.google.com/p/commscale/source/list?repo=snmp-adaptor&name=master>
>>> but work is far from finished.
>>> I will probably try to port the old code to Jboss 7, what I would like
>>> to ask is if you are interested in me contributing this work and if so
>>> if you would suggest an appropriate method to do that.
>>>
>>> Kind Regards
>>>
>>>
>>> _______________________________________________
>>> jboss-as7-dev mailing list
>>> jboss-as7-dev@lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>>
>>
>>
>


--
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev