Two things:

*1) Solr-Wiki or "contrib"?*

     You know what... I've been thinking this over, and although people have
already expressed interesting in a Solr-wiki page for JBoss-SNMP, I'm
wondering if this would be better to be included as a "contrib" segment of
code.     There are pros/cons to each approach. Some things to consider are:
       - If it's in contrib, users have to know to look for it (a wiki page
telling them about it could solve this).
       - If it's in contrib, we have a place for the code to live, so we
could make sure it continues to compile as Solr evolves.
       - Fully-working SNMP usually requires you have your own *organization
ID* of some kind, so we could at best have a half-implementation, that would
not be testable.
       - Because it requires JBoss in order to run, it won't be testable.
     Alternatively, I could stick to the wiki-page approach, and just
include large bits of sample code in the wiki page, or include smaller code
snippets in the wiki page *and* include a zip of some more substantial code.
What do you think?

*2) Exposing Solr's CoreContainer*

     Also, on a related note: My method of implementation was to expose the
solr CoreContainer by sub-classing SolrDispatchFilter and passing the
container into an MBean (essentially). I only did this because I had to, and
I would think a cleaner way to do it would be for Solr to provide a clean
way of accessing the protected "cores" object in the SolrDispatchFilter.
     Is it possible to get the CoreContainer without resorting to such
tricks? (According to my research, it isn't, but I haven't read all of
Solr's code yet.)
     And if not, is it possible to have Solr changed so that it can expose
the CoreContainer?

Let me know,

     Daryl.


On Thu, Jun 18, 2009 at 6:48 AM, Development Team <dev.and...@gmail.com>wrote:

> Hi devs,
>      A while ago I posted a question to the solr-users list asking about
> SNMP monitoring of Solr. I got one reply suggesting the use of JMX-SNMP
> bridges, but upon researching these I could find a) nothing that seemed
> particularly good, and/or b) none of those that were free/OSS.
>      Since then I've found that deploying Solr in JBoss/Jetty with the
> JBoss-SNMP SAR was the easiest way to get this job done. --But it still
> wasn't "easy".
>      Thus, my question is; would anybody like to me write up a Solr-Wiki
> page on how to expose Solr stats through SNMP? It's a bit involved, and is
> JBoss-specific, however it is a useful feature that other Solr users may
> benefit from. Let me know.
>
> - Daryl.
>
>
> On Wed, Apr 15, 2009 at 3:18 PM, Development Team <dev.and...@gmail.com>wrote:
>
>> Hi everybody,
>>      How would I set up SNMP monitoring of my Solr server? I've done some
>> searching of the wiki and Google and have come up with a blank. Any
>> pointers?
>>
>> - Daryl.
>>
>
>

Reply via email to