Hi Brian,<div><br></div><div>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 ?</div><div><br></div><div>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 ?)</div>
<div><br></div><div>Thx in advance</div><div>BR<br clear="all">Jean<br>
<br><br><div class="gmail_quote">On Fri, Sep 7, 2012 at 2:27 PM, Brian Stansberry <span dir="ltr"><<a href="mailto:brian.stansberry@redhat.com" target="_blank">brian.stansberry@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 9/7/12 7:19 AM, Dimitris Andreadis wrote:<br>
> The old adapter had also get/set functionality in addition to notifications mapping.<br>
><br>
<br>
</div>Very good point. So that removes the rationale for saying "first do<br>
domain mode notifications and then do SNMP."<br>
<div class="im"><br>
> I suppose you can still talk to JMX MBeans using Kabir's bridge, which maps the domain model<br>
> to JMX, no?<br>
><br>
> Or else go for deeper integration to the domain model.<br>
><br>
<br>
</div>This. :) The domain model is only exposed via JMX if the jmx subsystem<br>
is configured that way. So having an snmp subsystem count on that path<br>
being open IMHO would be the wrong approach.<br>
<div class="HOEnZb"><div class="h5"><br>
> /D<br>
><br>
> On 06/09/2012 22:52, Brian Stansberry wrote:<br>
>> An SNMP subsystem would be nice, so yes, help on that would be welcome.<br>
>><br>
>> However, the old SNMP adaptor adapted JMX notifications to SNMP. An AS7<br>
>> solution can't really rely on that, since most management activity in<br>
>> the AS doesn't result in JMX notifications. JMX just isn't at the core<br>
>> of the AS the way it was in JBoss 4. But, at this point we haven't added<br>
>> a notification capability to the AS7 management stuff. We want to do<br>
>> that[1], but haven't been able to get to it, and may not for a while<br>
>> unless someone from the community can help push it.<br>
>><br>
>> As for the method for getting involved, see<br>
>> <a href="https://community.jboss.org/wiki/HackingOnAS7" target="_blank">https://community.jboss.org/wiki/HackingOnAS7</a> for basics. Beyond that,<br>
>> the thing to do is to have design discussions on this list, as you have<br>
>> just done. :)<br>
>><br>
>> I see from the forum thread you linked that you are in contact with Jean<br>
>> Deruelle, who looks to have done the bulk of the work on the unfinished<br>
>> port. I've bcc'd Bartosz Baranowski and Thomas Hauser who also did some<br>
>> work there, in case they have some comments.<br>
>><br>
>> [1] <a href="https://issues.jboss.org/browse/AS7-370" target="_blank">https://issues.jboss.org/browse/AS7-370</a><br>
>><br>
>> On 9/6/12 4:04 AM, Ioannis Andreadakis wrote:<br>
>>> Hello,<br>
>>><br>
>>> I am currently working with the task of creating an SNMP adaptor for<br>
>>> AS7. So far I have found that there was one developed<br>
>>> <<a href="https://community.jboss.org/wiki/JBossSNMPAdapter" target="_blank">https://community.jboss.org/wiki/JBossSNMPAdapter</a>> for JBoss 4, and I<br>
>>> also found a discussion here <<a href="https://community.jboss.org/thread/147085" target="_blank">https://community.jboss.org/thread/147085</a>><br>
>>> where someone has taken the old code and started making compatible with<br>
>>> 7<br>
>>> <<a href="http://code.google.com/p/commscale/source/list?repo=snmp-adaptor&name=master" target="_blank">http://code.google.com/p/commscale/source/list?repo=snmp-adaptor&name=master</a>><br>
>>> but work is far from finished.<br>
>>> I will probably try to port the old code to Jboss 7, what I would like<br>
>>> to ask is if you are interested in me contributing this work and if so<br>
>>> if you would suggest an appropriate method to do that.<br>
>>><br>
>>> Kind Regards<br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> jboss-as7-dev mailing list<br>
>>> <a href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>
>>> <a href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a><br>
>>><br>
>><br>
>><br>
><br>
<br>
<br>
--<br>
</div></div><div class="im HOEnZb">Brian Stansberry<br>
Principal Software Engineer<br>
JBoss by Red Hat<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
jboss-as7-dev mailing list<br>
<a href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a><br>
</div></div></blockquote></div><br></div>